Loop switches in Switchlayer [script]

Moho allows users to write new tools and plugins. Discuss scripting ideas and problems here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
rylleman
Posts: 750
Joined: Tue Feb 15, 2005 5:22 pm
Location: sweden
Contact:

Loop switches in Switchlayer [script]

Post by rylleman »

Here's another switch script, similar to my Random Switch script, (forum thread).

Loop Switch Script --Right click to download.

Usage: Select a Switch layer and run the script.
The switches in the layer will then be layed out in the timeline following their layer order.
The parameters you can set is start and end frame in the range, interval between the keyframes,
and you can also select to lay out the keyframes in reverse, starting with the last switch, going downards in the list.
If the switches reaches the last one before the range has reached it's end they will start over from the beginning.
Last edited by rylleman on Thu Dec 11, 2008 8:34 pm, edited 1 time in total.
User avatar
bupaje
Posts: 1175
Joined: Fri Nov 12, 2004 5:44 pm
Location: California
Contact:

Post by bupaje »

Thanks for the cool addition -and the other as I missed it first time around- should be useful. :)
[url=http://burtabreu.animationblogspot.com:2gityfdw]My AnimationBlogSpot[/url:2gityfdw]
User avatar
Rai López
Posts: 2294
Joined: Sun Aug 08, 2004 1:41 pm
Location: Spain
Contact:

Post by Rai López »

YEAH! THANK YOU TOO for my part!I must experiment more with both scripts, but... listen, do you think an addition of a text box to specify which Swith layer you want add randomnly in time? I think could be interesting... BYE!
User avatar
rylleman
Posts: 750
Joined: Tue Feb 15, 2005 5:22 pm
Location: sweden
Contact:

Post by rylleman »

Ramón López wrote:listen, do you think an addition of a text box to specify which Swith layer you want add randomnly in time?
Actually I have thought of that. I just haven't figured out a way to do it...
I'm planning on combining both switch scripts into one and add some other features as well, selecting which layers to include is one of them.
User avatar
Rai López
Posts: 2294
Joined: Sun Aug 08, 2004 1:41 pm
Location: Spain
Contact:

Post by Rai López »

...EY, EY, EY,!!! THAT'S SO GREAT!!! :D THANK YOU for add funcionality! I think something like that could be very USEFUL for me actually :), and... yeah! Combine the scripts in only one is always a good idea if possible! GOOD LUCK! :D
User avatar
ulrik
Posts: 1087
Joined: Thu Aug 11, 2005 10:32 pm
Location: Stockholm Sweden
Contact:

Post by ulrik »

Thanks Rylleman for your usefull scripts! :D
User avatar
rylleman
Posts: 750
Joined: Tue Feb 15, 2005 5:22 pm
Location: sweden
Contact:

Post by rylleman »

Small update on this script.
You can now also set to use every # image in the sequence.
Setting it to 3 for instance would use images 1,4,7,10 etc.
User avatar
DK
Posts: 2896
Joined: Mon Aug 09, 2004 6:06 am
Location: Australia

Post by DK »

Great script!!! Thanks rylleman :)

D.K
paulcopeland
Posts: 95
Joined: Tue Mar 03, 2009 2:04 pm

Post by paulcopeland »

Wow what a great little script.

Thank you.

Paul.
Get my free piano sheet music here http://www.scoreexchange.com/profiles/pianoedition
Post Reply