Jump to content

Recommended Posts

I want to run a workflow when something is getting copied into the clipboard.

If the clipboard content matches a certain pattern I want to open a URL.

Is this possible at all?

To me it seems I need a keyboard trigger that then inspects the clipboard.

Which isn't quite as automated as I wished.

cheers,
Torsten

Share this post


Link to post

Hi @tcurdt, welcome to the forum.

 

1 hour ago, tcurdt said:

Is this possible at all?

 

Not directly, no. Alfred only responds to explicit user action (hotkeys, snippet triggers). This is by design.

 

If you want Alfred to "watch" your clipboard, you'd need to create a hotkey (e.g. ⌥⌘C) that triggers a copy command (by simulating ⌘C) and then looks at the clipboard.

Share this post


Link to post
3 minutes ago, deanishe said:

Not directly, no. Alfred only responds to explicit user action (hotkeys, snippet triggers). This is by design.

If you want Alfred to "watch" your clipboard, you'd need to create a hotkey (e.g. ⌥⌘C) that triggers a copy command (by simulating ⌘C) and then looks at the clipboard.

 

Bummer. So I didn't miss something.

But thanks for the clarification.

Share this post


Link to post
3 hours ago, tcurdt said:

I want to run a workflow when something is getting copied into the clipboard.

If the clipboard content matches a certain pattern I want to open a URL.

Is this possible at all?

 

If you happen to have Keyboard Maestro, it can trigger a macro based on the system clipboard.

Share this post


Link to post
18 minutes ago, evanfuchs said:

 

If you happen to have Keyboard Maestro, it can trigger a macro based on the system clipboard.

 

Didn't know that one. I'll have a look. Thanks for the pointer!

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...