• 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: Mavericks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mavericks


  • Subject: Re: Mavericks
  • From: Ron Reuter <email@hidden>
  • Date: Wed, 23 Oct 2013 14:58:11 -0500

Shane, great info on the site covering the AppleScript changes for Mavericks. It warms my heart so see AppleScript gaining some of the advantages of XCode and modern languages.

I'm in the process of simplifying a script with the "use" feature, and ran into the issue of terminology conflicts.
In my case, I'm doing some automation with Spotify and Audio Hijack Pro, and they both define the "paused" term.

	use Spotify : application "Spotify"
	use AHP : application "Audio Hijack Pro"
	...

	if player state is in {playing, paused} then  --> “paused” is ambiguous because it is imported from application "Spotify" and application "Audio Hijack Pro".

I've tried various ways to disambiguate the term in my script, but so far no success other than going back to a "using terms" or "tell" block.

• Ron


On 22 Oct 2013, at 8:14 PM, Shane Stanley <email@hidden> wrote:

FYI, you might want to read this if you're thinking of upgrading:

<http://www.macosxautomation.com/applescript/apps/mavericks_changes.html>


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Mavericks
      • From: Shane Stanley <email@hidden>
References: 
 >Mavericks (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Mavericks
  • Next by Date: Re: Mavericks
  • Previous by thread: Mavericks
  • Next by thread: Re: Mavericks
  • Index(es):
    • Date
    • Thread