home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Products
IR Server Suite (IRSS)
Macro / standby issue using MCE remote
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="GoldenEye" data-source="post: 510474" data-attributes="member: 15813"><p>Today, I did my first steps using macros in translator. Very nice feature, indeed! Now, I'm stuck with an issue.</p><p></p><p><strong>What do I want to achieve?</strong></p><p></p><p>When sending MP in standby, I would like the system to check whether my beamer is on and if yes, turn it off.</p><p></p><p></p><p><strong>How do I try to achieve this?</strong></p><p></p><p>In order to achieve this, I use two macros.</p><p></p><p>Macro (1) sets a variable var_xyz = yes when turning on my beamer.</p><p>Macro (2) checks whether var_xyz == yes as soon as I send the system into standby.</p><p></p><p>Macro (1):</p><p>[CODE]<?xml version="1.0" encoding="utf-8" standalone="yes"?></p><p><macro></p><p> <item command="If: var_BeamerOn|==|Yes|TurnOffBeamer|TurnOnBeamer" /></p><p> <item command="Label: TurnOffBeamer" /></p><p> <item command="Blast: SwitchBeamer|Both" /></p><p> <item command="Blast: SwitchBeamer|Both" /></p><p> <item command="Set Variable: var_BeamerOn|No" /></p><p> <item command="Goto Label: End" /></p><p> <item command="Label: TurnOnBeamer" /></p><p> <item command="Blast: SwitchBeamer|Both" /></p><p> <item command="Set Variable: var_BeamerOn|Yes" /></p><p> <item command="Label: End" /></p><p></macro>[/CODE]</p><p></p><p>Macro (2) looks as follows and is assigned to the PC_Suspend event:</p><p>[CODE]<?xml version="1.0" encoding="utf-8" standalone="yes"?></p><p><macro></p><p> <item command="If: var_BeamerOn|==|Yes|TurnOffBeamer|End" /></p><p> <item command="Label: TurnOffBeamer" /></p><p> <item command="Blast: SwitchBeamer|Both" /></p><p> <item command="Blast: SwitchBeamer|Both" /></p><p> <item command="Set Variable: var_BeamerOn|No" /></p><p> <item command="Label: End" /></p><p></macro>[/CODE]</p><p></p><p><strong>The issue</strong></p><p></p><p>Sending my computer into standby using my MCE remote's PC button does not leave enough time to fire the two IR blasts needed for turning off my beamer. The PC goes too fast into standby mode.</p><p></p><p>Any hints about how I could solve this - probably with a completely different approach? </p><p></p><p>Thx in advance,</p><p></p><p>G.</p></blockquote><p></p>
[QUOTE="GoldenEye, post: 510474, member: 15813"] Today, I did my first steps using macros in translator. Very nice feature, indeed! Now, I'm stuck with an issue. [B]What do I want to achieve?[/B] When sending MP in standby, I would like the system to check whether my beamer is on and if yes, turn it off. [B]How do I try to achieve this?[/B] In order to achieve this, I use two macros. Macro (1) sets a variable var_xyz = yes when turning on my beamer. Macro (2) checks whether var_xyz == yes as soon as I send the system into standby. Macro (1): [CODE]<?xml version="1.0" encoding="utf-8" standalone="yes"?> <macro> <item command="If: var_BeamerOn|==|Yes|TurnOffBeamer|TurnOnBeamer" /> <item command="Label: TurnOffBeamer" /> <item command="Blast: SwitchBeamer|Both" /> <item command="Blast: SwitchBeamer|Both" /> <item command="Set Variable: var_BeamerOn|No" /> <item command="Goto Label: End" /> <item command="Label: TurnOnBeamer" /> <item command="Blast: SwitchBeamer|Both" /> <item command="Set Variable: var_BeamerOn|Yes" /> <item command="Label: End" /> </macro>[/CODE] Macro (2) looks as follows and is assigned to the PC_Suspend event: [CODE]<?xml version="1.0" encoding="utf-8" standalone="yes"?> <macro> <item command="If: var_BeamerOn|==|Yes|TurnOffBeamer|End" /> <item command="Label: TurnOffBeamer" /> <item command="Blast: SwitchBeamer|Both" /> <item command="Blast: SwitchBeamer|Both" /> <item command="Set Variable: var_BeamerOn|No" /> <item command="Label: End" /> </macro>[/CODE] [B]The issue[/B] Sending my computer into standby using my MCE remote's PC button does not leave enough time to fire the two IR blasts needed for turning off my beamer. The PC goes too fast into standby mode. Any hints about how I could solve this - probably with a completely different approach? Thx in advance, G. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Products
IR Server Suite (IRSS)
Macro / standby issue using MCE remote
Contact us
RSS
Top
Bottom