whi i cant extract files and error appear when i try to extract it
FileInstall, C:\Documents and Settings\Compaq_Administrator\Desktop\hpvalue.jpg, %A_ProgramFiles%\hpvalue.jpg
msgbox, ELSE debug`nThe following program will test out the DC problem`nPlease turn on CO and press OK.
WinGet,id, ID,[Conq
IfWinNotExist, ahk_id %id%
{
msgbox, CO window can not be detected`nProgram will now exit
exitapp
}
WinActivate, ahk_id %id%
sleep 200
WinGetPos, X, Y, Width, Height, ahk_id %id%
if Width>=1000
{
msgbox, Location of CO screen: `nx%X% - y%Y%`nCO size:`nw%Width% - h%Height%`n`nWindowSize Test Pass
}
else
{
msgbox, CO needs to be in 1024x768 mode`nDebug will now exit
exitapp
}
WinActivate, ahk_id %id%
sleep 200
PixelSearch, , , 10, 720, 60, 720, 0x0B098F, 10, Fast
if ErrorLevel
{
Run, %A_ProgramFiles%\hpvalue.jpg
msgbox, Can not detect HP value`nPlease make sure the HPbar is correctly shown`nand with HP more than half`nDebug will now exit
exitapp
}
else
{
msgbox,Red color is found in ur HPbar`n`nHP value test passed
}
InputBox, out, DCtimer,Enter a number between 10-20 ,
if out >=21
{
msgbox, Value higher than 20...`nProgram will now exit
exitapp
}
else if out <=9
{
msgbox, Value lower than 10...`nProgram will now exit
exitapp
}
msgbox, 0,,CO screen will be closed in %out% seconds,3
loop %out%
{
sleep 1000
}
winkill, ahk_id %id%
sleep 500
IfWinNotExist, ahk_id %id%
{
msgbox, All Test passed!`nYou should not have a DC problem`nContact me for further questions.
}
else
{
msgbox, CO window can not be closed`nReason: Unknown
exitapp
}
exitapp