I don't think the period is a valid character for a subroutine name
On Fri, Sep 19, 2014 at 2:50 PM, Francisco Criado <[email protected]>
wrote:
> Hi Matt, tried replacing by your line and also tried SelectObj
> "MOSCA_CON_RIG.eff1", , True
> and now i get with those two altrenatives this:
>
> 'ERROR : Expected '(' - [line 3]
> ' WARNING : 3000 - Error parsing z:\3d\mosca_db\synoptic\mosca.htm
>
> Line 3 on the html is:
> <script language="VBScript">
>
> Thanks again...
> F.
>
>
>
>
> 2014-09-19 15:25 GMT-03:00 Matt Lind <[email protected]>:
>
>> Try this:
>>
>>
>>
>> Sub MOSCA_CON_RIG.eff( in_obj, in_mousebuton, in_keymodifier )
>>
>> Selection.SetAsText( in_obj );
>>
>> End Sub
>>
>>
>>
>>
>>
>> The “.” in the subroutine name might be a problem, however. It’s
>> important to know which line the parser is throwing the error.
>>
>>
>>
>> Matt
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *From:* [email protected] [mailto:
>> [email protected]] *On Behalf Of *Francisco Criado
>> *Sent:* Friday, September 19, 2014 11:18 AM
>> *To:* [email protected]
>> *Subject:* synoptic editor script
>>
>>
>>
>> Hi guys,
>>
>>
>>
>> just trying to do a quick synoptic view for a simple rig i made, already
>> loaded the image and made the hotspots but everytime i try to run it "Error
>> executing the script file" appears.
>>
>> About the script it only contains this kind of stuff:
>>
>>
>>
>> sub MOSCA_CON_RIG.eff1(in_obj,in_mousebutton,in_keymodifier)
>>
>> SynopticSelect in_obj, "MOSCA_CON_RIG.eff"
>>
>> end sub
>>
>>
>>
>> Any help appreciated!
>>
>> F.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>
>
>
> --
> Francisco Criado
> visual geek
> DCA Lab
>