AcidAlchamy
Active Members-
Posts
29 -
Joined
-
Last visited
About AcidAlchamy
- Birthday 09/29/1991
Profile Information
-
Location
Las Vegas Nevada
-
Interests
My girlfriend Sunshine and my Baby Girl Daisy
AcidAlchamy's Achievements
Seeker (1/7)
0
Reputation
-
Id have to look into winmove, because I got a GUI thats centered on my screen when ran; and it has plugs for other GUI's but they also open up centered and I want to set them to open around my main GUI
-
Is it possible to set the opening cords of a GUI, the X and Y ? If so, how?
-
oo believe me ive created quiet the bit of things with autoit but mianly from basic knowledge and what not. I use the Help function A LOT but some times still fail to understand it, or theres times when I dont see things working the way they should (and when i try it it usually doesnt work) but i know the people on here usually got quiet the bit of experience so i figure it never hurts to ask. But yeah im a huge fan of F1, F5, and Ctrl T
-
Yeah I hear ya, Got a lot going on today just got home not so long ago; trying to handle a grip of things so im just trying to soak up some information before im able to spend some time on this. Sorry if there simple and annoying questions just trying to understand the basics which you guys are surely helping me with,
-
yeah I do, thank you both for your help. Still trying to get ahold of some autoit things and its quiet fun but also confusing at times when one answer to something confusing is just as confusing as the original problem lol. So this should work? Run ( "ControlCenter" , @ScriptDir)
-
Would it be something like this? Run ( "ControlCenter" , "@ScriptDir") or Run ( "ControlCenter" , @ScriptDir)
-
Is there a way to abuse the run function to make it find a program without the path? because what if i want my GUI to be downloadable, and within my GUI im going to have a check RUN another program (within my .rar file will be multiple scripts) but I assume it wont work because the path i'll set in it wont be the same path for everyone, is there a way to make the run function find the program regardless? or maybe another way to go about this?
-
Why wont both scripts stay on?
AcidAlchamy replied to AcidAlchamy's topic in AutoIt General Help and Support
This simple GUI of mine just became a headache, I'm out on my iPhone right now but jesus thought this wouldve been easier, way easier . O -
Why wont both scripts stay on?
AcidAlchamy replied to AcidAlchamy's topic in AutoIt General Help and Support
Wow that sorta sucks.. Now I feel like I'm gonna have to make seprate GUIs and then bind them together with a RUN command or something.. Geez I thought that this was something small I had made a mistake on; had no idea autoit really couldn't do it (seems so simple lol) when using the run function; how can I get it to pick up on the name of my file regardless of where Its at? -
Why wont both scripts stay on?
AcidAlchamy replied to AcidAlchamy's topic in AutoIt General Help and Support
my goal is to get the GUI to actually put forth the two scripts at the same time. not one or the other. I want both scripts if ticked to run at the same time. -
Why wont both scripts stay on?
AcidAlchamy replied to AcidAlchamy's topic in AutoIt General Help and Support
replaced my clients name with Notepad; The example I made (edited in) for you guys is now a little more easier to be seen. Open note pad, and Tick "F1" and watch it spam "hihihihihihihihihi" in note pad, turn it off and it goes off, Now, I already KNOW that I got my Script looped because of the hotkey (I want it like that) But try ticking "Start Script" watch it spam "This is a test" which is fine thats how it should be. But now, the problem; try ticking F1 and Start Script or backwards and watch it only do one or the other (which ever is clicked first i believe) thats my problem here. Because I want it to do both functions at once, not one or the other.. Thanks again guys for the help #include #include Opt('MustDeclareVars', 1) Local $msg, $rolescale1, $rolescale60, $f1spam, $start, $dc, $goto GUICreate("Acid Alchamy", 500, 200) GUICtrlCreateButton("Quick Controls by Acid Alchamy", 0, 0, 500) GUICtrlSetDefColor(0xFF0000) GUICtrlCreateLabel("Ctrl+Pause/Break Key in [Notepad] Then Alt+1 to turn Controls [OFF]", 100, 25, 350) GUICtrlSetDefColor(0xFFFFFF) GUICtrlCreateGroup("RoleScale's", 5, 60, 110, 65) $rolescale1 = GUICtrlCreateCheckbox("Invincible", 10, 80, 100, 20) $rolescale60 = GUICtrlCreateCheckbox("Visible", 10, 100, 100, 20) GUICtrlCreateGroup("", -99, -99, 1, 1) ;close group GUICtrlCreateGroup("F Key Spams", 5, 160, 260, 40) $f1spam = GUICtrlCreateCheckbox("Spam F1", 10, 175, 60, 20) GUICtrlCreateGroup("", -99, -99, 1, 1) ;close group $start = GUICtrlCreateCheckbox("Start Script", 300, 70, 70, 20) $goto = GUICtrlCreateCheckbox("Go To Starting Point", 300, 100, 70, 20) GUICtrlCreateGroup("DC", 405, 160, 90, 40) GUICtrlCreateCheckbox("Disconnect", 420, 175, 80, 20) GUICtrlCreateGroup("", -99, -99, 1, 1) ;close group GUISetState() HotKeySet("{numpad0}", "script") HotKeySet("!{1}", "pTerminate") HotKeySet("{F11}", "_Stop") While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then Exit If IsChecked($rolescale1) Then RoleScale1(0) If IsChecked($rolescale60) Then RoleScale60(0) If IsChecked($f1spam) Then f1spam() If IsChecked($start) Then script() If IsChecked($goto) Then goto(0) If IsChecked($dc) Then DC(0) WEnd Func DC($i) While $i = 0 Opt("WinTitleMatchMode", 2) WinActivate("Notepad", "") Send("{Enter}") ControlSend("Notepad", "", "", "{Enter}") ControlSend("Notepad", "", "", "/break") ControlSend("Notepad", "", "", "{Enter}") ControlCommand("Acid Alchamy", "", $dc, "UnCheck", "") $i = 1 WEnd Return 1 EndFunc ;==>DC Func RoleScale1($i) While $i = 0 Opt("WinTitleMatchMode", 2) WinActivate("Notepad", "") Send("{Enter}") ControlSend("Notepad", "", "", "{Enter}") ControlSend("Notepad", "", "", "/rolescale 1") ControlSend("Notepad", "", "", "{Enter}") ControlCommand("Acid Alchamy", "", $rolescale1, "UnCheck", "") $i = 1 WEnd Return 1 EndFunc ;==>RoleScale1 Func RoleScale60($i) While $i = 0 Opt("WinTitleMatchMode", 2) WinActivate("Notepad", "") Send("{Enter}") ControlSend("Notepad", "", "", "{Enter}") ControlSend("Notepad", "", "", "/rolescale 60") ControlSend("Notepad", "", "", "{Enter}") ControlCommand("Acid Alchamy", "", $rolescale60, "UnCheck", "") $i = 1 WEnd Return 1 EndFunc ;==>RoleScale60 Func f1spam() Opt("WinTitleMatchMode", 2) WinWaitActive("Notepad") While 1 Send("hi") WEnd EndFunc ;==>f1spam Func _Stop() Exit 0 EndFunc ;==>_Stop Func pTerminate() Exit EndFunc ;==>pTerminate Func script() Opt("WinTitleMatchMode", 2) WinWaitActive("Notepad") ControlSend("Notepad", "", "", "This is a test") Send("{NUMPAD0}") EndFunc ;==>script Func goto($i) While $i = 0 Opt("WinTitleMatchMode", 2) WinActivate("Notepad", "") ControlSend("Notepad", "", "", "This is not a test") ControlCommand("Acid Alchamy", "", $goto, "UnCheck", "") $i = 1 WEnd Return 1 EndFunc ;==>goto Func IsChecked($control) Return BitAND(GUICtrlRead($control), $GUI_CHECKED) = $GUI_CHECKED EndFunc ;==>IsChecked -
I have a easy GUI I made with relatively easy commands within it. Im using checkboxs and for some reason I cant get the commands to work unless i only run one by itself. If i try checking two checkboxs it only registers and runs the first one i clicked not the second one. What can be the reason for this? I tried a few little things, changing the order of the scripts and functions, rewriting them a little and even addings whiles and wends and nothing happened really just the same results over and over. If anyone has any ideas any solutions please post em and Id greatly appreciate it. Please and thank you guys, I'll happily post the GUI if someone wants to see they lay out of it all.
-
Thats exactly what I wanted Thank you ahmet!
-
How can I make a border/box (empty)/Transparent around other txt I have, I want to group up some checkboxs i have with a border or a box. any way of doing that?
-
Proper use of ControlFocus and ControlSend
AcidAlchamy replied to AcidAlchamy's topic in AutoIt GUI Help and Support
anyone got any ideas?