Search found 117 matches

by woshichuanqilz72
28 Jun 2018, 03:16
Forum: Ask for Help (v1)
Topic: how to call excel com to insert a image to a excel file ? Topic is solved
Replies: 5
Views: 2048

how to call excel com to insert a image to a excel file ? Topic is solved

As the title said, I found a post before, which said PasteSpecial can do the job. And I try the code like this: error occur : cant get the PasteSpecial property. So any other way to make it? FileSelectFile, Path Xl := ComObjCreate("Excel.Application") Xl.Workbooks.Open(Path) ;open an existing file X...
by woshichuanqilz72
02 Apr 2018, 06:45
Forum: Ask for Help (v1)
Topic: why Getrawinputdevicelist call failed?
Replies: 0
Views: 466

why Getrawinputdevicelist call failed?

I download the file from here. But get this error on my win 10 how to fix this problem?

I get the error msg like:
Getrawinputdevicelist call failed.

https://github.com/rshipp/ahk-libs/blob ... AHKHID.ahk
by woshichuanqilz72
22 Mar 2018, 06:33
Forum: Ask for Help (v1)
Topic: what is the version of the ahk ?
Replies: 8
Views: 1931

Re: what is the version of the ahk ?

It's because the script is compiled to an .EXE file. If you want the tray menu above, you have to run the .AHK version of the script. If you don't have the .AHK version of the script, then you can use a program called Resource Hacker to get the script out from the .EXE file. 1. Download Resource Ha...
by woshichuanqilz72
22 Mar 2018, 06:14
Forum: Ask for Help (v1)
Topic: what is the version of the ahk ?
Replies: 8
Views: 1931

Re: what is the version of the ahk ?

It's because the script is compiled to an .EXE file. If you want the tray menu above, you have to run the .AHK version of the script. If you don't have the .AHK version of the script, then you can use a program called Resource Hacker to get the script out from the .EXE file. 1. Download Resource Ha...
by woshichuanqilz72
22 Mar 2018, 06:09
Forum: Ask for Help (v1)
Topic: what is the version of the ahk ?
Replies: 8
Views: 1931

Re: what is the version of the ahk ?

It's because the script is compiled to an .EXE file. If you want the tray menu above, you have to run the .AHK version of the script. If you don't have the .AHK version of the script, then you can use a program called Resource Hacker to get the script out from the .EXE file. 1. Download Resource Ha...
by woshichuanqilz72
21 Mar 2018, 09:08
Forum: Ask for Help (v1)
Topic: what is the version of the ahk ?
Replies: 8
Views: 1931

Re: what is the version of the ahk ?

MaxAstro wrote:I could be wrong, but I believe the expanded menu only shows if you are running the script directly, instead of compiling it into an exe file.
no both exe files.
by woshichuanqilz72
21 Mar 2018, 08:34
Forum: Ask for Help (v1)
Topic: what is the version of the ahk ?
Replies: 8
Views: 1931

what is the version of the ahk ?

I find a ahk exe file with this tray menu, seems very convenient. but I use the AHK_L can't do that http://7xpvdr.com1.z0.glb.clouddn.com/6f169c24-50ae-4a4a-9ea9-78d8c4d2eb550321210559.png just with this items, so I want to know the version of the ahk. how to make the tray like the pic above. Seems ...
by woshichuanqilz72
08 Dec 2017, 23:12
Forum: Ask for Help (v1)
Topic: how to read the ahk scripts in a large project which editor is preferred
Replies: 4
Views: 1321

how to read the ahk scripts in a large project which editor is preferred

I get a large ahk project to read, there a lot of variable in different files, it's a little painful to jump among the different file to find a variable defination or assignment, I use scite4AHK now, so I want to know whether scite4ahk has a better way to locate a variable or other code editor recom...
by woshichuanqilz72
03 Dec 2017, 02:55
Forum: Gaming Help (v1)
Topic: I want press the alt and j down map to {left} but if you keep press the both key down there will be a problem? Topic is solved
Replies: 6
Views: 1330

Re: I want press the alt and j down map to {left} but if you keep press the both key down there will be a problem? Topic is solved

Rohwedder's first post works fine. I believe your problem is with the interaction of either the software or possibly permissions (trying to use it on a process that has higher privilege than you, primarily an issue in Windows 10). Try running it as admin and, if applicable, remove all bound keys in...
by woshichuanqilz72
29 Nov 2017, 08:51
Forum: Ask for Help (v1)
Topic: how to click the first item in a listview?
Replies: 4
Views: 4577

Re: how to click the first item in a listview?

The hh_kwd_vlist (HTML Help) control for AutoHotkey Help (AutoHotkey.chm). What type of control is it? - AFAIK it is not a listbox or a listview control, at least, when I tried to count the items, it didn't work. How to change the selection? - Type the first few characters of the search term into t...
by woshichuanqilz72
29 Nov 2017, 07:28
Forum: Gaming Help (v1)
Topic: I want press the alt and j down map to {left} but if you keep press the both key down there will be a problem? Topic is solved
Replies: 6
Views: 1330

