Jump to content
Sign in to follow this  
sshrum

Triggering a function in a running script externally

Recommended Posts

sshrum

I wrote a utility that allows me to define different backgrounds for Windows Vista (using guicreate and picture...so basically I'm creating windows with my graphic and keeping it in the back).

Anywho...I wanted to add a context menu item to the gif,jpg,bmp file types (I know how to do this) that would give me the option to "set as desktop" except mine would be: Send to display 1 | Send to display 2 | etc.

I'd like to be able to trigger the running instance to deal with the call that I make from the context menu.

Any ideas? Possible?

TIA


Sean Shrum :: http://www.shrum.net

All my published AU3-based apps and utilities

'Make it idiot-proof, and someone will make a better idiot'

 

Share this post


Link to post
Share on other sites
Uten

You can not call a function directly in your external app. But you could have the external app monitor for a message, changes in a registry setting or use good old TCP/IP.

If I recall right I have a sample using PostMessage in my signature.

Happy scripting.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×