Help with Storing 3rd Octet of IP as a variable

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
agags333
Posts: 13
Joined: 25 Apr 2017, 23:50

Help with Storing 3rd Octet of IP as a variable

01 May 2017, 01:08

Hi There,
is there a way to store the 3rd octet of an the local IP and store as a variable?

LocalIP = %A_IPAddress1%
Rohwedder
Posts: 7630
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: Help with Storing 3rd Octet of IP as a variable

01 May 2017, 03:40

Hallo,

Code: Select all

StringSplit, LocalIP, A_IPAddress1, .
MsgBox, %LocalIP3%

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Anput, mikeyww and 314 guests