Re: I want press the alt and j down map to {left} but if you keep press the both key down there will be a problem? Topic is solved

Rohwedder wrote:Hallo,
I tried, of course. It works here in Bavaria.

New trial:

Code: Select all

<!j::
	SendInput, {Left Down}
	KeyWait, j
	SendInput, {Left Up}
Return
the code will stuck and do nothing after about 2 sec.

Thanks a lot for your reply. Good Day~ And Best Wishes!
by woshichuanqilz72
29 Nov 2017, 04:17
Forum: Gaming Help (v1)
Topic: I want press the alt and j down map to {left} but if you keep press the both key down there will be a problem? Topic is solved
Replies: 6
Views: 1330

Re: I want press the alt and j down map to {left} but if you keep press the both key down there will be a problem? Topic is solved

Rohwedder wrote:Hallo,
perhaps:

Code: Select all

<!j::SendInput, {Left}

Thanks a lot for your reply. Have you try it ? it works on you?
seems not work on me.

And anyway thank you sincerely.

Code: Select all

<!j:jjjjjjjjjjjjjjjjjjjjj:SendInjput, {Left}
by woshichuanqilz72
29 Nov 2017, 01:03
Forum: Gaming Help (v1)
Topic: I want press the alt and j down map to {left} but if you keep press the both key down there will be a problem? Topic is solved
Replies: 6
Views: 1330

I want press the alt and j down map to {left} but if you keep press the both key down there will be a problem? Topic is solved

Here is my code I want to keep the alt and j down to send {left}, but if I keep press the alt and j down the program do nothing, neither j or {left} is sent. Why is that ? $j:: { GetKeyState, state_alt, Alt if state_alt = D { Send, {left} } else{ Send, j } Return } $!j:: { Send, {left} Return } Then...
by woshichuanqilz72
27 Nov 2017, 00:32
Forum: Ask for Help (v1)
Topic: how to click the first item in a listview?
Replies: 4
Views: 4577

Re: how to click the first item in a listview?

To select the first item in a listview: q:: ControlSend, SysListView321, {Home}, A return hi bro thanks for your reply, it worked. Thank you. I check the help doc and make this, you code works fine. But Postmessage don't work why is that? PostMessage, 0x185, 1, -1, ListBox1, WinTitle ; Select all l...
by woshichuanqilz72
24 Nov 2017, 10:55
Forum: Ask for Help (v1)
Topic: how to click the first item in a listview?
Replies: 4
Views: 4577

how to click the first item in a listview?

I find a listview in a window how to click the first row of it?

I think use controlclick by pos is not a good idea.
by woshichuanqilz72
10 Nov 2017, 10:05
Forum: Ask for Help (v1)
Topic: How to detect any key is up or press? Topic is solved
Replies: 1
Views: 536

How to detect any key is up or press? Topic is solved

I want to record the time between two keystrokes, For example if I press a b c, I want to know, what's the time between the a and b, b and c. And I know that the build-in variable A_timeidle can record the idle time. But I need to know when any key is pressed or up and then trigger a function to rec...
by woshichuanqilz72
08 Nov 2017, 21:46
Forum: Ask for Help (v1)
Topic: Why regwrite doesn't work ?
Replies: 4
Views: 2524

Re: Why regwrite doesn't work ?

done I try this code and success.

Code: Select all

ctt := "Windows Registry Editor Version 5.00`n`n[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]`n""AutoConfigURL""=""xxxx"""

FileAppend, %ctt%, %filename%

Run, regedit.exe /s %filename%

Clipboard := filename
by woshichuanqilz72
08 Nov 2017, 20:54
Forum: Ask for Help (v1)
Topic: Why regwrite doesn't work ?
Replies: 4
Views: 2524

Why regwrite doesn't work ?

I want to use regwrite to set the internet confiuration RegWrite, REG_SZ, HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings, AutoConfigURL, xxxx But it doesn't work. And If I double click the reg file with this content it will work. Why is that ? and how to make the regwr...
by woshichuanqilz72
07 Nov 2017, 01:57
Forum: Ask for Help (v1)
Topic: how to get the errorlevel in the command prompt? Topic is solved
Replies: 1
Views: 728

how to get the errorlevel in the command prompt? Topic is solved

I use the code below to know whether my pc can access the internet. If I type command in the command prompt "ping http://www.baidu.com" then I use echo %errorlevel% I will get 0. And if I use the "ping http://www.baidu.com" then I use echo %errorlevel% I will get 1. But if I use the code below RunWa...
by woshichuanqilz72
06 Nov 2017, 22:54
Forum: Ask for Help (v1)
Topic: Why this code can be excuated by Run command but work fine in the Command promt if I copy the command out? Topic is solved
Replies: 1
Views: 520

Why this code can be excuated by Run command but work fine in the Command promt if I copy the command out? Topic is solved

Here is my code I want to change the ip address by the command line, it work fine when I paste the command in the command prompt but it doesn't work by the "Run %cmd%" command how that happens? and how to fix it? Thanks in advance~ cmd := "netsh interface ipv4 set address name=""以太网"" static 192.168...

Go to advanced search