In fact, I am looking for something similar but more then a button.
I intend to add a “progress bar” showing that the script is working; below the bar should be an “Abort” button.
Thanks in advance!
Sorry for my ignorant, where can I find the stuffs “Debug Test sample application which is located in /Developer/Examples/AppleScript Studio” that you mentioned?
Thanks.
That depends on where you installed your Developer Tools (by default they install to folder called “Developer” at the root of your startup disk). Try searching for “Debug test” using Spotlight.
Go to http://developer.apple.com/technology/tools.html and download XCode.
It’s about 1 GB and includes XCode, Interface Builder, and a ton of examples. This will allow you to use the progress bar like you want and get the examples and get all of the dev tools.