changing a script from VBscript to Python

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  05 May 2011
changing a script from VBscript to Python

if i did a script from the VBS log in the command line, is there i way that i can run it and get it on python?

its basic stuff like move and parent nulls and a couple of constraints.

Thanks. =)
  05 May 2011
You could save it to a command, and run that command in a python script, if you are looking to use both languages together.
If you're asking about automatically converting a bunch of copy&pasted commands from one language to the other, no such thing, but it shouldn't take long to learn python to the point where you can do that, and the few minutes it would take to do some find&replace and clean up in a text editor.
Come, Join the Cult - Rigging from First Principles
  05 May 2011
Thanks, J, yesterday i was working on it, and this is what i found,

since my script is basically a macro, i don't have variables or anything i can paste my script in the editor, and run it with a python tab open, and will translate it to python !!! LOL!!!.... now i can do more crazy thing,

  05 May 2011
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 07:58 PM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.