Re: trying out UI browser and example
Re: trying out UI browser and example
- Subject: Re: trying out UI browser and example
- From: John Baltutis <email@hidden>
- Date: Sat, 5 Jun 2010 17:23:57 -0700
On 6/5/10, Yvan KOENIG <email@hidden> wrote:
> Le 5 juin 2010 Ý 10:14, Yvan KOENIG a ©crit :
>> Le 5 juin 2010 Ý 10:02, Yuma Antoine Decaux a ©crit :
>>
>>> tell application "Extra Suites"
>>> set MouseLocal to get string of (ES mouse location)
>>> end tell
>>> display dialog MouseLocal
>>
>> Extra Suites is unable to coerce its list as string but AppleScript
>> itself may do the trick.
>>
>> This one works :
>>
>> tell application "Extra Suites"
>> set MouseLocal to get (ES mouse location)
>> end tell
>> display dialog MouseLocal as text
>> display dialog ((item 1 of MouseLocal) as text) & ", " &item 2 of
>> MouseLocal
>
> Of course you may also use :
>
> tell application "Extra Suites"
> set MouseLocal to get (ES mouse location)
> end tell
> display dialog MouseLocal as text
> set {x, y} to MouseLocal
> display dialog (x as text) & ", " & y
Shouldn't last line read:
display dialog (x as string) & ", " & (y as string)
_______________________________________________
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