Small Problem with 924

Hendrik van Eeden hvaneeden at comcast.net
Sun Feb 28 12:14:05 EST 2016


You don’t need all this.  Just set the last item of thisMachineIP to 1.  thisMachineIP is already in the form xxx.xxx.xxx.xxx

Henk



> On Feb 28, 2016, at 11:36 AM, George Handley <ghandley at kc.rr.com> wrote:
> 
> on getRouterIP()
> 	set thisMachineIP to IPv4 address of (system info)
> 	set text item delimiters to "."
> 	set routerIP to ¬
> 		first text item of thisMachineIP & ¬
> 		"." & second text item of thisMachineIP & ¬
> 		"." & third text item of thisMachineIP & ¬
> 		".1"
> 	set text item delimiters to ""
> 	return routerIP
> end getRouterIP

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.machomeautomation.com/pipermail/xtensionlist/attachments/20160228/18deeb4c/attachment.html>


More information about the XTensionList mailing list