Increase|Decrease the Value & Hotkey

7 posts in this topic

HaxLi 0

; :::HotKeys:::::HotKeySet("{UP}","Increase")HotKeySet("{DOWN}","Decrease"); :::GUI:::::::::$r=WinGetClientSize("");How to get a whole Windows Screen size while it only detects the value of directory where Program is held? Maybe someone knows the title of Windows Screen? :]GuiCreate("AE 09.30",100,60,$r[0]-120,50);It suposed to appear like in upper right cornerGuiCtrlCreateGroup("By HaxLi",5,0,90,55)$c=GUICtrlCreateCombo("",10,15,40);Iwant this walue to increase|decrease with {UP}|{DOWN}. maybe I should use GUICtrlCreateList() for this.. anyway I donno how to make a Func..GUICtrlSetData(-1,"1.0|1.5|2.0|2.5|3.0|3.5","3.0");Maybe those walues should be set as an $Array?GUICtrlCreateLabel("Speed",55,20,35)$l=GUICtrlCreateCheckbox("AutoLoot",10,35,80);I guess you noticed that this is for teh sake of game ;pGUICtrlSetState($l,$GUI_CHECKED)GUISetState(); :::Funcs:::::::Func Increase();;;Something here with $cEndFuncFunc Decrease();;;And something here with $cEndFunc

Share this post

Link to post

Share on other sites

HaxLi 0

Well I'm trying to make it by my self at the moment, but since I'm not a coder but Designer, I'm not good on those logical thigs. I just want to be sure, that nooe will help me at this.. I need only explanation where and when those arrays are used and what should I start with..

Btw: I'm working with IniRead|Write now.. so just no idea how to start that increasement thing..

Thank you for new code I didn't knew before [switch]. I wonder if it's better than [select]..

Share this post

Link to post

Share on other sites

HaxLi 0

Actualy I posted not full code, bcoz I just wanted to fid a way how to increase that variable. And you showed me the way:

$A+=1;actualy I nevere thought that there is such a way to do this O.o$A-=1;I thought about If's or While's or For's, till I didn't knew this simple +=1 ;poÝ÷ Ø l¢ØZL¨¹ú+²ì¡×ºÚ"µÍÚÝÜÚYÛXÙKÜÈÚZÝÈHØ[ZÙH^HÛÈ[ÈÚ]È]SÒHÝYÜÈIÌÎNÛ[ÙHÙ]ÛÛYY^KX^XHHH[ÜHÛËÚXÚÛÝ[XZÙHÛÙZ[ÈÜYHÞY

I guess you are not interested about Programs called Boting in games.. And this is for MUonline MMORPG :]

Edited September 30, 2006 by HaxLi

Share this post

Link to post

Share on other sites

PsaltyDS 25

Actualy I posted not full code, bcoz I just wanted to fid a way how to increase that variable.

That's a good thang... when you post to the forum include the smallest code snippet that demonstrates the problem. No need to post the whole script for a problem with one function. Not only that, I've found on several occasions while trying to pull a problem out of a large script and reduce it to a demo script that I can post to whine about it... I have a DOH! moment and see what the problem was.