Home Download Buy Blog Forum Support

Run Applescript on Save

Run Applescript on Save

Postby godbout on Fri Jun 07, 2013 6:11 am

Is there anyway to do that? I'd like to run some applescripts when I save a file. I know nothing about Python though, but not sure it's needed?
Any direction would be helpful.

Thanks
godbout
 
Posts: 12
Joined: Fri Sep 09, 2011 9:18 am

Re: Run Applescript on Save

Postby adzenith on Fri Jun 07, 2013 2:06 pm

You're gonna have to use Python if you want to trigger the AppleScript from within Sublime Text.
Another thing you could do, if it's in a certain folder, is just set up a folder action to run the AppleScript (I think you can do that, anyway).
adzenith
 
Posts: 1204
Joined: Mon Oct 19, 2009 9:12 pm


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 28 guests