NSAppleScript returns wrong result on multiple Safari windows, applescript editor work
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