Search found 89 matches

by jly
29 Oct 2020, 10:40
Forum: Ask for Help (v1)
Topic: How to get the files list according to the files order in the explorer window?
Replies: 0
Views: 234

How to get the files list according to the files order in the explorer window?

How to get the files list according to the files order in the explorer window ? There are a lot of files to be processed, and some explorer windows have tens of thousands or hundreds of thousands of files . One way is: Use the Loop Files method to get, the order of the obtained files is different fr...
by jly
21 Oct 2020, 10:28
Forum: Ask for Help (v1)
Topic: [PotPlayer] how to open new file in specified window ?
Replies: 4
Views: 612

Re: [PotPlayer] how to open new file in specified window ?

OK. The brute-force method would just activate the window and then something like ^o or whatever opens files. I do not know a corresponding HWND-based command for this program, but others here might. If you are looking at various players, [url=https mpv.io /]MPV[/url] Broken Link for safety could b...
by jly
21 Oct 2020, 09:56
Forum: Ask for Help (v1)
Topic: [PotPlayer] how to open new file in specified window ?
Replies: 4
Views: 612

Re: [PotPlayer] how to open new file in specified window ?

My hunch is that each window has a separate process ID. If you run the program in AHK, you can use the Run command to track the unique IDs. You can then activate the specific process and issue commands to open the file. I can get the information of each window process ID, window handle, etc., but I...
by jly
21 Oct 2020, 08:47
Forum: Ask for Help (v1)
Topic: [PotPlayer] how to open new file in specified window ?
Replies: 4
Views: 612

[PotPlayer] how to open new file in specified window ?

There are several opened PotPlayer windows on the desktop. How to use shortcut keys to open the specified video file in the specified window? I searched a lot of webpages but didn't get the answer . This page discussed PotPlayer x64 Function Library, but there is no related function. There is a func...
by jly
21 Oct 2020, 08:34
Forum: Scripts and Functions (v1)
Topic: PotPlayer x64 Function Library
Replies: 29
Views: 13564

Re: PotPlayer x64 Function Library

There are several opened potplayer windows on the desktop.
How to use shortcut keys to open the specified video file in the specified window?
by jly
06 Oct 2020, 02:50
Forum: Ask for Help (v1)
Topic: Call WinHttpRequest ,but result is garbled, how can I solve it?
Replies: 2
Views: 508

Re: Call WinHttpRequest ,but result is garbled, how can I solve it?

@fwejifjjwk2
The problem is solved, thank you very much!!
by jly
30 Sep 2020, 07:04
Forum: 请求帮助
Topic: 求助!调用WinHttpRequest 发送get请求 到谷歌翻译,如果发送的是中文,则翻译结果是乱码,请问怎么解决?
Replies: 2
Views: 2419

求助!调用WinHttpRequest 发送get请求 到谷歌翻译,如果发送的是中文,则翻译结果是乱码,请问怎么解决?

求助!调用WinHttpRequest 发送get请求 到谷歌翻译,如果发送的是中文,则翻译结果是乱码,请问怎么解决? 脚本说明 功能: 翻译选中的文字(调用谷歌翻译API)。 步骤: 选中文字 后发送ctrl+c键,将文本复制到粘贴板,然后调用谷歌翻译api, 返回结果。 问题: 如果选中的是英文,则结果正常。如果选中的是中文,则返回值是乱码。 探索: 如下两种方法都试过,还是不行: NumGet(ComObjValue(arr) + 8 + A_PtrSize), oADO := ComObjCreate("adodb.stream") 探索: 这里各种编码都试过,还是不行: SetRe...
by jly
30 Sep 2020, 06:44
Forum: Ask for Help (v1)
Topic: Call WinHttpRequest ,but result is garbled, how can I solve it?
Replies: 2
Views: 508

Call WinHttpRequest ,but result is garbled, how can I solve it?

Call WinHttpRequest to send a get request to Google Translate. If it is sent in Chinese, the translation result is garbled, how can I solve it? Description: Function : Translate the selected text (call Google Translate API). Steps : After selecting the text, send the ctrl + c key, copy the text to t...

Go to advanced search