Search found 63 matches
- 05 Jun 2014, 05:52
- Forum: Ask for Help (v1)
- Topic: Displaying picture in system menu tray
- Replies: 2
- Views: 1488
Re: Displaying picture in system menu tray
Thanks! That is interesting. The window class for standard tray menus and this one are identical: #32768. I just assumed it was a difference in style and not a separate GUI.
- 04 Jun 2014, 11:42
- Forum: Ask for Help (v1)
- Topic: Displaying picture in system menu tray
- Replies: 2
- Views: 1488
Displaying picture in system menu tray
Any idea how to display a picture in the menu like Intel HD Manager does?
(Ignore highlighted part. I'm referring to the picture at the bottom of the menu)
(Ignore highlighted part. I'm referring to the picture at the bottom of the menu)
- 29 May 2014, 04:35
- Forum: Scripts and Functions (v1)
- Topic: String Things - Stand-alone string manipulation functions
- Replies: 35
- Views: 35672
Re: String Things - Stand-alone string manipulation function
Thanks, Tidbit! @guest3456: Yes, those first braces are unnecessary. It's there because I paste all of my examples from a scratchpad function . It's doesn't hurt to include them in posts, and it is less work for me to remove braces and indentation. @AfterLemon: I considered that at first, too. The p...
- 28 May 2014, 04:42
- Forum: Scripts and Functions (v1)
- Topic: String Things - Stand-alone string manipulation functions
- Replies: 35
- Views: 35672
Re: String Things - Stand-alone string manipulation function
Thanks, Joe. It's actually slightly different than that.
Code: Select all
{
Msgbox % st_Concat("|", 1, 2, 3, 4,5 ,6)
return
}
st_Concat(delim, as*)
{
for k, v in as
s .= v . delim
return s
}
- 27 May 2014, 19:37
- Forum: Scripts and Functions (v1)
- Topic: String Things - Stand-alone string manipulation functions
- Replies: 35
- Views: 35672
Re: String Things - Stand-alone string manipulation function
I would find a st_Concat(delim, s*...) function quite useful.
- 06 Mar 2014, 14:23
- Forum: Scripts and Functions (v1)
- Topic: String Things - Stand-alone string manipulation functions
- Replies: 35
- Views: 35672
Re: String Things - Stand-alone string manipulation function
Pretty much my favorite and most-used library.
- 18 Feb 2014, 09:40
- Forum: Scripts and Functions (v1)
- Topic: System Menu : Add custom and/or remove standard items
- Replies: 6
- Views: 7051
Re: System Menu : Add custom and/or remove standard items
That is awesome. I have always wanted to tweak the system menu.
- 06 Jan 2014, 10:25
- Forum: Scripts and Functions (v1)
- Topic: Control Control -- Interactive Control Manipulation
- Replies: 11
- Views: 6133
Re: Control Control -- Interactive Control Manipulation
No problem! I appreciate the positive feedback.
- 05 Jan 2014, 16:25
- Forum: Ask for Help (v1)
- Topic: So close: Correctly retrieving string from WM_COPYDATA
- Replies: 8
- Views: 4078
Re: So close: Correctly retrieving string from WM_COPYDATA
*Sigh* Thanks, all. Sometimes the solution is starting you right in the face.
As it turns out, I was translating the string incorrectly.
I was using this:
StringAddress := NumGet(lParam * A_PtrSize)
Instead of this:
StringAddress := NumGet(lParam + 2 * A_PtrSize)
As it turns out, I was translating the string incorrectly.
I was using this:
StringAddress := NumGet(lParam * A_PtrSize)
Instead of this:
StringAddress := NumGet(lParam + 2 * A_PtrSize)
- 05 Jan 2014, 16:24
- Forum: Ask for Help (v1)
- Topic: Resolved: PostMessage to AHK script from EXE?
- Replies: 10
- Views: 5978
Re: Resolved: PostMessage to AHK script from EXE?
*Sigh* Sometimes the solution is starting you right in the face.
As it turns out, I was translating the string incorrectly.
I was using this:
StringAddress := NumGet(lParam * A_PtrSize)
Instead of this:
StringAddress := NumGet(lParam + 2 * A_PtrSize)
As it turns out, I was translating the string incorrectly.
I was using this:
StringAddress := NumGet(lParam * A_PtrSize)
Instead of this:
StringAddress := NumGet(lParam + 2 * A_PtrSize)
- 06 Nov 2013, 17:06
- Forum: Scripts and Functions (v1)
- Topic: Control Control -- Interactive Control Manipulation
- Replies: 11
- Views: 6133
Re: Control Control -- Interactive Control Manipulation
Thanks, chaz! I, too, have found myself wanting to resize multiple controls at once. My thought is to create a way to select a range of controls with some hotkey that, of course, includes LButton (Alt+Win+LButton?). Once a selection is defined, the regular hotkeys can work to resize multiple control...
- 06 Nov 2013, 15:44
- Forum: Scripts and Functions (v1)
- Topic: TimeSinceLastCall()
- Replies: 4
- Views: 4174
Re: TimeSinceLastCall()
Was about to write this exact function today, and then I saw this post :p. Thank you
- 06 Nov 2013, 10:08
- Forum: Ask for Help (v1)
- Topic: Selecting items randoms from a list
- Replies: 12
- Views: 6223
Re: Selecting items randoms from a list
t isn't even necessary. A_Index works fine Total := 30 ; for example nUp := 6 ; for example select 6 items While (A_Index <= nUP) { Random, Ran, 1, %Total% if Ran not in %numbers% numbers .= Ran ",", (A_Index) ; A_Index is faster when forced to an expression, i.e. (A_Index) } MsgBox %numbers%
- 05 Nov 2013, 14:48
- Forum: Scripts and Functions (v1)
- Topic: True In-Line Send Sleep Function
- Replies: 8
- Views: 6462
Re: True In-Line Send Sleep Function
Good function! _H users should note that this is not necessary, though. From the AutoHotkey_H documentation,
"Sleep functionality in Send command (for example Send abc{100}def will send “abc”, sleep 100ms and then send “def”)"
"Sleep functionality in Send command (for example Send abc{100}def will send “abc”, sleep 100ms and then send “def”)"
- 04 Nov 2013, 12:39
- Forum: Scripts and Functions (v1)
- Topic: Control Control -- Interactive Control Manipulation
- Replies: 11
- Views: 6133
Re: Control Control -- Interactive Control Manipulation
Update:
Fixed bug where clicks were disabled after using hotkey Alt + MButton.
Added Win + LButton = Enable/Disable control.
Fixed bug where clicks were disabled after using hotkey Alt + MButton.
Added Win + LButton = Enable/Disable control.
- 04 Nov 2013, 12:16
- Forum: Scripts and Functions (v1)
- Topic: Window Control
- Replies: 1
- Views: 2482
Window Control
Brother to Control Control . This is a simple scripts that packages some nify window control functions into Alt+L/R/MButton combinations. After releasing Control Control, it felt just natural to progress towards this script. The two biggest advantages to this script are as follows: You may move/resi...
- 01 Nov 2013, 09:47
- Forum: Ask for Help (v2)
- Topic: assignment in V2
- Replies: 9
- Views: 5093
Re: assignment in V2
This works for me
Code: Select all
s := "
(
Begin
continuation
section
)"
Msgbox %s%
- 30 Oct 2013, 19:42
- Forum: Ask for Help (v1)
- Topic: Suggested File/Folder Structure for AHK
- Replies: 4
- Views: 3341
Re: Suggested File/Folder Structure for AHK
Thanks, Coco! This suggests I should bite the bullet and make copies of project's dependencies instead of localize everything into stdlib or relative path includes.
- 30 Oct 2013, 09:47
- Forum: Ask for Help (v1)
- Topic: Hotkey dynamic definition %Joykey%::something()
- Replies: 6
- Views: 3906
Re: Hotkey dynamic definition %Joykey%::something()
The general answer for these questions has always been No; but with AutoHotkey_H, then it actually is possible. You can find an exact example of what you are trying to do here
- 30 Oct 2013, 09:26
- Forum: Ask for Help (v1)
- Topic: Physical access to a file [IniRead vs FileRead]
- Replies: 7
- Views: 3877