• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: trying out UI browser and example
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: trying out UI browser and example
      • From: Yvan KOENIG <email@hidden>
  • Prev by Date: problem with Quark 6.5 script, Snow Leopard
  • Next by Date: Re: trying out UI browser and example
  • Previous by thread: Re: trying out UI browser and example
  • Next by thread: Re: trying out UI browser and example
  • Index(es):
    • Date
    • Thread