Hi all, I have made a simple script to use instead of MsgBox function. This function takes only one parameter as message text. It will display your script name as message title. Here is the code. You can include this in your script. #cs
Function name = Alert($msg)
Creater = kcvinu
Example = Alert("Hello World!")
This function is an alternative for MsgBox.
It only takes one parameter as message text
And it will display the script name as title
#ce
Func Alert($msg)
Local $title = StringSplit(@ScriptName,".") ; Splitting the script name into two piece.
MsgBox(0,$title[1],$msg) ; Using the first piece as title. 2nd piece is the extension.
EndFunc
Here is the file Alert.au3