Search found 17 matches

by pythonker
21 Nov 2019, 04:22
Forum: Ask For Help
Topic: How to nicely #include B.ahk in A.ahk, and both able to click to run?
Replies: 5
Views: 283

How to nicely #include B.ahk in A.ahk, and both able to click to run?

e.g. Folder1 a.ahk Folder2 b.ahk Folder3 c.ahk ; a.ahk #include Folder2/b.ahk ; b.ahk #include ../Folder3/c.ahk And clicking b.ahk to run is OK, however, clicking a.ahk to run is failed, with error messaage "#Include file "../Folder3/c.ahk" cannot be opened." How to nicely include c.ahk, to make a.a...
by pythonker
17 Nov 2019, 20:09
Forum: Ask For Help
Topic: How to listen/detect Mouse WheelUp/Down stop-event?
Replies: 3
Views: 219

Re: How to listen/detect Mouse WheelUp/Down stop-event?

boiler wrote:
15 Nov 2019, 08:03
Try this:

Code: Select all

WheelUp::
	Send, a
	SetTimer, WheelCheck, 50
return

WheelCheck:
	if (A_TimeSincePriorHotkey > 100)
	{
		SetTimer, WheelCheck, Off
		Send, b
	}
return
The Timer is Great, Thanks very much!
by pythonker
15 Nov 2019, 05:33
Forum: Ask For Help
Topic: How to listen/detect Mouse WheelUp/Down stop-event?
Replies: 3
Views: 219

How to listen/detect Mouse WheelUp/Down stop-event?

How to make this function possible in AHK, which needs to listen/detect Mouse WheelUp/Down stop-event?

Use continuous wheel up to enter letter a in notepad.exe, when wheel stops, enter letter b?

e.g.
ab
aab
aaab
aaa.....aaab

And not
ba
baa
baaa
baaa.....aaa
by pythonker
13 Nov 2019, 03:11
Forum: Ask For Help
Topic: Is there any library for Snippet jumping like VSCode?
Replies: 1
Views: 189

Re: Is there any library for Snippet jumping like VSCode?

This is an example of the vscode Snippet function:
code.visualstudio.com/assets/docs/editor/userdefinedsnippets/ajax-snippet.gif
from code.visualstudio.com/docs/editor/userdefinedsnippets
by pythonker
12 Nov 2019, 02:31
Forum: Ask For Help
Topic: Is there any library for Snippet jumping like VSCode?
Replies: 1
Views: 189

Is there any library for Snippet jumping like VSCode?

Snippet in VSCode is very handy tool for coding, namely, using tab key to jump among hotstrings with "hot" positions, e.g., $1, $2 in following config snippet code: "Print to console": { "prefix": "log", "body": [ "console.log('$1');", "$2" ], "description": "Log output to console" } I only use foll...
by pythonker
02 Jul 2019, 23:24
Forum: Ask For Help
Topic: String as parameter cannot be read by Run?
Replies: 6
Views: 809

Re: String as parameter cannot be read by Run?

swagfag wrote:
02 Jul 2019, 03:32
u can try one of these

Code: Select all

runFolder(A_Desktop)
runFolder("explorer %USERPROFILE%\Desktop")
Thanks for your kind suggestion, I test the first one and it is ok to open desktop, but the second one opens my document not my desktop, strangely.
by pythonker
02 Jul 2019, 23:19
Forum: Ask For Help
Topic: String as parameter cannot be read by Run?
Replies: 6
Views: 809

Re: String as parameter cannot be read by Run?

Swagfag's original solution is correct. You must have mistyped something, or the problem is your OS. The follwoing works fine under Windows 7. runFolder(pathOfFolder) { Run, %pathOfFolder% } <+^f:: runFolder("C:\Users\" A_UserName "\Desktop") ; FAILED to open my desktop folder return Yes, his solut...
by pythonker
02 Jul 2019, 02:52
Forum: Ask For Help
Topic: String as parameter cannot be read by Run?
Replies: 6
Views: 809

Re: String as parameter cannot be read by Run?

