Search found 6 matches
- 24 Aug 2018, 11:40
- Forum: Ask for Help (v1)
- Topic: How to ONLY modify menu item string.
- Replies: 1
- Views: 465
Re: How to ONLY modify menu item string.
Can anybody help me?
- 23 Aug 2018, 04:52
- Forum: Ask for Help (v1)
- Topic: How to ONLY modify menu item string.
- Replies: 1
- Views: 465
How to ONLY modify menu item string.
I want to change some menu of software with ahk NOT the source code, The code below can change the text of the Specified menuitem, but if the menuitem has an icon, the icon would be lost How to do that only replace the text without other thing change? SetTimer,MonitorSpecMenu,On return MonitorSpecMe...
- 18 Jul 2018, 06:37
- Forum: Ask for Help (v1)
- Topic: Read Unicode 16 LE with Hex
- Replies: 5
- Views: 1003
Re: Read Unicode 16 LE with Hex
I know what it happend
My editor Open the 16LE file with no BOM but display it has BOM
My editor Open the 16LE file with no BOM but display it has BOM
- 18 Jul 2018, 06:15
- Forum: Ask for Help (v1)
- Topic: Read Unicode 16 LE with Hex
- Replies: 5
- Views: 1003
Re: Read Unicode 16 LE with Hex
When a file containing a UTF-8 or UTF-16 byte order mark (BOM) is opened with read access, the BOM is excluded from the output by positioning the file pointer after it. Therefore, File.Position may report 3 or 2 immediately after opening the file. f.Seek(0) ? I've use the code f:=FileOpen(file,"rw"...
- 17 Jul 2018, 00:23
- Forum: Ask for Help (v1)
- Topic: Read Unicode 16 LE with Hex
- Replies: 5
- Views: 1003
Read Unicode 16 LE with Hex
Read a file Unicode16LE with BOM f:=FileOpen(file,"rw") Chars:={} loop { Chars.Insert(f.ReadUChar()) } until f.AtEOF MsgBox % Chars[1] "`n" Chars[2] The BOM Head should be 0xFFFE (255 254), but the code could not read right but use the code read the Unicode16BE file, BOM Head read right --- 0xFEFF (...
- 30 Dec 2017, 00:00
- Forum: 请求帮助
- Topic: 使用 Acc 还是不能按路径获取 QQ 对话文本
- Replies: 0
- Views: 1993
使用 Acc 还是不能按路径获取 QQ 对话文本
参考 https://autohotkey.com/boards/viewtopic.php?f=6&t=40615 代码 可以正常获取鼠标下控件文本, 可是使用 acc_get 时候就不能按指定路径获取文本了 用 accviewer 获取的 qq 对话文本框 acc 路径为 3.2.1.1.2.1.2.1.2.1.4.1 使用 Acc:=Acc_Get("Object", "3.2.1.1.2.1.2.1.2.1.4.1", 0, "ahk_id " hWnd) 函数后, Acc.accName(0) Acc.accName(1) Acc.accValue(0) Acc.accValue(1...