Search found 460 matches

by DataLife
01 Sep 2023, 15:23
Forum: Ask for Help (v1)
Topic: Get Connected Network Name
Replies: 1
Views: 311

Re: Get Connected Network Name

The issue is not Windows 11 related. I found when going from Wired connection to wireless connection this would remember the wired connection when connected to a wireless connection. DllCall(NumGet(NumGet(INetWork + 0) + A_PtrSize*9), "Ptr", INetWork, "PtrP", pWStr) I changed the PtrSize to 7 and it...
by DataLife
31 Aug 2023, 21:42
Forum: Ask for Help (v1)
Topic: [REQ] Changing Custom CheckFileTime Script
Replies: 6
Views: 393

Re: [REQ] Changing Custom CheckFileTime Script

mikeyww wrote:
31 Aug 2023, 19:24
Hello,

1. When a change is detected, set a timer.
2. When the timer expires, send your special key.
What if the file changed again while the timer was running? Wouldn't you have to keep checking the timestamp and reset the timer if the timestamp changed?
by DataLife
31 Aug 2023, 20:55
Forum: Ask for Help (v1)
Topic: Get Connected Network Name
Replies: 1
Views: 311

Get Connected Network Name

The following code used to work properly for one of my users. Something changed and now it does not retrieve the correct name for his internet connection. It still works properly on windows 10 home and windows 10 pro on my test computers. My user has Windows 11 pro, I do not. The issue is that he ha...
by DataLife
13 Aug 2023, 17:06
Forum: Scripts and Functions (v1)
Topic: [Function] VarWrite \ VarRead - A little bit faster alternative to IniWrite \ IniRead [Function]
Replies: 3
Views: 1611

Re: [Function] VarWrite \ VarRead - A little bit faster alternative to IniWrite \ IniRead [Function]

I was looking for a way to write case sensitive section labels to an INI file and I came across this. I believe this is what I need. I will need to write the "var" to a text file and then read that same text file the next time the script is ran. Basically this stores a case sensitive ini file in mem...
by DataLife
15 Jun 2023, 20:53
Forum: Scripts and Functions (v1)
Topic: Get the URL of the current (active) browser tab
Replies: 197
Views: 142068

Re: Get the URL of the current (active) browser tab

I just got the exact same error again (I checked and the screenshots are identical). This time it happened in Chrome when I closed a Google Calendar tab and it switched to a Google drive tab. A hypothesis would be that the problem arises from the following code: For nChild, accChild in Acc_Children...
by DataLife
15 Jun 2023, 16:55
Forum: Scripts and Functions (v1)
Topic: Get the URL of the current (active) browser tab
Replies: 197
Views: 142068

Re: Get the URL of the current (active) browser tab

I am using this function to get the URL of a tab in Edge. Is there a way to suppress ACC error messages? My script is designed to continue on even if the URL can not be retrieved, but I would like to suppress this error message. Error: 0x80004005 - Unspecified error Source: (null) Description: (null...
by DataLife
15 Mar 2023, 09:06
Forum: Scripts and Functions (v1)
Topic: Context Menu Clipboard History
Replies: 5
Views: 1112

Re: Context Menu Clipboard History

I like the idea and this is very easy to use, however, this script does not completely paste large clipboards. Sometimes, only 150 out of 2000, sometimes only 330 out of 528 lines of code is pasted. It splits large clipboards into 5 separate entries in the context menu and none of them are the comp...
by DataLife
14 Mar 2023, 00:49
Forum: Scripts and Functions (v1)
Topic: Context Menu Clipboard History
Replies: 5
Views: 1112

Re: Context Menu Clipboard History

I like the idea and this is very easy to use, however, this script does not completely paste large clipboards. Sometimes, only 150 out of 2000, sometimes only 330 out of 528 lines of code is pasted. It splits large clipboards into 5 separate entries in the context menu and none of them are the compl...
by DataLife
11 Feb 2023, 01:03
Forum: Scripts and Functions (v1)
Topic: Text Based Clipboard Manager w/Gui
Replies: 6
Views: 5906

Re: Text Based Clipboard Manager w/Gui

@DataLife Hello, Hello, Your idea is interesting but searching for clips is tedious and presets have no names when they are busy. Consider this: - ReClip; a Text Reformatting and Clip Management Utility - AutoHotkey Community @ https://www.autohotkey.com/boards/viewtopic.php?f=6&t=28225 - CLCL @ ht...
by DataLife
11 Feb 2023, 00:39
Forum: Scripts and Functions (v1)
Topic: Text Based Clipboard Manager w/Gui
Replies: 6
Views: 5906

Re: Text Based Clipboard Manager w/Gui

ckkeith wrote:
08 Feb 2023, 18:55
Hey, I was going to check it out but I can't get the link to work.
The link works for me.

I added a code box with the full script.
by DataLife
06 Feb 2023, 12:47
Forum: Scripts and Functions (v1)
Topic: Text Based Clipboard Manager w/Gui
Replies: 6
Views: 5906

Re: Text Based Clipboard Manager w/Gui

I am very surprised to see "Viewed 3576 times" but no comments.
by DataLife
05 Feb 2023, 17:51
Forum: Ask for Help (v1)
Topic: Virtual or Physical Network Adapter detection?
Replies: 7
Views: 793

Re: Virtual or Physical Network Adapter detection?

You need here instead of objItem.Description try to get guid property. objWMIService := ComObjGet("winmgmts:{impersonationLevel = impersonate}!\\.\root\cimv2") colItems := objWMIService.ExecQuery("Select * from Win32_NetworkAdapterConfiguration WHERE IPEnabled = True")._NewEnum while colItems[objIt...
by DataLife
05 Feb 2023, 10:20
Forum: Ask for Help (v1)
Topic: Virtual or Physical Network Adapter detection?
Replies: 7
Views: 793

Re: Virtual or Physical Network Adapter detection?

Each code can return all this properties https://learn.microsoft.com/en-us/previous-versions/windows/desktop/legacy/hh968170(v=vs.85) https://learn.microsoft.com/en-us/windows/win32/cimwin32prov/win32-networkadapterconfiguration I suggest You to test properties like id, guid from this 2 classes to ...
by DataLife
05 Feb 2023, 09:46
Forum: Ask for Help (v1)
Topic: Virtual or Physical Network Adapter detection?
Replies: 7
Views: 793

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...
by DataLife
04 Feb 2023, 19:27
Forum: Ask for Help (v1)
Topic: Virtual or Physical Network Adapter detection?
Replies: 7
Views: 793

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...
by DataLife
01 Feb 2023, 15:40
Forum: Scripts and Functions (v2)
Topic: [FUNCTION] Net_GetNetworkProfilesInfo
Replies: 4
Views: 1028

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...
by DataLife
01 Feb 2023, 08:19
Forum: Ask for Help (v1)
Topic: Get Physical Network Adapters
Replies: 6
Views: 888

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...
by DataLife
31 Jan 2023, 17:10
Forum: Ask for Help (v1)
Topic: Get Physical Network Adapters
Replies: 6
Views: 888

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...
by DataLife
31 Jan 2023, 14:10
Forum: Scripts and Functions (v2)
Topic: [FUNCTION] Net_GetNetworkProfilesInfo
Replies: 4
Views: 1028

Re: [FUNCTION] Net_GetNetworkProfilesInfo

@cyruz
Would you be able/willing to create another Net_GetNetworkProfilesInfo function to work with AHK V1?
by DataLife
31 Jan 2023, 13:56
Forum: About This Community
Topic: AutoHotkey v2 Official Release Announcement - Q&A
Replies: 41
Views: 23472

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, ...

Go to advanced search