Jump to content

clipboard history & source application in workflow output


Recommended Posts

Hi there, I would love to be able to paste items and include which application they came from. The cheap hack is to first copy the content and then copy the text that indicates the 'source' and use the last 2 entries to form the output.  But is there a better way to do this? 

 

This would be similar to what Onenote does on windows - paste with source link (https://www.makeuseof.com/tag/disable-onenote-pasting-source-links/)

Link to comment
37 minutes ago, kagi said:

I dont see a dynamic placeholder for that...

 

There isn't one, AFAIK. But if you use a Hotkey, you can tell Alfred to set a variable to the bundle ID of the currently active application and also pass your script the current macOS selection.

 

You can then combine them using an Args and Vars utility and connect that to a Copy to Clipboard output to put them both on the clipboard.

 

If you want to get the name of the application, rather than its bundle ID, you'll have to do some scripting. Same if you want it to work with anything other than plaintext.

 

Edited by deanishe
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...