Re: Open files filemaker perform applescript
Re: Open files filemaker perform applescript
- Subject: Re: Open files filemaker perform applescript
- From: Tim Clark <email@hidden>
- Date: Tue, 8 Oct 2002 12:08:14 -0400
Sounds like you may be creating an file-access conflict.
Try this, and see if it works for you at all:
Compile your AppleScript as an applet, and put it wherever you want.
run the applet, and see if it successfully opens the file, with
appropriate access.
If that works, try this:
In the script that opens the database file, instead of the "perfom
AppleScript" step, try "send AppleEvent" and set it to open the applet.
This *might* dodge the problem. I haven't tested the theory in these
circumstances, but I have had to use similar side-steps in order to
trigger scripts and file access in databases that run from FMP server.
let me know if this works for you.
--
Tim Clark Rapid Application Development
Phone: 603.743.0946 P.O. Box 74 Durham, NH 03824
email@hidden
http://www.RapidAppDevelopment.com
On Tuesday, October 8, 2002, at 11:31 AM, Lorne Golden wrote:
I am designing a filemaker script to open files. I first used the open
command then selected the file and it did work but it would not enter
in the
password. After some searching the only way I found to enter the
password is
to have a filemaker script run an applescript as follows open "fileX'
with
password "password X". I wrote the applescript in apples script editor
and
it worked. Then I copied it into filemaker script editor perform
applescript
script step and it gives an error as follows "Data is being accessed by
another user, script, or transaction (Error -10011). I am using OS
10.2.1
and any advice would be appreciated.
Thanks,
Lorne
_______________________________________________
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.
_______________________________________________
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.