• 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
NSAppleScript returns wrong result on multiple Safari windows, applescript editor work
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSAppleScript returns wrong result on multiple Safari windows, applescript editor work


  • Subject: NSAppleScript returns wrong result on multiple Safari windows, applescript editor work
  • From: Jot Kali <email@hidden>
  • Date: Tue, 06 Jan 2009 09:47:00 -0800

Hello,

I appreciate the response but neither of the two suggested solutions work. The one that keeps Safari in the background has the same issue, it returns the first Safari last tab, not the most recent Safari window. The second suggestion, where the applescript puts Safari as the frontmost app, isn't a valid solution. Having my application lose focus misses the point.

I'm currently working through the Apple sample code AttachAScript to see if it will work.

thanks.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Localize Attributed Strings?
  • Next by Date: Re: Strange behavior of observeValueForKeyPath:ofObject:change:context:
  • Previous by thread: Re: Problem with AFP server Notification seek advice.
  • Next by thread: NSAppleScript returns wrong result on multiple Safari windows, applescript editor work
  • Index(es):
    • Date
    • Thread