Search found 28 matches
- 06 Feb 2023, 16:46
- Forum: 请求帮助
- Topic: win11成功运行winxp的图片查看器shimgvw.dll的方法 Topic is solved
- Replies: 1
- Views: 883
- 05 Feb 2023, 19:45
- Forum: Scripts and Functions (v1)
- Topic: ScriptGuard: Helps Protect Compiled Scripts from Decompilation
- Replies: 74
- Views: 19480
Re: ScriptGuard: Helps Protect Compiled Scripts from Decompilation
@TAC109
Thx very much for the reply!
I succeed in the end!
Cheers and Best regards!
Thx very much for the reply!
I succeed in the end!
Cheers and Best regards!
- 05 Feb 2023, 10:40
- Forum: Ask for Help (v1)
- Topic: how to prevent creating dump file in the taskmanager?
- Replies: 0
- Views: 202
how to prevent creating dump file in the taskmanager?
After we compile our script to exe,how to prevent creating the dump file?
for example,when doing the operation,there will
be an error appeared。
how to deal with the exefile?
Thank you very much!
for example,when doing the operation,there will
be an error appeared。
how to deal with the exefile?
Thank you very much!
- 05 Feb 2023, 07:09
- Forum: Scripts and Functions (v1)
- Topic: ScriptGuard: Helps Protect Compiled Scripts from Decompilation
- Replies: 74
- Views: 19480
Re: ScriptGuard: Helps Protect Compiled Scripts from Decompilation
I found two problem using the two scripts. 1.when I use the two script and select upx or mpress options,then the compile file will be destroyed. It won't be run when I double Click it. But if I don't use compress options,it will be work. what I used is the latest version:Autohotkey 1.1.36.2,and scri...
- 19 Sep 2022, 05:05
- Forum: Ask for Help (v1)
- Topic: How to mask the Windows Key while click Menu?
- Replies: 1
- Views: 240
How to mask the Windows Key while click Menu?
Hi everyone,I met a puzzle about the Windows key. What I have done was this : I used the hotkey #4 to create a menu. While the menu appears,then I pressed the "Lwin" and Click the menu,Now I can get three different actions though one Menu. #SingleInstance,force #4:: Menu, MySubmenu, Add, Item1 Menu,...
- 19 Jan 2021, 22:39
- Forum: Ask for Help (v1)
- Topic: How to Assgin Hotkey to a C#'s Function?
- Replies: 0
- Views: 165
How to Assgin Hotkey to a C#'s Function?
Hello everyone,I met a difficult problem about assign hotkey in C#. As we know,we can use Autohokey H to regsvr in window,Then we Can use ahk through Com.Here is the function in C#: addfile/addscript/ahkassign/ahkdll/ahkexec/ahkexecute/ahklabel/ahkgetvar...and so on. But what I want is how to assign...
- 08 Aug 2020, 23:03
- Forum: Ask for Help (v1)
- Topic: [Resolved]how to justice a file's encoding?
- Replies: 5
- Views: 2053
Re: how to justice a file's encoding?
I expected you are checking only the txt files, but anyway it doesn't seems to be an option for now. I looked little more and I found this tool called File it is basically a Linux tool, but a windows version was made, It determinate a file type (Including it encoding if it has). Read more here :arr...
- 07 Aug 2020, 17:38
- Forum: Ask for Help (v1)
- Topic: [Resolved]how to justice a file's encoding?
- Replies: 5
- Views: 2053
Re: how to justice a file's encoding?
I attached you compiled executable from a cpp script named _GetEncoding.exe , place it in the same folder with your AHK script then specify the text file path that you are going to examine it encoding and run your script. It should give you a return value equal to 239 if it is UTF-8 text file or 97...
- 07 Aug 2020, 11:07
- Forum: Ask for Help (v1)
- Topic: [Resolved]how to justice a file's encoding?
- Replies: 5
- Views: 2053
[Resolved]how to justice a file's encoding?
I want to know aTXT type file's encoding is UTF-8 or ansi
, how to organize the code?
thanks very much for the reply!
, how to organize the code?
thanks very much for the reply!
- 16 May 2018, 18:35
- Forum: Scripts and Functions (v1)
- Topic: Get the URL of the current (active) browser tab
- Replies: 196
- Views: 138853
Re: Get the URL of the current (active) browser tab
Hi everyone,my browser is 360se,and the class is 360se6_Frame.
I used the code in page 1,then it poped the message:
"Not a browser or browser not supported (360se6_Frame)"
how to modify to fit the 360se?
Thx.
my brower download url:
http://down.360safe.com/se/360se9.1.0.420.exe
I used the code in page 1,then it poped the message:
"Not a browser or browser not supported (360se6_Frame)"
how to modify to fit the 360se?
Thx.
my brower download url:
http://down.360safe.com/se/360se9.1.0.420.exe
- 15 May 2018, 07:35
- Forum: Scripts and Functions (v1)
- Topic: [FUNCTION] StdoutToVar with exit code
- Replies: 30
- Views: 20236
Re: [FUNCTION] StdoutToVar with exit code
ManyThx,it works!burque505 wrote:Hi zhanglei1371, try this:This works too:Code: Select all
#Include StdOutToVar.ahk msgbox % StdoutToVar_CreateProcess("cmd.exe /c dir c:\")
Regards,Code: Select all
msgbox % StdoutToVar_CreateProcess(Comspec " /c dir c:\")
burque505
- 07 May 2018, 18:23
- Forum: Scripts and Functions (v1)
- Topic: [FUNCTION] StdoutToVar with exit code
- Replies: 30
- Views: 20236
Re: [FUNCTION] StdoutToVar with exit code
I used the code below,but nothing get,why?
msgbox % StdoutToVar_CreateProcess("dir c:\")
but if I used :
msgbox % StdoutToVar_CreateProcess("ping www.baidu.com"),it works.
msgbox % StdoutToVar_CreateProcess("dir c:\")
but if I used :
msgbox % StdoutToVar_CreateProcess("ping www.baidu.com"),it works.
- 27 Mar 2018, 07:20
- Forum: Ask for Help (v1)
- Topic: Why the Rbutton Can not popup?
- Replies: 2
- Views: 896
Re: Why the Rbutton Can not popup?
well,But still I find it doesn't work. I test the code below: RButton up:: MouseClick,right return when I run the code in a new script file ,then I fount the context menu didn't come up. why? it's a very strange puzzle. maybe My ahk_L's vesion? My ahk_L's version is the latest ,v1.1.28. What I want ...
- 27 Mar 2018, 04:10
- Forum: Ask for Help (v1)
- Topic: Why the Rbutton Can not popup?
- Replies: 2
- Views: 896
Why the Rbutton Can not popup?
Hi everyone,I met a puzzle,in the code,I cannot get the rbutton popup,why? Thx for the help! #SingleInstance,force RButton & WheelUp:: tf=0 ToolTip,test001 return RButton & WheelDown:: tf=0 ToolTip,test002 return $RButton:: tf=1 Return $RButton Up:: if(tf=1) Send {RButton} ;MouseClick,right,0,0,1 el...
- 21 Dec 2017, 03:37
- Forum: Ask for Help (v1)
- Topic: [solved]How to transform VBA code to AHK?
- Replies: 3
- Views: 1026
How to transform VBA code to AHK?
Here is an untested start: xlApp := ComObjActive("Excel.Application") xlApp.Selection.TextToColumns(xlApp.Selection.Cells(1), 1, 1,,,,,,,,Array(1,2)) Also Excel assumes you want to work with the Excel application. With AHK you have to explicitely state that when you call methods. FG[/quote] Thx very...
- 20 Dec 2017, 10:00
- Forum: Ask for Help (v1)
- Topic: [solved]How to transform VBA code to AHK?
- Replies: 3
- Views: 1026
[solved]How to transform VBA code to AHK?
this is a vba code for convert digit value to Str.
but if i want to transform it to ahk,how to do ?
Thx.
Code: Select all
Selection.TextToColumns Destination:=Selection.Cells(1), DataType:=1, TextQualifier:=1, FieldInfo:=Array(1, 2)
Thx.
- 17 Dec 2017, 09:04
- Forum: Ask for Help (v1)
- Topic: Pass array from ahk to VBA
- Replies: 0
- Views: 539
Pass array from ahk to VBA
Hi Everyone,I have a puzzle that stuke me for a long time.I want interactive between Excel and AHK。when I want to pass the array object from ahk to vba,I failed.the code was below,so how to pass the array object between them ? =========================ahk====================== 5:: arr:=array("A","B"...
- 22 Oct 2017, 05:13
- Forum: 脚本函数
- Topic: [H2] str() 字符串操作常用函数
- Replies: 1
- Views: 8758
Re: [H2] str() 字符串操作常用函数
不错,谢谢分享
- 22 Oct 2017, 05:12
- Forum: 脚本函数
- Topic: 善用ahk,让strokeit在win10下起死回生
- Replies: 6
- Views: 15483
Re: 善用ahk,让strokeit在win10下起死回生
但这两个似乎都无法调用com,如word.application对象,若能就太好了
- 20 Oct 2017, 10:10
- Forum: Ask for Help (v1)
- Topic: Problem about Pum_API function
- Replies: 0
- Views: 581
Problem about Pum_API function
hi everyone,I have a puzzle that when I use the tooltip in Pum,the popup menu cannot be disapeared after the tooltip . so how to solve the problem? [what I want is that when I click right button or Middle button,the whole Menu will disapeared just like when I click Left Button.] thanks for everyone!...