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
MediaPortal 1
Development
Improvement Suggestions
Command Line tool to run on start/standby/resume/shutdown etc...
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="dipunm" data-source="post: 71862" data-attributes="member: 23758"><p><strong>Wow</strong></p><p></p><p>Hey thanx for the quick reply, sorry i wast here to read it in time <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite7" alt=":p" title="Stick Out Tongue :p" loading="lazy" data-shortname=":p" /></p><p></p><p>Ive noticed you have a loop, do you have a description of how the script works?</p><p>I was thinking of putting a flag in the program ie. (wat for end) but not shure YET how to do this,. wen i find out ill post it (if its possible) also, thnx agen for input, i hope we can make it work <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /> </p><p></p><p>ps. i used the same command line tool.</p><p></p><p>to use the command line tool</p><p></p><p>use 'MceIrRec -o <insert filename>' and then press the key on your remote (sat/tv remote) that does the function you want it to... </p><p>Do this in command prompt (goto run, type cmd then type cd <insert directory of folder where files are> then type the command above)</p><p></p><p>eg.</p><p>mceirrec -o onoff.irk</p><p></p><p>then to play, basically call MceIrPlay -i <insert filename> -b <insert port number:1 or 2></p><p></p><p></p><p>eg.</p><p>mceirplay -i onoff.irk -b 1</p><p></p><p>finally, creating a batch file, open notepad and write each command on a separate line for each recording you want to play</p><p></p><p>eg.</p><p>mceirplay -i onoff.irk -b 1</p><p>sleep 1</p><p>mceirplay -i av.irk -b 1</p><p>sleep 1</p><p>mceirplay -i av.irk -b 1</p><p>sleep 1</p><p>mceirplay -i av.irk -b 1</p><p>sleep 1</p><p>mceirplay -i av.irk -b 1</p><p></p><p>save as <insert filename>.bat</p><p></p><p>this will turn on my tv and press av 4 times</p><p></p><p>make sure file type is set to any otherwise youll get <filename>.bat.txt and it wont run</p><p></p><p>sleep 1 is a command to make the batch file wait 1 second before continuing (<a href="http://www.computerhope.com/download/utility/sleep.exe" target="_blank">http://www.computerhope.com/download/utility/sleep.exe</a>)</p><p></p><p></p><p>IMPORTANT </p><p>All files must be in same directory</p></blockquote><p></p>
[QUOTE="dipunm, post: 71862, member: 23758"] [b]Wow[/b] Hey thanx for the quick reply, sorry i wast here to read it in time :P Ive noticed you have a loop, do you have a description of how the script works? I was thinking of putting a flag in the program ie. (wat for end) but not shure YET how to do this,. wen i find out ill post it (if its possible) also, thnx agen for input, i hope we can make it work ;) ps. i used the same command line tool. to use the command line tool use 'MceIrRec -o <insert filename>' and then press the key on your remote (sat/tv remote) that does the function you want it to... Do this in command prompt (goto run, type cmd then type cd <insert directory of folder where files are> then type the command above) eg. mceirrec -o onoff.irk then to play, basically call MceIrPlay -i <insert filename> -b <insert port number:1 or 2> eg. mceirplay -i onoff.irk -b 1 finally, creating a batch file, open notepad and write each command on a separate line for each recording you want to play eg. mceirplay -i onoff.irk -b 1 sleep 1 mceirplay -i av.irk -b 1 sleep 1 mceirplay -i av.irk -b 1 sleep 1 mceirplay -i av.irk -b 1 sleep 1 mceirplay -i av.irk -b 1 save as <insert filename>.bat this will turn on my tv and press av 4 times make sure file type is set to any otherwise youll get <filename>.bat.txt and it wont run sleep 1 is a command to make the batch file wait 1 second before continuing ([url]http://www.computerhope.com/download/utility/sleep.exe[/url]) IMPORTANT All files must be in same directory [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
Improvement Suggestions
Command Line tool to run on start/standby/resume/shutdown etc...
Contact us
RSS
Top
Bottom