Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Msgbox is often hidden


  • Please log in to reply
3 replies to this topic
Harry Binswanger
  • Members
  • 85 posts
  • Last active: Oct 27 2016 09:33 PM
  • Joined: 26 Aug 2010

Is there some way to make AHK's message boxes always be on "top" of the other things open on my screen? Sometimes, it gets hidden by some other open window.

 

In case it is relevant, here is the top part of my script:

 

; Author:      Harry Binswanger <hb@alum.mit.edu>
;AutoHotkey Version:  v1.1.09.03
NYC=true
Process, Priority,, High  ; Two consecutive commas.
SetBatchLines, -1 ; this is supposed to speed it up
#MaxHotKeysPerInterval 3000
;;;#Hotstring EndChars -()[]{}':;"/\,.?!`n`t
#UseHook
#InstallMouseHook ; NEW AS OF Nov. 2nd 2010
SetCapsLockState, AlwaysOff
;;;;SetNumLockState, AlwaysOff
SetStoreCapsLockMode, off
SetTitleMatchMode, 2 
SetTitleMatchMode, slow
SetKeyDelay -1
SetTimer, WatchActiveWindow, 100 ;
GroupAdd, DosGroup, 4DOS.COM
GroupAdd, DOSGroup, cmd.exe


stanman
  • Members
  • 177 posts
  • Last active: Oct 10 2015 12:52 AM
  • Joined: 29 Apr 2004

Check the documentation for the option "System Modal"

 

http://www.autohotke...ands/MsgBox.htm

Msgbox, 4096,, test


Harry Binswanger
  • Members
  • 85 posts
  • Last active: Oct 27 2016 09:33 PM
  • Joined: 26 Aug 2010

Stanman, you the man! Thanks so much.



garry
  • Spam Officer
  • 3219 posts
  • Last active: Sep 20 2018 02:47 PM
  • Joined: 19 Apr 2005

some (old) links to msgboxcreator

;- Thalon http://de.autohotkey...topic.php?t=534
;- digit  http://de.autohotkey...opic.php?t=3797
;- r0lZ   http://www.autohotke...topic76419.html
 

 

info,alwaysontop,OK,for 2 seconds

msgbox, 262208,TEST ,Show Test , 2