AutoHotkey Community

It is currently May 23rd, 2012, 6:11 pm

All times are UTC [ DST ]


Search found 21 matches
Search these results:

Author Message

 Forum: Suggestions   Topic: Undeclared variable notification

Posted: July 30th, 2010, 12:58 am 

Replies: 16
Views: 1314


Saying "global xyz" means, within this function, use the global variable named xyz instead of a local variable named xyz. Right, what I meant was that if XYZ does not exist as a global variable, i.e. it was not declared in the main function, then it'd be helpful if AHK spit out an error. ...

 Forum: Suggestions   Topic: Undeclared variable notification

Posted: July 29th, 2010, 5:37 pm 

Replies: 16
Views: 1314


It would be great if AHK would throw an error if you try to declare a global variable within a function. As best I can tell, putting global localVariable := true in a function, does not allow localVariable's value to be accessed by other functions, unless localVariable is declared in the main functi...

 Forum: Support   Topic: Time-based script?

Posted: July 29th, 2010, 1:01 am 

Replies: 22
Views: 961


I use Windows's Task Scheduler pretty often, especially for things that need to run on startup.

Instead of selecting an application to run at a particular time, just pick a .ahk file, and it will run that script.

 Forum: Support   Topic: iWeb command help

Posted: July 21st, 2010, 1:49 pm 

Replies: 5
Views: 323


Awesome! Thanks.

Is there some place where those commands are documented? I've tried to search, but I don't really know where to look.

 Forum: Support   Topic: iWeb command help

Posted: July 21st, 2010, 4:36 am 

Replies: 5
Views: 323


Just in general, how could it be done?

If I was looking at Autohotkey.com, the Documentation link is index # 23

I'd like to be able to send (pwb,23) to a function, and get "http://www.autohotkey.com/docs/" back.

Thanks for any help you might offer.

 Forum: Support   Topic: iWeb command help

 Post subject: iWeb command help
Posted: July 21st, 2010, 4:11 am 

Replies: 5
Views: 323


I'm trying to use iWeb to find information from a page. While it's pretty easy to find the text of an index item, I can't figure out how to find the link destination of an index item. Does anyone have a suggestion about how to pull a link destination from a page? If getting page text would look like...

 Forum: Scripts   Topic: [Project Development]IE Web Recorder Developers Needed

Posted: July 8th, 2010, 3:34 pm 

Replies: 225
Views: 36909


Maybe I'm off here, but doesn't navigating to a local file kind of go against the intent of what the functions are designed to accomplish? I hate to be a stickler but I would really like to see a significant need for this from other users before tank or anybody else tries to re-reinvent the wheel. ...

 Forum: Scripts   Topic: [Project Development]IE Web Recorder Developers Needed

Posted: July 8th, 2010, 2:23 pm 

Replies: 225
Views: 36909


Ah. My mistake. Sorry. My proposed fix (or at least what I did to remedy the problem) was to create a separate nav function without the iWeb_complete function call. It worked, but has obvious drawbacks. In the alternative, perhaps the nav function could use a conditional statement to determine wheth...

 Forum: Scripts   Topic: [Project Development]IE Web Recorder Developers Needed

 Post subject: Bug report
Posted: July 8th, 2010, 3:47 am 

Replies: 225
Views: 36909


I've noticed that iWeb_Complete (at least where it is called from within iWeb_Nav) throws a "readyState" error when navigating to a local file (e.g. c:\test.htm)

 Forum: Support   Topic: ImageSearch the clipboard?

Posted: June 27th, 2010, 5:09 am 

Replies: 14
Views: 1027


Just found this, for anyone who finds this thread with a similar problem:

http://www.autohotkey.com/forum/topic24900.html

 Forum: Support   Topic: ImageSearch the clipboard?

Posted: June 22nd, 2010, 3:13 pm 

Replies: 14
Views: 1027


yume wrote:
I think guest has a point ,if you can detect when the full text is on the screen,you can capture it ,display it in a window and run an imagesearch on it.


Ah! This is exactly the kind of thing I was looking for. I'll give it a shot.

 Forum: Support   Topic: ImageSearch the clipboard?

Posted: June 19th, 2010, 12:25 am 

Replies: 14
Views: 1027


Why not just load the image to cover the screen and then run your search? I'm not sure I understand. The issue is that the image I'm trying to match is text, but not in a form that AHK can read. So I'm using a loop of character images to discover the text. Problem is, as I finish matching the first...

 Forum: Suggestions   Topic: Best practices documentation

Posted: June 17th, 2010, 8:01 pm 

Replies: 4
Views: 632


Very cool. Thanks. I'm well on my way to more reliable scripting now.

Would those reasons be the need to click a location within a control, rather than just the control itself (e.g. a button)?

 Forum: Suggestions   Topic: Best practices documentation

Posted: June 17th, 2010, 6:12 pm 

Replies: 4
Views: 632


I suppose it depends on the message and application. ControlClick uses PostMessage internally; it posts message like WM_LBUTTONDOWN/UP. Very good to know. Thanks! Is this also true when ControlClick is used with coordinates instead of the name of a control? It's tough to get my brain around success...

 Forum: Support   Topic: ImageSearch the clipboard?

Posted: June 16th, 2010, 1:36 pm 

Replies: 14
Views: 1027


Yeah you've got it backwards. There'd be no point in searching the screen for an image of the screen. I want to search a file or the clipboard (I.e. the haystack) for a particular image (I.e. the needle). ImageSearch, unfortunately only let's you specify the location of the needle, and assumes that ...
Sort by:  
Page 1 of 2 [ Search found 21 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group