Search found 24 matches

by laozhhaiJohn
04 May 2021, 23:53
Forum: 请求帮助
Topic: 关于蓝叠模拟器窗口不能被操作的疑惑
Replies: 1
Views: 2579

关于蓝叠模拟器窗口不能被操作的疑惑

各位朋友,不知道你们是否遇到过窗口不能被操作的情况。比如将窗口移动,最大化最小化等等,我用ahk不多,但是很少遇到窗口不能被 WinRestore, WinMaximize, WinMinimize,WinMove命令操作的情况。 今天,安装蓝叠模拟器(win10-64位19041.388)4.280.0.3001,结果在ahk脚本中操作这个模拟器窗口,竟然WinRestore, WinMaximize, WinMinimize,WinMove全部失效,比如 WinMaximize, ahk_exe BlueStacksGP.exe WinMaximize, ahk_class BS2CHIN...
by laozhhaiJohn
27 Apr 2021, 04:33
Forum: 脚本函数
Topic: 语音数字 v2.5
Replies: 3
Views: 5442

Re: 语音数字 v2.5

老大,34行: f:="F:\360eyun\AutoHotkey\语音数字\" i ".wav"
这句是不是有影响啊。我运行脚本后,托盘区什么也没有,程序一闪而过啊。
by laozhhaiJohn
21 Apr 2021, 22:20
Forum: Scripts and Functions (v1)
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 1088
Views: 579425

Re: FindText - Capture screen image into text and then find it Topic is solved

非常好!飞跃!我在国内看到过您的中文版FindText帖子,但是看完后,仍然对FindText中的子函数不太了解,比如FindText.Ocr函数,不知道哪里有一些例子可以参考。在这个论坛中本帖子首页和后面某页中,可以找到您发表的Ocr例子,但是都已经随着版本的更新不能使用了。 ———————————————————————————————————————————————————————————————————————————————————————— very nice!飞跃Feiyue! I have seen your Chinese version of FindText post i...
by laozhhaiJohn
03 Apr 2021, 07:27
Forum: Ask for Help (v1)
Topic: Question of "Hide" parameter about the "run" command Topic is solved
Replies: 4
Views: 624

Re: Question of "Hide" parameter about the "run" command Topic is solved

If that is meant to be a complete script, then it can't work because you haven't created the window with !^z:: yet. Many of the lines in your code below require that to already have been executed so that the variable ffmpegPid gets defined. But there are also problems with most of the other lines i...
by laozhhaiJohn
02 Apr 2021, 22:32
Forum: Ask for Help (v1)
Topic: Question of "Hide" parameter about the "run" command Topic is solved
Replies: 4
Views: 624

Re: Question of "Hide" parameter about the "run" command Topic is solved

Try this: !^a:: WinShow, ahk_pid %ffmpegPid% ControlSend,, q{Enter}, ahk_pid %ffmpegPid% ;ffmpeg quit ; here you can hide or close the cmd window Return I added an {Enter} in case that needs to also be pressed, which sounds like it would. You may not even need to show the window first, but that can...
by laozhhaiJohn
01 Apr 2021, 21:33
Forum: Ask for Help (v1)
Topic: Question of "Hide" parameter about the "run" command Topic is solved
Replies: 4
Views: 624

Question of "Hide" parameter about the "run" command Topic is solved

Please forgive my poor English. I use machine translation. Hello everyone! Recently, I encountered the question of "Hide" parameter about the "run" command. Now I would like to ask you. The problem is this: using the run command, running the ffmpeg command line program to record the screen, everyth...
by laozhhaiJohn
01 Apr 2021, 04:38
Forum: Scripts and Functions (v1)
Topic: swap bytes
Replies: 4
Views: 2199

Re: swap bytes

gregster wrote:
01 Apr 2021, 01:47
@laozhhaiJohn: Since it doesn't seem to be obvious, please use English in the general (English) parts of these forums.
You can use Google Translate, DeepL or something similar to translate your message, but please make an attempt to do so in future posts. Thank you!
ok.My english is poor.sorry.
by laozhhaiJohn
01 Apr 2021, 00:24
Forum: Scripts and Functions (v1)
Topic: swap bytes
Replies: 4
Views: 2199

Re: swap bytes

THanks.非常好的办法!最近一个大端模式和小端模式的问题也困扰了我很长时间。

[Mod edit: Added translation.]
Very good solution! A recent problem with the big end mode and the small end mode has also been bothering me for a long time.
by laozhhaiJohn
31 Mar 2021, 17:17
Forum: Announcements
Topic: AutoHotkey v3.0-alpha.1 - Switching to JavaScript (not really)
Replies: 32
Views: 16551

Re: AutoHotkey v3.0-alpha.1 - Switching to JavaScript

:dance: 非常赞成发新版。人气确实有待提高。
by laozhhaiJohn
30 Mar 2021, 18:07
Forum: 请求帮助
Topic: 为什么我在桌面新建里面没有他说的那个文件? Topic is solved
Replies: 1
Views: 3055

Re: 为什么我在桌面新建里面没有他说的那个文件? Topic is solved

