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 56 matches
AutoHotkey Community Forum Index
Author Message
  Topic: Challenge: translate rosettacode - Was promoting autohotkey
tkoi

Replies: 415
Views: 24023

PostForum: General Chat   Posted: Sat May 30, 2009 2:31 am   Subject: Challenge: translate rosettacode - Was promoting autohotkey
I did the palindrome task
http://rosettacode.org/wiki/Palindrome#AutoHotkey

isPalindrome(str) {
return StrLen(str) < 2 ? true : SubStr(str, 1, 1) = SubStr( ...
  Topic: ILButton() - image buttons with text, states, alignment
tkoi

Replies: 36
Views: 11220

PostForum: Scripts & Functions   Posted: Wed Apr 22, 2009 8:52 pm   Subject: ILButton() - image buttons with text, states, alignment
1. Those two pictures are both jpegs, which are not supported.

2. I'm sure there is a way to load a bmp contained in a dll. I would try the LoadImage() function. See MSDN: http://msdn.microsoft.com ...
  Topic: GDI+ standard library 1.45 by tic
tkoi

Replies: 918
Views: 139874

PostForum: Scripts & Functions   Posted: Tue Apr 21, 2009 11:59 pm   Subject: GDI+ standard library 1.45 by tic
tic, I think SetImage() should return ErrorLevel. Currently it returns nothing. This came to my attention because I just spent 20 minutes trying to figure out why my script was leaking 256kb and a GDI ...
  Topic: ILButton() - image buttons with text, states, alignment
tkoi

Replies: 36
Views: 11220

PostForum: Scripts & Functions   Posted: Tue Apr 21, 2009 9:52 pm   Subject: ILButton() - image buttons with text, states, alignment
Hmm. I guess you could probably send a wm_mousemove message to the button, and remove the sleep (since it isn't working). I never figured out what caused that problem. Maybe I'll look into it later. B ...
  Topic: Call of Duty: World at War - Rapid fire macros
tkoi

Replies: 12
Views: 5499

PostForum: Ask for Help   Posted: Fri Apr 17, 2009 2:12 am   Subject: Call of Duty: World at War - Rapid fire macros
$LButton::
While GetKeyState("LButton", "P") {
SendInput, {LButton}
Sleep, 10
}
return
  Topic: Help with FPS Sniper Script
tkoi

Replies: 5
Views: 638

PostForum: Ask for Help   Posted: Fri Apr 17, 2009 2:07 am   Subject: Help with FPS Sniper Script
$LButton::SendInput, {LButton}{Del}{Numpad1}
  Topic: how to select the text in an edit control
tkoi

Replies: 4
Views: 735

PostForum: Ask for Help   Posted: Thu Apr 16, 2009 12:42 am   Subject: how to select the text in an edit control
You can send or post the EM_SETSEL message to the edit control.

See here: http://msdn.microsoft.com/en-gb/library/bb761661%28VS.85%29.aspx
  Topic: StrGet (And StrPut)
tkoi

Replies: 5
Views: 1757

PostForum: Wish List   Posted: Wed Apr 15, 2009 4:28 am   Subject: StrGet (And StrPut)
You can't have nulls in a string because strings are null-terminated. Meaning that if there is a null in the middle of a string, ahk will only see the first half because it thinks that the null marks ...
  Topic: InputBox Go to URL
tkoi

Replies: 3
Views: 586

PostForum: Ask for Help   Posted: Fri Feb 27, 2009 2:12 am   Subject: InputBox Go to URL
#z::
InputBox, url, Go to URL, enter URL,,,,,,,,www.

if ErrorLevel
MsgBox, CANCEL was pressed.
else
Run %url%
  Topic: ILButton() - image buttons with text, states, alignment
tkoi

Replies: 36
Views: 11220

PostForum: Scripts & Functions   Posted: Thu Feb 26, 2009 1:32 am   Subject: ILButton() - image buttons with text, states, alignment
Updated - the function now uses the assume-static mode introduced in 1.0.48
  Topic: ILButton() - image buttons with text, states, alignment
tkoi

Replies: 36
Views: 11220

PostForum: Scripts & Functions   Posted: Tue Feb 24, 2009 4:01 am   Subject: ILButton() - image buttons with text, states, alignment
I tested it - it works if you remove the 1.
  Topic: ILButton() - image buttons with text, states, alignment
tkoi

Replies: 36
Views: 11220

PostForum: Scripts & Functions   Posted: Tue Feb 24, 2009 2:55 am   Subject: ILButton() - image buttons with text, states, alignment
What's that 1 doing there? Very Happy
Gui, 2:Add, Button, x16 y50 w100 h30 hwndhBtn gButtonTool_1, Tool_2
ILButton(hBtn, "icon6-16x16C.ico:0" 1, 16, 16, 0)
  Topic: Use the IP Address control in your GUI
tkoi

Replies: 9
Views: 5937

PostForum: Scripts & Functions   Posted: Fri Feb 20, 2009 3:25 am   Subject: Use the IP Address control in your GUI
Hi Mikie, this should give you an idea of how to do it.
(I've modified the function to make the control easier to position, but PhiLho's will work too)
#SingleInstance force

Gui, +LastFound
Gui, ...
  Topic: ListView Drag & Drop
tkoi

Replies: 22
Views: 5634

PostForum: Scripts & Functions   Posted: Tue Feb 10, 2009 11:42 pm   Subject: ListView Drag & Drop
No insert mark is drawn, and no message box appears.
  Topic: ListView Drag & Drop
tkoi

Replies: 22
Views: 5634

PostForum: Scripts & Functions   Posted: Tue Feb 10, 2009 11:27 pm   Subject: ListView Drag & Drop
Works well on Vista, but non-functional on XP.

I know already how to prevent the "headers" from being part of "within" if such functionality is desired (I don't know how to do t ...
 
Page 1 of 4 Goto page 1, 2, 3, 4  Next
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group