Jump to content
Sign in to follow this  
teppo

Script the Remote Access Data Companion check

Recommended Posts

Okay, so here's where I'm trying to go: We're trying out some ODBC connectivity overnight to some DBs that needs to run on a machine that has a forced restart in the middle of the night. The simple trick is to get the appropriate database open with ODBC connectivity on (which doesn't appear to default or remember once you close the database) without human interaction. I've banged my head a while with Applescript and now I'm looking for some help.

Here's the questions:

1) Is there anyway to simply get the RADC to default to being "on" for a single database when it opens?

2) If not, the obvious choice (well, to me) would be to script turning it on. The trick there is how to write the Applescript that would accomplish this. Again, the obvious route would be the turn record on and do the steps, but that doesn't seem to work. Am I missing some step that would make FileMaker recordable?

3) I can get the step to actually open the Sharing dialog box, but I've got no idea how to tell Applescript to check the silly box. Prefab Player (as much as I scanned its documentation) seems to indicate that I just need to use "click checkbox" syntax, but I'm not getting that right. Anyone got any ideas?

Running FM 5.0v.3, OS 8.6 on an iMac, everything else is pretty vanilla. Suggestions, URL, pointers would be much appreciated.

-mark

Share this post


Link to post
Share on other sites

Filemaker is not recordable, unfortunately. That's why no script steps get recorded inside Filemaker. Also there are no built-in Filemaker applescript events that will directly enable RDAC.

I haven't used Prefab Player. Maybe someone else has?

What does your script look like?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Who Viewed the Topic

    1 member has viewed this topic:
    cfmartinez1090 
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.