sshrum Posted February 27, 2007 Share Posted February 27, 2007 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' Link to comment Share on other sites More sharing options...
Uten Posted February 27, 2007 Share Posted February 27, 2007 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. Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling Link to comment Share on other sites More sharing options...
sshrum Posted February 27, 2007 Author Share Posted February 27, 2007 I thought about that...monitoring the registry...but I was worried about overhead...polling the registry every (say) 3 seconds. I'll need to check into it deeper and see what kind of load it causes. 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' Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now