• 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: deivy petrescu <email@hidden>
  • Date: Sun, 28 Aug 2005 11:49:24 -0400


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



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!

deivy
_______________________________________________
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


  • Follow-Ups:
    • Re: Time to figure out what is going on... (fixed)
      • From: kai <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>)

  • Prev by Date: Re: perl from applescript
  • Next by Date: Re: Non-executed repeat loop robs variable of value/definition
  • 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... (fixed)
  • Index(es):
    • Date
    • Thread