Search found 5 matches

by AtroCty
12 Mar 2020, 11:21
Forum: Ask For Help
Topic: Correct Syntaxing / How to Debug
Replies: 1
Views: 372

Correct Syntaxing / How to Debug

Hello everyone, currently I struggle with setting up a basic flask script that I wanted to write for a specific ARPG. (Which can be used basicly for every one) I have lack of basic understanding for correct syntaxing of my code. (I have a Microcontroller-C & Java background) So how is a tick basicly...
by AtroCty
21 Dec 2017, 09:40
Forum: Scripts and Functions
Topic: Acc: get text from all window/control elements
Replies: 22
Views: 8434

Re: Acc: get text from all window/control elements

JEE_StrRept(vText, vNum) { if (vNum <= 0) return return StrReplace(Format("{:" vNum "}", ""), " ", vText) ;return StrReplace(Format("{:0" vNum "}", 0), 0, vText) } ;================================================== q:: WinGet, hWnd, ID, A MsgBox, % Clipboard := JEE_AccGetTextAll(hWnd, "`r`n") retu...
by AtroCty
21 Dec 2017, 05:19
Forum: Ask For Help
Topic: Spotify Hotkeys (again)
Replies: 6
Views: 1238

Re: Spotify Hotkeys (again)

Done! Browser_Home:: spotifyId := WinExist("ahk_exe spotify.exe") winGet, hWnd, ID, ahk_exe Spotify.exe If (spotifyId) { dislikeButton := Acc_Get("Object", "4.1.4.1.4.1.1.1.2.2.3.1.2", 0, "ahk_id " spotifyId) If InStr(dislikeButton.accName(0), "Daumen Runter") { dislikeButton.accDoDefaultAction(0) }...
by AtroCty
20 Dec 2017, 18:53
Forum: Ask For Help
Topic: Spotify Hotkeys (again)
Replies: 6
Views: 1238

Re: Spotify Hotkeys (again)

This script may be useful. Acc: get text from all window/control elements - AutoHotkey Community https://autohotkey.com/boards/viewtopic.php?f=6&t=40615 Thanks, had to output the file since there were too many buttons, but I found the currect child for thumbs down: 4.1.4.1.4.1.1.1.2.2.3.1.2 Works n...
by AtroCty
20 Dec 2017, 16:51
Forum: Ask For Help
Topic: Spotify Hotkeys (again)
Replies: 6
Views: 1238

Re: Spotify Hotkeys (again)

BoBo wrote:

Code: Select all

dislikeButton := Acc_Get("Object", , , %spotifyId%)
vs.

Code: Select all

dislikeButton := Acc_Get("Object", , , spotifyId)
:?:
Then it does nothing at all, thus getting absolute no informations out of it.

Go to advanced search