Search found 188 matches

by Micromegas
25 May 2018, 10:21
Forum: Ask For Help
Topic: “Graphical User Interface” vs “Window Controls”
Replies: 8
Views: 275

Re: “Graphical User Interface” vs “Window Controls”

Thanks to both of you! To StefOnSteroids for backing me up and to swagfag for providing the link. One more item on my to-do list!
by Micromegas
25 May 2018, 03:46
Forum: Ask For Help
Topic: “Graphical User Interface” vs “Window Controls”
Replies: 8
Views: 275

Re: “Graphical User Interface” vs “Window Controls”

tsssss, i mean.... there are some pretty cryptic things in the docs, but claiming this as one of them is a bit far fetched imo The word "cryptic" is your choice of words. What exactly do you mean by "tsssss"? Even with only 3 esses , this can mean anything from disapproval to co...
by Micromegas
25 May 2018, 03:26
Forum: Ask For Help
Topic: How to choose a string from a DropDownList Topic is solved
Replies: 6
Views: 139

Re: How to choose a string from a DropDownList Topic is solved

I prefer WinWaitActive because the window class #32770 is displayed more or less quickly according to the speed of the CPU, load of processes and more. Of course; it was only for testing that I let it Sleep in the first place. I just had wanted to rule out the possibility that WinWaitActive fired b...
by Micromegas
24 May 2018, 07:10
Forum: Ask For Help
Topic: How to choose a string from a DropDownList Topic is solved
Replies: 6
Views: 139

Re: How to choose a string from a DropDownList Topic is solved

