Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted (edited)

Hi!

Can someone explain Sent Event script step to me?

In help is brief explanation.

What I want to do is open FileMaker runtime application ( I figured out how ), but how can I then perform a script?

AppleScript works fine but is there alternative on windows with send event and do script?

Can you give me few starting tips please?

Thanks

Dejan

Edited by Guest
Posted

Send event lets you open any application, executable or document (with a registered extension).

In your case Send Event does exactly what it's there for.

Running a script in a runtime is something else completely. Normally you can do this through the FileMaker ActiveX interface using a VBscript. But FMI offers no ActiveX interface for runtimes so it won't work.

Posted (edited)

And what then does "Do Script" command in Send Event?

I thought that I can insert VBscript code there like ( but in VBscript language ):)

tell application "RuntimeName"

do script FileMaker script "My Script"

end tell

/*

On MacOSX it works with Perform AppleScript...

*/

Edited by Guest
Posted

I didn't know that applescript "do script" worked on a runtime by the way.

But on Windows, it doesn't work.

you could pull it off by having your target script available in the runtime app scriptmaker menu and triggering it by having a VBscript sending keystrokes to the runtime's user interface. But it might not be very reliable depending on your deployment.

Posted (edited)

Thanks for help.

I couldnt do enything with Do Script so I used Perform AppleScript.

I give up with this feature on windows. But it will work on MacOSX...

Edited by Guest

This topic is 6649 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.