Search found 1446 matches

by Xtra
01 Nov 2019, 13:13
Forum: Offtopic
Topic: « What's on your mind? »
Replies: 4243
Views: 758029

Re: « What's on your mind? »

OldClipboard is not global
by Xtra
01 Nov 2019, 12:09
Forum: Ask For Help
Topic: MCode from 32bit to 64bit Topic is solved
Replies: 14
Views: 1476

Re: MCode from 32bit to 64bit Topic is solved

Some notes after some testing.

Tics 32bit only function works.
@iseahound's function the 64bit works but 32bit does not work.

Using _FilterColor with or without "uptr" in Tics 32bit function does not work.

This is with Unicode 32 / 64 AHK.
by Xtra
31 Oct 2019, 12:12
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 164
Views: 56623

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

ExpectedConditions.visibilityOfElementLocated is not really js, but selenium-specific, right ?! Well, this might need a bit of hard thinking... what is this doing exactly ? It wasnt clear why it was mentioned so i linked what you used for reference. Somewhat OT but here is info for ExpectedConditio...
by Xtra
31 Oct 2019, 04:20
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 164
Views: 56623

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

Code: Select all

path := "//*[@id='Container']/div/div/div[div/span[contains(text(),'123456789')]]/following-sibling::div/button"
PageInst.Evaluate("document.evaluate(" . """" . path . """" . ", document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.click();")
by Xtra
29 Oct 2019, 20:19
Forum: Gaming
Topic: Need syntax help with break command
Replies: 6
Views: 456

Re: Need syntax help with break command

Try:

Code: Select all

f11::
Critical
Reload
ExitApp
return
by Xtra
29 Oct 2019, 11:37
Forum: Ask For Help
Topic: If else if
Replies: 14
Views: 410

Re: If else if

Take a look here: Hotkey Modifier ~
by Xtra
29 Oct 2019, 06:12
Forum: Ask For Help
Topic: If else if
Replies: 14
Views: 410

Re: If else if

Your posted code was fine there is no need to do 3 pixelgetcolors if you really only needed one. Code size does not mean it runs slower. Also when you run code in Scite4AutoHotkey it clearly shows these errors what line it is and will not run. When in Scite4AutoHotkey hold Ctrl and use mousewheel to...
by Xtra
29 Oct 2019, 05:40
Forum: Ask For Help
Topic: If else if
Replies: 14
Views: 410

Re: If else if

You had a misplaced { Proper indenting makes it a lot more readable and easier to find these kinds of issues: (as well as a good editor) scE:: ; Backspace PixelGetColor, color, 91, 191, RGB If color = 0x0000FF { ControlClick, x91 y191, ahk_class QWidget,, Left, 1, NA ; send {enter} WinMinimize, ahk_...
by Xtra
29 Oct 2019, 05:25
Forum: Ask For Help
Topic: AHK not able to detect physical state of RAlt and RCtrl keys together Topic is solved
Replies: 1
Views: 141

Re: AHK not able to detect physical state of RAlt and RCtrl keys together Topic is solved

Try it again with the 2nd parameter set correctly as a string.

Code: Select all

>!RCtrl::
>^RAlt::
x:=GetKeyState("RAlt","P")
y:=GetKeyState("RCtrl","P")
MsgBox, % x " " y
return
by Xtra
29 Oct 2019, 05:17
Forum: Ask For Help
Topic: Assistance With Thread Interuption
Replies: 2
Views: 124

Re: Assistance With Thread Interuption

Take a look at: Critical
by Xtra
29 Oct 2019, 05:14
Forum: Gaming
Topic: Need syntax help with break command
Replies: 6
Views: 456

Re: Need syntax help with break command

Take a look at: Reload
by Xtra
28 Oct 2019, 11:10
Forum: Ask For Help
Topic: Run the exe with elevated privileges
Replies: 2
Views: 165

Re: Run the exe with elevated privileges

RunAs

You can also use #NoTrayIcon at the top of the script to have the icon not show.
by Xtra
26 Oct 2019, 03:47
Forum: Ask For Help
Topic: Using environment variables
Replies: 3
Views: 144

Re: Using environment variables

Take a look at built in variables:
A_AppData
A_UserName
by Xtra
24 Oct 2019, 15:24
Forum: Ask For Help
Topic: Trouble with imagesearch Topic is solved
Replies: 4
Views: 114

Re: Trouble with imagesearch Topic is solved

Images in GIF and JPEG formats are lossy, PNG and BMP are lossless formats for images
Try using .png or .bmp
by Xtra
22 Oct 2019, 20:25
Forum: Ask For Help
Topic: Controlsend in HiddenWindows
Replies: 5
Views: 295

Re: Controlsend in HiddenWindows

Assigning a variable like this ControlHwnd := 0x407B2 will not work you need to retrieve the hwnd every time the script it run. For controls: ;~ ControlGet, OutputVar, Hwnd [,, Control, WinTitle, WinText, ExcludeTitle, ExcludeText] ControlGet, myHwnd, Hwnd, myControl, myWinTitle For windows: ;~ WinG...
by Xtra
22 Oct 2019, 17:06
Forum: Ask For Help
Topic: How to click a button in IE with WBget
Replies: 21
Views: 851

Re: How to click a button in IE with WBget

malcev wrote:
22 Oct 2019, 14:44
Just use innertext instead of value and it will work with this site.
Do this :thumbup:
by Xtra
22 Oct 2019, 10:45
Forum: Ask For Help
Topic: FindText or ImageSearch both not working - Advice Needed (Help!)
Replies: 7
Views: 285

Re: FindText or ImageSearch both not working - Advice Needed (Help!)

Code: Select all

X:=ok.1.1, Y:=ok.1.2
Is overwriting your original MouseGetPos x, y vars (x,y)
This is causing you to move the mouse to where it already is instead of what you want.
x and X is the same variable name.
by Xtra
19 Oct 2019, 12:26
Forum: Ask For Help
Topic: Possible to run .lnk files with AHK? Topic is solved
Replies: 3
Views: 195

Re: Possible to run .lnk files with AHK? Topic is solved

Yes its possible Try:
Run, "%A_AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\CommLog.lnk"
by Xtra
18 Oct 2019, 14:00
Forum: Ask For Help
Topic: FindText or ImageSearch both not working - Advice Needed (Help!)
Replies: 7
Views: 285

Re: FindText or ImageSearch both not working - Advice Needed (Help!)

It also looks like mutebutton.png image does not match your window image is that the moused over / hover change version?
mutebutton.png does not look like blue background.

Go to advanced search