Jump to content

Send Message / Send DDE Execute script steps


DaleF

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

Recommended Posts

  • 2 weeks later...

Dale,

I didn't have any luck either trying to find information on the DDE execute script step.

For executing a BAT file I'm using the following workaround:

-Create a global container field

-Copy the BAT file in this field

-Create a script that does a Go to Field (select/perform, "your global field")

The automatically opened command window should close automatically as well after the BAT file has finished.

Please note that you can only do a 'go to field' script step when the field is on the current layout.

The container field does not have to have 'allow entry into field' enabled, but make sure to navigate away from the field in your script as the 'go to field' script step will take you there anyway. Best to put it on another layout (that the script using users must have access to) and navigate to and from this layout in the script.

If this is a hosted database please note that the Global field can only be really changed (for all users) when only 1 user has it open. So open the files, stop sharing, change the content of the global container field and start sharing the files again.

Good luck,

Andries

Link to comment
Share on other sites

  • 2 weeks later...

Or you just include a "send message" command in the script, file type is "unknown", send the "open doc/application" message and put the complete path (under windows) in the Text field.

On the other hand, you may create (calculation) fields that hold the path info for the bat file and use instead the "field value" option to specify.

Best wishes

Daniel

Link to comment
Share on other sites

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