Author |
|
RWCS Senior Member
Joined: October 28 2002 Location: United States
Online Status: Offline Posts: 102
|
Posted: January 13 2009 at 21:18 | IP Logged
|
|
|
Bought an Aquos TV w/ RS-232 control port. I'm looking for programming ideas for PH to enter channels. RS-232 port wants (only accepts) whole channel numbers. So I stuck a chicklet on the front and tried my RedRat. RedRat too slow TV doesn't like it. I'm trying to think up a way to script (probably blind) collecting the whole channel number (could be 5 - 6 characters) then send it through the RS-232. Any ideas?
|
Back to Top |
|
|
RWCS Senior Member
Joined: October 28 2002 Location: United States
Online Status: Offline Posts: 102
|
Posted: January 22 2009 at 14:27 | IP Logged
|
|
|
Is there such a thing as a pop-up dialog box in PH?
|
Back to Top |
|
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: January 22 2009 at 14:38 | IP Logged
|
|
|
Maybe a message box?
|
Back to Top |
|
|
Viper Groupie
Joined: January 14 2007 Location: United States
Online Status: Offline Posts: 88
|
Posted: January 22 2009 at 14:40 | IP Logged
|
|
|
ph_msgbox
|
Back to Top |
|
|
RWCS Senior Member
Joined: October 28 2002 Location: United States
Online Status: Offline Posts: 102
|
Posted: January 22 2009 at 14:55 | IP Logged
|
|
|
a ph_msgbox displays a message (basically an output), I was thinking more along the lines of a dialog box that returned a string typed by the user. . .
|
Back to Top |
|
|
Viper Groupie
Joined: January 14 2007 Location: United States
Online Status: Offline Posts: 88
|
Posted: January 22 2009 at 15:28 | IP Logged
|
|
|
With a lot more work: ph_openiewindow
There may be something more that can be done with Windows Script, but I'm not familiar enough with that environment.
Tom
|
Back to Top |
|
|
RWCS Senior Member
Joined: October 28 2002 Location: United States
Online Status: Offline Posts: 102
|
Posted: January 22 2009 at 16:05 | IP Logged
|
|
|
Thanks for the idea. . .
Assuming I wrote the HTML and used JS to capture a user entered string, I'm still not clear how I could get that info back into PH.
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: January 22 2009 at 16:39 | IP Logged
|
|
|
There is an "Input Box" command available from within a macro. The [INPUTRET] system var can be preset with a default value. In the Send Keys field you specifiy the message to be displayed by the input box. After the user types in the appropriate response, the answer is available in the [INPUTRET] var.
Dave.
|
Back to Top |
|
|
RWCS Senior Member
Joined: October 28 2002 Location: United States
Online Status: Offline Posts: 102
|
Posted: January 23 2009 at 11:53 | IP Logged
|
|
|
Thanks Dave, that's just what I'm looking for. . . on to string manipulation.
Edited by RWCS - January 23 2009 at 11:54
|
Back to Top |
|
|