• 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: Applescript to trap when I insert my ipod?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Applescript to trap when I insert my ipod?


  • Subject: Re: Applescript to trap when I insert my ipod?
  • From: Steven Halford <email@hidden>
  • Date: Tue, 24 Oct 2006 20:23:52 +0100

Previously, I have attached a folder action script to the hidden folder /Volumes/ that runs a script along the lines of

tell application "Finder"
	if exists (disk "My_iPod_Name") then
		--do the iTunes stuff
	end if
end tell

(Use Apple-Shift-G from the Finder and input "/Volumes" without the quotes and then change to column view to be able to see the folder and then right-click to add a folder action script)

The problem with this method is that the script is run whenever a disk is mounted and the /Volumes folder is changed, which means that if a CD is mounted while your iPod is connected then your podcasts will be refreshed again even if the script has already done it once.

Steve


On 24 Oct 2006, at 00:05, Robert Nicholson wrote:

I'd like to know if it's possible with applescript or folder actions to trigger an event when I insert my ipod. I want itunes to refresh podcasts when my ipod is mounted.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript- email@hidden)
Help/Unsubscribe/Update your Subscription:
40mintdesigns.co.uk
Archives: http://lists.apple.com/mailman//archives/applescript-users


This email sent to email@hidden

_______________________________________________ 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/mailman//archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: Applescript to trap when I insert my ipod?
      • From: Mr Tea <email@hidden>
References: 
 >Applescript to trap when I insert my ipod? (From: Robert Nicholson <email@hidden>)

  • Prev by Date: Help after crash
  • Next by Date: "~" vs. "POSIX file"
  • Previous by thread: Applescript to trap when I insert my ipod?
  • Next by thread: Re: Applescript to trap when I insert my ipod?
  • Index(es):
    • Date
    • Thread