Search found 37 matches

by magusneo
02 Jun 2014, 05:00
Forum: AHK Studio
Topic: AHK Studio
Replies: 1153
Views: 434856

Re: AHK Studio

http://files.maestrith.com/alpha/Studio/AHK%20Studio.ahk I downloaded this file,found there is no 'newline'(0x0d,0x0a) char in it. Can't get it work. :( Hello magusneo. I am not exactly sure what you are looking for in the program. Will the download not work at all for you? If not could you check t...
by magusneo
01 Jun 2014, 06:55
Forum: AHK Studio
Topic: AHK Studio
Replies: 1153
Views: 434856

Re: AHK Studio

http://files.maestrith.com/alpha/Studio ... Studio.ahk
I downloaded this file,found there is no 'newline'(0x0d,0x0a) char in it.
Can't get it work. :(
by magusneo
03 Mar 2014, 05:27
Forum: Scripts and Functions
Topic: WinHttpRequest Object with Cookies
Replies: 5
Views: 3980

Re: WinHttpRequest Object with Cookies

Class!=OOP,Class can simplify some coding. like this wq:=new WebReq() wq.WebRequest.Open("GET", "http://google.com") wq.SetCookies() wq.WebRequest.Send() wq.SaveCookies() wq:="" ;cookies be removed return class WebReq{ cookies:={},WebRequest:=ComObjCreate("WinHttp.WinHttpRequest.5.1") __New(){ } __D...
by magusneo
02 Mar 2014, 00:08
Forum: Scripts and Functions
Topic: WinHttpRequest Object with Cookies
Replies: 5
Views: 3980

Re: WinHttpRequest Object with Cookies

Good.It works.
How about make it Class style?
by magusneo
02 Mar 2014, 00:03
Forum: Bug Reports
Topic: A_Index doesn't increase in loop.
Replies: 3
Views: 2510

Re: A_Index doesn't increase in loop.

Thanks.It's threads issues indeed.I've got it work,stop the thread created by dll-file first before Initing. I've use this script for a long time,it can login server once trying in most time.Just found this issue because of bad network recently. I once thought callback function is always being calle...
by magusneo
27 Feb 2014, 07:29
Forum: Bug Reports
Topic: A_Index doesn't increase in loop.
Replies: 3
Views: 2510

A_Index doesn't increase in loop.

I have a script which use dllcall to login server.There is a Init method. In this method first running A_index increases normally,but A_index doesn't increase(alwayse 1) since Init method second running. Init(server,brokerid,accountid,pwd){ ...... this.stat:=0 while(this.stat<1){ Sleep,1000 OutputDe...
by magusneo
23 Feb 2014, 09:08
Forum: Scripts and Functions
Topic: [FUNCTION] StdoutToVar with exit code
Replies: 30
Views: 15181

Re: [FUNCTION] StdoutToVar with exit code

replace ""UTF-8"" as A_FileEncoding works under chinese win7 64.
by magusneo
03 Feb 2014, 08:48
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
Replies: 820
Views: 493927

Re: SciTE4AutoHotkey v3.0.04.01 [Updated Dec 24 2013]

Can it autocomplete anything words user typed besides syntax words?
by magusneo
22 Nov 2013, 03:22
Forum: Ask For Help
Topic: Probably a bug in ActiveX > Shell.Explorer > WB Events
Replies: 5
Views: 3115

Re: Problem: ActiveX/Shell.Explorer/WB_Events/StatusTextChan

GUI hangs. CPU always 100% (Single Core).
Win-XP SP3 x86 & IE 8.0


PS:I notice if mouse does not be moved into ActiveX control,CPU will keep about 20%.Once mouse moved into ActiveX control.CPU will keep 100%.
by magusneo
10 Nov 2013, 02:23
Forum: Ask For Help
Topic: Does VarSetCapacity not work for class variable?
Replies: 2
Views: 1562

Re: Does VarSetCapacity not work for class variable?

Learned more about class in AHK.Thanks.
by magusneo
09 Nov 2013, 22:05
Forum: Ask For Help
Topic: Does VarSetCapacity not work for class variable?
Replies: 2
Views: 1562

Does VarSetCapacity not work for class variable?

"VarSetCapacity" Can't get correct outputs,"SetCapacity" works. class myclass{ static field:="1234567890" __New(p){ VarSetCapacity(this.field,256) ;~ this.SetCapacity("field", 256) StrPut("abc", this.GetAddress("field")) MsgBox, % StrGet(this.GetAddress("field"),10) MsgBox,% this.field } }
by magusneo
09 Nov 2013, 01:31
Forum: Ask For Help
Topic: How can I pass a single number char in DLLCALL?
Replies: 3
Views: 1724

Re: How can I pass a single number char in DLLCALL?

Thank you,I will use Asc(Var) then.
by magusneo
08 Nov 2013, 22:07
Forum: Ask For Help
Topic: How can I pass a single number char in DLLCALL?
Replies: 3
Views: 1724

How can I pass a single number char in DLLCALL?

There is c function expecting char arguments like this: DLLIMPORT void HelloWorld (char c) { char temp[256]; sprintf(temp,"passed char 0x%x!\n",c); MessageBox (0, (LPCTSTR)temp, "Hi", MB_ICONINFORMATION); } I tried 1. var:="1" DllCall("Project1.dll\HelloWorld","astr",var . "") 2. var:="1" DllCall("P...
by magusneo
12 Oct 2013, 07:27
Forum: Ask For Help
Topic: ReadMemoryText - Something's not quite right
Replies: 3
Views: 2192

Re: ReadMemoryText - Something's not quite right

You should use StrGet in ReadMemoryText().
by magusneo
01 Oct 2013, 23:51
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey Themes
Replies: 71
Views: 73636

Re: SciTE4AutoHotkey Themes

Very good,Thank you for sharing!
by magusneo
01 Oct 2013, 22:38
Forum: Ask For Help
Topic: How to use SendMessage & OnMessage in V2?
Replies: 2
Views: 3116

Re: How to use SendMessage & OnMessage in V2?

Thanks.I prefer this style:

Code: Select all

SendMessage(0x4a, 0, &CopyDataStruct,, TargetScriptTitle)


It seems V2 also have issues http://www.autohotkey.com/board/topic/9 ... itor-fail/ like V1.
by magusneo
01 Oct 2013, 19:42
Forum: Ask For Help
Topic: How to use SendMessage & OnMessage in V2?
Replies: 2
Views: 3116

How to use SendMessage & OnMessage in V2?

I trid follow scripts,ErrorLevel always be set "Error" after SendMessage.These scripts comes from V1's examples.It works in V1.Why not in V2? send.ahk TargetScriptTitle:="rev.ahk ahk_class AutoHotkey" #space:: ; Win+Space hotkey. Press it to show an InputBox for entry of a message string. InputBox, ...

Go to advanced search