• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: UI script fails when run from Mail.app's script menu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: UI script fails when run from Mail.app's script menu
      • From: Bill Cheeseman <email@hidden>
References: 
 >Re: UI script fails when run from Mail.app's script menu (From: Bill Cheeseman <email@hidden>)
 >Re: UI script fails when run from Mail.app's script menu (From: Joseph Weaks <email@hidden>)

  • Prev by Date: Re: Suggestion: iTunes needs a refresh event
  • Next by Date: Re: Suggestion: iTunes needs a refresh event
  • Previous by thread: Re: UI script fails when run from Mail.app's script menu
  • Next by thread: Re: UI script fails when run from Mail.app's script menu
  • Index(es):
    • Date
    • Thread