XClose
List Archives : http://void.nothingness.org
List Archives

XTension Discussion

Re: help with simple time delta

From: James Sentman <james-AT-sentman.com>
Date: 01 Jul 2009 11:12:25 UTC   (02:12:25 PM in author's locale)
To: xtensionlist-AT-shed.com
On Jul 1, 2009, at 12:50 PM, steven passmore wrote:

>
> All:
>
> I need some help a simple time delta script.
>
> i have a unit (power phase 1) that uses the rfxe interface and the
> device is a rfxmeter
>
> in the on script i try to use
>
> set timedeltapowerphase1 to time delta of "power phase 1"
>
> i get an error in the log
>
> no object was found named "power phase 1"
> power phase 1 OnScript OSAError -1708 : "power phase 1" doesn't
> understand the the time delta message
>
> i am using v6 build 702

Hi Steve,

You've got the verb right, two words and not one, I was then going to
see if it made a difference to use the "of" instead of not as it's not
required by the verb, but it works both ways here...

what is failing is the lookup of the name for some reason. My mind
screams a warning about text encoding. Can you tell me what OS version
you're using? Build 702 contains the fixes for 10.4 or 5 or whenever
it was they started to force applescript to use UTF16 characters
everywhere which broke EVERYTHING for a few moments there...

Can you access this specific unit via any other verb? just do a "write
log (value of "power phase 1")" from the command line and see if you
get the same error, or if that works OK.

Thanks,
James

James Sentman sentman.com MacHomeAutomation.com


_______________________________________________
XTensionlist mailing list
XTensionlist-AT-shed.com
lists.shed.com/mailman/listinfo/xtensionlist
Previous message in thread   |   Next message in thread

Thread

Sending UPB Communication Packet / Mark Johannessen / 29 Jun 2009
Re: help with simple time delta / Hendrik van Eeden <hvaneeden-AT-comcast.net> / 01 Jul 2009
Re: help with simple time delta / James Sentman <james-AT-sentman.com> / 01 Jul 2009
Re: help with simple time delta / steven passmore <steve-AT-passmore.us> / 01 Jul 2009
Antenna Hack of Motion Sensor / Jack Stewart <jacks-AT-amug.org> / 01 Jul 2009
Control of Powerhorns / Jack Stewart <jacks-AT-amug.org> / 03 Jul 2009
Re: Control of Powerhorns / James Sentman <james-AT-sentman.com> / 03 Jul 2009
Re: Control of Powerhorns / Jack Stewart <jacks-AT-amug.org> / 03 Jul 2009

* List Archives

IMC GeneralRA-LThe Graphics ListThe Situationist ListXTension Discussion
 

This site made manifest by Manifesto software