Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2
You last visited: Today at 09:24

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Help for Autoit

Discussion on Help for Autoit within the Conquer Online 2 forum part of the MMORPGs category.

Reply
 
Old   #1
 
Hiyoal's Avatar
 
elite*gold: 20
Join Date: Mar 2007
Posts: 2,444
Received Thanks: 1,067
Hey,

Im writing a program atm which uses inputbox but i dont know how to right code, which when "Cancel" is pressed it calls a user defined function to prompt if you really want to quit.

I also want to know what @error is and how it is used. Same with @seterror.

Is it used such as :

Func Start()
$path = InputBox("Path","Type your path.","","")
$run = Run($path)
If $run = @error Then
Call("Prompt")
EndIf
EndFunc

Func Prompt()
MsgBox(0,"Path","Cannot Find specific file!")
Call("start")
EndFunc


Hiyoal
Hiyoal is offline  
Reply




All times are GMT +1. The time now is 09:26.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.