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

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

Recommended Posts

  • Newbies
Posted (edited)

Need to make a change to a script that involves adding an argument to the Insert Object script command. At the moment ScriptMaker only allows me to double click the line and search for a file, but not allow me to modify the line manually. I want to do something like this:

Go to Field [Table1::Field1]

Insert Object ["Video Clip"]

That example is from the FileMaker help, but again, I'm unable to add the "Video Clip" part by myself. There is any way to bypass ScriptMaker at all?

Platform: FileMaker9 Adv, Windows

Edited by Guest
Posted

I'm not running Windows so I can't test the Insert Object[] script step, but usually, you can Insert to a variable. So you'd need to add a step, Set Variable[$filepath; "Whatever text"] and then Insert Object, type in $filepath.

But no, you bypass Scriptmaker.

Posted

Ultimately all scripted action needs to end up in ScriptMaker. But that doesn't mean we're limited to using ScriptMaker to create the scripts.

Now this is only a thought experiment but it has been on my wish list / to do list for the last couple of years (but alas no time to do it).

We know that FM copies the scripts to the clipboard in XML DDR - like format and can paste from the same format. Plugins and tools like FMpasteBoard take advantage of that.

So then, we could create a coding IDE that has full syntax coloring, autocompletion, intellisense etc to write our scripts manually and then have the tool convert that into the proper XML format, put it on the clipboard and paste it in ScriptMaker...

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