Re: open different files
Re: open different files
- Subject: Re: open different files
- From: Bastiaan Boertien <email@hidden>
- Date: Thu, 7 Jul 2005 14:46:18 +0200
tell application "theApplication"
close every document without saving --depends on the application
end tell
set theFolder to (choose folder) as string
set theFileList to list folder theFolder
repeat with x from 1 to count theFileList
saveFile((item x of theFileList),"path:to:save.file")
end
on saveFile(sourceFile,targetFile)
--if it is only a
tell application "theapplication"
open source file
--do wat you want
save document 1 to targetFile --it also depends on the application
end tell
bastiaan
Op 7-jul-05 om 12:30 heeft Jürgen Keser het volgende geschreven:
Hi,
I've got an problem with applescript but I think that there is
an easy solution. I've got an folder that contains many
files. I want to open all the files (one after the other)
with an special program and save the files with the programm in
another folder.
Is there an easy way to do this with applescript?
Thanks in advance.
Jürgen
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
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