Search found 104 matches
- 30 Nov 2021, 06:54
- Forum: Ask for Help
- Topic: AhkThread and memory usage Topic is solved
- Replies: 4
- Views: 1791
Re: AhkThread and memory usage Topic is solved
You need to release/free the object used for the thread, see AhkThread . Yes. As i asked before; how am i gonna manage it? Thread works with newtwork. It may last 1 second or 20 seconds. How do i know when to terminate that thread. If i wait thread to finish its jop its nonsense to use Multi thread...
- 29 Nov 2021, 12:19
- Forum: Ask for Help
- Topic: AhkThread and memory usage Topic is solved
- Replies: 4
- Views: 1791
Re: AhkThread and memory usage Topic is solved
I guess DynaRun instead of AhkThread did the jop.
- 29 Nov 2021, 07:46
- Forum: Ask for Help
- Topic: AhkThread and memory usage Topic is solved
- Replies: 4
- Views: 1791
AhkThread and memory usage Topic is solved
- I made a small script to log some stats to webdatabase. - My main script runs this thread with some command arguments. AhkThread(postEvent, """Win + Q"" ""Test"" """" " SubStr(VERSION, -9) " " ISAKTIF " ""stat türü""") (This logging activity will be used very often) Everytime i use AhkThread my sc...
- 27 Sep 2021, 16:40
- Forum: Ask for Help (v1)
- Topic: What is circular reference
- Replies: 2
- Views: 443
What is circular reference
What is circular reference and why is it a bad thing?
- 03 Sep 2021, 09:58
- Forum: Ask for Help (v1)
- Topic: Cant Change Key Value **OOP Topic is solved
- Replies: 3
- Views: 312
Re: Cant Change Key Value **OOP Topic is solved
So this worked; Is this kind of structure ok to use? class childFirst { static HaveToBeGlobal := "my global and changable variable" __New() { ;I cant change the key value Father.childFirst.HaveToBeGlobal := "my global and changable variable 222222222222222" } }
- 03 Sep 2021, 09:44
- Forum: Ask for Help (v1)
- Topic: Cant Change Key Value **OOP Topic is solved
- Replies: 3
- Views: 312
Cant Change Key Value **OOP Topic is solved
Why cant i set the "HaveToBeGlobal " anything else?? Father := new Father() class Father { __New() { childFirst := new Father.childFirst childSecond := new Father.childSecond } class childFirst { static HaveToBeGlobal := "my global and changable variable" __New() { ;I cant change the key value this....
- 03 Sep 2021, 09:13
- Forum: Ask for Help (v1)
- Topic: How do we get the Vvariables from gui control in class *OOP Topic is solved
- Replies: 3
- Views: 518
Re: How do we get the Vvariables from gui control in class *OOP Topic is solved
Thank you very much.
- 03 Sep 2021, 07:11
- Forum: Ask for Help (v1)
- Topic: Unobtrusive GUI in the background Topic is solved
- Replies: 12
- Views: 598
Re: Unobtrusive GUI in the background Topic is solved
Maybe search for clickthrough guis in forum.
- 03 Sep 2021, 07:05
- Forum: Ask for Help (v1)
- Topic: How do we get the Vvariables from gui control in class *OOP Topic is solved
- Replies: 3
- Views: 518
How do we get the Vvariables from gui control in class *OOP Topic is solved
How do we get the Vvariable value in "Kaydet" function. (new test()) class test { __New() { static Gui Add, Edit, vEdtValue x34 y33 w120 h21 Gui Add, Button, x36 y76 w80 h23 HWNDhandlehwnd_Kaydet, &OK BF_Kaydet := ObjBindMethod(this, "Kaydet") GuiControl, +g, % handlehwnd_Kaydet, % BF_Kaydet Gui Sho...
- 04 Aug 2021, 15:23
- Forum: Ask for Help (v1)
- Topic: Register Hotkey Inside Class Topic is solved
- Replies: 4
- Views: 507
Re: Register Hotkey Inside Class Topic is solved
That is the cleanest. Thank youswagfag wrote: ↑04 Aug 2021, 14:04yes. dont like it? its fixed in v2
make a function wrapper and use thatCode: Select all
Hotkey(KeyName, Label := "", Options := "") { Hotkey % KeyName, % Label, % Options }
- 04 Aug 2021, 15:21
- Forum: Ask for Help (v1)
- Topic: Register Hotkey Inside Class Topic is solved
- Replies: 4
- Views: 507
Re: Register Hotkey Inside Class Topic is solved
Thank you. @Threadrinker
- 04 Aug 2021, 11:17
- Forum: Ask for Help (v1)
- Topic: Register Hotkey Inside Class Topic is solved
- Replies: 4
- Views: 507
Register Hotkey Inside Class Topic is solved
Is there any way to write that in one line or get it shortened? eldivenBF := this.MalzemeGir.Bind(this, this.Malzemeler.eldiven) Hotkey, MButton & 1, % eldivenBF, On I tried Hotkey, MButton & 1, % eldivenBF := this.MalzemeGir.Bind(this, this.Malzemeler.eldiven), On No luck. I have almost 30 shortcut...
- 03 Aug 2021, 13:39
- Forum: Ask for Help (v1)
- Topic: Best way to run hotkeys/functions of a remote computer's AutoHotkey script?
- Replies: 1
- Views: 610
Re: Best way to run hotkeys/functions of a remote computer's AutoHotkey script?
I use a web server that client scripts checks every two minutes. I enter a command parameter to response that is; Commandid Commandlink Pcname Scripts checks if the pcname is its name or not. Than checks if the commandid allready executed. İf not. Downloads script from link. Creates an ahk thread an...
- 03 Aug 2021, 06:29
- Forum: Ask for Help (v1)
- Topic: [SOLVED] How to call a method using gui with or without creating an instance from it's class
- Replies: 7
- Views: 2085
Re: [SOLVED] How to call a method using gui with or without creating an instance from it's class
How can i bound function to guiClose ? I just want to destroy the gui and the object when user clics to X button on the top right corner of the window.
- 03 Aug 2021, 05:10
- Forum: Ask for Help (v1)
- Topic: Classes and GUIs :confused: Topic is solved
- Replies: 6
- Views: 353
Re: Classes and GUIs :confused: Topic is solved
Thank you very much
- 02 Aug 2021, 10:36
- Forum: Ask for Help (v1)
- Topic: Classes and GUIs :confused: Topic is solved
- Replies: 6
- Views: 353
Re: Classes and GUIs :confused: Topic is solved
How can i use this method with Listview. What should i put in place of Button1, "LV1" ?
- 02 Aug 2021, 05:23
- Forum: Ask for Help (v1)
- Topic: Classes and GUIs :confused: Topic is solved
- Replies: 6
- Views: 353
Classes and GUIs :confused: Topic is solved
Isn't there a simple way passing glabels. Why cant i just pass a method name to a glabel. In the example blow. I just try to pass this.test() as Glabel. Test1 := new TestClass("Test1", 500, 600) ; Test2 := new TestClass("Test2", 450, 400) ; Test3 := new TestClass("Test3", 600, 400) return class Test...
- 30 Jul 2021, 05:22
- Forum: Ask for Help (v1)
- Topic: Understanding "Bind Method" Topic is solved
- Replies: 2
- Views: 265
Re: Understanding "Bind Method" Topic is solved
Very clear. Thank you.
- 30 Jul 2021, 04:36
- Forum: Ask for Help (v1)
- Topic: Understanding "Bind Method" Topic is solved
- Replies: 2
- Views: 265
Understanding "Bind Method" Topic is solved
My script got messy and I'm rewiriting my whole script from the beginning. On the way i'm following OOP principles. I'm reading docs. Figuring out what is the best way. So i could'nt really understand how bind method works. I've used somethin like this. But I have no idea how it works. Can you guide...
- 22 Jul 2021, 06:42
- Forum: Scripts and Functions (v1)
- Topic: CNG (Cryptography API: Next Generation)
- Replies: 101
- Views: 65346
Re: CNG (Cryptography API: Next Generation)
File encryption example?