Tuicemen.com

Advanced search  

News:

Share your Automated House and Ideas in the Members Section! :0~

Pages: [1]

Author Topic: Complete list of commands and syntax?  (Read 1656 times)

kimnach

  • Forum Supporter!
  • Newbie
  • *****
  • Helpful Rating: 0
  • Offline Offline
  • Posts: 3
Complete list of commands and syntax?
« on: November 12, 2013, 05:51:41 am »

Yes, I've looked at sample macros and the macro programming guides and have corrected some of the errors I made.  Yet, two simple and  illuminating issues cause me to ask if there is a complete listing of commands (at least not that I could find in the forums) and their proper syntax.

1. If/ELSE/ENDIF.  If I set a flag as true prior to the conditional, then I would assume that the condition would be "If,myflag" (much like "If,IsDay"); however, only by looking at some macros did I find that it's "If,Flag,myflag,T/F".  Oh, this begs the question: are there booleans along the lines of "If,Flag,(myflag1,AND,myflag2),T/F"?

2.  I found that the CreateFlag,myflag,False results in the creation of the myflag with an initial value of True.  This command must be followed by SetFlag,myflag,False in order for it to work as intended.

thanks,
greg

Logged

Tuicemen

  • Administrator
  • Hero Member
  • *****
  • Helpful Rating: 24
  • Offline Offline
  • Posts: 3151
  • Making Home Automation Fun!
    • Tuicemen.com
Re: Complete list of commands and syntax?
« Reply #1 on: November 18, 2013, 01:26:17 pm »

I created a macro UI that had most of the options coded in.
However this is a bit dated but may help you with some macro issues.
I had planed to update this and if some free programing time opens up I'll get at it. ::) :`)
ITGuy may be able to supply extra option info.
The ihouse macro UI can be found here: MacroUI
Place the exe file in the ihouse root directory you can start it directly or from inside ihouse at the macro tab.
Logged
Get the inside scoop and member perks in the
Members Only Section!

Please don't email me Automation questions 
The forum is for that!

Tuicemen

  • Administrator
  • Hero Member
  • *****
  • Helpful Rating: 24
  • Offline Offline
  • Posts: 3151
  • Making Home Automation Fun!
    • Tuicemen.com
Re: Complete list of commands and syntax?
« Reply #2 on: November 18, 2013, 05:19:37 pm »

You can also find macro use documentation here: http://www.ihousehomeautomation.com/phpBB/viewtopic.php?f=9&t=3
Logged
Get the inside scoop and member perks in the
Members Only Section!

Please don't email me Automation questions 
The forum is for that!
Pages: [1]