• 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: Time to figure out what is going on... (fixed)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Time to figure out what is going on... (fixed)


  • Subject: Re: Time to figure out what is going on... (fixed)
  • From: kai <email@hidden>
  • Date: Sun, 28 Aug 2005 18:15:31 +0100


On 28 Aug 2005, at 16:49, deivy petrescu wrote:

On Aug 25, 2005, at 1:57, kai wrote:

The same statement *can* still work when run from Script Menu - but evidently not when Finder or the target application (in this case Mail) are already frontmost when the script is selected. (These somewhat curious exceptions may be responsible for some of the differing reports when running such scripts from SM.) An explicit activate/frontmost command would be required to work around these anomalies.

As a cross-check, the behaviour when running from FastScripts is slightly different again. The statement works, even if the target app is frontmost - but still fails when Finder is at the front. (Might this be a Cocoa thing?)

And yes, I'll willingly file a bug on all this - unless anyone else's experience differs substantially... :-)

kai, I did not see the ed of the message. Now I just run some tests and that is what I found
Indeed


---
click menu item "New Viewer Window" of menu 1 of menu bar item "File" of menu bar 1 of process "Mail"
---


When run from SM if Mail is the fron app it will not work. If, however, the front app is Finder, some strange happens. The script runs and I noticed some disk activity, nothing seems to happen. But if I click on the windows menu of the Mail app (brought to the front) the new window shows up. so the process happens but it is suspended somehow.

I found it very strange!

Thanks for that, Deivy - I hadn't noticed that, but the same behaviour is true here. In fact, manually activating Mail and clicking anywhere in the part of the menu bar (that belongs to Mail) seems to result in this suspended action - even after a delay of several minutes. I'll update my bug report accordingly.


Well spotted! :-)

---
kai


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Re: Time to figure out what is going on... (results) (From: Matt Neuburg <email@hidden>)
 >Re: Time to figure out what is going on... (fixed) (From: Glenn Sugden <email@hidden>)
 >Re: Time to figure out what is going on... (fixed) (From: kai <email@hidden>)
 >Re: Time to figure out what is going on... (fixed) (From: deivy petrescu <email@hidden>)

  • Prev by Date: Re: Non-executed repeat loop robs variable of value/definition
  • Next by Date: Basic Eudora Question: Make New Mailbox
  • Previous by thread: Re: Time to figure out what is going on... (fixed)
  • Next by thread: Re: Time to figure out what is going on... (results)
  • Index(es):
    • Date
    • Thread