• 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: Yvan KOENIG <email@hidden>
  • Date: Sat, 5 Jun 2010 10:24:09 +0200


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

Yvan KOENIG (VALLAURIS, France) samedi 5 juin 2010 10:23:47


 _______________________________________________
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:
    • Problem with unix sips
      • From: Richard Lake <email@hidden>
References: 
 >trying out UI browser and example (From: Yuma Antoine Decaux <email@hidden>)
 >Re: trying out UI browser and example (From: Axel Luttgens <email@hidden>)
 >Re: trying out UI browser and example (From: Yuma Antoine Decaux <email@hidden>)
 >Re: trying out UI browser and example (From: Yvan KOENIG <email@hidden>)

  • Prev by Date: Re: trying out UI browser and example
  • Next by Date: Re: trying out UI browser and example
  • Previous by thread: Re: trying out UI browser and example
  • Next by thread: Problem with unix sips
  • Index(es):
    • Date
    • Thread