Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional Forum - View Post
Previous section Next section Previous page Next page Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Page 1 of 2
Topic:
I need two (2) examples of some actions to change actions in to pronto actions scripts?
This thread has 26 replies. Displaying posts 1 through 15.
Post 1 made on Friday June 19, 2009 at 18:19
bnokes@AAVViD
Long Time Member
Joined:
Posts:
June 2009
31
I would like to know how to have pronto script /or C work with how Pronto gets the (Function: Power Off on Onkyo - AV Receiver - TX-SR803 - M_RM_Ext1_P2)
Delay: 0.50 Sec or
Jump: Please Wait.. - Shutting down screen 4 or what ever jump I would like.

((example) (function)(1): (Power Off)(2) on (Onkyo - AV Receiver - TX-SR803)(3) - (M_RM_Ext1_P2 <-Project Components name)(4) )) because these are IR codes it calls to.

So how would I be able to call some of the function in my example and put that in the Actions area that you click and use using ProntoScript, javascript, C, or C++ programing any one of these. I would like to see some examples scripts to help me move along. Please :)

I would like to call the IR codes that are in the database, just like in Actions you click on that Function button and just pick and click for what you want to do and then what equipment you have.


Thank you, for all your time. I really appreciate it.

Last edited by bnokes@AAVViD on June 22, 2009 13:45.
Post 2 made on Saturday June 20, 2009 at 08:17
buzz
Super Member
Joined:
Posts:
May 2003
4,376
bnokes@AAVViD,

Any reasonable number of commands can be attached to any button.

For example:

Receiver OFF
Delay 0.1 seconds
Screen command

I avoid long IR command strings because, if the user moves the transmitter during transmission, some commands may be lost. This is why I prefer RF.

Usually there is no need to wait between commands to different devices, sometimes one needs some "space" between commands. Each situation is unique. When I face unfamiliar devices, I start with no Wait and test and test and test, add delays and test some more.

Look at the input commands in the sample program that is included in the PEP download. Once you understand how the progress bar works, your program will be easy and no ProntoScript is required.

Last edited by buzz on June 20, 2009 23:20.
Post 3 made on Saturday June 20, 2009 at 15:33
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,996
You should likely read and try examples in Dev Guide specifically focusing on executeActions() of the Widget Prontoscript Object extension. There are also other posts in this forum discussing limitations and other points.

Search executeActions and you'll find quite a few hits
Lyndel McGee
Philips Pronto Addict/Beta Tester
OP | Post 4 made on Monday June 22, 2009 at 13:41
bnokes@AAVViD
Long Time Member
Joined:
Posts:
June 2009
31
Well thank you so much i will look in to that some more. I was just trying to get more examples, to help me with some triggers in my brain. That will be the "bing" light bulb.

about using none ProntoScript: I am great at none ProtoScripts, but I need to move on in to deeper waters and explorer the unexplored.

FYI: I did find that in Delays one time that a Delay I had put in wasn't too short and then fixed that and made it longer and it worked find. :)

on the IR / RF I concur. I am using there WiFi and with IR from the RFX9600 and 9400 WiFi

Do you know some Actions Scripting?

Last edited by bnokes@AAVViD on June 22, 2009 15:09.
Post 5 made on Monday June 22, 2009 at 23:30
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,996
Sorry,

I don't understand "Actions Scripting".
Lyndel McGee
Philips Pronto Addict/Beta Tester
OP | Post 6 made on Tuesday June 30, 2009 at 16:43
bnokes@AAVViD
Long Time Member
Joined:
Posts:
June 2009
31
Well thank you for your input
Post 7 made on Wednesday July 1, 2009 at 14:57
bisterfinnen
Long Time Member
Joined:
Posts:
January 2005
103
Magic mushrooms anyone?!
OP | Post 8 made on Tuesday July 7, 2009 at 13:46
bnokes@AAVViD
Long Time Member
Joined:
Posts:
June 2009
31
Programming is like this, is like being on "Magic mushrooms"
Post 9 made on Tuesday July 7, 2009 at 14:15
Barry Gordon
Founding Member
Joined:
Posts:
August 2001
2,157
I am with Lyndel on this. What do you mean by "Action scripts".

Are you referring to associating with a buttons action a block of Protoscript code? That is not a problem and may be freely done. Just beware of issues with nested instances of execute actions as documented in the devlopment guide.
OP | Post 10 made on Monday July 13, 2009 at 22:24
bnokes@AAVViD
Long Time Member
Joined:
Posts:
June 2009
31
Meaning that Actions Tab and in there would be script "Pronto Script and/or Java / C basic "C" or C++ coding works in here for coding.?

Sample:
to bad i can't send pics in this message board if so you may understand better.

ok in ProntoEdit Pro 2
Project Overview:

Insert Activity then Insert Page and in that page you have to put in a button and then you will have Actions Tab. Right?

so in Actions we can put in Functions Action and Jump Action Ok.

so in here you can just click Function and then click (if you have a database of you DVD /or Receiver or what ever) on Project Components and the database IR codes and my would look like this :
" Function: OUTPUT 1 TO IN 1 on Gefen IR Manually - Matrix - HDMI 4x4 " That then is linked to the Select Extender "Extender 0" "IR Port 2"

But now i can't have a Script code. I can only have one or the other. Either click the quick buttons and you can easily have "Function, Delay, Relay, and/or Jump Actions". Or you can write your own Scripts:

