Re: Executing an Applescript from Filemaker
Re: Executing an Applescript from Filemaker
- Subject: Re: Executing an Applescript from Filemaker
- From: Hanaan Rosenthal <email@hidden>
- Date: Sat, 29 May 2004 10:50:34 -0400
Hi Neal,
First off, you can try to place a couple of display dialog commands in
the script to figure out exactly where it stops.
What you also may try to do is to put the 'launch' command inside a
Finder tell block. This works with some commands such as read and
write.
Also, why are you not using the Finder to open BBEdit?
Hanaan
On May 28, 2004, at 1:44 PM, Neal Pynenberg wrote:
>
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.
>
>
--
Hanaan Rosenthal * Custom Flow Solutions
MEDIA AUTOMATION CONSULTING
401-487-2957 * email@hidden
* www.customflowsolutions.com *
be successful... ...work less.
_______________________________________________
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.