Re: can't make alias into type text
Re: can't make alias into type text
- Subject: Re: can't make alias into type text
- From: Shane Stanley <email@hidden>
- Date: Thu, 18 Sep 2014 14:45:45 +1000
On 18 Sep 2014, at 2:39 pm, Donald Hall <email@hidden> wrote:
> I have decided to alter my program slightly to use Chris Page’s suggestion:
>
> tell application "System Events" to set frontProcess to the first item of (processes whose frontmost is true)
Why not go one step further:
tell application "System Events" to set frontProcess to (process 1 whose frontmost is true)
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>
_______________________________________________
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