A netview question. 2005-06-10 - By Guy Rabiller
Back
> The more I learn scripting the more > I think I should choose vbs :-/
Hi Guillaume,
that's what I keep telling, but it seems nobody wants to hear it, until such situation arise.
If you are new to scripting, and especialy to development in general, choose VBScript. Don't bother with JScript or even Python at first. Understand, first, the "basics".
Because what's more important at first, in XSI, is to learn and understand the Commands and the ObjectModel, and make things actualy work, because things must work and you don't want to get stuck with languages specificities, tricks and traps.
Once you master or at least feel confortable with VBScript and the XSI Commands and Object Models, then you can move on and start to learn more "complicated/mature/efficient" scripting languages.
Courage.
-- guy rabiller | 3d technical director @ LaMaison
guillaume laforge wrote:
> Thanks for the informations kim ! > As it re-works after a refresh, maybe it's a preference in Internet > Explorer ( I can't find what pref. anyway) ? > > The more I learn scripting the more I think I should choose vbs :-/ > > > 2005/6/10, kim aldis <kim@(protected) <mailto:kim@(protected)>>: > > You don't necessarily have to have scripts embedded in the html > code, it > should work by just pointing links to the scripts - see netview, > xsilocal > and xsinet, for example. That said, though, I've often had > problems with > this when the url is served, especially with jscripts. Messing > around with > the Xsinet right now it seems still to be a problem, although I > thought it > got fixed. Like you I managed to get a jscript to run once, beyond > which it > failed to run again. Once it does fail I can't even D&D a script > into the > script editor. All of this is only with jscript, though. VBS seems > to be > fine. > > I came across this specific to jscript thing a while back and > there was a > workaround. You'll need to add an 'onclick' event to your link > which points > to a fucntion that opens the script file, reads it to a string > then executes > it using the jscript eval function. > > Refreshing the view with the netview refresh button seems to reset > it all, > though. > > Interestingly, nearly all the xsinet links are vbscript. > > kim@(protected) <mailto:kim@(protected)> > kim@(protected) <mailto:kim@(protected)> > > > > -- --Original Message-- -- > > From: owner-xsi@(protected) <mailto:owner-xsi@(protected)> > > [mailto: owner-xsi@(protected) > <mailto:owner-xsi@(protected)>] On Behalf Of Graham D Clark > > Sent: 10 June 2005 07:30 > > To: XSI@(protected) <mailto:XSI@(protected)> > > Subject: Re: A netview question. > > > > On 6/9/05, guillaume laforge < guillaume.laforge.3d@(protected) > <mailto:guillaume.laforge.3d@(protected)>> wrote: > > > What do you mean by embeded ? All the scripts copied > > directly in the > > > html code ? > > > > Yes put the scripts in your html code. > > > > Or as an "include", look them up. > > > > > > > > Here is the netview if someone want to test (I'm wondering > > if it's not > > > because of my web hosting) : > > > http://www.vol2nuit.fr/net_view.htm . > > > ( Scripting gurus, please don't laugh ;-) .Some scripts are just > > > variation from existing ones.) > > > > > > > > > > > > > > > > > > 2005/6/10, Graham D Clark <mailgrahamdclark@(protected) > <mailto:mailgrahamdclark@(protected)>>: > > > > > > > > Dreamweaver, Golive, shouldn't matter. As long as the > scripts are > > > > embeded in the page or are includes then they should run > > fine over > > > > the web. > > > > -- ---- ---- ---- ---- ---- ---- ---- ----- > > > > http://www.grahamdclark.com > > > > Hair|Fur Sup Omation > > > > TD|FX|EDU > > > > > > > > > > > > On 6/9/05, guillaume laforge < > > guillaume.laforge.3d@(protected) > <mailto:guillaume.laforge.3d@(protected)>> wrote: > > > > > Hi, > > > > > > > > > > I made a net view to run some scripts. Until now it was a > local > > > > > one and > > > it > > > > > works fine. > > > > > Tonight I upload it on my website and the scripts works > > fine the > > > > > first > > > time > > > > > (except that I need to close the "save as" window each > > time :-/ ). > > > > > Now when I clic on the same scripts in this web net > > view it just > > > > > opens > > > the > > > > > "save as" window. The scripts are no longer executed ??? > > > > > > > > > > How to create a web net view with the correct html ( I use > > > > > Dreamweaver ) > > > ? > > > > > > > > > > Cheers, > > > > > > > > > > Guillaume Laforge > > > > > Cg artist > > > > > www.vol2nuit.fr <http://www.vol2nuit.fr> > > > > > > > > > > > > > > > > > > --- > > > > Unsubscribe? Mail Majordomo@(protected) > <mailto:Majordomo@(protected)> with the > > following text in body: > > > > unsubscribe xsi > > > > > > > > > > > > > > > > -- > > -- ---- ---- ---- ---- ---- ---- ---- ----- > > http://www.grahamdclark.com > > Hair|Fur Sup Omation > > TD|FX|EDU > > > > --- > > Unsubscribe? Mail Majordomo@(protected) > <mailto:Majordomo@(protected)> with the following > > text in body: > > unsubscribe xsi > > > > > > --- > Unsubscribe? Mail Majordomo@(protected) > <mailto:Majordomo@(protected)> with the following text in body: > unsubscribe xsi > >
--- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
|
|