Re: Clipboard
Re: Clipboard
- Subject: Re: Clipboard
- From: Christopher Nebel <email@hidden>
- Date: Fri, 30 Mar 2012 14:48:59 -0700
Getting the clipboard, even with a large image, is perfectly safe and reasonably fast. What causes trouble is trying to display the result, either directly (because your script does it) or indirectly (by viewing the command in the event log or returning the value as a result). If you are using AppleScript Editor, make sure you have the event log *closed* -- that is, the splitter all the way down, which you can do by double-clicking it. Merely turning off the display of replies is not sufficient, thanks to the way it captures log entries. (Alternatively, get Script Debugger, which I believe can display image values as images.) Also, don't ask for information you don't need: if you only want to know if a particular type is present, "clipboard info" can tell you that directly, as others have pointed out, instead of asking for the value and then throwing it away. That said, this sort of thing is less efficient than it could be; I've filed a bug.
--Chris Nebel
AppleScript Engineering
_______________________________________________
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