Search found 117 matches

by woshichuanqilz72
10 Nov 2022, 09:06
Forum: Ask for Help (v1)
Topic: how to open the install / uninstall software panel from command line or background? Topic is solved
Replies: 3
Views: 370

how to open the install / uninstall software panel from command line or background? Topic is solved

Everytime When I want to install a software. I need to click a lot of buttons to get to the panel. %SystemRoot%\System32\rundll32.exe shell32.dll,Options_RunDLL 5 I know command like this. But I dont' know the meaning of it. I think the command I want is something like this, but I don't know how to ...
by woshichuanqilz72
04 Nov 2022, 08:30
Forum: Ask for Help (v1)
Topic: How to toggle the time bar in the taskbar in silent way?
Replies: 1
Views: 201

How to toggle the time bar in the taskbar in silent way?

I use win7 I want to hide / show the time bar in the right bottom on the screen, by keybinding.

What I do now is totally from gui, click buttons and controls which make the process very slow and unstable.

So is there a silent way to make this ( like register modification or some internal cmmands)
by woshichuanqilz72
03 Jan 2020, 22:33
Forum: Ask for Help (v1)
Topic: How to drag a file in background?
Replies: 0
Views: 499

How to drag a file in background?

Here is the situation, I need to drag a file(image, gif, video, etc) to my editor as a part of my article. Only drag and drop work. Copy and paste not work. Because I don't want to open the explorer to find the file frequently, really interrupt my thought. And I already know the location of the file...
by woshichuanqilz72
23 May 2019, 23:00
Forum: Ask for Help (v1)
Topic: Can I make any exe to tray instead of taskbar?
Replies: 1
Views: 591

Can I make any exe to tray instead of taskbar?

As the title said I need to open so many exe, which make my taskbar packed. So Is there a way to make any program to the tray ?
by woshichuanqilz72
16 Feb 2019, 21:04
Forum: Ask for Help (v1)
Topic: how to simulate the key send as the ahk L do in cpp? Topic is solved
Replies: 9
Views: 2271

Re: how to simulate the key send as the ahk L do in cpp? Topic is solved

Use AhkGetVar to retrieve the variable value from the script https://hotkeyit.github.io/v2/docs/commands/ahkgetvar.htm sorry to asking you so many questions but these things really tough to get through google. One more question, how to make two ahk stament in a dll call. For example : CoordMode mou...
by woshichuanqilz72
15 Feb 2019, 09:22
Forum: Ask for Help (v1)
Topic: how to simulate the key send as the ahk L do in cpp? Topic is solved
Replies: 9
Views: 2271

Re: how to simulate the key send as the ahk L do in cpp? Topic is solved

evilC wrote:
14 Feb 2019, 05:10
If all you want to do is send keys, then v1 or v2 will make no real difference I don't think.
Hi ~
what should I do if I want to use the wingetpos function, how to get the outputvar?

Any tutorial on it?
by woshichuanqilz72
14 Feb 2019, 03:40
Forum: Ask for Help (v1)
Topic: how to simulate the key send as the ahk L do in cpp? Topic is solved
Replies: 9
Views: 2271

Re: how to simulate the key send as the ahk L do in cpp? Topic is solved

ahkExec("Msgbox AHK"); Msgbox AHK string literals need to be quoted in v2. AHK refers to an empty variable in this context, hence the empty msgbox. wrap it in quotes or download the v1.dll if u wanna keep writing it that way tnx my bro, the code worked. ahkExec(TEXT("Msgbox \"AHK\"")); //execute a ...
by woshichuanqilz72
14 Feb 2019, 01:33
Forum: Ask for Help (v1)
Topic: how to simulate the key send as the ahk L do in cpp? Topic is solved
Replies: 9
Views: 2271

Re: how to simulate the key send as the ahk L do in cpp? Topic is solved

Maybe a simpler solution would be to use AutoHotkey.dll You could load that libary from your C code, then simply call AHK's send function from your C code. https://hotkeyit.github.io/v2/docs/AutoHotkeyDll.htm Don't worry about the V2 stuff, there is a dll for V1 too thx for your timely reply, but I...
by woshichuanqilz72
13 Feb 2019, 03:55
Forum: Ask for Help (v1)
Topic: how to simulate the key send as the ahk L do in cpp? Topic is solved
Replies: 9
Views: 2271

how to simulate the key send as the ahk L do in cpp? Topic is solved

