|
SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Passing image name from action to image widget
I'm getting frustrated here... I'm trying to pass a image name put in an action widget to image widget.
it looks like [1](if) = [Some expression that evaluates to true] [2] .|--(action)="Device1.png [3] .......|-- (image)=[some other name] [4] .|-- (image)="Device0.png" [5] .|-- (image)= [Reference to 3.] Now i know 1. is evaluating to true because 4. gets displayed. (4. was put there as a test.) Also if I have 5. in the code it also gets displayed with the [some other name] but 3 doesn't! FYI if you can't tell from the post.. 2,4,5 are children of 1. 3 is a child of 2. What am I doing wrong? If I copy 2&3 and put it in the "REM Show To-Be-Recorded Marker" widget chain in the program guide right where "RecordMR.png" is, I see the icon displayed! Jim Last edited by jbuszkie; 12-09-2005 at 12:08 PM. |
#2
|
||||
|
||||
W/o seeing the actual code, it is hard to tell. The first thing I would do is check-mark Tools -> Notify on Errors to see if something isn't right. (There is a quote missing in your post for line 2, but that might just be a posting error.)
- Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
#3
|
||||
|
||||
From codeseg1.
Ok.. I've changed the code a little but I still get the same results... line 1 should pass the file name to the Line2 image widget, right? Nothing gets displayed until I insert line 3. Line 3 is what is getting displayed. So I also know the branch is getting executed. If I copy lines 1 & 2 to one of the "Is" branches (from the codeseg2) then I also get my display And I turned on the notify errors thing and I get extra info.. oh.. and the missing quote was a posting error... ARGH!! |
#4
|
||||
|
||||
Maybe it is something simple, but I'm drawing a blank at the moment. The menu was reloaded after adding the lines? The image widget actually has a size for it to use to display itself? The image file exists? You could put a breakpoint on a line above it & step through it in the debugger to see if it goes to those lines. You could upload the STV & perhaps someone will have time to take a look.
- Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
#5
|
|||||
|
|||||
Quote:
Quote:
Quote:
Quote:
Quote:
I really think this might be a bug.. It may have something to do with being in the loop I did some experiment by taking the action tree out of the loop and it works. Then I started putting closer to the loop and then into it.. If you look at codeseg3 which is just inside the loop... It doesn't work. If I drop it just below the incrementation therby taking it out of the loop, it works (codeseg4). Also if I just add reference to the image widget it works (codeseg5) Still Wait.. I think I got it.. I wrote all the above post and then I glanced at the manual again to see if there was a different way to do a loop.... I don't know why, but in the manual it says that UI elements shouldn't be put in a loops.... I guess it's just some limitation in passing variables through to image widgets. The Image widget by its self works fine... I guess I'll just have to have the loop set a variable and display the widget afterward..... Bummer.. Jim Last edited by jbuszkie; 12-09-2005 at 07:22 PM. |
#6
|
||||
|
||||
Quote:
Depending on what you are trying to do, you might be able to make a DataUnion of the items & display the list via a table. - Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|