Applescript: Replace Text Script with File

Hey @noisneil, those are valid points I hadn’t considered. Thanks again for this great macro, I’ve already converted a good number of my macros to use script files and have on my to do list the rest.

1 Like

Updated:

Rather than delete the old action and paste the new one, it now uses the Paste Replacing function, as suggested by @cdthomer. Thanks Chris!

1 Like

Update:

The macro deletes the unused script file if the action is converted back to its text version. There is now a warning that lets the user know if the same script is in use by other actions in their macro library.

1 Like

Update:

When implementing the deletion warning, I overlooked something that caused unused script files never to be deleted unless the warning was triggered and the user decided to delete. That is now fixed.

Great Macro!!. Thanks for creating and sharing it.

1 Like

This is very useful, thank you!

1 Like