So what I want is a sample code that calls the Commands Function that calls your Project Components then the Components Functions which are the IR command codes. basically i would like to have Written Scripts intended of clicking those quick buttons that calls the "Function, Delay, Relay, and/or Jump Actions." Becuase i have to MIX the quick button with Scripts and i can't so i need to just write script code, so i would like to calls the Functions and call that IR codes so that it will work like when i just click on those buttons and they work "like turning on or off things ect..."

I hope this helps? :)
Post 11 made on Tuesday July 14, 2009 at 00:03
buzz
Super Member
Joined:
Posts:
May 2003
4,376
bnokes@AAVViD,

Read the ProntoScript developer's guide. Place the required IR codes on buttons, give each button a ProntoScript Name, and use executeActions().
Post 12 made on Wednesday July 15, 2009 at 01:37
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,996
And read all my posts in this thread.

[Link: remotecentral.com]

The key is a button with script that executes 'this.executeActions()' but beware that executing an actionlist via ProntoScript cause script to abort with the first 'Jump' action that is encountered.

You will want to do the searches I suggest there as well.

Programming is a skill, not something you do on drugs or pretend to do. Some folks can do it, others cannot. There are no "Magic Mushrooms" about it.

Regarding posting images to this forum, no you cannot but there are plenty of free image sites to which you can upload the image and then link to it here.
Lyndel McGee
Philips Pronto Addict/Beta Tester
OP | Post 13 made on Wednesday July 15, 2009 at 19:01
bnokes@AAVViD
Long Time Member
Joined:
Posts:
June 2009
31
i have been reading Developers Guide Pronto Script Jan08 1.1 is there other one. I still need some samples. I am working only on the volume controls first and then i will move on.

I am just stuck on calling up the Equipment & Codes for my Project Components: for the Vol + / -
Now ?

in Activity Properties and you click on Vol + / - then i have a Function: VOLUME UP on Pioneer Elite - AV Receiver - Main Zone All models V2 - Ext_0_P1
FYI Component Location: Ext_0_P1 = Extender 0 IR Port 1

Brand Name is: "Pioneer Elite"
Component Type is: "AV Receiver"
Model Name is: "Main Zone All Models V2
Control Type is: "IR"
// this will call for the extender ? right?
var i = CF.extender[0].input[1];

CF.widget("AllOn", "2", "DVD"):

i am just trying to put this all together from start to end so the volume button on the controller will volume up or down on the pioneer av receiver from the IR database
OP | Post 14 made on Wednesday July 15, 2009 at 19:06
bnokes@AAVViD
Long Time Member
Joined:
Posts:
June 2009
31
On July 15, 2009 at 19:01, bnokes@AAVViD said...
i have been reading Developers Guide Pronto Script Jan08 1.1 is there other one. I still need some samples. I am working only on the volume controls first and then i will move on.

I am just stuck on calling up the Equipment & Codes for my Project Components: for the Vol + / -
Now ?

in Activity Properties and you click on Vol + / - then i have a Function: VOLUME UP on Pioneer Elite - AV Receiver - Main Zone All models V2 - Ext_0_P1
FYI Component Location: Ext_0_P1 = Extender 0 IR Port 1

Brand Name is: "Pioneer Elite"
Component Type is: "AV Receiver"
Model Name is: "Main Zone All Models V2
Control Type is: "IR"
// this will call for the extender ? right?
var i = CF.extender[0].input[1];

CF.widget("AllOn", "2", "DVD"):

i am just trying to put this all together from start to end so the volume button on the controller will volume up or down on the pioneer av receiver from the IR database

Hard button tags:
Hard button Tag
Back “PS_BACK”
Backlight "PS_BACKLIGHT"
Channel down "PS_CHANNEL_DOWN"
Channel up "PS_CHANNEL_UP"
Cursor down "PS_CURSOR_DOWN"
Cursor left "PS_CURSOR_LEFT"
Cursor right "PS_CURSOR_RIGHT"
Cursor up "PS_CURSOR_UP"
Guide "PS_GUIDE"
Home "PS_HOME"
Info “PS_INFO”
OK "PS_OK"
Menu "PS_MENU"
Mute "PS_MUTE"
Page down "PS_PAGE_DOWN"
Page up "PS_PAGE_UP"
Power "PS_POWER"
Volume down "PS_VOLUME_DOWN"
Volume up "PS_VOLUME_UP"
OP | Post 15 made on Wednesday July 15, 2009 at 19:07
bnokes@AAVViD
Long Time Member
Joined:
Posts:
June 2009
31
On July 15, 2009 at 19:06, bnokes@AAVViD said...
Hard button tags:
Hard button Tag
Back “PS_BACK”
Backlight "PS_BACKLIGHT"
Channel down "PS_CHANNEL_DOWN"
Channel up "PS_CHANNEL_UP"
Cursor down "PS_CURSOR_DOWN"
Cursor left "PS_CURSOR_LEFT"
Cursor right "PS_CURSOR_RIGHT"
Cursor up "PS_CURSOR_UP"
Guide "PS_GUIDE"
Home "PS_HOME"
Info “PS_INFO”
OK "PS_OK"
Menu "PS_MENU"
Mute "PS_MUTE"
Page down "PS_PAGE_DOWN"
Page up "PS_PAGE_UP"
Power "PS_POWER"
Volume down "PS_VOLUME_DOWN"
Volume up "PS_VOLUME_UP"

so i would use PS_VOLUME_UP but what would it look like ?
Page 1 of 2


Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse