Re: System Events "Show Clipboard" Bug?
Re: System Events "Show Clipboard" Bug?
- Subject: Re: System Events "Show Clipboard" Bug?
- From: Rob Jorgensen <email@hidden>
- Date: Fri, 18 Jul 2003 12:15:49 -0400
At 8:26 AM -0400 7/18/03, Jonathan Levi MD wrote:
Hi,
Would someone be so kind as to look at the
following brief script and tell me whether the
fault is mine or System Events:
--script "FW Path (POSIX).scpt"
tell application "Finder"
activate
set the clipboard to POSIX path of ,
((folder of front window) as string)
display dialog "clipboard:" & return & (the clipboard) --OK
tell application "System Events" to tell process "Finder" to ,
tell menu bar 1 to click menu item "Show Clipboard" of ,
menu "Edit" --"Clipboard contents: unknown"
end tell
Is this better?
tell application "Finder"
activate
set the clipboard to POSIX path of ,
((folder of front window) as string) as string
display dialog "clipboard:" & return & (the clipboard) --OK
tell application "System Events" to tell process "Finder" to ,
tell menu bar 1 to click menu item "Show Clipboard" of ,
menu "Edit" --"Clipboard contents: unknown"
end tell
--
Rob Jorgensen
Ohio, USA
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.