Re: applescript-users digest, Vol 3 #41 - 16 msgs
Re: applescript-users digest, Vol 3 #41 - 16 msgs
- Subject: Re: applescript-users digest, Vol 3 #41 - 16 msgs
- From: email@hidden
- Date: Mon, 21 Jan 2002 12:28:38 EST
Mattias: Assuming that you have immigrated to the osaxen-free world of OS X,
you can do with Dialog Director. It comes with its own osax that can extract
PICT resources from the image files. Then you use DD to build an interactive
dialog where selecting the name of the image in a popup displays the preview
in the dialog. Whether this is easier than FaceSpan, I do not know.
I'd be glad to send you a script that we use to browse our collection of
image files. But it would take a lot of tweaking to work outside of this
building.
Your idea of using Choose from List is interesting. It seems to me that
Choose File would be a better candidate for a "with preview" parameter
because that would allow scripters to create dialogs that mimic the Open
dialogs of applications by displaying previews when appropriate. But remember
that scripters have been asking for a "starting at" parameter for Choose File
for a long time and that hasn't happened either.
Robert Kyle
Star Tribune
Minneapolis
In a message dated 1/21/2002 Mattias Jonsson writes:
>
Got a list of images from an "on open" thingy.
Is there some way that I can allow a user to choose from a list of preview
images instead of a list of filenames?
>
I now I could do it with facespan but is there a really good OSAX out there
that I haven't found?
>
I'd like to do something like this...
>
on open theFiles
--yada yada
--yada yada
set theSelection to (choose from list theFiles with preview)
--yada yada
--yada yada
end open