Re: UI script fails when run from Mail.app's script menu
Re: UI script fails when run from Mail.app's script menu
- Subject: Re: UI script fails when run from Mail.app's script menu
- From: Rob Jorgensen <email@hidden>
- Date: Sat, 20 Mar 2004 18:14:27 -0500
At 4:43 PM -0600 3/20/04, Joseph Weaks wrote:
On Mar 20, 2004, at 3:53 PM, Bill Cheeseman wrote:
on 2004-03-20 3:50 PM, Joseph Weaks at email@hidden wrote:
The goal is to have a generic applescript to
be used in any application with a script menu, that will copy the
selected text using UI scripting (and later paste)
Applications that implement Scripts menus are responsible for
setting up the context in which the script executes. There have been some
posts to this list, recently I think, discussing how it should be done. Not
all apps do it right.
I'd be curious if ANY apps with a script menu allow this line to work:
tell application "System Events" to keystroke "c" using command down
It works from the script menus of Script Debugger and NetNewsWire in
Jaguar (10.2.8).
-- Rob
_______________________________________________
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.