|
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
|
||||
|
||||
Execution order for UI widgets...
I had a similar issue before and it seemed to work of with a workaround... but now I'm think I have the same issues and I can't get it to do what I want....
I have the something like this.. Code:
if (A) action (B=false) action (C=false) . . . action (F= false) UI (some UI panel) if (B || C || ....) UI (some other UI panel) Is there a way to force the whole chain to get executed before the if evalutes the second if? In my previous delima I used an Code:
if (false) text (untitled) Can I put nested action (REMS) before the if statement like Code:
action ("REM") action ("REM") action ("REM") action ("REM") . . . IF (B || C ||...) (the second if) Jim |
#2
|
||||
|
||||
I may well expose my lack of knowledge about Studio here...
I think the problem is that those variables are made available "upstream". So bascially you set them in the first chain, but since they are children, the second can't see them. What you want to do is create Attributes for each variable (name A, B, C, etc) and place them at the same level (siblings) of the "if" widgets (or higher if you want them available elsewhere). |
#3
|
||||
|
||||
They should be executed in the order they are listed. You show the first If statement as checking A. If that is false, then the entire tree would be skipped before going on to the next If statement. Without seeing actual code, I can't think of anything else at the moment. The variables/attributes also have to be defined at a shared parent location.
- 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. |
#4
|
||||
|
||||
Quote:
Quote:
It's pretty weird.. UhOh... I just found my problem.... I"m a moron I *cough* misspelled *cough* a variable *cough* in my variable assignments *cough* It works just fine now.. Althought the single step jumps all over the place! But it works.. so I don't really care! Jim |
#5
|
||||
|
||||
Quote:
You can use your advantafe this by having first an action chain leading to a text widget with an IF (false) parent (so that it does not get shown), being used to calculate A,B,C.. etc, and having attributes A,B,C etc on the top level panel. The values of A,B,C will then all be set before the rest of the tree is rendered. See the disk space bar in the title bar for an example, and also: this post
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#6
|
||||
|
||||
Quote:
|
#7
|
||||
|
||||
I should read better too I had not realised you had solved your problem!
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Change Order of Capture Cards | Tofu | SageTV Software | 9 | 11-22-2006 01:27 PM |
Changing Device Order | scsailor | SageTV Beta Test Software | 4 | 11-11-2006 08:36 PM |
Removing garbage widgets from STV | dflachbart | SageTV Studio | 11 | 05-10-2006 09:10 AM |
Playing music in order it appears? | jettman | SageTV Software | 4 | 02-14-2006 05:01 PM |