Re: set clipboard fails
Re: set clipboard fails
- Subject: Re: set clipboard fails
- From: waynemelrose <email@hidden>
- Date: Fri, 26 Oct 2012 08:10:47 +1100
On 26/10/2012, at 7:57 AM, Robert Poland < email@hidden> wrote: Why doesn't this work? Does the Missing values have anything to do with it?
tell application "System Events" set processlist to name of every process set clipboard to "" & contents of processlist display dialog "" & processlist end tell
processlist
TIA,
try this..
tell application "System Events" set processlist to name of every process end tell
set AppleScript's text item delimiters to return set the clipboard to (processlist as string) set AppleScript's text item delimiters to ""
The result is a list, so as you can see, i've replaced TID's with return to make it format a little nicer. I hope this helps. |
_______________________________________________
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