Re: Creating a list of alias from folder contents
Re: Creating a list of alias from folder contents
- Subject: Re: Creating a list of alias from folder contents
- From: Duncan Cowan <email@hidden>
- Date: Sun, 26 Jan 2003 11:13:07 +1100
If I understand your question correctly, the AS term in classic is "List
Folder".
I.E. [untested] watch for line breaks.
Set psFileName to list folder (psFolderNamePath as string) without
invisibles -- not sure that this end bit is correct syntax
this should return a list of every visible file in your specified folder
you could then check the list to make sure that each file is actually as PS
file by checking it's file type.
I hope that this is what you where after.
cheers
From: "Scott P. Richert" <email@hidden>
Date: Sat, 25 Jan 2003 16:12:08 -0600
To: email@hidden
Subject: Creating a list of alias from folder contents
But Distiller can take a list of alias, and I'd like to move as much of
this code to the ASStudio app as possible. In other words, I'd like to
reduce the subroutine in the stay-open Classic applescript to:
on distillPStoPDF(psFileName)
tell application "Acrobat Distiller 5.0"
activate
open psFileName with wait
end tell
end distillPStoPDF
Where psFileName would be a list of alias, not just a single alias like
it was in the original subroutine, and psFileName would be generated
inside my ASStudio app.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.