Chris, Great script. And I got it working but then I tried to modify it to use my blank.txt file that I have in BBEdit's applications start up items. Seem to have bollixed things up a bit, probably using an incorrect path name as things work inconsistently now. Probably need to put it way for the night and try to start fresh in the next days. On Thursday, February 7, 2019 at 3:00:47 PM UTC-6, Christopher Stone wrote: > > On 02/07/2019, at 13:46, Tom Schulte <[email protected] <javascript:>> > wrote: > > Is there a way to have the program accept the copy command data generated > from another app and insert it into a txt file? > > ------------------------------ > > Hey Tom, > > Do I understand correctly that you want to save the Clipboard from another > app to this BBEdit “PasteBoard” file? > > If so then yes. > > But you need to be able to run an *AppleScript* from a the global context > in macOS. > > ------------------------------ > > I recommend FastScripts <http://www.red-sweater.com/fastscripts/>. > > FastScripts' free/demo mode allows unlimited scripts but only 10 > assignable app-specific and global keyboard shortcuts. > > The free version is often enough for people with modest macro needs. > > The full version costs $9.95 U.S. and unlocks unlimited app-specific and > global keyboard shortcuts. > > I've used it since 2003. > > ** Those wanting more a more powerful and flexible automation > utility should see Keyboard Maestro > <https://www.keyboardmaestro.com/main/>. > > ------------------------------ > > Install the appended compiled AppleScript file in this folder: > > ~/Library/Scripts/ > > Fire up FastScripts, open its menu (in the menu bar), and select the > script file with the Cmd-key depressed. > > You'll get a dialog allowing you to set a keyboard shortcut for the script. > > Now all you have to do is hit Cmd-C and then your keyboard shortcut to > copy to your BBEdit pasteboard. > > Let me know if you have problems or questions. > > -- > Best Regards, > Chris > > ------------------------------ > >
-- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <https://www.twitter.com/bbedit> --- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/bbedit.
