Search found 169 matches

by Cerberus
06 Aug 2017, 20:22
Forum: Ask For Help
Topic: Automated testing: read multiple txt files with keys, but execute one per loop
Replies: 12
Views: 1564

Re: Automated testing: read multiple txt files with keys, but execute one per loop

It's very difficult to conceptualize what you want to do without concrete examples and/or the contents of your .txt files. Is it true that you want to do the following, in order: - Read line 1 of the file startcode.txt. - Execute this exact code, which I will call "beginning", on every entry in line...
by Cerberus
06 Aug 2017, 18:58
Forum: Ask For Help
Topic: Replacement for gmail Quote Selected Text Topic is solved
Replies: 6
Views: 1438

Re: Replacement for gmail Quote Selected Text Topic is solved

; #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. SetTitleMatchMode,RegEx ; "substring" will work too ; #If (WinActive("Gmail") && WinActive("ahk_exe firefox.exe")) #If WinActive("Gmail") !j:: ; This creates a hotkey: when you press alt-j, the lines below are...
by Cerberus
06 Aug 2017, 18:42
Forum: Ask For Help
Topic: Joystick LT, RT, arrows etc.
Replies: 9
Views: 2114

Re: Joystick LT, RT, arrows etc.

Have you looked at the Help section?
https://autohotkey.com/docs/misc/RemapJoystick.htm
by Cerberus
06 Aug 2017, 18:14
Forum: Ask For Help
Topic: LOGIN TO RUN A SCRIPT HELP!!!!
Replies: 2
Views: 484

Re: LOGIN TO RUN ANOTHER SKRIPT [HELP]

Gui, AHK_Login: Add, Picture, x2 y-1 w480 h320 , C:\Users\torresben1\Desktop\p.png Gui, AHK_Login: Add, Edit, vUsername w270 , Username Gui, AHK_Login: Add, Edit, vPassword Password w270 , Password Gui, AHK_Login: Add, Button, Default w90 h30 gButtonEnter, Enter Gui, AHK_Login: Show, , Login: Retur...
by Cerberus
06 Aug 2017, 17:26
Forum: Ask For Help
Topic: If MousePos X and Y between X and Y, Do A Topic is solved
Replies: 5
Views: 1189

Re: If MousePos X and Y between X and Y, Do A Topic is solved

Okay, I really think the "if var between var and var" stuff is broken. I suspect the word "and" somehow turns the whole "if" statement into an expression, even though an "and" should be allowed in this type of non-expression. I removed the "between" stuff and turned it into an expression, and now it...
by Cerberus
06 Aug 2017, 17:05
Forum: Ask For Help
Topic: If MousePos X and Y between X and Y, Do A Topic is solved
Replies: 5
Views: 1189

Re: If MousePos X and Y between X and Y, Do A Topic is solved

Okay, scratch that. What I wrote is probably true, but there is another problem. From the Help file: The operators "between", "is", "in", and "contains" are not supported in expressions. Your "if" statement contains an expression, because anything in brackets ( ... ) after "if" will be an expression...
by Cerberus
06 Aug 2017, 16:53
Forum: Ask For Help
Topic: If MousePos X and Y between X and Y, Do A Topic is solved
Replies: 5
Views: 1189

Re: If MousePos X and Y between X and Y, Do A Topic is solved

I think you need to remove the second "if": there can only be one "if", the one at the beginning of the line. In other words, everything in your brackets together is the "if" statement. Even though one "if" statement can contain several 'conditions', it's still just a single statement.
by Cerberus
29 Jul 2017, 17:40
Forum: Tutorials
Topic: Web Scraping with AutoHotkey & COM Tutorial- GUI syntax writer and demo videos
Replies: 68
Views: 68115

Re: Web Scraping with AutoHotkey & COM Tutorial- GUI syntax writer and demo videos

pwb.document.getElementsByClassName("x-btn-noicon")[1].click This works. Apparently, when you try it with the "get ID" method, it gives you the text area on the button, but not the button itself. I think normally "click" on such a text area works, but not on this page. So I used "get elements by cl...
by Cerberus
01 Jun 2016, 19:48
Forum: Scripts and Functions
Topic: FindClick() 2nd Edition Update
Replies: 3
Views: 3093

Re: FindClick() 2nd Edition Update

This is the updated script (presumably by its author, in December 2015) and the documentation (see attachment). Update: I see now that there was a link to the documentation in the script all along, both in the version above from 2013, and in the one below (look at the code). So now it is available o...

Go to advanced search