Re: Just returning Filename... not whole path
Re: Just returning Filename... not whole path
- Subject: Re: Just returning Filename... not whole path
- From: Michelle Steiner <email@hidden>
- Date: Sun, 23 Oct 2005 18:48:10 -0700
On Oct 23, 2005, at 6:27 PM, Brett Conlon/HU/AU/SonyDADC wrote: What I'm trying to do is have the file name, of the file/s dropped onto the droplet, appear in the display dialog window. When a user drops multiple files onto the droplet and it asks them to enter the DVD title, if it doesn't mention the name of the file it's working on then the user could enter the wrong title for the wrong file.
This works:
on open (theFiles) tell application "Finder" repeat with i from 1 to length of theFiles display dialog "Whatever prompt goes here." default answer (name of (item i of theFiles)) as text end repeat end tell end open
-- Discordians don't pray: it is far too dangerous. |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden