Search found 473 matches

by hasantr
21 May 2020, 05:45
Forum: Ask For Help
Topic: Add Sub Object Topic is solved
Replies: 2
Views: 58

Re: Add Sub Object Topic is solved

Insert is deprecated. You can do like this, AssociativeArray := { subObje : { "TestKey": "TestValue" , "TestKey2": "TestValue2" , "TestKey3": "TestValue3" } } MsgBox % AssociativeArray.subObje.TestKey MsgBox % AssociativeArray.subObje.TestKey2 MsgBox % AssociativeArray.subObje.TestKey3 And, Associa...
by hasantr
21 May 2020, 05:15
Forum: Ask For Help
Topic: How can I get the memory usage of a process? Topic is solved
Replies: 10
Views: 1179

Re: How can I get the memory usage of a process? Topic is solved

Quick and Dirty Usage: OwnPID := DllCall("GetCurrentProcessId") MsgBox % GetProcessMemoryUsage(OwnPID) " MB" Process, Exist, % "firefox.exe" MsgBox % GetProcessMemoryUsage(ErrorLevel) " MB" Function: GetProcessMemoryUsage(ProcessID) { static PMC_EX, size := NumPut(VarSetCapacity(PMC_EX, 8 + A_PtrSi...
by hasantr
21 May 2020, 04:31
Forum: Ask For Help
Topic: Add Sub Object Topic is solved
Replies: 2
Views: 58

Add Sub Object Topic is solved

I couldn't find the way to add sub-objects. AssociativeArray := {} subObje := {} AssociativeArray.Insert(subObje) AssociativeArray.subObje.Insert("TestKey", "TestValue") AssociativeArray.subObje.Insert("TestKey2", "TestValue2") AssociativeArray.subObje.Insert("TestKey3", "TestValue3") MsgBox % Assoc...
by hasantr
20 May 2020, 20:05
Forum: Scripts and Functions
Topic: Memory Decreasing Function of Transactions
Replies: 5
Views: 340

Re: Memory Decreasing Function of Transactions

@jNizM
can we see how much RAM an application is taking?
To clean only those who use a lot of ram.
by hasantr
20 May 2020, 18:26
Forum: Ask For Help
Topic: RAM memory
Replies: 2
Views: 92

Re: RAM memory

by jNizM https://www.autohotkey.com/boards/viewtopic.php?f=6&t=75883&p=328664#p328653 Global ProcessList := {"Chrome.exe":1,"WinRAR.exe":1,"notepad.exe":1,"Photoshop.exe":1} FreeMemory() FreeMemory() { Global ProcessList for objItem in ComObjGet("winmgmts:").ExecQuery("SELECT * FROM Win32_Process") ...
by hasantr
20 May 2020, 14:00
Forum: Editors
Topic: AHK Gen.com - looking for beta testers for new features
Replies: 4
Views: 370

Re: AHK Gen.com - looking for beta testers for new features

@mshafer1
Can you explain a little?
by hasantr
20 May 2020, 05:53
Forum: Scripts and Functions
Topic: ScanSubnet() - Fast [WMI] IP Scanner, Ping() [WMI]
Replies: 4
Views: 1343

Re: ScanSubnet() - Fast [WMI] IP Scanner, Ping() [WMI]

@CyL0N
It was something I needed a lot.
Teşekkürelr.
by hasantr
20 May 2020, 05:51
Forum: Scripts and Functions
Topic: Ping4 - IPv4 ping function (2015-07-16)
Replies: 14
Views: 11500

Re: Ping4 - IPv4 ping function (2015-07-16)

What is the way to quickly scan devices on my network. It was very slow I tried.
by hasantr
19 May 2020, 20:58
Forum: Offtopic
Topic: Report False-Positives To Anti-Virus Companies
Replies: 57
Views: 240895

Re: Report False-Positives To Anti-Virus Companies

An antivirus that has just joined VirusTotale has detected Autohotkey as harmful.
I reported False Positives from this link.
https://www.secureaplus.com/features/antivirus/report-false-positive/
by hasantr
19 May 2020, 05:43
Forum: Offtopic
Topic: Report False-Positives To Anti-Virus Companies
Replies: 57
Views: 240895

Re: Report False-Positives To Anti-Virus Companies

I notified MaxSecure, who thought Autohotkey.exe was harmful, with this mail. They said it would be resolved in the next update.

[email protected]
by hasantr
18 May 2020, 17:25
Forum: Ask For Help
Topic: Regexp Help Topic is solved
Replies: 5
Views: 103

Re: Regexp Help Topic is solved

Thank you @Kazan . Thanks to you, we learn a lot.
by hasantr
18 May 2020, 17:00
Forum: Ask For Help
Topic: Regexp Help Topic is solved
Replies: 5
Views: 103

Re: Regexp Help Topic is solved

This does it without the 1:, 2:, 3: prefixes: Clip = ( List of devices attached C4F12571E35588E device product:GT-P7300 model:GT_P7300 device:p5 transport_id:4 f2554a3d0205 device product:daisy_sprout model:Mi_A2_Lite device:daisy transport_id:6 192.168.1.35:5556 device product:daisy_sprout model:M...
by hasantr
18 May 2020, 16:39
Forum: Ask For Help
Topic: Regexp Help Topic is solved
Replies: 5
Views: 103

Regexp Help Topic is solved

Can it be done in one line with Regexp? I want to take the model. String: List of devices attached C4F12571E35588E device product:GT-P7300 model:GT_P7300 device:p5 transport_id:4 f2554a3d0205 device product:daisy_sprout model:Mi_A2_Lite device:daisy transport_id:6 192.168.1.35:5556 device product:da...
by hasantr
18 May 2020, 14:00
Forum: Scripts and Functions
Topic: RunCMD()
Replies: 47
Views: 3258

Re: RunCMD()

Ha, ha you got two almost identical answers at the same time. SKAN already predicted your problem. Read it once again and try it with "notepad.exe"! A_Args.RunCMD.PID := 0 makes the while loop to exit at next repetition (which obviously sometimes last to start longer that you would like) Process, C...
by hasantr
18 May 2020, 04:58
Forum: Scripts and Functions
Topic: RunCMD()
Replies: 47
Views: 3258

Re: RunCMD()

SKAN rommmcek Teşekkür ederim. Thank you for explaining the logic of work. Setting ping time as a parameter is not suitable for Android devices. If the device does not answer, the ADB makes a long wait in any case.  But I can now do this by looking at your examples. Thanks again. Should I cancel th...
by hasantr
18 May 2020, 03:16
Forum: Scripts and Functions
Topic: RunCMD()
Replies: 47
Views: 3258

Re: RunCMD() - Code updated

q:: A_Args.RunCMD.PID := 0 Process, Close, % A_Args.RunCMD.PID return What exactly do you expect to happen when you do that? Effectively you are doing a Process, Close, 0 I suggested you use one of those line.. not both together. For example, I can run two commands. If we just want to end one? Auto...
by hasantr
16 May 2020, 03:51
Forum: Scripts and Functions
Topic: Function: IniRead()
Replies: 22
Views: 5068

Re: Function: IniRead()

Hi there, This would be my mod of the class. Basically, I extended it with handling default values, changed the While to a For Loop and modified the RegEx to handle comments correctly. Thus, I hope it is more robust against human interaction with the ini file. IniFileName := A_ScriptDir "\MyIniFile...
by hasantr
16 May 2020, 03:03
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 142
Views: 55120

Re: FindClick() - ImageSearch, Clicking, & More [Newest Version]

Hey! Sorry I've been away from AutoHotkey for a while, but thank you so much to all of those who have been answering questions on here, you guys are the best! boiler is right, usually Windows will automatically apply a scaling factor without telling you. In many applications (though not all) this w...
by hasantr
15 May 2020, 20:05
Forum: Ask For Help
Topic: Open AHK Extension Script With Autohotkey.dll
Replies: 4
Views: 149

Re: Open AHK Extension Script With Autohotkey.dll

Not to sound rude or anything, but if the anti-virus keeps giving false positives, why not move to a new anti-virus? the problem is not on my computer. I want to share my applications on the internet. But most people think they are dangerous because of virusTotal. I can't get too many users without...
by hasantr
15 May 2020, 16:06
Forum: Ask For Help
Topic: Open AHK Extension Script With Autohotkey.dll
Replies: 4
Views: 149

Re: Open AHK Extension Script With Autohotkey.dll

Smile_ wrote:
15 May 2020, 13:52
Why you don't just make exception for Autohotkey program files?
Compiling the script as exe always results in false positives.
But ahk dll and exe are not perceived as positive. Virustotal gives false positives even when compiling an empty script. Complete disgrace.

Go to advanced search