@flyingDman that function does exactly what I need, I just need to add some more variables to save stuff to be used later on, but it works just as I expected.
This is a wake-up call that my math is lacking terribly haha thank you very much!
Search found 13 matches
- 09 Jul 2022, 16:12
- Forum: Ask for Help (v1)
- Topic: Split Number String Into 2 by Specific Character Amounts Topic is solved
- Replies: 4
- Views: 720
- 09 Jul 2022, 15:47
- Forum: Ask for Help (v1)
- Topic: Split Number String Into 2 by Specific Character Amounts Topic is solved
- Replies: 4
- Views: 720
Re: Split Number String Into 2 by Specific Character Amounts Topic is solved
If you describe what the script should do, it might actually be easier to create a new script. My apologies, I thought I had typed that out. My goal with the script is to be able to get the user to input time in the format of hhmm , where hh can be any amount of hours the user wants (ex: 10000hrs),...
- 09 Jul 2022, 12:57
- Forum: Ask for Help (v1)
- Topic: Split Number String Into 2 by Specific Character Amounts Topic is solved
- Replies: 4
- Views: 720
Split Number String Into 2 by Specific Character Amounts Topic is solved
Greetings, I'm trying to create a function that will take an input of time. I really wanted to complicate stuff for myself, so instead of requesting time in format hh:mm , I allow the input to be hhmm . I want to user to be able to input the number of hours they want, ex: 350 , but the last 2 digits...
- 05 Jul 2022, 19:57
- Forum: Ask for Help (v1)
- Topic: Parent App or Program Window to GUI
- Replies: 6
- Views: 879
Re: Parent App or Program Window to GUI
That looks rather interesting! I will definitely look at it tomorrow for sure! Thank you so much!
- 05 Jul 2022, 16:02
- Forum: Ask for Help (v1)
- Topic: Parent App or Program Window to GUI
- Replies: 6
- Views: 879
Re: Parent App or Program Window to GUI
I just gave Ahk2CLI a try, and unfortunately, even for Example4 it still fails to show the console inside the GUI. I'm not too savvy around MS stuff, so I'll see if I can find any other alternatives, or just keep them separated, besides, it was more about the aesthetic of having 1 window haha thanks...
- 05 Jul 2022, 14:19
- Forum: Ask for Help (v1)
- Topic: Parent App or Program Window to GUI
- Replies: 6
- Views: 879
Re: Parent App or Program Window to GUI
Thanks for your reply joedf ! Being a noobie on AHK, I've tried running that code you provided and can't seem to get it to work. Surely, the MainWindow GUI is the only one that stays (the console does blink into life for a couple of frames before it disappears) This is how it looks with your functio...
- 05 Jul 2022, 11:36
- Forum: Ask for Help (v1)
- Topic: Parent App or Program Window to GUI
- Replies: 6
- Views: 879
Parent App or Program Window to GUI
Hi everyone! I'm trying to use joedf 's LibCon library (https://github.com/joedf/LibCon.ahk) for debugging my script, and I decided I wanted to keep it for the final product as well so that users can keep track of stuff. I'm trying to parent the console window that is generated to a GUI so I can add...
- 28 Jan 2020, 16:14
- Forum: Ask for Help (v1)
- Topic: Mouse Hold-Toggle Inversion Topic is solved
- Replies: 4
- Views: 528
Re: Mouse Hold-Toggle Inversion Topic is solved
Works perfectly! Thank you very much! I actually managed to get to almost the same exact way you did it, but written a bit different. Will still use yours since it is much cleaner, Much appreciated! My Code: *RButton:: { KeyWait, RButton, T0.11 If (Errorlevel=1) { Send {RButton down} KeyWait, RButto...
- 27 Jan 2020, 12:18
- Forum: Ask for Help (v1)
- Topic: Mouse Hold-Toggle Inversion Topic is solved
- Replies: 4
- Views: 528
Re: Mouse Hold-Toggle Inversion Topic is solved
Hallo, try: RButton:: KeyWait, RButton IF A_TimeSinceThisHotkey< 200 { IF Toggle:=!Toggle Send {RButton Down} Else Send {RButton Up} } Else Click, Right Return Thanks for your reply! This works great too! It works pretty much like the code on my Edit1, though this is very few lines in comparison, s...
- 27 Jan 2020, 00:47
- Forum: Ask for Help (v1)
- Topic: Mouse Hold-Toggle Inversion Topic is solved
- Replies: 4
- Views: 528
Mouse Hold-Toggle Inversion Topic is solved
Hi everyone! So I'm trying to invert how the mouse works, pretty much. If I hold down RButton, I wamt to do a full click, but if I click once, I want to hold RButton down until I click RButton again. This are some of the tests I've done so far and the last one is the one that was worked the best so ...
- 06 Jan 2020, 15:00
- Forum: Scripts and Functions (v1)
- Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
- Replies: 197
- Views: 110432
Re: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Hi berban It's me again. I gave up on "db" since it never worked. I tried using the example on P.19 and I always get a blank result or "(,0). Is there a way to use that example or a variation of it to extract %Results% into an Array that I can order up? I know that if I get it to work, I could store...
- 03 Nov 2019, 18:10
- Forum: Scripts and Functions (v1)
- Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
- Replies: 197
- Views: 110432
Re: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Hi Oblituarius , happy to help. I just tried using the directional option (e.g. "bottom") and was dismayed to find it didn't seem to be working. There's a bunch of options in here that I don't really use myself, and unfortunately sometimes when I tweak something sometimes it screws up something els...
- 31 Mar 2019, 17:14
- Forum: Scripts and Functions (v1)
- Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
- Replies: 197
- Views: 110432
Re: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Hi berban, So I just recently found your script and it works wonders! I'm just having a small issue, which involves me not understanding the documentation. This is what I have: Numpad1:: { Loop, 1 { Tooltip, % FindClick("F:\Programs\AHK\Shooter\TestHP.png", "oTransBlack,30 r e y30 n1 Sleep60 bottom ...