  | | | All properties inspected! | All properties inspected! 2004-02-24 - By Fabio Lissi
Back Hi Bernard,
Try something like that :
Logic { Sub myButton_OnClicked() prevval = SetUserPref( siAutoInspect, False ) GetAdvancedPoint SetUserPref siAutoInspect, prevval End Sub }
In this way you disable temporarily the auto pop up of the property page.
Fabio
-- -- Original Message -- -- From: "Bernard Lebel" <atyss4si@(protected)> To: <XSI@(protected)> Sent: Monday, February 23, 2004 8:54 PM Subject: [spdl/script] All properties inspected!
> Hello, > > My very attempts at messing with spdls, so please excuse my sorry questions. > > > My custom ppg has a button that calls a custom command, GetAdvancedLight(). > The thing is that when I click the button, the command is executed. This creates a special point > light rig. The script completely successfully. > BUT, all the possible property pages of the light popups! It doesn't happen when I run the command > from a script or a toolbar. No such luck with spdl. > > Am I missing anything? > > Below is the logic part of the button, in case it might help. > > > Thanks > Bernard > > > .. > Logic > { > Sub myButton_OnClicked() > GetAdvancedPoint > End Sub > } > > END > --- > Unsubscribe? Mail Majordomo@(protected) with the following text in body: > unsubscribe xsi <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1"> <META content="MSHTML 6.00.2800.1400" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY> <DIV><FONT face=Arial size=2>Hi Bernard,</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Try something like that :</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Logic<BR> {<BR> Sub myButton_OnClicked()</FONT></DIV> <DIV><FONT face=Arial size=2> prevval = SetUserPref( siAutoInspect, False )<BR> GetAdvancedPoint</FONT></DIV> <DIV><FONT face=Arial size=2> SetUserPref siAutoInspect, prevval<BR> End Sub<BR>}</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>In this way you disable temporarily the auto pop up of the property page.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2> Fabio</FONT></DIV> <DIV><FONT face=Arial size=2><BR><FONT color=#000000><FONT size=3><BR></FONT><BR> </DIV></FONT></FONT> <DIV><FONT face=Arial size=2>-- -- Original Message -- -- </FONT> <DIV><FONT face=Arial size=2>From: "Bernard Lebel" <</FONT><A href="mailto:atyss4si@(protected)"><FONT face=Arial size=2>atyss4si@(protected)</FONT></A><FONT face=Arial size=2>></FONT></DIV> <DIV><FONT face=Arial size=2>To: <</FONT><A href="mailto:XSI@(protected)"><FONT face=Arial size=2>XSI@(protected)</FONT></A><FONT face=Arial size=2>></FONT></DIV> <DIV><FONT face=Arial size=2>Sent: Monday, February 23, 2004 8:54 PM</FONT></DIV> <DIV><FONT face=Arial size=2>Subject: [spdl/script] All properties inspected!</FONT></DIV></DIV> <DIV><FONT face=Arial><BR><FONT size=2></FONT></FONT></DIV><FONT face=Arial size=2>> Hello,<BR>> <BR>> My very attempts at messing with spdls, so please excuse my sorry questions.<BR>> <BR>> <BR>> My custom ppg has a button that calls a custom command, GetAdvancedLight().<BR>> The thing is that when I click the button, the command is executed. This creates a special point<BR>> light rig. The script completely successfully.<BR>> BUT, all the possible property pages of the light popups! It doesn't happen when I run the command<BR>> from a script or a toolbar. No such luck with spdl.<BR>> <BR>> Am I missing anything?<BR>> <BR>> Below is the logic part of the button, in case it might help.<BR>> <BR>> <BR>> Thanks<BR>> Bernard<BR>> <BR>> <BR>> ..<BR>> Logic<BR>> {<BR>> Sub myButton_OnClicked()<BR>> GetAdvancedPoint<BR>> End Sub<BR>> }<BR>> <BR>> END<BR>> ---<BR>> Unsubscribe? Mail </FONT><A href="mailto:Majordomo@(protected)"><FONT face=Arial size=2>Majordomo@(protected)</FONT></A><FONT face=Arial size=2> with the following text in body:<BR>> unsubscribe xsi</FONT></BODY></HTML>
|
|
 |