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

Re: iTunes toggle script


  • Subject: Re: iTunes toggle script
  • From: "Paul F. Henegan" <email@hidden>
  • Date: Sun, 28 Jul 2002 07:59:11 -0400

on 25.07.2002 03:35, Kelvin Aitken at email@hidden wrote:

> I made this script:
>
> tell application "iTunes"
> set x to the player state as text
> if x = "playing" then
> pause
> else
> play
> end if
> end tell
>
> which is intended to pause the application in the background if it is playing
> or start
> playing if it is paused. The script works find in the editor but when made
> into an applet
> it pauses but refuses to restart playing.
>
> What obvious thing am I missing here?

Hi Kevin,

It works fine here [OS 9.1, AS 1.8.3, iTunes 2.0].

HTH,

paul
--
Paul F. Henegan
<email@hidden>
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >iTunes toggle script (From: Kelvin Aitken <email@hidden>)

  • Prev by Date: Re: fields in appleworks
  • Next by Date: Re: "attach action to" error in Folder Actions Extension
  • Previous by thread: iTunes toggle script
  • Next by thread: Network Setup Scripting problem
  • Index(es):
    • Date
    • Thread