Hi, I am going to simulate key press in my cpp code directly. I use sendinput func in cpp, but is not work well. I don't know why sendinput just not worked in some window, even when I try the instructions mentioned on Stack Overflow to use the scancode. But when I try ahk exe the key send normally, ...
by woshichuanqilz72
17 Jan 2019, 23:52
Forum: Ask for Help (v1)
Topic: Any way to trigger hotkey itself in "HotKey keyword"? Topic is solved
Replies: 1
Views: 1232

Any way to trigger hotkey itself in "HotKey keyword"? Topic is solved

I want to dynamic change the trigger hotkey when I run ahk script, which means I need to use the keyword "hotkey". I works fine, except I want to send the same key in the triggered label. As the code below, If I use e to trigger send e, it not worked. How to make it? Seem no help after go through th...
by woshichuanqilz72
29 Dec 2018, 10:53
Forum: Ask for Help (v1)
Topic: Why my remap to controller by using ucr not success?
Replies: 1
Views: 594

Re: Why my remap to controller by using ucr not success?

HI there, I am playing the witcher 3 on steam now. And I want to remap the key '-' to "rt" on the controller. I get the ucr on this forum. I follow the step and everything works fine even when I test it in the game controller setting in the control panel. But it not work in the game. I am a little ...
by woshichuanqilz72
29 Dec 2018, 09:13
Forum: Ask for Help (v1)
Topic: Why my remap to controller by using ucr not success?
Replies: 1
Views: 594

Why my remap to controller by using ucr not success?

HI there, I am playing the witcher 3 on steam now. And I want to remap the key '-' to "rt" on the controller. I get the ucr on this forum. I follow the step and everything works fine even when I test it in the game controller setting in the control panel. But it not work in the game. I am a little c...
by woshichuanqilz72
25 Aug 2018, 21:40
Forum: Ask for Help (v1)
Topic: how to use ahk in python 3 ?
Replies: 0
Views: 635

how to use ahk in python 3 ?

I just got pyahk which is written for python2 and AutoHotKey_H, I think AutoHotKey_L is better.

So I want to know can python 3 use ahk now or any good alternative?
by woshichuanqilz72
23 Aug 2018, 04:30
Forum: Ask for Help (v1)
Topic: how to make a hotstring with out show the trigger abbrev string?
Replies: 3
Views: 720

Re: how to make a hotstring with out show the trigger abbrev string?

Rohwedder wrote:Hallo,
try:

Code: Select all

:*:wt::want
Hi thank you. But I want the "want" show out when "t" pressed, before that nothing show on the screen even "w"
by woshichuanqilz72
23 Aug 2018, 02:42
Forum: Ask for Help (v1)
Topic: how to make a hotstring with out show the trigger abbrev string?
Replies: 3
Views: 720

how to make a hotstring with out show the trigger abbrev string?

As the title said.

I want to make,
::wt::want. But I don't want the "wt" show on the screen how to make it?
by woshichuanqilz72
11 Jul 2018, 04:39
Forum: Ask for Help (v1)
Topic: how to make the function name as the variable and put in the array?
Replies: 1
Views: 852

how to make the function name as the variable and put in the array?

here is my code I can use 'q' to toggle the timer which is reading the array and execute the corresponding label, it works fine. Sendkey will iterate the array. But when the label get complicated, I want to pass parameter into it. global start := true ArrOrMaxNum :=["test1", "test2", "test3"] global...
by woshichuanqilz72
05 Jul 2018, 23:04
Forum: Ask for Help (v1)
Topic: how to run two hotkey simultaneously?
Replies: 2
Views: 683

how to run two hotkey simultaneously?

#MaxThreadsPerHotkey 3 #MaxThreads 2 $a:: { loop, 3 { Send, a Sleep, 1000 } } Return $b:: { loop, 3 { Send, b Sleep, 1000 } } Return I write the code like this , I want the output should be like ababab, but it seems just one thread, one the output is abbbaa. My question is how to make the two hotke...
by woshichuanqilz72
02 Jul 2018, 22:32
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: 2049

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

Hi bro, tnx for your code, works for me. The image can insert well. One more question where can learn the com api, so I can make the code by myself in the future. Tnx again bro ~ MSDN Microsoft is a good start for reference. For example this link shows the Shape object. https://msdn.microsoft.com/e...
by woshichuanqilz72
29 Jun 2018, 01:41
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: 2049

Re: 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 ...

Go to advanced search