swagfag wrote:
02 Jul 2019, 02:23
its runFolder("C:\Users\" A_UserName "\Desktop")
Thanks for your solution, I try this and still fail to open folder

Code: Select all

runFolder("%USERPROFILE%\Desktop")
by pythonker
02 Jul 2019, 02:17
Forum: Ask For Help
Topic: String as parameter cannot be read by Run?
Replies: 6
Views: 809

String as parameter cannot be read by Run?

[Moderator's note: Topic moved from Bug Reports.] Hello, I find a small bug: runFolder(pathOfFolder) { Run, %pathOfFolder% } <+^f:: runFolder("C:\Users\%A_UserName%\Desktop") ; FAILED to open my desktop folder return However, <+^f:: test = C:\Users\%A_UserName%\Desktop ; OK to open my desktop folde...
by pythonker
26 May 2019, 03:41
Forum: Ask For Help
Topic: AccViewer.ahk cannot find control in BabelPad Topic is solved
Replies: 8
Views: 714

Re: AccViewer.ahk cannot find control in BabelPad Topic is solved

acc.png I used a modified version of AccViewer, but the original version works too. Maybe try again with this attachment: AccViewer Source.7z There are 2 files in the attachment: AccViewer Source.exe AccViewer Source.ahk The file AccViewer Source.exe was just renamed from AutoHotkeyU32.exe (v1.1.30...
by pythonker
23 May 2019, 05:48
Forum: Ask For Help
Topic: How to view control info of PyCharm?
Replies: 0
Views: 227

How to view control info of PyCharm?

I did try to use accViewer.exe to locate some button or menu or toolbar in Pycharm, but not accurate, only can get the outmost window to flash red, so is there any method to locate pycharm button, thanks!
by pythonker
22 May 2019, 22:10
Forum: Ask For Help
Topic: AccViewer.ahk cannot find control in BabelPad Topic is solved
Replies: 8
Views: 714

Re: AccViewer.ahk cannot find control in BabelPad Topic is solved

The AccViewer.ahk from the link you provide works fine for me, I even tried AutoHotkeyA32 / AutoHotkeyU32 / AutoHotkeyU64, all have no problems. And the compiled exe AccViewer.exe worked for you, so the most possible reason I can guess is the AHK version you have is outdated. Try update your AHK fi...
by pythonker
22 May 2019, 22:04
Forum: Ask For Help
Topic: Sending Copy Command to Remote Desktop
Replies: 4
Views: 348

Re: Sending Copy Command to Remote Desktop

Try: Send, {LControl Down} Sleep, 100 Send, c Sleep, 100 Send, {LControl Up} Some remote desktop programs have a delay on received input and thus won't always send proper input via ahk, hence the delay and the Control key being pressed that way. Thanks! Is there some single command or signal other ...
by pythonker
22 May 2019, 03:20
Forum: Ask For Help
Topic: AccViewer.ahk cannot find control in BabelPad Topic is solved
Replies: 8
Views: 714

Re: AccViewer.ahk cannot find control in BabelPad Topic is solved

Thanks for these tools, I tried to decompose AccViewer.exe with them, but failing to make it. This file is not important if the AccViewer.ahk can do the same recognition, however. For now, I just wonder anyone else can correctly locate A-shape button as I want with the ahk file, not the exe one (una...
by pythonker
21 May 2019, 02:48
Forum: Ask For Help
Topic: AccViewer.ahk cannot find control in BabelPad Topic is solved
Replies: 8
Views: 714

Re: AccViewer.ahk cannot find control in BabelPad Topic is solved

I tried your suggestion, just upgrade AHK Version to 1.1.30.03 - April 4, 2019 from 1.1.26.01, but the same problem remains like the second image shows.
by pythonker
20 May 2019, 23:10
Forum: Ask For Help
Topic: AccViewer.ahk cannot find control in BabelPad Topic is solved
Replies: 8
Views: 714

AccViewer.ahk cannot find control in BabelPad Topic is solved

Hello, everyone! I try to find info of this A-shape button control of BabelPad ( here ) with AccViewer.ahk ( source ), but failed. However, I find another AccViewer.exe (uploaded as ZIP file) can do this, which is created in 2015 on the internet and I cannot find the source ahk code. I want to use A...
by pythonker
08 Nov 2018, 23:06
Forum: Ask For Help
Topic: Failed to activate Sticky Notes on WIN10x64 using AHKx64Unicode
Replies: 1
Views: 461

Failed to activate Sticky Notes on WIN10x64 using AHKx64Unicode

[Moderator's note (lexikos): Topic moved from Bug Reports.] Hi! I am new here, and I want to share a finding which bugs me a lot. I want to activate Sticky Notes on WIN10x64 using AHKx64Unicode script, then I check with Spy and find this program has empty title. So, I use following functions to che...

Go to advanced search