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 3
Topic:
Scripts have been enabled on TSU9300 !!! Question regardings gestures
This thread has 33 replies. Displaying posts 1 through 15.
Post 1 made on Friday January 22, 2010 at 10:35
Duddits
Lurking Member
Joined:
Posts:
January 2010
5
Hi,

first I want to tell you good news (I hope they are new for you;) )

With the new firmware 7.2.2 ProntoScript is enabled on TSU9300 !!! I also recognized that now the Firmware for 9300 and 9400 are absolute identical!

In release notes they mentioned that now the usage of gestures are now supported in scripts. Has anybody tried this already. How does this work?

Regards
  Duddits

Last edited by Lyndel McGee (moderator) on October 16, 2010 08:36.
Post 2 made on Friday January 22, 2010 at 15:20
gopronto
Senior Member
Joined:
Posts:
April 2008
1,453
It will let you load scripts but it does not seem to run them :(
Pronto still one of the best Wi-Fi Remotes,
www.ikonavs.co.nz and [Link: axiumcontrol.com] Axium Control
Post 3 made on Friday January 22, 2010 at 19:13
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,994
Did you run a search for Gestures in this forum? The Gestures are accomplished through use of the onPress, onMove and onRelease callback notifications now available to Widgets (you can assign your own functions) as documented in the Dev Guide. Basically, when you press a button, you can capture the coordinates and when you move your finger on the screen, you can get onMove() notifications that allow you to reposition the widget to follow your finger.

There is a link in the release notes on Philips' site. It points to a configuration file that demonstrates new text capabilities. I suspect that this file may also have examples of coding up Gestures in a Prontoscript library contained within.

Here's the link. You will likely have to login to Philips' site to download it though.

[Link: 89.234.30.160]
Lyndel McGee
Philips Pronto Addict/Beta Tester
Post 4 made on Saturday January 23, 2010 at 04:20
Guy Palmer
Active Member
Joined:
Posts:
June 2008
648
The Philips site does have some example scripts but, IMO, they are much more complicated than they need to be and are certainly not a good basis for learning how to do gestures.
Post 5 made on Tuesday February 2, 2010 at 17:50
elmiket
Long Time Member
Joined:
Posts:
August 2009
11
I just ordered a TSU9300. I'm upgrading from a TSU9200.

So does the 9300 now support scripts or not? I'm programming the remote before I get it, but don't want to waste a bunch of time on scripts if it won't run them.
Post 6 made on Tuesday February 2, 2010 at 19:44
gopronto
Senior Member
Joined:
Posts:
April 2008
1,453
No :(
Pronto still one of the best Wi-Fi Remotes,
www.ikonavs.co.nz and [Link: axiumcontrol.com] Axium Control
Post 7 made on Monday February 8, 2010 at 12:01
VeryPSB
Long Time Member
Joined:
Posts:
June 2002
84
I've heard rumors about ProntoScript being enabled on the TSU9300 in the future... Does anyone know more?

Last edited by VeryPSB on February 8, 2010 13:31.
Post 8 made on Monday February 8, 2010 at 12:13
gopronto
Senior Member
Joined:
Posts:
April 2008
1,453
yes..............







its just a rumor :)
Pronto still one of the best Wi-Fi Remotes,
www.ikonavs.co.nz and [Link: axiumcontrol.com] Axium Control
Post 9 made on Saturday May 8, 2010 at 10:12
anderson_ev123
Long Time Member
Joined:
Posts:
May 2010
71
Does anyone know if we are going to be able to add prontoscript labels to grouped objects in the next software update???

pull out menu's would be kinda cool without having to animate them all.

also below is the working script from the visualdemo for movable buttons

drop it into the page script box, Label the Page prontoscript name TEST and the button on that page you want to move B1


/*global
GUI:false
CF:false
System:false
*/
/*jslint
forin:true
*/

(function () {

function buttonPress(x, y)
{
this.lockInfo.pressX = x;
this.lockInfo.pressY = y;
this.lockInfo.x0 = x;
this.lockInfo.x1 = x;
this.lockInfo.x2 = x;
this.lockInfo.y0 = x;
this.lockInfo.y1 = x;
this.lockInfo.y2 = x;
this.lockInfo.pressed = true;
}

function motion(x, y)
{
var left, averageX,
top, averageY;

// Perform some filtering on motion events
if ((x < -10) || (x > 10) || (y < -10) || (y > 10)) {
this.lockInfo.x0 = this.lockInfo.x2;
this.lockInfo.x1 = x;
this.lockInfo.y0 = this.lockInfo.y2;
this.lockInfo.y1 = y;
} else {
this.lockInfo.x0 = this.lockInfo.x1;
this.lockInfo.x1 = this.lockInfo.x2;
this.lockInfo.y0 = this.lockInfo.y1;
this.lockInfo.y1 = this.lockInfo.y2;
}
this.lockInfo.x2 = x;
this.lockInfo.y2 = y;
averageX = (this.lockInfo.x0 + this.lockInfo.x1 + this.lockInfo.x2) / 3;
averageY = (this.lockInfo.y0 + this.lockInfo.y1 + this.lockInfo.y2) / 3;
if ((averageX > -2) && (averageX < 2) && (averageY > -2) && (averageY < 2)) {
return;
}

left = this.left + averageX - this.lockInfo.pressX;
top = this.top + averageY - this.lockInfo.pressY;
if (left < 0) {
left = 0;
}
if (left > (GUI.width - this.width)) {
left = GUI.width - this.width;
}
if (top < 0) {
top = 0;
}
if (top > (GUI.height - this.height)) {
top = GUI.height - this.height;
}
this.left = left;
this.top = top;
}

function buttonRelease()
{
this.lockInfo.pressed = false;
}

function init()
{
var homePage = CF.activity().page("TEST");
[ "B1" ].forEach(function (aTag) {
var arrow;
System.print("Configuring " + aTag);
arrow = homePage.widget(aTag);
arrow.onPress = buttonPress;
arrow.onRelease = buttonRelease;
arrow.onMove = motion;
arrow.lockInfo = {};
arrow.lockInfo.pressed = false;
arrow.lockInfo.x0 = 0;
arrow.lockInfo.x1 = 0;
arrow.lockInfo.x2 = 0;
arrow.lockInfo.y0 = 0;
arrow.lockInfo.y1 = 0;
arrow.lockInfo.y2 = 0;
});
}
init();
}());
Post 10 made on Saturday May 8, 2010 at 13:45
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,994
I doubt that you will ever be able to apply a single ProntoScript name to a set of widgets in a group. You must write code to manage set of widgets as a group.

Just curious as to why you did not start new thread for this question vs posting deep inside thread about gestures. Makes searching very difficult as the topic of the thread has no resemblance to your question.
Lyndel McGee
Philips Pronto Addict/Beta Tester
Post 11 made on Sunday May 9, 2010 at 09:47
anderson_ev123
Long Time Member
Joined:
Posts:
May 2010
71
to me the idea of pull out menus is a gesture driven activity, hence the post i searched gestures came up here read the thread and commented also lyndel as it says its was my first day!!!!!

wont do it again promise!!!! :-)
Post 12 made on Sunday May 9, 2010 at 10:37
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,994
Anderson,

Was not intending to beat you up. My sincerest apologies. Welcome on board. FYI, there's a thread around here somewhere that contains things that folks would like to see as new features.

BTW, thanks for the working code.
Lyndel McGee
Philips Pronto Addict/Beta Tester
Post 13 made on Tuesday September 28, 2010 at 23:13
tengizk
Long Time Member
Joined:
Posts:
September 2010
77
Is ProntoScript supported on TSU9300 after the 7.3.3 firmware upgrade? The North American Philips telephone support claims that it is. Is this really the case?

Thanks!
Post 14 made on Tuesday September 28, 2010 at 23:25
gopronto
Senior Member
Joined:
Posts:
April 2008
1,453
Still NO :)
Pronto still one of the best Wi-Fi Remotes,
www.ikonavs.co.nz and [Link: axiumcontrol.com] Axium Control
Post 15 made on Wednesday September 29, 2010 at 01:14
tengizk
Long Time Member
Joined:
Posts:
September 2010
77
OK, thanks! I've also found it in PEP2 (2.4.23) help: ProntoScript and IR with frequencies above 500 kHz do not work on TSU9300. I wonder if this is a PEP2 limitation and if PEP3 is going to bring any relevant changes - we'll hopefully see it soon enough.
Page 1 of 3


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