Re: TSR capability under Windows

new topic     » goto parent     » topic index » view thread      » older message » newer message
GreenEuphorian said...

Can Euphoria create TSR programs?

Not on it's own. Perhaps you could do it with some machine code additions, but the fact that eu runs in 32bit protected mode - even under DOS - might raise some additional complications. That said, there might already be something in the archives to get an Euphoria DOS32 TSR working....

GreenEuphorian said...

(Terminate and Stay Resident, in old DOS terminology - I don't know what it is called nowadays)

The name is the same, but it only refers to the DOS technology. It's primary feature was the ability to work around the single tasking nature of DOS and (sorta) let two programs run at the same time.

GreenEuphorian said...

I need a program that stays in the background and call be called by a key combination. How to achieve this under Windows?

IIRC to keep it in the background one simply hides all active windows and consoles. Then the program won't show up in the task bar....

When the key combo is pressed, you'd then make the windows visible again.

The only part that might not be available in a standard widget library would be detecting the key presses without any active windows visible.

Here's some generic information on how to hook to a specific key combination: http://stackoverflow.com/questions/19356830/how-can-i-create-a-global-hotkey-combination-that-includes-the-windows-key and http://stackoverflow.com/questions/18917716/windows-how-to-query-state-of-modifier-keys-within-low-level-keyboard-hook

Alternatively, you could use something like http://www.autohotkey.com/ to deal with the hotkey hooking for you, and have it run a command to notify your program when the combination has been pressed.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu