Search found 407 matches

by User
16 Jan 2019, 12:26
Forum: Scripts and Functions (v1)
Topic: [Functions] - OnWin() - On_WinType_Event() - etc (SHELL HOOK)
Replies: 16
Views: 7012

Re: [Functions] - OnWin() - On_WinType_Event() - etc (SHELL HOOK)

murataygun wrote:
16 Jan 2019, 12:08
AHK : 1.1.30.1 Unicode 64 bit.
AHK_L 1.1.30.1 Unicode 64 bit - Win 7 Professional 64 bit (No issues found!)

Sorry, I can't test on windows 10!
by User
16 Jan 2019, 12:09
Forum: Scripts and Functions (v1)
Topic: [Functions] - OnWin() - On_WinType_Event() - etc (SHELL HOOK)
Replies: 16
Views: 7012

Re: [Functions] - OnWin() - On_WinType_Event() - etc (SHELL HOOK)

murataygun wrote:
16 Jan 2019, 12:08
AHK : 1.1.30.1 Unicode 64 bit.
error message?
by User
16 Jan 2019, 12:05
Forum: Scripts and Functions (v1)
Topic: [Functions] - OnWin() - On_WinType_Event() - etc (SHELL HOOK)
Replies: 16
Views: 7012

Re: [Functions] - OnWin() - On_WinType_Event() - etc (SHELL HOOK)

murataygun wrote:
16 Jan 2019, 09:56
Didnt worked on windows 10
AHK version? 32\64 bit? Unicode\Ansi?
by User
14 Jan 2019, 16:17
Forum: Ask for Help (v1)
Topic: Sorting Rows of 8 Columns (Comma or Tab Separated) Topic is solved
Replies: 18
Views: 3334

Re: Sorting CSV Rows of 8 Columns Topic is solved

carno wrote:
14 Jan 2019, 14:27
Thanks, User! That was more than I expected. I really appreciate your time and I'll save this script as one of the best. :)
You welcome!

[Obs]: ListviewSave() and ListviewLoad() had already been written a long time ago, it just took me 5 to 10 minutes to write the above example code!
by User
14 Jan 2019, 13:19
Forum: Ask for Help (v1)
Topic: Sorting Rows of 8 Columns (Comma or Tab Separated) Topic is solved
Replies: 18
Views: 3334

Re: Sorting CSV Rows of 8 Columns Topic is solved

Hope this help ddd.png csv = (join`r`n Col_1,Col_2,Col_3,Col_4,Col_5,Col_6,Col_7,Col_8 Prospect Capital Corporat,74348TAQ5,141,04/15/20,99.63,5.040,BBB,4.92 Whiting Pete Corp New,966387AL6,25,04/01/20,95.75,4.692,BB,3.88 E M C Corp Mass,568648AQ5,250,06/01/20,97.49,4.456,BB-,4.03 Teva Pharmaceutical...
by User
11 Jan 2019, 23:16
Forum: Scripts and Functions (v1)
Topic: [Function] - MsgBox() - Show simple texts and keep script execution!
Replies: 0
Views: 864

[Function] - MsgBox() - Show simple texts and keep script execution!

Wrote this just for fun! Show simple texts without pausing the script! (Since I put little to no effort on this, it may contain bugs!) 95_ z_ image.gif loop, 3 MsgBox("Press ''F12'' to create more!") MsgBox("Press ''F12'' to create more!", "New Title") msgbox, press ok to exit exitapp F12:: ;_______...
by User
11 Jan 2019, 20:40
Forum: Ask for Help (v1)
Topic: How to get window client area pos? (x y width height)
Replies: 5
Views: 3732

Re: How to get window client area pos? (x y width height)

jeeswg wrote:
11 Jan 2019, 19:58
- Every script I write should work in both x64 and x32, otherwise there would be a bug of some kind.
- I tested the function just now and it worked in both.
Thanks again @jeeswg! Keep the good and hard work! (I wish you all the best in 2019!)
by User
11 Jan 2019, 19:39
Forum: Ask for Help (v1)
Topic: How to get window client area pos? (x y width height)
Replies: 5
Views: 3732

Re: How to get window client area pos? (x y width height)

Thanks @jeeswg! Does it work with AHK 64 bit? ;from WinGetClientPos() - "jeeswg" forum user ;https://www.autohotkey.com/boards/viewtopic.php?p=209004#p209004 gui, +HwndWinId gui, show, w300 h200 WinGetPos, Win_X, Win_Y, Win_W, Win_H, % "ahk_id" WinId VarSetCapacity(RECT, 16, 0) DllCall("user32\GetC...
by User
11 Jan 2019, 18:09
Forum: Ask for Help (v1)
Topic: How to get window client area pos? (x y width height)
Replies: 5
Views: 3732

How to get window client area pos? (x y width height)

How to get window client area pos? (x y width height)

Thanks!
by User
10 Jan 2019, 20:33
Forum: Scripts and Functions (v1)
Topic: [Functions] - OnWin() - On_WinType_Event() - etc (SHELL HOOK)
Replies: 16
Views: 7012

Re: [Functions] - OnWin() - On_WinType_Event() - etc (SHELL HOOK)

Hide \ Destroy Event 97_ z_ image.png gui, +AlwaysOnTop gui, add, text, w50 vNotepad_Counter +border center, 0 gui, add, text, x+5, The "counter" increases every time a "NotePad" window is activated! gui, add, text, xm w50 vPaint_Counter +border center, 0 gui, add, text, x+5, The "counter" increases...
by User
10 Jan 2019, 12:34
Forum: Scripts and Functions (v1)
Topic: [Functions] - OnWin() - On_WinType_Event() - etc (SHELL HOOK)
Replies: 16
Views: 7012

Re: [Functions] - OnWin() - On_WinType_Event() - etc (SHELL HOOK)

In Line example for "On_WinType_Event()" gui, +AlwaysOnTop gui, add, text, w50 vNotepad_Counter +border center, 0 gui, add, text, x+5, The "counter" increases every time a "NotePad" window is activated! gui, add, text, xm w50 vPaint_Counter +border center, 0 gui, add, text, x+5, The "counter" increa...
by User
09 Jan 2019, 08:43
Forum: Scripts and Functions (v1)
Topic: [Tool] - Pre-Editor - Pre-Edit AHK Scripts Before Execution!
Replies: 3
Views: 1328

Re: [Tool] - Pre-Editor - Pre-Edit AHK Scripts Before Execution!

This is a really interesting concept, what kind of scenarios do you use this for? As already mentioned above, "Pre-Editor.exe" can be used to create anonymous functions, avoid code repetitions, associate "Unique_Ids" to different things, and may be useful for many other things that I myself don't e...
by User
08 Jan 2019, 22:51
Forum: Scripts and Functions (v1)
Topic: [Functions] - OnWin() - On_WinType_Event() - etc (SHELL HOOK)
Replies: 16
Views: 7012

Re: [Functions] - OnWin() - On_WinType_Event() - etc (SHELL HOOK)

Shell Hook (Event Messages) https://autohotkey.com/board/topic/80644-how-to-hook-on-to-shell-to-receive-its-messages/#entry116488 1 = HSHELL_WINDOWCREATED 2 = HSHELL_WINDOWDESTROYED (Window hidden or destroyed - click here for more info) 3 = HSHELL_ACTIVATESHELLWINDOW 4 = HSHELL_WINDOWACTIVATED (A h...
by User
08 Jan 2019, 22:46
Forum: Scripts and Functions (v1)
Topic: [Functions] - OnWin() - On_WinType_Event() - etc (SHELL HOOK)
Replies: 16
Views: 7012

[Functions] - OnWin() - On_WinType_Event() - etc (SHELL HOOK)

Hi, I could have written a function something like "OnWin(Event,Function,WinRef,RefMode,Options)" , but using that kind of format limit things a lot! So I decided to use the below methods, which area easier and more practical to use than the function format mentioned above: 98_ z_ Image.png OnWin() ...
by User
08 Jan 2019, 13:20
Forum: Scripts and Functions (v1)
Topic: [Tool] - Pre-Editor - Pre-Edit AHK Scripts Before Execution!
Replies: 3
Views: 1328

Re: [Tool] - Pre-Editor - Pre-Edit AHK Scripts Before Execution!

(v1.1) This version makes use of "Pre_Edit_Script()" v1.3 Function, in which supports "%%#Include_Another.ahkpe_File%%" (useful to keep "%%++UniqueId%%" or "%%++Any_Var%%" correct counting that can be used, for example, to create "Anonymous Functions"!) Pre-Editor (v1.1).rar (The ".rar" file above i...
by User
08 Jan 2019, 13:18
Forum: Scripts and Functions (v1)
Topic: [Tool] - Pre-Editor - Pre-Edit AHK Scripts Before Execution!
Replies: 3
Views: 1328

[Tool] - Pre-Editor - Pre-Edit AHK Scripts Before Execution!

v1.1 (click here) v1.0 (click here) Basically, set windows to always run ".ahkpe" extension files with "Pre-Editor.exe" - Example, run "Test.ahkpe" - "Pre-Editor.exe" will automatically pre-edit script from "Test.ahkpe" file - "Pre-Editor.exe" will store the pre-edited script in "Test.ahkpe.ahk" fi...
by User
03 Jan 2019, 00:04
Forum: Ask for Help (v1)
Topic: Is there any way to create a function dynamically? Topic is solved
Replies: 13
Views: 3808

Re: Is there any way to create a function dynamically? Topic is solved

(Pre-Editor v1.0) Now I can finally write ahk scripts smoothly, nicely, easily, and of course, dynamically! Thanks for All your HELP!!! Basically, set windows to always run ".ahkpe" extension files with "Pre-Editor.exe" - Example, run "Test.ahkpe" - "Pre-Editor.exe" will automatically pre-edit scrip...
by User
01 Jan 2019, 21:12
Forum: Ask for Help (v1)
Topic: How to get Script Content? Topic is solved
Replies: 1
Views: 428

Re: How to get Script Content? Topic is solved

Well, I realized that "FileRead" suits better for what i need than "#Include"

Anyway, if there is a workaround for "#Include", share here!
by User
01 Jan 2019, 20:25
Forum: Ask for Help (v1)
Topic: How to get Script Content? Topic is solved
Replies: 1
Views: 428

How to get Script Content? Topic is solved

Hi,

Lets say "A.ahk" contains the below code:

msgbox, A

Lets say "B.ahk" contains the below code:

#Include, A.ahk

msgbox, B

Is there any built-in variable or function or whatever that returns "B" script Content as shown below?

msgbox, A

msgbox, B
by User
01 Jan 2019, 12:08
Forum: Ask for Help (v1)
Topic: Is there any way to create a function dynamically? Topic is solved
Replies: 13
Views: 3808

Re: Is there any way to create a function dynamically? Topic is solved

(v1.2) ++Var Operator supported now! (This can be used, for example, to create Anonymous Functions, etc, etc, etc)! 92_ Image.gif Script = (join`r`n xxx := "111" yyy := "222" zzz := "333" ;ttt := "44444" gui, add, text, , `%`%xxx`%`% `%`%yyy`%`% `%`%zzz`%`% `%`%;ttt`%`% gui, add, text, , `%`%++Count...

Go to advanced search