How to speed up script execution?
How to speed up script execution?
- Subject: How to speed up script execution?
- From: Pat Stanford <email@hidden>
- Date: Tue, 17 May 2011 10:46:44 -0700
I have a very simple script that I am running from the System Scripts menu. It is stored in ~:Library:Scripts:Applications:Mail. I have tried saving it as both a script and as an application. In both cases it is taking about 5 seconds for the first run after a restart and about 2 seconds for every invocation after that. This seems to long and feels like an eternity as I can't switch to a different window or do anything until the paste occurs.
Any suggestions on changes to the script or how I am saving it to make it run faster?
Thanks, Pat Patrick Stanford
Perfection is the new mediocre when you are using Apple's products. -Andy Inhatko, MacNotables #643, 5/10/06
tell application "Mail" activate end tell
set the clipboard to pts
tell application "System Events" tell process "Mail" keystroke "v" using {command down} end tell end tell
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden