Search found 83 matches

by megnatar
26 Jul 2016, 14:18
Forum: Ask For Help
Topic: Hold down ALT, press few keys, release the ALT key. Script completes an action. How do I do this?
Replies: 1
Views: 986

Re: Hold down ALT, press few keys, release the ALT key. Script completes an action. How do I do this?

This is explained at the very beginning of the help file. It's actually the first topic. You should read it for it will be you're guide in understanding AHK and programing in general. Read topic Basic Usage and Syntax -> Hotkeys. The most basic way to do what you want is: #NoEnv #Persistent !1::Run ...
by megnatar
26 Jul 2016, 13:08
Forum: Scripts and Functions
Topic: .NET Framework Interop (CLR, C#, VB)
Replies: 153
Views: 50396

Re: .NET Framework Interop (CLR, C#, VB)

Ooo sweet feature to the language :D. Thanks for this awesome library and the ongoing development of autohotkey!
by megnatar
26 Jul 2016, 12:19
Forum: Scripts and Functions
Topic: ToggleNic, and DuMeter
Replies: 37
Views: 10058

Re: Turn Network device on/off by application

Update:
Moved the bandwidth meter to the top side of the monitor.
Converted the units B/KiB/MB from the bandwidth meter to the correct values.
Rounded up the units to two decimal points.

ToDo:
Change the bandwidth meter tooltip to a gui, so it can be placed anywhere on the screen.
by megnatar
24 Jul 2016, 00:54
Forum: Scripts and Functions
Topic: ToggleNic, and DuMeter
Replies: 37
Views: 10058

Re: Turn Network device on/off by application

Update:
Added bandwidth meter.
Moved the options in tray menu to toggle device manually to submenu "ToggleNic Manually"
DU-Meter.png
ToDo:
Need to convert kB/s to MB/s once bandwidth is greater then 1024 kB/s
by megnatar
23 Jul 2016, 14:39
Forum: Scripts and Functions
Topic: ToggleNic, and DuMeter
Replies: 37
Views: 10058

Re: Turn Network device on/off by application

Update:
Added working function for bandwidth monitor. This feature needs further implementation (not fully working yet)
by megnatar
15 Jul 2016, 13:31
Forum: Scripts and Functions
Topic: ToggleNic, and DuMeter
Replies: 37
Views: 10058

Re: Turn Network device on/off by application

Update:
Improved performance:
Reduced the number of 'IF' evaluations
Reduced sleep period from 100 to 10
Corrections made to some spelling here and there.
by megnatar
09 Jul 2016, 19:54
Forum: Scripts and Functions
Topic: ToggleNic, and DuMeter
Replies: 37
Views: 10058

Re: Turn Network device on/off by application

Update: Fixed function GetNicInfo() it sometimes didn't get the IpAddress because the enumerator tried to get all the 61 objects in Win32_NetworkAdapterConfiguration. Kinda silly when I only need 3 value's, so. I replaced the enum with a for loop, iteration occurs only once getting the value's I nee...
by megnatar
08 Jul 2016, 18:07
Forum: Scripts and Functions
Topic: ToggleNic, and DuMeter
Replies: 37
Views: 10058

Re: Turn Network device on/off by application

Indeed, from reading the hotkey manual I now know my problem is the array in function GetIpInfo(). I think its because it lags the .next() method. Because they IPAddress key is actually a array by itself and will hold all the addresses available on the system. .next() method terminates the loop when...
by megnatar
07 Jul 2016, 04:28
Forum: Scripts and Functions
Topic: ToggleNic, and DuMeter
Replies: 37
Views: 10058

Re: Turn Network device on/off by application

Oke, I need to check how the script behaves when it's running from a account with basic user rights.
I will get back on this later, as I have little time at the moment.

Thanks for the input!
by megnatar
05 Jul 2016, 14:43
Forum: Scripts and Functions
Topic: [AutoHotkey Programming Tools] + awesome-AutoHotkey list.
Replies: 102
Views: 100842

Re: [AutoHotkey Programming Tools]

WMI code creator is, by now, rather old. Though it still works fine, there is a very well written and more advanced tool available on the codeplex site.

WMI Explorer
WmiExplorer.gif
by megnatar
05 Jul 2016, 14:26
Forum: Scripts and Functions
Topic: ToggleNic, and DuMeter
Replies: 37
Views: 10058

Re: Turn Network device on/off by application

Hey megnatar Now it's working fine but can't we disable two network connection or multiple network connections at the same time & and can't we just enable and disable via a keyboard shortcut for example press start+shift+e to toggle enable/disable the network connections Sure I could make it in suc...
by megnatar
05 Jul 2016, 14:08
Forum: Ask For Help
Topic: Question about: GroupAdd
Replies: 2
Views: 375

Re: Question about: GroupAdd

GroupAdd Since the entries in each group need to be added only once, this command is typically used in the auto-execute section (top part of the script). Attempts to add duplicate entries to a group are ignored. When in doubt check the docs. HTH Thanks for the replay. I probably missed this part "A...
by megnatar
05 Jul 2016, 13:31
Forum: Scripts and Functions
Topic: ToggleNic, and DuMeter
Replies: 37
Views: 10058

Re: Turn Network device on/off by application

2 things: 1 - Add something to see if the NIC is ON/OFF 2 - when the gui is closed with the 'X', the script is still running in the background. One: Like I explained in my post. The device status is shown through the tray icon and the mouse over tool tip. What is you're OS version? Two: It suppose ...
by megnatar
03 Jul 2016, 21:00
Forum: Ask For Help
Topic: Question about: GroupAdd
Replies: 2
Views: 375

Question about: GroupAdd

Hey people! I have a very specific question about the command GroupAdd. When I add a application the a group with GroupAdd, AppGroup, Ahk_exe Application.exe And I add the same exe again in exact the same way. Will the window group then hold a new entry for that group ore will the command GroupAdd j...
by megnatar
03 Jul 2016, 11:55
Forum: Scripts and Functions
Topic: ToggleNic, and DuMeter
Replies: 37
Views: 10058

Re: Turn Network device on/off by application

Small update:
Added sleep here and there to give the script some time to finish it's actions.
Fixed: tray icon failed sometimes to load properly.
Correction made to typo's
ToolTip.png
ToolTip.png (10.8 KiB) Viewed 4741 times
by megnatar
02 Jul 2016, 14:36
Forum: Gaming
Topic: AutoRun / AutoWalk
Replies: 3
Views: 8289

Re: AutoRun / AutoWalk

Update:
The w key now also can be used as key to toggle autowalk on or off.
by megnatar
21 Jun 2016, 06:15
Forum: Ask For Help
Topic: Modifier ghost key
Replies: 3
Views: 538

Re: Modifier ghost key

Okeeee, really it's that simple how obvious :headwall:
thank you !

What did our queen say years past to her husband "hij is een beetje dom"
kinda feel like that now :D

great tip thank you
by megnatar
21 Jun 2016, 05:33
Forum: Ask For Help
Topic: Modifier ghost key
Replies: 3
Views: 538

Modifier ghost key

Hey there For some reason my autowalk/autorun function is sending modifier key lshift down and up. But none is specified in the script. There is nothing in the script that comes anything near >+, vk A0 ore sc 02A. Although at first I thought the problem was within variable AnyKey with the n represen...
by megnatar
21 Jun 2016, 05:17
Forum: Gaming
Topic: AutoRun / AutoWalk
Replies: 3
Views: 8289

AutoRun / AutoWalk

How to use: In most games W is used to "move" forward. Thus when calling this function it will simulate a W key down. You can call this function from any hotkey in you're script. Press the key once to move forward, press it again to stop moving. Clicking the left mouse button or pushing W down also ...
by megnatar
20 Jun 2016, 18:11
Forum: Gaming
Topic: General program Launcher
Replies: 14
Views: 5239

Re: General program Launcher

Update: Changes: - Replaced old if(admin = true) for creating RunAssAdmin button with variable vElevate. - When elevated. A reset back to user credentials tels the user to manually restart. - Gui starts centered when launched for the first time, ore after a script reset. - changed some inconsistent ...

Go to advanced search