Search found 559 matches

by DRocks
27 Oct 2019, 06:42
Forum: Ask For Help
Topic: Wait until a google chrome page charge then continue
Replies: 5
Views: 1294

Re: Wait until a google chrome page charge then continue

Use image search and identify the Tab icon. Theres a loading animation going on that icon when the Tab is loading. When its done the icon returns to normal without animation. Make a Loop that will break when the normal icon image is found (not loading any more) or break if its been looping for more ...
by DRocks
26 Oct 2019, 06:04
Forum: Ask For Help
Topic: [SOLVED] Add Auto-completion for non-AHK ComboBox with a AHK script ? Topic is solved
Replies: 14
Views: 1564

Re: Add Auto-completion for non-AHK ComboBox with a AHK script ? Topic is solved

At the end, I used your idea of a AHK GUI that becomes the ComboBox's list sorter/filter. It was in fact, better than autocompletion. So I made a AHK GUI that will be automatically created on top of the software's window when I press Tab from the name control to switch to the ComboBox page. This Gui...
by DRocks
26 Oct 2019, 05:13
Forum: Ask For Help
Topic: Combination to One Key
Replies: 2
Views: 363

Re: Combination to One Key

Im not sure if you meant the opposite, but if you need F1 to send the combination instead just reverse the statement gregster gave you.

F1:: Send ...
F2:: Send ...
by DRocks
25 Oct 2019, 08:27
Forum: Ask For Help
Topic: [SOLVED] Add Auto-completion for non-AHK ComboBox with a AHK script ? Topic is solved
Replies: 14
Views: 1564

Re: Add Auto-completion for non-AHK ComboBox with a AHK script ? Topic is solved

I don't know why but with this I previously experimented unreliability. I'd have to test again but to be honest I really want to dig into this post message logic and make use of it since it acts more precisely on the text selection. Btw you can't tell that this is your idea of Sorter GUI that is pla...
by DRocks
25 Oct 2019, 07:57
Forum: Ask For Help
Topic: [SOLVED] Add Auto-completion for non-AHK ComboBox with a AHK script ? Topic is solved
Replies: 14
Views: 1564

Re: Add Auto-completion for non-AHK ComboBox with a AHK script ? Topic is solved

Sure sorry I typed with a bit of hype :P This is the result of CBAutoComplete() by pulover that I call when the sorted list matchCount = 1 and matchesAtStartPos = 1. In other words, because this function is able to set the combobox selection and the typed input text selection correctly for choices t...
by DRocks
25 Oct 2019, 07:44
Forum: Ask For Help
Topic: [SOLVED] Add Auto-completion for non-AHK ComboBox with a AHK script ? Topic is solved
Replies: 14
Views: 1564

Re: Add Auto-completion for non-AHK ComboBox with a AHK script ? Topic is solved

Hellbent Ahhhh it took me a few seconds to understand what was the link between the two windows but I think i got it. The target window is a simulation of any third party software's window which has the combobox. then you have the 2nd Gui that allows you to type and filter through the list of possi...
by DRocks
24 Oct 2019, 21:53
Forum: Ask For Help
Topic: How to make my script run more efficiently?
Replies: 3
Views: 363

Re: How to make my script run more efficiently?

I tried to understand the logic you are coding but I dont understand.

What would be the end goal and why do you use multiple while loops with the same hotkey as the one that allows you to enter this code block?
by DRocks
24 Oct 2019, 16:55
Forum: Ask For Help
Topic: Identifying the class EditNN for a comboBox control Topic is solved
Replies: 13
Views: 1310

Re: Identifying the class EditNN for a comboBox control Topic is solved

It worked for me and I used it in another script successfully
by DRocks
24 Oct 2019, 07:42
Forum: Ask For Help
Topic: [SOLVED] Add Auto-completion for non-AHK ComboBox with a AHK script ? Topic is solved
Replies: 14
Views: 1564

Re: Add Auto-completion for non-AHK ComboBox with a AHK script ? Topic is solved

Nice Gui selector Hellbent! I think it works well too. I'll keep messing around though because the hardest part for me is that all cb list entries in the software start with 4 digits and problem is I can't remember them all by heart. I'll need to add matching from anywhere in the string so i'll be a...
by DRocks
23 Oct 2019, 15:38
Forum: Ask For Help
Topic: How can I remap ctrl-a to new command and alt-a to original select all hook ?
Replies: 5
Views: 567

