Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > How do I achieve this very simple task??

How do I achieve this very simple task??
Thread Tools
Forum Regular
Join Date: Jul 2003
Location: Toronto, Ontario
Status: Offline
Reply With Quote
Apr 30, 2005, 10:51 AM
 
I just got an external HDD and I want the following to happen: Upon mounting the external HDD, I want the application Psync to show up.
That's it. I have no knowledge of AppleScript at all so I have no idea how to do this.
If anyone's kind enough to write this script for me I'd be greatly grateful.

Thanks.
Powerbook 12" 1GHZ, 1.25GB of RAM
My blog
     
Mac Elite
Join Date: Nov 2003
Location: Rockville, MD
Status: Offline
Reply With Quote
Sep 22, 2005, 10:34 AM
 
I'm trying to do something similar. I thought about creating a Folder Action to achieve this, but unfortunately it looks like you can't attach a FA to a drive, only the root level of the drive or below. Drat.
     
Mac Elite
Join Date: Jun 2003
Location: Newport News, VA USA
Status: Offline
Reply With Quote
Sep 22, 2005, 10:40 AM
 
It would seem you can attach Folder Actions to /Volumes…
     
Mac Elite
Join Date: Nov 2003
Location: Rockville, MD
Status: Offline
Reply With Quote
Sep 22, 2005, 06:47 PM
 
Originally Posted by cybergoober
It would seem you can attach Folder Actions to /Volumes…
How??? I've tried the script Attach Folder Action to Folder, but I don't know how to specify /Volumes, since that doesn't seem to show up in the GUI (I know it's there in the Darwin folder structure). Help!
     
Professional Poster
Join Date: Apr 2001
Location: Long Beach, CA
Status: Offline
Reply With Quote
Sep 22, 2005, 09:03 PM
 
Originally Posted by selowitch
How??? I've tried the script Attach Folder Action to Folder, but I don't know how to specify /Volumes, since that doesn't seem to show up in the GUI (I know it's there in the Darwin folder structure). Help!
Go To a Folder... (shift-command-G) /Volumes

ACSA 10.4/10.3, ACTC 10.3, ACHDS 10.3
     
Mac Elite
Join Date: Nov 2003
Location: Rockville, MD
Status: Offline
Reply With Quote
Sep 22, 2005, 09:06 PM
 
Originally Posted by Detrius
Go To a Folder... (shift-command-G) /Volumes
Yes, I ended up doing that. But it still won't attach to the script.
     
Mac Elite
Join Date: Jun 2003
Location: Newport News, VA USA
Status: Offline
Reply With Quote
Sep 23, 2005, 07:14 AM
 
Hmmm. Worked here. I brought up /Volumes, right-click, attach folder action, I chose the new item alert script, inserted my USB flash drive and was presented with an alert dialog.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:26 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2