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

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

Recommended Posts

  • Newbies
Posted

is it possible to create a script that will export data to excel, AND automatically open it after it has been exported?

currently i have a script that will export data from the fields into a comma seperated file. what i'm stuck on is getting filemaker to open up that file with excel. is that possible? thanks

Posted

That's a wonderful solution for a windows computer, but what about we poor Mac users? SendMessage returns an error message when used on a Mac.

Posted

there is a corresponding script step which does just the same,

send apple event

of course, you will have to check for the platform first

if(abs(status(currentplatform)=1, -- MacOS (-1 = OS X, 1=MacOS)

send appleevent [odoc, export.txt,MSExcel]

else

send message[odoc, export.txt,MSExcel]

endif

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