• 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: Joseph Weaks <email@hidden>
  • Date: Sun, 21 Mar 2004 09:34:21 -0600

On Mar 21, 2004, at 6:18 AM, Bill Cheeseman wrote:

on 2004-03-20 6:14 PM, Rob Jorgensen at email@hidden wrote:

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).

Well, that pretty much proves that it all depends on how the specific
application implements its Scripts menu.

I'm not certain. As I said, I've discovered that the above line works in every application's script menu that I've tested. But, once it is followed by a display dialog or a run script, it fails. I'd like to know if Rob's test script had any code after the tell app "System Events"

Joe
_______________________________________________
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: Rob Jorgensen <email@hidden>
References: 
 >Re: UI script fails when run from Mail.app's script menu (From: Bill Cheeseman <email@hidden>)

  • Prev by Date: Re: Downside to save as applet?
  • Next by Date: Re: UI script fails when run from Mail.app's script menu
  • 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