Hi Scott,
I am using a Mac and it allows a / in the
name. If a / is in the name I think that if
you simply get the last item it would not
give you the full name.
John Balgenorth
On Aug 10, 2014, at 11:15 PM, Scott Rossi wrote:
> Hi John:
>
> Does the following also do what you want?
>
>
>
Hi John:
Does the following also do what you want?
answer file "Select a file:"
set itemDel to "/"
ask "File Name" with last item of it
Regards,
Scott Rossi
Creative Director
Tactile Media, UX/UI Design
On 8/10/14 10:00 PM, "JB" wrote:
>Here is a handler I wrote that will return the fi
Here is a handler I wrote that will return the file name.
on mouseUp
answer files "Select the file you want the Name of:"
put the longFilePath of line 1 of it into filePath
set the itemDelimiter to tab
put number of chars in filePath into n
repeat for n times
if char n of fileP