• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
multi-user to single user sharing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

multi-user to single user sharing


  • Subject: multi-user to single user sharing
  • From: Diana Melody <email@hidden>
  • Date: Wed, 10 Jul 2002 08:28:48 -0700

Hi,

I need to go through a folder that contains 25 FM databases and change the sharing mode from multi-user and multi-user(hidden) to single user mode. I've added a script to each file called setToSingleUserMode that is the script step "Set Multi-User [OFF]". I've tested this and it works fine.

What I need to accomplish is this:

1) Open each database in the folder "folder" using a password such as "password"

2) Have some sort of error capture if one of the files doesn't contain the script setToSingleUserMode (and there are some that are not needed for this exercise)

2) Run the script setToSingleUserMode to change the sharing on the needed files.

3) Run an export script "export"

4) Close down all files and mounted volumes.

All I have so far is trying the first file with the following:

tell app "Filemaker Pro"
open file "file" with password "password"
do script "setToSingleUserMode"
end tell

What occurs is that I receive the following error dialog box that requires me to choose "OK" in order to remove it. It shows "FM cannot host a file because of a network error-files marked as multiuser will not be available over the network (-23015).

What do I add to my script to go through each file in the folder and to also address this error message.

I'm using FM 5.0v3 on Mac OS 9.0.4 with Script Editor 1.4.3. The folder and the files also reside on our FM server (5).

Thanks for your help, it's obvious I'm just learning and I appreciate your patience.

--
Diana Melody
Computer Resource Specialist
UCSD Shiley Eyecenter, Glaucoma Division
9500 Gilman Drive, Suite 204B
La Jolla, CA 92039-0946
858-822-5822
email@hidden
_______________________________________________
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.

  • Follow-Ups:
    • Re: multi-user to single user sharing
      • From: Jean-Marie Hoornaert <email@hidden>
  • Prev by Date: Force quiting URL Access Scripting
  • Next by Date: Re: multi-user to single user sharing
  • Previous by thread: RE: Force quiting URL Access Scripting
  • Next by thread: Re: multi-user to single user sharing
  • Index(es):
    • Date
    • Thread