Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multiple Desktop Existing Window Question
#1
i'm running VirtuaWin to manage multiple desktops on my machine. when i start up a certian database i have a "watcher" function start up and tell me if it is still open in so many minutes. if however, the db is closed (ie "ifi-"), it stops the timer and ends itself.

the trouble comes when i switch desktops and the function does a ifi- and doesnt find that db window so it closes even though the db is open on another desktop. I tried getting the process id but when the db initially opens but because i may have several db open at once i cant be certain of getting the right one. i also thought of setting a global variable triggered on the destruction of the db window but that wont trigger if the process is killed via the Task Manager from a desktop other than the one the db is on.

any ideas on how i can do this? the process id seems the way to go if i can get it.

thanks.
An old blog on QM coding and automation.

The Macro Hook


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)