• 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: Sun, 21 Mar 2004 16:00:33 -0500

At 2:15 PM -0600 3/21/04, Joseph Weaks wrote:
On Mar 21, 2004, at 10:23 AM, Rob Jorgensen wrote:
The first test was the single line of code that you offered above (with a slight terminology change to accommodate the beta version of System events used in Jaguar: using > with). I have now tested the following in both apps and it still works.

tell application "System Events" to keystroke "c" using command down
display dialog (the clipboard)

-- Rob

Rob,
Did you test it any applications where it failed, such as mail.app? Just verifying the difference isn't between Jaguar's beta UI scripting and Panthers.

No, I hadn't tested it in any other apps. As far as I know, Mail's script menu didn't arrive until Panther. So-o-o, in the name of using a common app for testing, I just ran the script from the script menu of iTunes 4 and it failed miserably (the trailing dialog still worked). Regarding the keystrokes, I didn't notice even a blink in the Edit menu.

This indicates to me that it must be an application specific issue since there is more than one way for a developer to incorporate/implement a script menu.

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


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

  • Prev by Date: Re: Order of items dropped on droplet
  • Next by Date: Re: Finally sat down and read 2106
  • 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