AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 36 matches
AutoHotkey Community Forum Index
Author Message
  Topic: StringMod() String Manipulation - Enhanced by PhiLho / Titan
ghee22

Replies: 77
Views: 19711

PostForum: Scripts & Functions   Posted: Sat Nov 07, 2009 6:22 pm   Subject: StringMod() String Manipulation - Enhanced by PhiLho / Titan
Following a StringMod(string, method, param1 = "", param2 = "") {
If method = Only ; remove all characters not in param1 from string:
new := RegExReplace& ...
  Topic: retrieve ClassNN from control id or text (Version 2)
ghee22

Replies: 5
Views: 3146

PostForum: Scripts & Functions   Posted: Sat Nov 07, 2009 4:27 pm   Subject: retrieve ClassNN from control id or text (Version 2)
Thank you for your incredibly useful code. I am incurring issues with Hwnd & ComboBox controls. They are showing up correctly in your function, but Window Spy lists them as Edit controls.

Thi ...
  Topic: Function - Control_GetClassNN() - Get a control ClassNN
ghee22

Replies: 13
Views: 4053

PostForum: Scripts & Functions   Posted: Sat Nov 07, 2009 2:26 pm   Subject: Function - Control_GetClassNN() - Get a control ClassNN
[url=http://www.autohotkey.com/forum/viewtopic.php?t=20099classnn+hwnd]Micahs's script may be useful.
  Topic: Tooltip for help on control under mouse
ghee22

Replies: 1
Views: 5935

PostForum: Scripts & Functions   Posted: Sat Nov 07, 2009 2:22 pm   Subject: Tooltip for help on control under mouse
Thank you for the script. Is there a way to use the window handle (HWND) of each control rather than the ControlNN?

Solution:

; requires getClassNN() from http://www.autohotkey.com/ ...
  Topic: xButton ( Icon/text buttons )
ghee22

Replies: 7
Views: 3981

PostForum: Scripts & Functions   Posted: Wed Nov 04, 2009 1:49 pm   Subject: xButton ( Icon/text buttons )
Thank you for sharing this. I do not see any colors or images on Windows XP SP3 and AHK v1.0.48.05.

Anyone else reproduce my error?
  Topic: [SOLVED] Deselect ListBox that is not multi-select
ghee22

Replies: 9
Views: 797

PostForum: Ask for Help   Posted: Tue Nov 03, 2009 10:45 pm   Subject: [SOLVED] Deselect ListBox that is not multi-select
You may use the window handle (Gui, Add, ListBox, AltSubmit HWNDbox_1 , No|Yes
Gui, Add, ListBox, r4 AltSubmit HWNDcrq_impact , 1-Major|2-Significant|3-Minor|4-Standard
Gui, Add, Button, , Test
Gui ...
  Topic: [SOLVED] Deselect ListBox that is not multi-select
ghee22

Replies: 9
Views: 797

PostForum: Ask for Help   Posted: Tue Nov 03, 2009 3:10 pm   Subject: [SOLVED] Deselect ListBox that is not multi-select
How can one use the PostMessage command to work with the listbox's associated variable name?

I could only get the PostMessage command to work with listbox# where '#' is the number of which the list ...
  Topic: [SOLVED] Deselect ListBox that is not multi-select
ghee22

Replies: 9
Views: 797

PostForum: Ask for Help   Posted: Sat Oct 31, 2009 5:37 pm   Subject: [SOLVED] Deselect ListBox that is not multi-select
You added a comma.

You are correct! Without the repeat comma at the end, the code works:
Gui, Add, ListBox, AltSubmit vlistbox1 , No|Yes
Gui, Add, Button, , Test
Gui, Show, , Test listbox unsel ...
  Topic: [SOLVED] Deselect ListBox that is not multi-select
ghee22

Replies: 9
Views: 797

PostForum: Ask for Help   Posted: Fri Oct 30, 2009 9:40 pm   Subject: Re: Deselect ListBox that is not multi-select
The message for single-selection list boxes is different.PostMessage, 0x186, -1, 0, ListBox1 ; Deselect item.

This did not work for me. Here's my example code:
Gui, Add, ListBox, vlistbox1 , No| ...
  Topic: [SOLVED] Modify slider value, move slider to specific value
ghee22

Replies: 2
Views: 357

PostForum: Ask for Help   Posted: Fri Oct 30, 2009 4:09 pm   Subject: [SOLVED] Modify slider value, move slider to specific value
It worked, thank you.

PS: Over 9000!
  Topic: [SOLVED] Modify slider value, move slider to specific value
ghee22

Replies: 2
Views: 357

PostForum: Ask for Help   Posted: Fri Oct 30, 2009 3:29 pm   Subject: [SOLVED] Modify slider value, move slider to specific value
Within an AHK window, how does one modify the value of a slider?

I have a button that adds a set of values to a queue. I want the slider to show which set of values the user is currently modifying ...
  Topic: [SOLVED] Deselect ListBox that is not multi-select
ghee22

Replies: 9
Views: 797

PostForum: Ask for Help   Posted: Tue Oct 20, 2009 7:39 pm   Subject: [SOLVED] Deselect ListBox that is not multi-select
Here is a simpler method.

Gui, Show
SendInput {PgUp} ; deselects a control when the text is highlighted after creating and showing it

This does not deselect all items. This select ...
  Topic: [SOLVED] Deselect ListBox that is not multi-select
ghee22

Replies: 9
Views: 797

PostForum: Ask for Help   Posted: Tue Oct 20, 2009 7:14 pm   Subject: [SOLVED] Deselect ListBox that is not multi-select
The following from PostMessage, 0x185, 0, -1, ListBox1 ; Deselect all items.

The ListBox is not multi-select.

Solution:
Thanks to all involved.
You may use the window handle (Gui, Add, ListBo ...
  Topic: Determine if a WebPage is completely loaded in IE
ghee22

Replies: 118
Views: 53077

PostForum: Scripts & Functions   Posted: Mon Oct 12, 2009 2:57 pm   Subject: Determine if a WebPage is completely loaded in IE
PM me your code, this is increasingly becoming the inappropriate forum for your issue.
  Topic: TimeDate variable, set seconds, minutes, hours
ghee22

Replies: 2
Views: 437

PostForum: Ask for Help   Posted: Mon Oct 12, 2009 2:25 pm   Subject: TimeDate variable, set seconds, minutes, hours
Question
Now:=SubStr(A_Now,1,10) . "0000"
MSgBox % A_Now "`n" Now

Thanks, this did work for this particular example. Is there a function that is easier to read, like E ...
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group