Search found 87 matches

by xuezhe
18 Dec 2017, 08:14
Forum: Ask For Help
Topic: modify the infomation of the file Topic is solved
Replies: 3
Views: 162

Re: modify the infomation of the file Topic is solved

BoBo wrote:So that solved your problem?

yeah.that's right.
by xuezhe
18 Dec 2017, 06:05
Forum: Ask For Help
Topic: show the image of web to the gui Topic is solved
Replies: 6
Views: 225

Re: show the image of web to the gui Topic is solved

I have a another problem for ocring the code of dom.Could you have a try to help me ?
https://autohotkey.com/boards/viewtopic.php?f=5&t=41419
by xuezhe
18 Dec 2017, 06:02
Forum: Ask For Help
Topic: show the image of web to the gui Topic is solved
Replies: 6
Views: 225

Re: show the image of web to the gui Topic is solved

imageUrl := "http://icons.iconarchive.com/icons/aha-soft/jewelry/256/Gem-icon.png" Gui, Add, Pic,, % "HBITMAP:" . GetHBitmapFromImageURL(imageUrl) Gui, Show return GuiClose: ExitApp GetHBitmapFromImageURL(url) { oWhr := ComObjCreate("WinHttp.WinHttpRequest.5.1") oWhr.O...
by xuezhe
17 Dec 2017, 10:08
Forum: Ask For Help
Topic: show the image of web to the gui Topic is solved
Replies: 6
Views: 225

Re: show the image of web to the gui Topic is solved

This works on Windows 7: url := "https://upload.wikimedia.org/wikipedia/commons/5/55/Tesseract.gif" width := 200 height := 200 Gui, New, -DPIScale Gui, Add, ActiveX, w%width% h%height% voDoc, htmlfile oDoc.Write("<body style='margin: 0; overflow: hidden;'><img src='" url "'...
by xuezhe
17 Dec 2017, 06:18
Forum: Ask For Help
Topic: show the image of web to the gui Topic is solved
Replies: 6
Views: 225

show the image of web to the gui Topic is solved

Could you help me . thx.
I don't want to download it to the disk.
by xuezhe
16 Dec 2017, 20:55
Forum: Ask For Help
Topic: modify the infomation of the file Topic is solved
Replies: 3
Views: 162

Re: modify the infomation of the file Topic is solved

I have found the dsofile.dll for modifying the infomation of the file.
by xuezhe
16 Dec 2017, 09:15
Forum: Ask For Help
Topic: modify the infomation of the file Topic is solved
Replies: 3
Views: 162

modify the infomation of the file Topic is solved

filesummary.jpg
filesummary.jpg (35.91 KiB) Viewed 162 times

1.modfify the infomation of the file.
2. delete the infomation of the file.

thx very much.
by xuezhe
15 Dec 2017, 03:24
Forum: Ask For Help
Topic: ocr code of the web
Replies: 0
Views: 173

ocr code of the web

I use the WmCode.dll for ocr the code of web. something error happens when running the following code . I guess it because the type of str(Ansi or Unicode),but I have no idea about the usage of it.Could you help me,thx very much. dllpath:=A_SCRIPTDIR "\WmCode.dll" Msgbox DllCall("Load...
by xuezhe
12 Dec 2017, 01:40
Forum: AutoHotkey v2 Development
Topic: AHK v1 → AHK v2 Topic is solved
Replies: 13
Views: 674

Re: AHK v1 → AHK v2 Topic is solved

Actually I updated Coco's library to v2.0-a081-cad307c as I needed it for private project. I mostly used the JXON one though. I also suggested to add JSON support to AHK2 itself: https://autohotkey.com/boards/viewtopic.php?f=37&t=39309 JSON: Updated by SirRFI for AHK v2.0-a081-cad307c • Fixed e...
by xuezhe
11 Dec 2017, 04:25
Forum: AutoHotkey v2 Development
Topic: AHK v1 → AHK v2 Topic is solved
Replies: 13
Views: 674

Re: AHK v1 → AHK v2 Topic is solved

What do the error messages say? Or does the script run, but not as intended? You may need to replace key with key.0, because RegExMatch returns objects in AHK v2. I don't know if Coco's script supports AHK v2, or not, however, if you're going to make the effort to convert a script to AHK v2, it's w...
by xuezhe
11 Dec 2017, 04:20
Forum: Ask For Help
Topic: AHK_L V1 → AHK_H V2
Replies: 1
Views: 298

AHK_L V1 → AHK_H V2

who can help me to change the json to v2 from v1. some error happens when running the code after modifying.thx very much. https://github.com/cocobelgica/AutoHotkey-JSON/blob/master/Jxon.ahk json_str :=" ( { "str": "Hello World", "num": 12345, "float": 123...
by xuezhe
11 Dec 2017, 01:37
Forum: AutoHotkey v2 Development
Topic: AHK v1 → AHK v2 Topic is solved
Replies: 13
Views: 674

Re: AHK v1 → AHK v2 Topic is solved

Issues I noticed with the script: """" -> "`"" or Chr(34) is Number -> is "Number" (or use: Number := "Number", prior to: is Number) StringReplace -> StrReplace StringGetPos -> InStr StringMid -> SubStr '% ' -> remove '% ' from (the start of pa...
by xuezhe
11 Dec 2017, 01:27
Forum: AutoHotkey v2 Development
Topic: AHK v1 → AHK v2 Topic is solved
Replies: 13
Views: 674

Re: AHK v1 → AHK v2 Topic is solved

str:=" ( { "date": "2017.12.1", "sites": [ { "name": "qq", "site": "www.qq.com" }, { "name": "google", "site": "www.google.com" } ] } )" object:=getJsonObj(str) MsgBox json_fromob...
by xuezhe
11 Dec 2017, 01:11
Forum: AutoHotkey v2 Development
Topic: AHK v1 → AHK v2 Topic is solved
Replies: 13
Views: 674

Re: AHK v1 → AHK v2 Topic is solved

guest3456 wrote:this should help:
https://autohotkey.com/v2/v2-changes.htm

I have try to change it ,but error happens when runing the code after changing.
by xuezhe
11 Dec 2017, 00:55
Forum: AutoHotkey v2 Development
Topic: AHK v1 → AHK v2 Topic is solved
Replies: 13
Views: 674

AHK v1 → AHK v2 Topic is solved

who can help me to change it to v2 .thx. ; Copyright © 2013 VxE. All rights reserved. ; Serialize an object as JSON-like text OR format a string for inclusion therein. ; NOTE: scientific notation is treated as a string and hexadecimal as a number. ; NOTE: UTF-8 sequences are encoded as-is, NOT as th...
by xuezhe
09 Dec 2017, 06:20
Forum: Ask For Help
Topic: slider of dom
Replies: 3
Views: 177

Re: slider of dom

Hi, xuezhe, Try: #NoEnv #SingleInstance force CoordMode, Mouse, Screen ControlGetText,string, Edit1,ahk_class IEFrame string := "https://www.cnblogs.com/cloudgamer/archive/2008/12/24/slider.html" WebBrowser:=IEGetFromUrl(string) document:=WebBrowser.document ControlGetPos , x2, y2, Width2...
by xuezhe
04 Dec 2017, 08:53
Forum: Ask For Help
Topic: slider of dom
Replies: 3
Views: 177

Re: slider of dom

thx.
But I want to use createEvent()
Is something wrong about my script ?
by xuezhe
30 Nov 2017, 23:06
Forum: Ask For Help
Topic: slider of dom
Replies: 3
Views: 177

slider of dom

it can't work after opening the site. https://www.cnblogs.com/cloudgamer/archive/2008/12/24/slider.html 捕获.PNG #NoEnv #SingleInstance force CoordMode, Mouse, Screen ControlGetText,string, Edit1,ahk_class IEFrame WebBrowser:=IEGetFromUrl(string) document:=WebBrowser.document ControlGetPos , x2, y2, W...
by xuezhe
26 Nov 2017, 10:31
Forum: AutoGUI
Topic: AutoGUI 2.0
Replies: 82
Views: 6540

Re: AutoGUI 2.0

great job. Could you update it for AHK_L v2.
by xuezhe
14 Nov 2017, 23:48
Forum: Ask For Help
Topic: The problem of Dom
Replies: 10
Views: 251

Re: The problem of Dom

wb := ComObjCreate("InternetExplorer.Application") OnExit( Func("Exit").Bind(wb) ) wb.Visible := 1 wb.Navigate("https://www.baidu.com") elem := DomElementReady("getElementById", "kw",, 10000) MsgBox % IsObject(elem) DomElementReady(method, value, in...

Go to advanced search