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

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

Recommended Posts

Posted

Our client wants a preliminary dialogue and a very simple "open" dialogue for inserting pictures. The programmable Insert Picture dialogue is too intimidating for his users.

Is it possible to script a process that yields the same thing as the menu bar's "Insert Picture" function?

Much appreciated.

Posted

In response to yours:

"Is it possible to script a process that yields the same thing as the menu bar's "Insert Picture" function?"

try Script stem "Insert Picture" and leave all options blank (do not specify file). This will allow user to choose picture file to insert.

Posted

try Script stem "Insert Picture" and leave all options blank (do not specify file). This will allow user to choose picture file to insert.

Using FMP 10.0v3 with all options blank no dialogue appears. The debugger shows the function executing but nothing happens. I've attached a screenshot of my code.

Appreciated.

Posted

If this is all on Macs, you could use AppleScript's choose file command, which brings up the usual "file picker" dialog. You'd then need to either set the container field directly, or coerce the path to a FileMaker syntax path, to use with an Insert Picture step; that paths are very similar.

Posted

I cannot see picture but Script step "Insert Picture" works.

Of course - before use Script "Go to field" (as you need to click in to field before inserting image)

So:

Go to field (PictureField)

Insert Picture []

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