Page 1 of 1

Coming from version 4.7 ...

PostPosted: Thu Aug 18, 2022 11:31 am
by brun sweater
Hello all
I'm trying to send some TCPSend commands to a Panasonic projector from Widget Designer 6.5.2 FREE EDITION, but can't get them to work?
I'm basically copying the scripts the 4.7 version of Widget (also FREE EDITION or what it was called back then?), and I'm pretty sure both iterations of Widget is setup identically!?

example

TCPSend,[id],%1POWR 1[CR] - which should power on the projector!?

When executed from Widget 4.7 - working fine
When executed from Widget 6.5.2 - no dice?

What am I missing?

On Windows 8.1

Cheers

Re: Coming from version 4.7 ...

PostPosted: Thu Aug 18, 2022 3:02 pm
by JustynR
The syntax in V6 vs V4 is very different.

There are many great new features in the new version - like local variables, the ability to differentiate between literals and variables (using quotes), inline math, functions that act predictably and much more.

Brackets are used in a lot of the commands; your new command would look like this:

Code: Select all
TCPSend( [id], "%POWR 1[CR]")


Note the ( and ) and the " quotes "

Re: Coming from version 4.7 ...

PostPosted: Thu Aug 18, 2022 4:37 pm
by brun sweater
Thanks a lot JustynR! I'll try this tomorrow :-)


...but somebody also told me that I need to upgrade, since the FREE version of Widget won't allow this anyway!?

Can anybody confirm this? I've looked for any documentation of the different versions of Widget, but haven't had any luck :-)

Cheers

Re: Coming from version 4.7 ...

PostPosted: Fri Aug 19, 2022 11:52 am
by brun sweater
It's working now, with the syntax example provided by JustynR above :-)

Again thanks a lot!

Cheers