Jump to content

Autoit/fm Integration


fseipel

This topic is 4878 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Attached is an FM DB which runs an autoit script which listens on port 33891; any request to

http://YOURIP:33891/ or http://YOURCOMPUTERNAME:33891

will trigger the 'Show Message' filemaker script. Autoit must be installed. This is based on the autoit TcpRecv example.

The script 'Initialize TCP listener' will start the autoit script which listens. Presently, browser won't display anything when script fires, though a message could be sent back to browser that script had been fired.

An autoit GUI window displays when server is listening. Closing GUI window stops listening.

The other scripts demonstrate controlling a WebViewer with COM, clicking on links and submitting forms dynamically, by attaching to the COM object corresponding to the embedded viewer.

The script demonstrates callbacks by dynamically replacing the autoit script reference to the current path of the Filemaker file. This example uses username: admin, password: <blank> in the ACTIVEX request which runs an FM macro from autoit. autoit scripts are stored in the temporary path, and a script is provided to open that filepath to view the script source code.autoIt_FM_Example.zip

This is meant as a proof-of-concept.

Link to comment
Share on other sites

This topic is 4878 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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