Executing an Applescript from Filemaker
Executing an Applescript from Filemaker
- Subject: Executing an Applescript from Filemaker
- From: "Neal Pynenberg" <email@hidden>
- Date: Fri, 28 May 2004 12:44:14 -0500
I give up!
I have an Applescript that works fine if I run it by simply doubleclicking on it in the finder... but i can't seem to get it to
execute from within Filemaker. (Thru a button)
If I paste the script into Filemaker's interface for dealing with Applescripts.. I get a "Application isn't running error -600"
Any idears?
Here's the script:
property theFile : "/Volumes/NetInstall-Restore/Applications/Utilities/Resources/Preferences/machine_specific_data.csv"
launch "/Applications/BBEdit 7.0 OSX +sn/BBEdit.app"
tell application "BBEdit"
activate
open theFile
cut text of window 1
end tell
tell application "FileMaker Developer"
activate
do script FileMaker script "Copy Global1"
end tell
tell application "BBEdit"
activate
set selection to the clipboard
save window 1
quit
end tell
Neal Pynenberg
Macintosh Computer Technician
Neenah Joint School District
920-751-6900 Ext 287
_______________________________________________
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.