新建一个文本文件,然后就可以写代码了。写完代码,将文本文件扩展名改为ahk就可以运行了。
by laozhhaiJohn
29 Mar 2021, 23:20
Forum: Scripts and Functions (v1)
Topic: [Function] IMG_GetImageSize v0.1 (Preview) - Get the image size without loading the image into memory
Replies: 6
Views: 1341

Re: [Function] IMG_GetImageSize v0.1 (Preview) - Get the image size without loading the image into memory

非常感谢您慷慨无私的帮助!是的,我已经下载了您帖子中的附件。我正在试用。再次感谢。
Thank you very much for your generous and selfless help! Yes, I have downloaded the attachment in your post. I'm trying it out. Thanks again.
by laozhhaiJohn
29 Mar 2021, 19:02
Forum: Scripts and Functions (v1)
Topic: [Function] IMG_GetImageSize v0.1 (Preview) - Get the image size without loading the image into memory
Replies: 6
Views: 1341

Re: [Function] IMG_GetImageSize v0.1 (Preview) - Get the image size without loading the image into memory

:terms:
您发布的函数下载地址,在我这里尝试好几次,都无法打开网址。请问您是否可以在其他网站或网盘发布大作?
by laozhhaiJohn
28 Mar 2021, 10:08
Forum: 脚本函数
Topic: 发一个收藏的base64加解密函数
Replies: 1
Views: 5257

Re: 发一个收藏的base64加解密函数

感谢分享,下来试试。
by laozhhaiJohn
28 Mar 2021, 07:15
Forum: 脚本函数
Topic: 多进程代替多线程函数 Exec()
Replies: 2
Views: 8548

Re: 多进程代替多线程函数 Exec()

例程经实验确实有效,但暂时还没有脚本用到它。
by laozhhaiJohn
28 Mar 2021, 05:40
Forum: 请求帮助
Topic: 带空格中文文件名在ahk脚本中会出错,求教如何解决? Topic is solved
Replies: 4
Views: 3993

Re: 带空格中文文件名在ahk脚本中会出错,求教如何解决? Topic is solved

sanmaodo wrote:
28 Mar 2021, 04:30
@laozhhaiJohn
C:\Windows\Media\ 这个文件夹有点奇怪,
比如这个文件: Windows 导航开始.wav ,用 shift+右键 将其复制为路径,
得到的文件名是: Windows Navigation Start.wav,或许,这才是它真实的文件名。

另外,我在其它目录复制文件名是中文且带空格的文件,是成功的。
非常好的发现!!!确实,改用其英文名称后一切就顺利了。同时也试验了其他中文加空格的文件,确实如您所说那样一切正常!!非常感谢!!!

这个问题的产生可能是微软为适应各种语言代码而作的一个特殊处理吧。
by laozhhaiJohn
28 Mar 2021, 03:22
Forum: 请求帮助
Topic: 带空格中文文件名在ahk脚本中会出错,求教如何解决? Topic is solved
Replies: 4
Views: 3993

Re: 带空格中文文件名在ahk脚本中会出错,求教如何解决? Topic is solved

把脚本存为 UTF-8 with BOM 编码试试看 非常感谢您的回复, 但是我忘记说了: 1、我的系统是win10教育版64位, 2、ahk版本是1.1.33.06的64位U版, 3、脚本已经是 UTF-8 with BOM. 所以,可能编码问题不是解决办法. 无论如何,还是感谢您的回复. MsgBox % A_IsUnicode ? "Unicode" : "ANSI" MsgBox, % Asc("一") MsgBox, % Asc(" ") MsgBox, % "a" . chr(32) . "b" 文件名 := % A_WinDir . "\Media\Windows 导航开始.w...
by laozhhaiJohn
28 Mar 2021, 02:51
Forum: 请求帮助
Topic: 带空格中文文件名在ahk脚本中会出错,求教如何解决? Topic is solved
Replies: 4
Views: 3993

带空格中文文件名在ahk脚本中会出错,求教如何解决? Topic is solved

英文文件名带空格的在ahk脚本中运行良好,但是,中文文件名带空格的,在ahk脚本中会出错,怎么解决这个问题呢? 试验了很多办法都不能解决,特地请教各位专家。 :crazy: :crazy: :crazy: 我的环境为: 系 统: windows10--19041中文教育版 ahk版本: 最新版的AutoHotkey Unicode 64-bit FileCopy, C:\Windows\Media\Windows Notify Email.wav, s:\Windows_Notify_Email.wav ;复制成功 FileCopy, C:\Windows\Media\Windows 导航开始...
by laozhhaiJohn
25 Mar 2021, 08:43
Forum: Scripts and Functions (v1)
Topic: [Function] IMG_GetImageSize v0.1 (Preview) - Get the image size without loading the image into memory
Replies: 6
Views: 1341

Re: [Function] IMG_GetImageSize v0.1 (Preview) - Get the image size without loading the image into memory

非常好!!good job!!!ahk确实没有一个简单的命令或者函数取得一张图片的长和宽的信息。
by laozhhaiJohn
25 Mar 2021, 04:52
Forum: Scripts and Functions (v1)
Topic: VarV collection: Compress, Encrypt and store data inside a PNG image.
Replies: 15
Views: 3882

Re: RePNG() : Dissolves data in to PNG image + Digital Matryoshka example

容纳一个数据文件,要用至少多大的图片来保存呢?

Go to advanced search