ControlFocus is not necessary Oh, indeed! So the A in Control, ChooseString, % DDLChoice, ComboBox2 ,A gets its reference from WinWaitActive not from ControlFocus . BTW, it also works with Sleep instead of WinWaitActive , (in which case one has to set the WinTitle, since there's no A ). (Not that t...
by Micromegas
24 May 2018, 06:44
Forum: Ask For Help
Topic: “Graphical User Interface” vs “Window Controls”
Replies: 8
Views: 275

Re: “Graphical User Interface” vs “Window Controls”

GuiControl... commands only work for controls belonging to the script's own windows (GUIs). Thank you, that confirms my suspicion. The text you quote, however, does not say that explicitly. It seems to me it would improve the help if the "only" part were stated as clearly as you put it. B...
by Micromegas
24 May 2018, 03:28
Forum: Ask For Help
Topic: “Graphical User Interface” vs “Window Controls”
Replies: 8
Views: 275

“Graphical User Interface” vs “Window Controls”

As I was just writing How to choose a string from a DropDownList , I realized I'm confused by the help. Content in the left sidebar lists two chapters that both deal with controls: Window \ Controls and Graphical User Interfaces . The former contains e.g. the command Control , while the latter has G...
by Micromegas
24 May 2018, 03:14
Forum: Ask For Help
Topic: How to choose a string from a DropDownList Topic is solved
Replies: 6
Views: 139

How to choose a string from a DropDownList Topic is solved

I am trying to set a control in Notepad++, namely the Font name in the Style Configurator. It seems that there are two commands to do the job: Control and GuiControl . I tried both, but none changes the chosen string: #IfWinActive ahk_class Notepad++ +!1:: +!2:: ; Call Style Configurator: Send !t{do...
by Micromegas
23 May 2018, 09:48
Forum: Ask For Help
Topic: How to send SMP characters to Notepad++? Topic is solved
Replies: 1
Views: 51

Re: How to send SMP characters to Notepad++? Topic is solved

Found a workaround:


Three minutes away from the keyboard work wonders!
by Micromegas
23 May 2018, 09:41
Forum: Ask For Help
Topic: How to send SMP characters to Notepad++? Topic is solved
Replies: 1
Views: 51

How to send SMP characters to Notepad++? Topic is solved

I defined some hotstrings containing characters from the Unicode Supplemental Multilingual Plane (SMP). Those work nicely (thanks to trismarck's UTF-16 surrogate tip in some applications, but unfortunately not in Notepad++. There, the following code SendMode Input ; It doesn't help to use Event or P...
by Micromegas
11 Apr 2018, 03:10
Forum: Ask For Help
Topic: Making Win+num cycle through windows, not applications
Replies: 7
Views: 225

Re: Making Win+num cycle through windows, not applications

On second thought, you might try to send #t rather than #T . Also, include a short pause like sleep 200 before you send {enter} . Here, too, you could have had the answer much sooner if you had described the symptom that your #T moves backwards, instead of just writing "it just doesn't seem to ...
by Micromegas
11 Apr 2018, 02:50
Forum: Ask For Help
Topic: Making Win+num cycle through windows, not applications
Replies: 7
Views: 225

Re: Making Win+num cycle through windows, not applications

I see. You could help people here help you if you provided such information before being asked. Windows 10 is somewhat quirky with the handling of those buttons. Indeed, I could not find a way to select a given button other than by invoking Win+num or Win+T. That makes this a special problem with no...
by Micromegas
09 Apr 2018, 08:37
Forum: Ask For Help
Topic: Making Win+num cycle through windows, not applications
Replies: 7
Views: 225

Re: Making Win+num cycle through windows, not applications

Microsoft offers a setting for what you want to do: Why don't you just set the Taskbar properties to Taskbar buttons: Never combine?
by Micromegas
15 Mar 2018, 15:30
Forum: Ask For Help
Topic: Making Win+num cycle through windows, not applications
Replies: 7
Views: 225

Re: Making Win+num cycle through windows, not applications

Check out WinActivate, which allows you to be very specific about which window you open.
by Micromegas
15 Mar 2018, 11:22
Forum: Ask For Help
Topic: Is it possible to detect when monitor is plugged in?
Replies: 3
Views: 104

Re: Is it possible to detect when monitor is plugged in?

SysGet gives you, in addition to the device name, more valuable information, such as the MonitorCount and the bounding coordinates of each monitor.
by Micromegas
15 Mar 2018, 10:36
Forum: Ask For Help
Topic: Hotstring() ignores remapped keys Topic is solved
Replies: 6
Views: 96

Re: Hotstring() ignores remapped keys Topic is solved

Thanks, the word "trigger" did it. Now DuckDuckGo finds it, too. BTW, that also finds this stack overflow Q&A , which has a nice short explanation. Oh, and the two docs pages do mention InputLevel, but not for the combination of remapping and hotstring, which was what I was looking for...
by Micromegas
15 Mar 2018, 09:47
Forum: Ask For Help
Topic: Hotstring() ignores remapped keys Topic is solved
Replies: 6
Views: 96

Re: Hotstring() ignores remapped keys Topic is solved

Cool, thanks a lot! I googled, too (well, that is, I DuckDuckWent) and didn't find that. What did you google for?
by Micromegas
15 Mar 2018, 06:51
Forum: Ask For Help
Topic: Hotstring() ignores remapped keys Topic is solved
Replies: 6
Views: 96

Re: Hotstring() ignores remapped keys Topic is solved

for reference, normal hotstring syntax doesn't work either Yup, I assume that doesn't work because it's all done at compile time. (There may be priority issues; unfortunately I didn't see anything about that at Hotstrings and Auto-replace and Remapping Keys and Buttons .) But the beauty of Hotstrin...
by Micromegas
15 Mar 2018, 06:44
Forum: Ask For Help
Topic: Doing maths w\ autocorrect script
Replies: 2
Views: 71

Re: Doing maths w\ autocorrect script

Nwb wrote:Can you do that with hotstrings though? Interesting.


Well, you can in principle. But it would be far more complicated than the code in the original post, which isn't even an attempt at solving the problem.
by Micromegas
15 Mar 2018, 06:31
Forum: Ask For Help
Topic: Hotstring() ignores remapped keys Topic is solved
Replies: 6
Views: 96

Hotstring() ignores remapped keys Topic is solved

After running the following script

Code: [Select all]GeSHi © Codebox Plus

q::x
Hotstring("::xx", "Roman number 20")
, entering qq correctly writes xx, but that isn't recognized as a hotstring. How can I achieve that?

Go to advanced search