ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Removed Areas > AutoHotkey

Preventing fullscreen and getting back when that's failed

(1/3) > >>

oblivion:
I have a problem.

I've built an autohotkey script that, amongst other things, prevents Alt-Enter from doing anything. That was on purpose...

Thing is, under certain circumstances, a DOS app can force Windows to push it to fullscreen. If that happens, there's no way back...

Is there a way I can detect if that's happened and temporarily re-enable Alt-Enter?

-- tim

steeladept:
I am not sure if this is a solution or not, but can't you just Alt-Tab to minimize the window and work as normal?

skwire:
How are you blocking Alt-Enter within your script?  Are you doing it like this?:


--- Code: Autohotkey ---!Enter::Return

f0dder:
Move to a 64-bit OS, then you've moved beyond all that trouble :)

oblivion:
How are you blocking Alt-Enter within your script?  Are you doing it like this?:


--- Code: Autohotkey ---!Enter::Return-skwire (July 27, 2011, 12:15 PM)
--- End quote ---

Yes. I wondered if I could make something that would check to see if something was fullscreen before allowing the command to be processed.

Effectively, what I think I want to achieve is a situation where Alt-Enter works in one direction only -- back from fullscreen to windowed.

-- bests, Tim

Navigation

[0] Message Index

[#] Next page

Go to full version