Re: How can I remap ctrl-a to new command and alt-a to original select all hook ?

Try
!f::Send ^f
!a::Send ^a


Sounds to easy but i think it works, untested
by DRocks
23 Oct 2019, 15:17
Forum: Ask For Help
Topic: Send Ctl-Shift-right arrow Topic is solved
Replies: 2
Views: 442

Re: Send Ctl-Shift-right arrow Topic is solved

If theres no typing mistake in your example you actually tried ^!{Right} which means Ctrl +Alt +Right

Try instead Send, ^+{Right}
by DRocks
23 Oct 2019, 08:16
Forum: Ask For Help
Topic: [SOLVED] Add Auto-completion for non-AHK ComboBox with a AHK script ? Topic is solved
Replies: 14
Views: 1564

Re: Add Auto-completion for non-AHK ComboBox with a AHK script ? Topic is solved

I used your SetTimer idea and i got this so far, Theres some problems when I try to match from anywhere in the string and the CbAutoComplete() that sets the text selection. Feel free to mess with it it needs a lot of improvement :) #SingleInstance,Force #Persistent ControlGet, hCB, hwnd,, ComboBox2,...
by DRocks
23 Oct 2019, 06:34
Forum: Ask For Help
Topic: How to activate the desired window if both windows have the same ahk_class? Topic is solved
Replies: 4
Views: 512

Re: How to activate the desired window if both windows have the same ahk_class? Topic is solved

Maybe consider RegEx SetTitleMatchMode and use a RegEx WinTitle plus the ahk_class ?
by DRocks
22 Oct 2019, 23:25
Forum: Ask For Help
Topic: [SOLVED] Add Auto-completion for non-AHK ComboBox with a AHK script ? Topic is solved
Replies: 14
Views: 1564

Re: Simulate a ahk ComboBox gLabel for a non-AHK ComboBox? Topic is solved

Hey hellbent

Thanj you very much for the help. I was just editting my post and when done you had a reply :D

Ill be off sleeping but will surely try that when i wake up.

Thanks a lot, ill get back to this thread for updates.
Have a gn
by DRocks
22 Oct 2019, 10:26
Forum: Ask For Help
Topic: [SOLVED] Add Auto-completion for non-AHK ComboBox with a AHK script ? Topic is solved
Replies: 14
Views: 1564

[SOLVED] Add Auto-completion for non-AHK ComboBox with a AHK script ? Topic is solved

EDIT: Topic solved see selected answer and my last post for reference. Hello, I want to add auto-completion to a non-AHK regular win32 ComboBox control with my AHK script. Can you listen to the other software's ComboBox text input changes within a ahk script like a Gui control gLabel would do ? In ...
by DRocks
21 Oct 2019, 13:52
Forum: Scripts and Functions
Topic: Simple Window Manager (save and recall positions)
Replies: 0
Views: 1542

Simple Window Manager (save and recall positions)

Here's a simple Window Manager script that helps me saving and recalling window positions using a separate file per computer name so you can have different setups. How it works in short: 1. Quickly add new window titles using RegEx versatility 2. Reposition or update positions of window matching you...
by DRocks
19 Oct 2019, 22:42
Forum: Ask For Help
Topic: WinMove for files Explorer
Replies: 6
Views: 1551

Re: WinMove for files Explorer

Thank you very much for your reply @lexikos this makes sense now and I understand why I was getting errors. Have a good day

EDIT: tested and this works perfectly as you said:
[i)Data ahk_class i)CabinetWClass ahk_exe i)Explorer.EXE]
x=440
y=69
w=1044
h=603
MinMax=0
by DRocks
19 Oct 2019, 08:40
Forum: Ask For Help
Topic: WinMove for files Explorer
Replies: 6
Views: 1551

Re: WinMove for files Explorer

EDIT: I found a answer to my problem at the end of my post. Hello, I've come across the same problem and I wanted to ask if any one knows why being more specific as Lexikos stated does not work in this situation: I am identifying the Data folder name adding both ahk_class CabinetWClass and ahk_exe ...

Go to advanced search