Re: Prompt to open file or folder
Re: Prompt to open file or folder
- Subject: Re: Prompt to open file or folder
- From: Brett Conlon <email@hidden>
- Date: Thu, 27 Jul 2006 16:19:41 +1100
Thanks to Emmanuel, J & dev for
their offerings! 8-)
I ended up going with satimage.osax
approach and wrote the following code:
on
run
set
PickItems to
navchoose object with prompt "Choose folder/s for Archive checking
or choose file/s to check their file type." with
multiple files
tell
application "Finder"
repeat
with
ThisItem in
PickItems
if
class of
item ThisItem is
document file then
--do file stuff
else
if
class of
item ThisItem is
folder then
--do folder stuff
end
if
end
repeat
end
tell
end
run
Cheers!
Cojcolds
Emmanuel <email@hidden>
Sent by: applescript-users-bounces+brett.conlon=email@hidden
24/07/06 10:32 PM
|
To
| email@hidden
|
cc
|
|
Subject
| Re: Prompt to open file or folder |
|
Satimage.osax (free) includes a "navchoose object"
command (in
addition to "navchoose file" and 'navchoose folder") to
do exactly
that.
Emmanuel
_______________________________________________
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