DukeS Posted September 8, 2006 Share Posted September 8, 2006 (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 September 8, 2006 by Guest Link to comment Share on other sites More sharing options...
Wim Decorte Posted September 8, 2006 Share Posted September 8, 2006 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. Link to comment Share on other sites More sharing options...
DukeS Posted September 8, 2006 Author Share Posted September 8, 2006 (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 September 8, 2006 by Guest Link to comment Share on other sites More sharing options...
Wim Decorte Posted September 8, 2006 Share Posted September 8, 2006 No such thing on Windows. Won't work. Have you looked at that Script command in Windows? Link to comment Share on other sites More sharing options...
Wim Decorte Posted September 8, 2006 Share Posted September 8, 2006 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. Link to comment Share on other sites More sharing options...
DukeS Posted September 8, 2006 Author Share Posted September 8, 2006 (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 September 8, 2006 by Guest Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 6461 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