Search found 447 matches
- 05 Feb 2023, 09:46
- Forum: Ask for Help (v1)
- Topic: Virtual or Physical Network Adapter detection?
- Replies: 7
- Views: 768
Re: Virtual or Physical Network Adapter detection?
https://www.autohotkey.com/boards/viewtopic.php?p=505148#p505148 ? The code from that thread returns exactly this on my computer. Ethernet Wi-fi Code from the opening post of this thread Returns this on my computer... Intel(R) Dual Band Wireless-AC 8260 Hyper-V Virtual Ethernet Adapter #2 VMware Vi...
- 04 Feb 2023, 19:27
- Forum: Ask for Help (v1)
- Topic: Virtual or Physical Network Adapter detection?
- Replies: 7
- Views: 768
Virtual or Physical Network Adapter detection?
This code will give me all the network adapters on my pc. On my pc I have 2 physical adapters and several virtual adapters. How can I modify the code to tell me which are physical and which are virtual? objWMIService := ComObjGet("winmgmts:{impersonationLevel = impersonate}!\\.\root\cimv2") colItems...
- 01 Feb 2023, 15:40
- Forum: Scripts and Functions (v2)
- Topic: [FUNCTION] Net_GetNetworkProfilesInfo
- Replies: 4
- Views: 1002
Re: [FUNCTION] Net_GetNetworkProfilesInfo
@cyruz Would you be able/willing to create another Net_GetNetworkProfilesInfo function to work with AHK V1? Hi DataLife, I'm not using V1 anymore, but I'll have a look into it, not soon! I found another solution, so you don't need to do it for me. thanks I have a V1 script that the method I was usi...
- 01 Feb 2023, 08:19
- Forum: Ask for Help (v1)
- Topic: Get Physical Network Adapters
- Replies: 6
- Views: 869
Re: Get Physical Network Adapters
But winapi doesnot have function to distinguish physical from virtual, therefore We can use wmi, like this: objWMIService := ComObjGet("winmgmts:\\.\root\StandardCimv2") colItems := objWMIService.ExecQuery("SELECT * FROM MSFT_NetAdapter where ConnectorPresent=1")._NewEnum while colItems[objItem] ms...
- 31 Jan 2023, 17:10
- Forum: Ask for Help (v1)
- Topic: Get Physical Network Adapters
- Replies: 6
- Views: 869
Get Physical Network Adapters
This code will get a list of Physical Network Adapters using powershell but it takes about 4 seconds. Anyone know of a way to get a list of Physical Network Adapters faster? SavedClipboard := clipboard RunWait PowerShell.exe Get-NetAdapter -Physical """*""" | clip,,hide for x,y in strsplit(clipboard...
- 31 Jan 2023, 14:10
- Forum: Scripts and Functions (v2)
- Topic: [FUNCTION] Net_GetNetworkProfilesInfo
- Replies: 4
- Views: 1002
Re: [FUNCTION] Net_GetNetworkProfilesInfo
@cyruz
Would you be able/willing to create another Net_GetNetworkProfilesInfo function to work with AHK V1?
Would you be able/willing to create another Net_GetNetworkProfilesInfo function to work with AHK V1?
- 31 Jan 2023, 13:56
- Forum: About This Community
- Topic: AutoHotkey v2 Official Release Announcement - Q&A
- Replies: 41
- Views: 22499
Re: AutoHotkey v2 Official Release Announcement - Q&A
I have version 1 installed. I have scripts that rely on Ansi and scripts that rely on Unicode autohotkey version. I routinely run the installer to install the ansi and the unicode versions. If I install V2 and keep v1 and then later run the v1 installer to change from Ansi to Unicode or vice versa, ...
- 13 Dec 2022, 23:16
- Forum: Scripts and Functions (v1)
- Topic: Function for finding the day of any date
- Replies: 12
- Views: 1620
Re: Function for finding the day of any date
I also always get "The Date given is invalid, please try again"
Is this for Autohotkey V2?
Is this for Autohotkey V2?
- 15 Oct 2022, 09:10
- Forum: Scripts and Functions (v1)
- Topic: TreeViewFileBrowser
- Replies: 2
- Views: 1045
Re: TreeViewFileBrowser
I get 404 when I click on the Git Hub link.
I found his TreeViewFileBrowser script at ....
https://github.com/jasc2v8/AutoHotkey/tree/main/AHK/TreeViewFileBrowser
I found his TreeViewFileBrowser script at ....
https://github.com/jasc2v8/AutoHotkey/tree/main/AHK/TreeViewFileBrowser
- 14 Jun 2022, 18:59
- Forum: Ask for Help (v1)
- Topic: tOGGLE cASE
- Replies: 12
- Views: 1432
Re: tOGGLE cASE
Although + refers to multiple consecutive matches, if you test it and it comes out the same, then there is no important difference. Explained: Plus sign I increased the text file characters to 2.4 million. Time elapse was around 290 ms. I added the plus sign and the time elapse was around 150 ms. P...
- 14 Jun 2022, 18:26
- Forum: Ask for Help (v1)
- Topic: tOGGLE cASE
- Replies: 12
- Views: 1432
Re: tOGGLE cASE
I don't remember where I found this...what is the difference?teadrinker wrote: ↑13 Jun 2022, 21:55Why not like this:Code: Select all
text := RegExReplace(text, "([a-z]+)|([A-Z]+)", "$U1$L2")
Code: Select all
text := RegExReplace(text, "([A-Z])|([a-z])", "$L1$U2")
- 13 Jun 2022, 19:57
- Forum: Ask for Help (v1)
- Topic: tOGGLE cASE
- Replies: 12
- Views: 1432
Re: tOGGLE cASE
FileRead, str, %A_ScriptDir%\test.txt len := StrLen(str) start := A_TickCount toggled := caseToggle(str) elapsed := A_TickCount - start MsgBox, 64, Result, Length: %len%`n`nElapsed: %elapsed% ms caseToggle(str) { Loop, Parse, str { If A_LoopField is upper out .= Format("{:L}", A_LoopField) Else If ...
- 13 Jun 2022, 18:29
- Forum: Ask for Help (v1)
- Topic: tOGGLE cASE
- Replies: 12
- Views: 1432
Re: tOGGLE cASE
I believe I found the solution here. I just need to do some more testing.
https://www.autohotkey.com/board/topic/63122-change-the-case-of-a-string-five-options/
https://www.autohotkey.com/board/topic/63122-change-the-case-of-a-string-five-options/
- 13 Jun 2022, 18:16
- Forum: Ask for Help (v1)
- Topic: tOGGLE cASE
- Replies: 12
- Views: 1432
tOGGLE cASE
I just need a simple Toggle Case like MS Word tOGGLE cASE I searched the forum extensively and found this https://www.autohotkey.com/board/topic/24431-convert-text-uppercase-lowercase-capitalized-or-inverted/ ^k:: ; Convert text to inverted Lab_Invert_Char_Out:= "" Loop % Strlen(Clipboard) { Lab_Inv...
- 29 Apr 2022, 10:19
- Forum: Scripts and Functions (v1)
- Topic: [Script] Dock-It ( window docker )
- Replies: 23
- Views: 7760
Re: [Script] Dock-It ( window docker )
The width and height slider bars under More do not work for me.
- 28 Apr 2022, 11:56
- Forum: Scripts and Functions (v1)
- Topic: [Script] Dock-It ( window docker )
- Replies: 23
- Views: 7760
Re: [Script] Dock-It ( window docker )
What do the colors of the lock mean? I could not get it to change from green. I right clicked on an empty space while the window was docked and only the windows context menu opened. "Right click on the window ( in a empty space or on the tab ) while it is docked to toggle its lock. It has 3 states ...
- 27 Apr 2022, 17:00
- Forum: Scripts and Functions (v1)
- Topic: [Script] Dock-It ( window docker )
- Replies: 23
- Views: 7760
Re: [Script] Dock-It ( window docker )
This is fantastic. Just what I have been needing. What do the colors of the lock mean? I could not get it to change from green. I right clicked on an empty space while the window was docked and only the windows context menu opened. "Right click on the window ( in a empty space or on the tab ) while ...
- 12 Apr 2022, 23:07
- Forum: SciTE4AutoHotkey
- Topic: Update Prompt error(?)
- Replies: 3
- Views: 755
Re: Update Prompt error(?)
The webpage used for the update checks expired recently. Pressing the enter key helped me to close that window. See for example here, for general solutions: https://www.autohotkey.com/boards/viewtopic.php?f=61&t=102535 For me, this worked in Scite4AHK to disable the update checks: Go to Options > O...
- 01 Mar 2022, 22:44
- Forum: Scripts and Functions (v1)
- Topic: JumpToFolder - Use the power of Everything in File Managers and File dialogs
- Replies: 11
- Views: 4525
Re: JumpToFolder - Use the power of Everything in File Managers and File dialogs
Very nice, works as expected. I have been using Everything for many years.
thanks for JumpToFolde
thanks for JumpToFolde
- 26 Oct 2021, 16:22
- Forum: Scripts and Functions (v1)
- Topic: Alert Me
- Replies: 3
- Views: 2311
Re: Alert Me
works great...
thanks
thanks