Search Again:

Apple Script Question

From: JWBaumann@aol.com
Date: Sunday, May 21, 2000
Time: 6:03:54 pm

In a message dated 5/21/00 2:50:49 PM, Jesse Proudman wrote:

>If you drag a file onto an applescript, how can you specify that file in the
>script?
>
>Say I drag file abc.txt onto Applescript parse, how can I get the full path
>of abc.txt to use in Parse.
>
>Sorry for the OT.

on open oneOrMoreFiles
-- oneOrMoreFiles is a list, even if only one file is dropped
repeat with aFile in oneOrMoreFiles
display dialog aFile as string
end repeat
end open

Save as an applet. Drop files on it and see the full paths.

Come join the friendly scripters on the Applescript list! Go here for more
info and to subscribe. We'd love to have you.

http://www.lists.apple.com/applescript-users.html

Jeff Baumann Pray for Elian
jwbaumann@aol.com Pray for Freedom
www.linkedresources.com



Messages In This Thread:



Return to Digital Point Solutions' Home Page