Jump to content
Macro Express Forums

Windows Device Events To Launch Macros


Cory

Recommended Posts

I had bad timing and my post didn't migrate so I'm reposting...

 

OK, I’m being lazy in asking but I don’t have time right now to spend hours researching this because of the 'needle in a haystack' problem googling. So hopefully one of you have some experience with this and can at least send me in the right direction.

 

In Windows when using devices like scanners, cameras, and flash drives there are associated ‘events’. For instance if you push a button on the front of the scanner it might launch OmniPage and jump to the scan interface. Or if you plug in your camera or flash drive the OS will automatically dump your files to the My Pictures folder. In fact usually it will confront you with some options the first time you connect. So far, so good.

 

But the options are predefined and often created by a program’s install app. So how does one define these? What I would like to do is add an event that will run a macro. Does anyone have any experience with this?

Link to comment
Share on other sites

Have you tried creating an event-driven macro based on a Window Title or Window Control? If, for example, you know that Omni Page will fire when you turn on your scanner, then create a macro to fire when it sees that window, or a control in the window, has surfaced.

Link to comment
Share on other sites

That could possibly work. I could set the action to always open the file folder for instance and when it sees a window title with "e:\" in the title. But that's a problem in Vista because Windows Explorer windows don't have titles anymore. It just seemed that the most elegant solution was ot create an even like OmniPage did.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...