Can you help?
Can you help?
- Subject: Can you help?
- From: "BADRINATH, NANDINI" <email@hidden>
- Date: Tue, 22 Jun 2004 13:56:04 +0530
- Thread-topic: Can you help?
I tried this in quarkxpress,
>
> set folderPath to "Disk:Folder:Folder:" --wherever your folder is
>
> tell application "Finder"
>
> set theFiles to (every file in folder folderPath)
>
> repeat with theFile in theFiles
>
> open file theFile using application file id "XPR3"
>
> ...
>
>
In this model you get 'every file in folder...' which returns a list
>
of aliases rather than just file names. These aliases can be passed
>
directly to the open command. You don't need to futz around building
>
new paths, etc.
>
>
Andrew
>
>
>
>
but gives error "Expected end of line but found identifier ..
>
(using)
>
when i removed "using" and put "in application quarkxpress" it gives
>
error "Cant get every file of "folderpath" "
>
>
could u give any solution for this
>
>
regards
>
babith
_______________________________________________
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.