Re: Safari
Re: Safari
- Subject: Re: Safari
- From: 2551phil <email@hidden>
- Date: Wed, 03 Apr 2013 23:29:21 +0700
Can anyone explain under what conditions that would that return "False"?
It returns "True" for me, even when Safari is just idling in the background (i.e, not the active application).
On 3 Apr 2013, at 23:23, Luther Fuller < email@hidden> wrote: On Apr 3, 2013, at 11:00 AM, Alex Zavatone wrote: Immediately, I think that a process to detect when the app moves to the background and disable _javascript_ from the Develop menu is an easy approach.
This seems to work as you describe …
tell application "System Events" to set safariFrontmost to visible of process "Safari"
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
References: | |
| >Safari (From: Alex Zavatone <email@hidden>) |
| >Re: Safari (From: Luther Fuller <email@hidden>) |