Is there a way to have Keyboard Maestro reference an AppleScript file as an alias. I was just reminded again about a great feature I realized QuicKeys has in referencing AppleScript files, in that it creates an alias to them somehow which allows you to rename and move the original file and QuicKeys keeps track of the location. I prefer to keep them separate files since I often reference them in multiple macros and applications that way I can change the source file and not have to worry about changing in multiple applications or macros.
As a side note I also love that I can click a button to open the macro in the default AppleScript editor, but that is simply enough work around for me with pop clip opening the file, not the simple one click I had before but useable.
Originally I used aliases more in Keyboard Maestro. They were a nightmare. You’d end up with links to files on other disks, then the disk would try to mount unexpectedly, or the engine would lock up for two minutes while the system tried mount a non-existant network volume.
You can make a regular Finder alias. Put it somewhere, reference it from Keyboard Maestro as a path. Then move and rename your script however you want.
You can option-click the File Selector button to reveal the file in the Finder.
That's great to know thanks for some of the back history on why you chose not to.
That's actually what I was considering doing, if there wasn't something I was missing like command+option dragging the file to create an alias. In OmniFocus it was at one point control+drag and then they chose to default to alias. I wonder how they/(you did) do it if they just create a hidden alias.
Great news, glad I asked, you amaze me on a regular basis!
I have updated the file path of several AppleScripts and can’t find a way to filter all macros that use “Execute AppleScript:Execute Script File”. Q: Is there a way to do this because I have so many macros that use this so I can always update my AppleScript’s from one file.
I may consider making a bunch of macros that just use the AppleScript file and then reference the macro within Keyboard Maestro for double referencing happening (AppleScripts that reference AppleScript and macros that reference macros that reference AppleScripts). convenience can certainly be messy!