New Beta

Jerry — MacSolutions jerry at macsolutionsltd.com
Sat Feb 9 15:45:28 PST 2008


Here are the values...  It works well and seems just as fast doing  
this.  You just throw this in the "On" side of things and ignore the  
"Off" script.

Jp


if (time delta of (thisUnit)) > 1 then	
	write log "*** Keychain command received ***"

	if (command) = 6 then
		turnon "Alarm Switch"
		write log "***  Alarm Activate ***"
	end if
	if (command) = 134 then
		turnoff "Alarm Switch"
		write log "***  Alarm Off ***"
	end if
	if (command) = 70 then
		if (time delta of (thisUnit)) > 1 then execute script "Evening Script"
		write log "***  All Lights On ***"
	end if
	if (command) = 198 then
		execute script "Good Morning Off"
		write log "***  All Lights Off ***"
	end if
	
end if


On Feb 9, 2008, at 2:09 PM, Scott Gardner wrote:

> OK, no problem, things are running pretty smooth here and I have  
> plenty of other things to keep me busy at this point. Like this  
> morning I just finished installing a new fan, 7200 RPM, 100G hard  
> drive and more memory in my 12" PowerBook G4. Now I get to see if I  
> can install the OS. Wish me luck!
>
> When Jerry mentioned the Security Key Remote it reminded me of  
> something I should ask. I just started playing around with one of  
> these things and when I hit the "ARM" button it runs my "on" script  
> as expected. However, when I hit the "DISARM" button it also runs  
> the "on" script. I was thinking it should run the "off" script.  
> Whazzup with this?
>
> Thanks,
>
> -- Scott --




More information about the XTensionlist mailing list