AutoHotkey Community

It is currently May 24th, 2012, 9:18 am

All times are UTC [ DST ]


Search found 55 matches
Search these results:

Author Message

 Forum: Support   Topic: Prevent a window from repainting/redrawing

Posted: November 7th, 2011, 10:57 pm 

Replies: 2
Views: 156


This is great. Thank you very much.

 Forum: Support   Topic: Comma list into array then loop

Posted: October 29th, 2011, 12:29 pm 

Replies: 4
Views: 266


Thank you to all for your replies. Very appreciated.

 Forum: Support   Topic: Prevent a window from repainting/redrawing

Posted: October 29th, 2011, 4:49 am 

Replies: 2
Views: 156


I am performing some actions on a window that causes some flickering. Is there a way to freeze the window so it doesn't repaint itself until I let it?

Thanks!

 Forum: Support   Topic: Global variable question

Posted: October 29th, 2011, 4:41 am 

Replies: 13
Views: 231


Ok, thanks.

 Forum: Support   Topic: Global variable question

Posted: October 29th, 2011, 4:28 am 

Replies: 13
Views: 231


Yes, I am using the AutoHotkey_L version that I just downloaded a couple of days ago.

 Forum: Support   Topic: Comma list into array then loop

Posted: October 29th, 2011, 2:43 am 

Replies: 4
Views: 266


I have a list like this that can be of variable length:

house,car,boat,dog,ball,tree,dish

that I want to get into an array and then loop through the array.

How do I do that?

Thank you.

 Forum: Support   Topic: Global variable question

Posted: October 28th, 2011, 10:19 pm 

Replies: 13
Views: 231


I'm thinking that global variables just don't work in functions called from #IfWinActive like...


Code:
#IfWinActive ahk_class Notepad
{
   a::DoSomething()
   b::DoSomethingElse()
}

 Forum: Support   Topic: Global variable question

Posted: October 28th, 2011, 7:38 pm 

Replies: 13
Views: 231


I get the following every time:

Code:
NON EMPTY VAR : 3 true

EMPTY VAR : 1 true
EMPTY VAR : 2 true
EMPTY VAR : 3 true

 Forum: Support   Topic: Global variable question

Posted: October 28th, 2011, 7:17 pm 

Replies: 13
Views: 231


I tried both

Code:
if ( GlobalPairArray1 == "" )


and

Code:
IfEqual, GlobalPairArray1,


but the results are the same, MsgBox Empty code is always hit.

 Forum: Support   Topic: Global variable question

Posted: October 28th, 2011, 6:17 pm 

Replies: 13
Views: 231


Ok, I'm probably doing something wrong here: GetAnimals() { global GlobalPairArray if (%GlobalPairArray1% == "") { MsgBox Empty } else { MsgBox Not Empty } get animals.... StringSplit, GlobalPairArray, animals, `, MsgBox %GlobalPairArray1% return &#...

 Forum: Support   Topic: Global variable question

Posted: October 28th, 2011, 4:46 pm 

Replies: 13
Views: 231


Thank you both for awesome code!

I'm trying to integrate it into my script and so far it's working great.

Thanks!

 Forum: Support   Topic: Global variable question

 Post subject: Global variable question
Posted: October 28th, 2011, 1:00 pm 

Replies: 13
Views: 231


I've read all I could about global variables but still am not sure how to use it the way I need to. Here is my pseudo-code function... MyFunction() { if (MyValue has data) return Do stuff... Bunch of variabble... Blah blah blah... MyValue = whatever return } If I understand...

 Forum: Support   Topic: Getting path of active program

Posted: October 28th, 2011, 2:37 am 

Replies: 3
Views: 179


Thank you so very much nimda!

I was beginning to give up hope on this one.

I appreciate your time.

Thank you.

 Forum: Support   Topic: Getting path of active program

Posted: October 27th, 2011, 8:42 pm 

Replies: 3
Views: 179


I found a more advance/updated version here:
http://www.autohotkey.com/forum/viewtopic.php?t=4182&start=15

But I still get this back:
Image

I get that back just from simple Notepad too.

Any thoughts?

 Forum: Support   Topic: Getting path of active program

Posted: October 27th, 2011, 5:55 pm 

Replies: 3
Views: 179


I am trying to get the path of the active program by using a script I found... GetPath() { WinGet, pid, PID h_process := DllCall("OpenProcess", UInt,0x418, Int,0, UInt,pid) VarSetCapacity(Proc, 255) DllCall("psapi.dll\GetModuleFileNameExA", UInt,h...
Sort by:  
Page 1 of 4 [ Search found 55 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group