
Search found 193 matches
- 23 Nov 2018, 11:13
- Forum: Ask For Help
- Topic: StrSplit: MaxParts parameter swallows a digit
- Replies: 5
- Views: 220
Re: StrSplit: MaxParts parameter swallows a digit
I see - RTFM 

- 23 Nov 2018, 08:06
- Forum: Ask For Help
- Topic: StrSplit: MaxParts parameter swallows a digit
- Replies: 5
- Views: 220
Re: StrSplit: MaxParts parameter swallows a digit
But on second thought: Shouldn't it in that case also omit the "2" from "121"?
- 23 Nov 2018, 08:04
- Forum: Ask For Help
- Topic: StrSplit: MaxParts parameter swallows a digit
- Replies: 5
- Views: 220
Re: StrSplit: MaxParts parameter swallows a digit
Oh, of course! Thank you!
- 23 Nov 2018, 07:31
- Forum: Ask For Help
- Topic: StrSplit: MaxParts parameter swallows a digit
- Replies: 5
- Views: 220
StrSplit: MaxParts parameter swallows a digit
The following code output= Shards := StrSplit("11`txi", A_Tab, MaxParts := 2) output .= Shards[1] . "=" . Shards[2] . "`n" Shards := StrSplit("12`txii", A_Tab, MaxParts := 2) output .= Shards[1] . "=" . Shards[2] . "`n" Shards := StrSplit("xxxii`t32", A_Tab, MaxParts := 2) output .= Shards[1] . "=" ...
- 25 Oct 2018, 08:49
- Forum: Ask For Help
- Topic: Keyboard shortcuts
- Replies: 3
- Views: 117
Re: Keyboard shortcuts
Scr1pter: Rather than demanding others change their attitude, it's usually better to look at one's own attitude first and try to behave so others can learn from the example. We can answer the question, no matter its font size: numpad0:: Input nextkey, L1, {Left}{Right} If ErrorLevel = EndKey:Left Se...
- 25 May 2018, 10:21
- Forum: Ask For Help
- Topic: “Graphical User Interface” vs “Window Controls”
- Replies: 8
- Views: 483
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!
- 25 May 2018, 03:46
- Forum: Ask For Help
- Topic: “Graphical User Interface” vs “Window Controls”
- Replies: 8
- Views: 483
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 contempt. Do you disap...
- 25 May 2018, 03:26
- Forum: Ask For Help
- Topic: How to choose a string from a DropDownList Topic is solved
- Replies: 6
- Views: 303
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...
- 24 May 2018, 07:10
- Forum: Ask For Help
- Topic: How to choose a string from a DropDownList Topic is solved
- Replies: 6
- Views: 303
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...
- 24 May 2018, 06:44
- Forum: Ask For Help
- Topic: “Graphical User Interface” vs “Window Controls”
- Replies: 8
- Views: 483
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. BTW, you ad...
- 24 May 2018, 06:33
- Forum: Ask For Help
- Topic: How to choose a string from a DropDownList Topic is solved
- Replies: 6
- Views: 303
Re: How to choose a string from a DropDownList Topic is solved
Thanks, this works!
- 24 May 2018, 03:28
- Forum: Ask For Help
- Topic: “Graphical User Interface” vs “Window Controls”
- Replies: 8
- Views: 483
“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...
- 24 May 2018, 03:14
- Forum: Ask For Help
- Topic: How to choose a string from a DropDownList Topic is solved
- Replies: 6
- Views: 303
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...
- 23 May 2018, 09:48
- Forum: Ask For Help
- Topic: How to send SMP characters to Notepad++? Topic is solved
- Replies: 1
- Views: 120
Re: How to send SMP characters to Notepad++? Topic is solved
Found a workaround:
Three minutes away from the keyboard work wonders!
Code: Select all
#c::
clipboard := bike
Send ^v
Return
- 23 May 2018, 09:41
- Forum: Ask For Help
- Topic: How to send SMP characters to Notepad++? Topic is solved
- Replies: 1
- Views: 120
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...
- 11 Apr 2018, 03:10
- Forum: Ask For Help
- Topic: Making Win+num cycle through windows, not applications
- Replies: 7
- Views: 369
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 work."
- 11 Apr 2018, 02:50
- Forum: Ask For Help
- Topic: Making Win+num cycle through windows, not applications
- Replies: 7
- Views: 369
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...
- 09 Apr 2018, 08:37
- Forum: Ask For Help
- Topic: Making Win+num cycle through windows, not applications
- Replies: 7
- Views: 369
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?
- 15 Mar 2018, 15:30
- Forum: Ask For Help
- Topic: Making Win+num cycle through windows, not applications
- Replies: 7
- Views: 369
Re: Making Win+num cycle through windows, not applications
Check out WinActivate, which allows you to be very specific about which window you open.
- 15 Mar 2018, 11:22
- Forum: Ask For Help
- Topic: Is it possible to detect when monitor is plugged in?
- Replies: 3
- Views: 195
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.