kbleicken Posted May 25, 2004 Posted May 25, 2004 I have been developing multiple scripts over thirty files on my desktop. The scripts point to my computer's IP address. When we put the files on the server hosting FM Server, the scripts are slowed down dramatically because they are searching for the IP address on my computer. Is there any easy way to set all scripts to look for the correct FM Server IP address. The alternative is to open each script and point it to the correct server. Any help would be appreciated. Thanks. Kurt Bleicken
-Queue- Posted May 25, 2004 Posted May 25, 2004 You'll either need to point each script and relationship to the server or close the files on the server, copy them to your hard drive, set all files as single-user, and then relink the scripts and relationships. This is why it's a very good idea to develop in single-user mode. In each on open script I set it to single-user if holding down a specific combination of control keys ( Status(CurrentModifierKeys) ); otherwise it's set to multi-user. Then I make sure to hold them down when developing the system locally.
kbleicken Posted May 26, 2004 Author Posted May 26, 2004 Thanks for the help. I was hoping for the silver bullet. . .oh well. Best. K
bruceR Posted May 27, 2004 Posted May 27, 2004 Metadata Magic is the silver bullet. It is a powerful but expensive database analysis tool that will do this automatically. See www.nmci.com
Leb i Sol Posted May 28, 2004 Posted May 28, 2004 not sure if all this helps or if it is just an old news... I have noticed that if you develop your files locally (mutli or single) and just open/host them, they will remain the same UNTIL some one connects to you as a "Host" and executes scripts... only "external" scripts (those that actually need 'pointing' to an external file that holds those scripts) will then be referenced based on IP. SO, it is still not a "silver bullet" but if you open_&_serve files with user that has rights to edit scirpts then all you need to do is run/execute them vs. actully 'editing' with scriptmaker. My suggestion to "double-checking" if you edited all the scripts is the print them (pdf or txt) and then do a search in that document for the IP of old/new host.... Another thought might be is developing your scripts while u temp. turn of "TCP/IP" in filemaker... Above all, your scripts (even if the files are set to multi-user) will NOT point to your computer's IP as LONG as you do not access them from antoher machine! Good Luck!
bruceR Posted May 28, 2004 Posted May 28, 2004 Incorrect. If you only execute the scripts they will not get IP addresses even if shared and if the scripts/relations are set up as relative only they will stay that way.
kbleicken Posted May 28, 2004 Author Posted May 28, 2004 Thanks for the help. I took a look at MetaData Magic. It looks like that would save a great deal of time. Best. K
Recommended Posts
This topic is 7745 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now