first applescript = lost in the wind, help please.
first applescript = lost in the wind, help please.
- Subject: first applescript = lost in the wind, help please.
- From: "Williams, Ted" <email@hidden>
- Date: Tue, 26 Nov 2002 15:28:33 -0500
i've been trying to write a script that gathers a list from filemaker of
filenames looks to a specified source folder/disk and searches for that list
of files and pulls/ places any found matches inside another specified folder
and finall records a error log for any files that were not gathered.
any and all input is welcome,here is what i have thus, far.
property sourceFolderChoosen : "" as string
property destinationFolderChoosen : "" as string
set sourceFolderChoosen to choose folder with prompt "Pick a folder With The
Source Images."
set destinationFolderChoosen to choose folder with prompt "Images Returned
Minus Any Errors."
tell application "FileMaker Pro"
activate
tell database "3lil'pigs Converted.fp5"
-- or just database 1 for frontmost fm db
set filestosearchfor to field "f1" as list
end tell
end tell
repeat with currentfile in filestosearchfor
tell application "Finder"
display dialog (sourceFolderChoosen as string) & currentfile
--duplicate currentfile of folder sourceFolderChoosen to currentfile
of folder destinationFolderChoosen
end tell
end repeat
thanks, ted williams
_______________________________________________
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.