If Statement Not Working
If Statement Not Working
- Subject: If Statement Not Working
- From: George Priggen <email@hidden>
- Date: Sun, 29 Jul 2001 15:20:31 -0700
Anyone -
I have the following Applescript which does not perform the file switch when
employing the "If" statement.
tell application "Finder"
select {folder "PPBusiness" of folder "PP" of startup disk}
if {file "BCData.FP5" of folder "PPBusiness" of folder "PP" of startup
disk is in folder "PPBusiness" of folder "PP" of startup disk, file
"BCEmployee.FP5" of folder "PPBusiness" of folder "PP" of startup disk is in
folder "PPBusiness" of folder "PP" of startup disk} = true then
select {file "BCData.FP5" of folder "PPBusiness" of folder "PP" of
startup disk, file "BCEmployee.FP5" of folder "PPBusiness" of folder "PP" of
startup disk}
move selection to folder "NewPPEmail" of folder "Email Campaign" of
folder "PP" of startup disk
end if
end tell
What do I need to do to get the "If" statement to work in connection with
the second select section?
Thanks,
George