How to Remove Error pop-up’s?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
User avatar
SirSocks
Posts: 360
Joined: 26 Oct 2018, 08:14

How to Remove Error pop-up’s?

18 Jun 2019, 12:20

Hello –
I am looking to try to remove/suppress error pop-ups. I am aware of the #Warn feature, but this only covers “Warnings” and not “Errors”. Does anyone know how to remove error pop-ups?

EDIT: Below is only an example of the pop-ups I want to remove. This is not my exact error message.

This is an example of the error pop up.
Image

All help is appreciated,
Thank you.
Last edited by SirSocks on 19 Jun 2019, 07:09, edited 1 time in total.
Rohwedder
Posts: 7645
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: How to Remove Error pop-up’s?

19 Jun 2019, 04:26

Hallo,
remove or comment out line 12
Last edited by Rohwedder on 19 Jun 2019, 04:31, edited 1 time in total.
wolf_II
Posts: 2688
Joined: 08 Feb 2015, 20:55

Re: How to Remove Error pop-up’s?

19 Jun 2019, 04:29

Also: prepend line 12 with try
User avatar
jeeswg
Posts: 6902
Joined: 19 Dec 2016, 01:58
Location: UK

Re: How to Remove Error pop-up’s?

19 Jun 2019, 04:34

- For that particular example, you could create a normal label and use the Hotkey command, instead of using a hotkey label.
- That error looks a bit unusual, e.g. something you get if you try to run a UTF-8 script with no BOM. AHK requires a BOM for UTF-8/UTF-16 scripts.
homepage | tutorials | wish list | fun threads | donate
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
User avatar
TheDewd
Posts: 1513
Joined: 19 Dec 2013, 11:16
Location: USA

Re: How to Remove Error pop-up’s?

19 Jun 2019, 08:57

Add #ErrorStdOut to the top of your script.

Code: Select all

#SingleInstance, Force
#ErrorStdOut

CapsLock & §::
	MsgBox, Testing
return

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: mikeyww and 188 guests