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 24 matches
AutoHotkey Community Forum Index
Author Message
  Topic: How to retrieve a Control HWND ?
Wdb

Replies: 5
Views: 241

PostForum: Ask for Help   Posted: Sat Sep 24, 2011 6:20 pm   Subject: How to retrieve a Control HWND ?
Gui, 1:Add, Edit, x044 y020 w020 h020 vFile1 HWNDhedit1
Gui, 1:Add, Edit, x044 y040 w020 h020 vFile2 HWNDhedit2
Thanks all!

I was in wrong! ...
  Topic: How to retrieve a Control HWND ?
Wdb

Replies: 5
Views: 241

PostForum: Ask for Help   Posted: Fri Sep 23, 2011 5:12 pm   Subject: Re: How to retrieve a Control HWND ?
Yes, of course.

But if I don't know that is %hedit1% ?
If I only know control name "File1" ?
  Topic: How to retrieve a Control HWND ?
Wdb

Replies: 5
Views: 241

PostForum: Ask for Help   Posted: Thu Sep 22, 2011 8:42 am   Subject: How to retrieve a Control HWND ?
Hi.

Is there a possibility to retrieve the HWND of an EDIT Control in a GUI? (Not the window handle HWND)


Gui, 1:Add, Edit, x044 y020 w020 h020 vFile1 HWNDhedit1 ...
  Topic: count occurrences in a string
Wdb

Replies: 11
Views: 236

PostForum: Ask for Help   Posted: Fri Sep 09, 2011 6:20 pm   Subject: count occurrences in a string
@Tuncay

sorry Embarassed
  Topic: count occurrences in a string
Wdb

Replies: 11
Views: 236

PostForum: Ask for Help   Posted: Fri Sep 09, 2011 6:16 pm   Subject: count occurrences in a string
A simple method, for me, is to use "StringReplace" (without no effect - only to count) with UseErrorLevel option:

str := "the dog went for a run with another dog"
match = ...
  Topic: Append date to end of a folder name
Wdb

Replies: 5
Views: 279

PostForum: Ask for Help   Posted: Wed Mar 30, 2011 6:31 pm   Subject: Append date to end of a folder name
Did not try it but should be something like this:

Dest := MyFolder . A_YYYY . A_MM . A_DD
FileCopyDir,Source, Dest

This is what I have:

FileCopyDir, Source_Folder, Destination_Folder . A ...
  Topic: FileSelectFile Error
Wdb

Replies: 14
Views: 760

PostForum: Ask for Help   Posted: Tue Feb 22, 2011 8:40 am   Subject: FileSelectFile Error
I resume this thread because also to me the same error happens (Windows XP Sp3).
My code:


Wdb_Dir_Browse := "C:\Mp3" ; <== NOTE: to generate the err ...
  Topic: Capitalize Name Lastname
Wdb

Replies: 3
Views: 216

PostForum: Ask for Help   Posted: Wed Jun 10, 2009 7:40 am   Subject: Capitalize Name Lastname

If you want to Title Case every "word", try this out.

str := "o'connor john"

;matches a word and replaces it with the title case version
;outputs "O'Connor John&q ...
  Topic: Capitalize Name Lastname
Wdb

Replies: 3
Views: 216

PostForum: Ask for Help   Posted: Tue Jun 09, 2009 11:37 am   Subject: Capitalize Name Lastname
Hi all.

How may translate the string containing NAME and LASTNAME from "o'connor john" to "O'Connor John" ?

With the statement
str := "o'connor john"
StringUp ...
  Topic: ListView Grid - problem to display grid lines
Wdb

Replies: 2
Views: 572

PostForum: Ask for Help   Posted: Wed Apr 23, 2008 7:09 am   Subject: ListView Grid - problem to display grid lines
Any ideas?
  Topic: ListView Grid - problem to display grid lines
Wdb

Replies: 2
Views: 572

PostForum: Ask for Help   Posted: Tue Apr 22, 2008 7:50 am   Subject: ListView Grid - problem to display grid lines
I copied this script from a topic:

; MAIN EXAMPLE
; The following is a working script that is more elaborate than the one near the top of this page.
; It displays the files in a folder chosen by ...
  Topic: Array help
Wdb

Replies: 4
Views: 409

PostForum: Ask for Help   Posted: Sat Apr 19, 2008 5:54 pm   Subject: Array help
New problem

Now I want it too change variable. But when I write:
%attacky%i%% I get error msg.

How should I get the variable

%attacky1%
%attacky2%
and so on
I think:var := attacky%i%
  Topic: Edit field: Vertical alignment text
Wdb

Replies: 0
Views: 407

PostForum: Ask for Help   Posted: Fri Mar 07, 2008 6:47 pm   Subject: Edit field: Vertical alignment text
How is possible to define an EDIT field bigger than font size and vertical center the text in it?

I know there is the possibility for a TEXT field but not for an EDIT field.

Thanks
  Topic: Multiple AHK command in the same command row
Wdb

Replies: 4
Views: 427

PostForum: Ask for Help   Posted: Fri Feb 22, 2008 1:10 pm   Subject: Re: Multiple AHK command in the same command row
Ok, I supposed; thank you
  Topic: Multiple AHK command in the same command row
Wdb

Replies: 4
Views: 427

PostForum: Ask for Help   Posted: Fri Feb 22, 2008 1:00 pm   Subject: Multiple AHK command in the same command row
How is possible to code multiple AHK commands in the same row (i.e. to "cript" my code)? What character I had to insert between many AHK commands?

For example, this script work fine:
Wdb ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group