script and link from a synoptic 2005-03-23 - By Rafe Sacks
Back Here is the key to html coding in XSI in JScript.... Shortcuts!
// XSI Related var oXSI = new ActiveXObject( "XSI.Application" ); var Application = oXSI.Application; var Dictionary = Application.Dictionary; /* * I use this all the time so I made a quick wrapper for it. NOTE: use * the integer value NOT the Constant for the siSeverity argument. */ var LogMessage = function( sString, siSeverity ) { if ( !siSeverity ){ siSeverity = 16; } Application.LogMessage( sString, siSeverity ); };
- Rafe
Brad Friedman wrote:
> Yea, I'm quite comfortable with dreamweaver and fireworks. Shouldn't > be a problem to move over to netview. I was already considering it > when I posted. I just wanted to make sure I wasn't missing something > with the synoptic. Thanks for the info. > > oh... regarding the rollover thing... I assume thats not standard HTML > or DHTML of any type. I think soft just used the super small subset > of html because it was convenient as a file format, as François > noted. The rendering engine and the way it deals with the rollovers > is likely completely unique to the synoptic implementation. I've > never run into a web standard that worked in that manner. > > Equivalent look and feel of the rollover effect can be accomplished > with fireworks and dreamweaver (or a lot of hand coding but I'll take > the automated approach myself), or adobe image ready. > > -brad > > Rafe Sacks wrote: > >> Netview. Doing it this way will release you from all of the >> Synoptic's limiting rules. I still use the synoptic editor to draw >> reagons, though you could use anything with a graphic interface, such >> as Dreamweaver. >> >> -- >> >> >> >>__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ______ >>R A F E S A C K S >>L e a d C h a r a c t e r T e c h n i c a l D i r e c t o r - T e c h n i c a l >>A n i m a l L o g i c F i l m >>+ 6 1 2 9 3 8 3 - 4 8 0 0 >> >> >> >> Brad Friedman wrote: >> >>> indeed... which is why I'm a bit confused now. >>> >>> Rafe and Ozu, >>> >>> are you suggesting the synoptic view can read more complex html than >>> what the synoptic editor generates? Or are you suggesting I should >>> be using the netview? >>> >>> If the synoptic view can deal with more complex html, is there any >>> place I can get documentation as to what html tags it does and does >>> not implement? And for that matter, what parts of the DOM it exposes? >>> >>> François Painchaud wrote: >>> >>>> > Soft did it, so I'm sure it can be done >>>> >>>> Beware, the executable code behind the Synoptic is proprietary; it >>>> has nothing to do with a standard html browser. The Synoptic is >>>> just using a small subset of the html file format to store its >>>> stuff because it was easier than inventing yet another file format. >>>> >>>> François >>>> >>>> Rafe Sacks a écrit : >>>> >>>>> The only thing you won't be able to do (without a LOT of work) is >>>>> get the same type of rollover functionality as the Synoptic. To be >>>>> more specific, you won't be able to have a single rollowver image >>>>> which gets exposed by the image maps. Soft did it, so I'm sure it >>>>> can be done (if you know how, please post it), but it would take a >>>>> good bit of coding, if it is possible at all using HTML and the >>>>> DOM etc. >>>>> >>>>> On the plus side, you can do everything else! >>>>> >>>>> ozu's mailbot wrote: >>>>> >>>>>> drop the synoptic in favor of a pure HTML implementation, where >>>>>> you'll be able to control exactly what happens and when. This >>>>>> means more work since you'll need to write dynamic html code and >>>>>> or embed javascript in your page to call XSI commands. It makes >>>>>> sense for a large production when you have the time to spend on >>>>>> the infrastructure. >>>>>> >>>>>> oO >>>>>> >>>>>> Brad Friedman wrote: >>>>>> >>>>>>> okay... so from a click on a given widget in a synoptic you can >>>>>>> either call a script or link to another synoptic. >>>>>>> >>>>>>> however, has anyone found a way to both call a script (or >>>>>>> command) and then on completion, load up another page into the >>>>>>> synoptic window? >>>>>>> >>>>>>> I'm using a branching "wizard" model for some tools I'm working >>>>>>> on. I'd like for a user to be able to hit a button, have it do >>>>>>> something, and then go back to an earlier step in the wizard. >>>>>>> But I can't seem to programmatically call pages into the >>>>>>> synoptic view... even from within the scripts in the synoptic. >>>>>>> >>>>>>> Hopefully there's just a statement or command I'm overlooking. >>>>>>> >>>>>>> Thanks. >>>>>>> >>>>>>> -brad >>>>>> >>> >> >> >
--
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ______ R A F E S A C K S L e a d C h a r a c t e r T e c h n i c a l D i r e c t o r - T e c h n i c a l A n i m a l L o g i c F i l m + 6 1 2 9 3 8 3 - 4 8 0 0
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859 (See http://ISO-8859.ora-code.com)-1"> <title></title> </head> <body text="#000000" bgcolor="#ffffff"> <font color="#000099">Here is the key to html coding in XSI in JScript.... Shortcuts!</font><br> <br> <tt> // XSI Related<br> var oXSI = new ActiveXObject( "XSI.Application" );<br> var Application = oXSI.Application;<br> var Dictionary = Application.Dictionary;<br> <br> /*<br> * I use this all the time so I made a quick wrapper for it. NOTE: use<br> * the integer value NOT the Constant for the siSeverity argument.<br> */<br> var LogMessage = function( sString, siSeverity )<br> {<br> if ( !siSeverity ){ siSeverity = 16; }<br> Application.LogMessage( sString, siSeverity );<br> }; </tt><br> <br> <font face="Helvetica, Arial, sans-serif" color="#000099"><br> <small>- Rafe</small></font><br> <br> Brad Friedman wrote:<br> <blockquote type="cite" cite="mid4241FEA0.8070608@(protected)"> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859 (See http://ISO-8859.ora-code.com)-1"> <title></title> Yea, I'm quite comfortable with dreamweaver and fireworks. Shouldn't be a problem to move over to netview. I was already considering it when I posted. I just wanted to make sure I wasn't missing something with the synoptic. Thanks for the info.<br> <br> oh... regarding the rollover thing... I assume thats not standard HTML or DHTML of any type. I think soft just used the super small subset of html because it was convenient as a file format, as François noted. The rendering engine and the way it deals with the rollovers is likely completely unique to the synoptic implementation. I've never run into a web standard that worked in that manner.<br> <br> Equivalent look and feel of the rollover effect can be accomplished with fireworks and dreamweaver (or a lot of hand coding but I'll take the automated approach myself), or adobe image ready.<br> <br> -brad<br> <br> Rafe Sacks wrote: <blockquote type="cite" cite="mid4241F09C.3070506@(protected)"> <meta content="text/html;" http-equiv="Content-Type"> <title></title> <small><font face="Helvetica, Arial, sans-serif" color="#000099">Netview. Doing it this way will release you from all of the Synoptic's limiting rules. I still use the synoptic editor to draw reagons, though you could use anything with a graphic interface, such as Dreamweaver.<br> </font></small><br> -- <br> <div class="moz-signature"> <meta content="text/html; " http-equiv="content-type"> <title>RafeSignature</title> <meta content="Rafe Sacks" name="author"> <pre wrap=""><small><font face="Century Gothic"><font color="#000066"><font color="#000066"><font color="#c0c0c0" style="color: rgb(192, 192, 192);">
<span style="font-family: helvetica,arial,sans-serif;">__ ____ ____ ____ ______ __ ____ ____ ____ ____ ____ __</span></font> </font></font></font><font face="Century Gothic" style="font-family: helvetica,arial,sans-serif;"><font color="#000066"><small> <small><font color="#666666"><big><font color="#000066"><big><big>R</big></big> <big> A F E </big> <big><big>S</big></big> <big> A C K S </big></font></big></font></small></small></font></font></small><small><font color="#000066"><big><small><font face="Century Gothic"><small><span style="color: rgb(102, 102, 102); font-family: helvetica,arial,sans-serif;">L e a d C h a r a c t e r T e c h n i c a l D i r e c t o r - T e c h n i c a l </span> <span style="color: rgb(102, 102, 102); font-family: helvetica,arial,sans-serif;">A n i m a l L o g i c F i l m </span> <span style="color: rgb(102, 102, 102); font-family: helvetica,arial,sans-serif;">+ 6 1 2 9 3 8 3 - 4 8 0 0</span></small></font></small></big></font></small>< /pre> </div> <br> <br> Brad Friedman wrote:<br> <blockquote cite="mid42415313.4090508@(protected)" type="cite"> <meta content="text/html;charset=ISO-8859 (See http://ISO-8859.ora-code.com)-1" http-equiv="Content-Type"> <title></title> indeed... which is why I'm a bit confused now.<br> <br> Rafe and Ozu,<br> <br> are you suggesting the synoptic view can read more complex html than what the synoptic editor generates? Or are you suggesting I should be using the netview?<br> <br> If the synoptic view can deal with more complex html, is there any place I can get documentation as to what html tags it does and does not implement? And for that matter, what parts of the DOM it exposes?<br> <br> François Painchaud wrote: <blockquote cite="mid4240FD9E.1070409@(protected)" type="cite"> <meta content="text/html;charset=ISO-8859 (See http://ISO-8859.ora-code.com)-1" http-equiv="Content-Type"> <title></title> > <small><font face="Helvetica, Arial, sans-serif" color="#000099">Soft did it, so I'm sure it can be done<br> </font></small><br> Beware, the executable code behind the Synoptic is proprietary; it has nothing to do with a standard html browser. The Synoptic is just using a small subset of the html file format to store its stuff because it was easier than inventing yet another file format.<br> <br> François<br> <small><font face="Helvetica, Arial, sans-serif" color="#000099"><br> </font></small>Rafe Sacks a écrit : <blockquote cite="mid4240EB8A.9000509@(protected)" type="cite"> <meta http-equiv="Content-Type" content="text/html;"> <title></title> <small><font face="Helvetica, Arial, sans-serif" color="#000099">The only thing you won't be able to do (without a LOT of work) is get the same type of rollover functionality as the Synoptic. To be more specific, you won't be able to have a single rollowver image which gets exposed by the image maps. Soft did it, so I'm sure it can be done (if you know how, please post it), but it would take a good bit of coding, if it is possible at all using HTML and the DOM etc.<br> <br> On the plus side, you can do everything else!<br> <br> </font></small>ozu's mailbot wrote:<br> <blockquote type="cite" cite="mid4240D1D3.9040408@(protected)">drop the synoptic in favor of a pure HTML implementation, where you'll be able to control exactly what happens and when. This means more work since you'll need to write dynamic html code and or embed javascript in your page to call XSI commands. It makes sense for a large production when you have the time to spend on the infrastructure. <br> <br> oO <br> <br> Brad Friedman wrote: <br> <blockquote type="cite">okay... so from a click on a given widget in a synoptic you can either call a script or link to another synoptic. <br> <br> however, has anyone found a way to both call a script (or command) and then on completion, load up another page into the synoptic window? <br> <br> I'm using a branching "wizard" model for some tools I'm working on. I'd like for a user to be able to hit a button, have it do something, and then go back to an earlier step in the wizard. But I can't seem to programmatically call pages into the synoptic view... even from within the scripts in the synoptic. <br> <br> Hopefully there's just a statement or command I'm overlooking. <br> <br> Thanks. <br> <br> -brad <br> </blockquote> </blockquote> </blockquote> </blockquote> <br> </blockquote> <br> <br> </blockquote> <br> </blockquote> <br> <br> <div class="moz-signature">-- <br> <meta content="text/html; " http-equiv="content-type"> <title>RafeSignature</title> <meta content="Rafe Sacks" name="author"> <pre wrap=""><small><font face="Century Gothic"><font color="#000066"><font color="#000066"><font style="color: rgb(192, 192, 192);" color="#c0c0c0">
<span style="font-family: helvetica,arial,sans-serif;">__ ____ ____ ____ ______ __ ____ ____ ____ ____ ____ __</span></font> </font></font></font><font style="font-family: helvetica,arial,sans-serif;" face="Century Gothic"><font color="#000066"><small><small><font color="#666666"><big><font color="#000066"><big><big>R</big></big> <big> A F E </big> <big><big>S< /big></big> <big> A C K S </big></font></big></font></small></small></font></font></small><small><font color="#000066"><big><small><font face="Century Gothic"><small><span style="color: rgb(102, 102, 102); font-family: helvetica,arial,sans-serif;">L e a d C h a r a c t e r T e c h n i c a l D i r e c t o r - T e c h n i c a l </span> <span style="color: rgb(102, 102, 102); font-family: helvetica,arial,sans-serif;">A n i m a l L o g i c F i l m </span> <span style="color: rgb(102, 102, 102); font-family: helvetica,arial,sans-serif;">+ 6 1 2 9 3 8 3 - 4 8 0 0</span> </small></font></small></big></font></small></pre> </div> </body> </html>
|
|