Post by garry » 19 Feb 2024, 05:16
instale autohotkey, editor salve xy.ahk UTF8 com BOM , click xy.ahk
use > Setworkingdir,%a_scriptdir% se usar xy.bat
Code: Select all
Setworkingdir,%a_scriptdir%
Try,Run,Chrome
catch,err
{
x1:="Message =" . err.Message
x2:="Message =" . err.extra
x3:="This-File =" . err.file
x4:="In Line =" . err.line
x5:="Command =" . err.what
msgbox, 262208,ERROR,Error=`n%x1%`n----------------------`n%x3%`n%x2%`n%x4% > %x5%`n--------------------`n
exitapp
}
exitapp
instale autohotkey, editor salve xy.ahk UTF8 com BOM , click xy.ahk
use > Setworkingdir,%a_scriptdir% se usar xy.bat
[code]Setworkingdir,%a_scriptdir%
Try,Run,Chrome
catch,err
{
x1:="Message =" . err.Message
x2:="Message =" . err.extra
x3:="This-File =" . err.file
x4:="In Line =" . err.line
x5:="Command =" . err.what
msgbox, 262208,ERROR,Error=`n%x1%`n----------------------`n%x3%`n%x2%`n%x4% > %x5%`n--------------------`n
exitapp
}
exitapp
[/code]