Skip navigation.
 
mlNSAppleScript returns wrong result on multiple Safari windows, applescript editor work
FROM : Jot Kali
DATE : Tue Jan 06 18:47:00 2009

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.

Related mailsAuthorDate
mlNSAppleScript returns wrong result on multiple Safari windows, applescript editor work Jot Kali Jan 6, 18:47
mlNSAppleScript returns wrong result on multiple Safari windows, applescript editor work Jot Kali Jan 9, 09:08