Newbie: Applescript help -
06-29-2005
, 08:04 AM
Hi all i'm finally porting over our apple script from os 9 to os X and
i'm having problems with this OS 9 code:
tell application "FileMaker Pro"
set FaxName to (get cell "Name" of current record of layout "FAX Final
Collect Letter" of database "Invoices")
set FaxComp to (get cell "Hotel Name" of current record of layout "FAX
Final Collect Letter" of database "Invoices")
set FaxNum to (get cell "Fax Phone" of current record of layout "FAX
Final Collect Letter" of database "Invoices")
end tell
I keep getting an object not found error on this string.
Also is the delete file function still the same? I have:
tell application "Finder"
delete file "Wendi's Mac:Invoices.4tf"
delete file "Wendi's Mac:Temporary Items:Invoices.4tf"
end tell
tell application "Finder"
empty trash
end tell
Thanks so much for the help in advanced. |