Reloading scripts

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
mkelley
Posts: 1647
Joined: Fri Nov 02, 2007 5:29 pm
Location: Sunny Florida
Contact:

Reloading scripts

Post by mkelley »

Yipes -- I've forgotten how to reload or recompile scripts. I know I can restart AS, but there's a special function key or something that does it as well and tried as I might (and I tried mightily -- about two dozen searches here) I can't find it.

(This is stuff that really ought to be in the help file somewhere -- and if it is *I* can't find it anywhere :>)
User avatar
rylleman
Posts: 750
Joined: Tue Feb 15, 2005 5:22 pm
Location: sweden
Contact:

Post by rylleman »

ctrl+F5
User avatar
Víctor Paredes
Site Admin
Posts: 5665
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Post by Víctor Paredes »

do you refer to control+F5?
User avatar
mkelley
Posts: 1647
Joined: Fri Nov 02, 2007 5:29 pm
Location: Sunny Florida
Contact:

Post by mkelley »

Thanks, folks (writing this down...)
ggoblin
Posts: 266
Joined: Wed Jan 19, 2022 2:09 pm

Re: Reloading scripts

Post by ggoblin »

Ctrl F5 doesn't seem to be working for me in Moho 13.5 ?

Is there another quick way to reload scripts without restarting Moho?

Thanks
User avatar
Víctor Paredes
Site Admin
Posts: 5665
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Re: Reloading scripts

Post by Víctor Paredes »

Hello,this is an old thread. The shortcut was changed years ago to Ctrl+Alt+Shift+L
Image Image Image Image
Moho Product Manager

www.mohoanimation.com
Rigged animation supervisor in My father's dragon - Lead Moho artist in Wolfwalkers - Cartoon Saloon - My personal Youtube Channel
ggoblin
Posts: 266
Joined: Wed Jan 19, 2022 2:09 pm

Re: Reloading scripts

Post by ggoblin »

Thank you, works perfectly!
User avatar
SimplSam
Posts: 1048
Joined: Thu Mar 13, 2014 5:09 pm
Location: London, UK
Contact:

Re: Reloading scripts

Post by SimplSam »

You an also use Edit > Edit-Keyboard-Shortcuts and search for Reload to set it to a more user-friendly keys combo.
Moho 14.1 » Win 11 Pro 64GB » NVIDIA GTX 1080ti 11GB
Moho 14.1 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam


Sam
ggoblin
Posts: 266
Joined: Wed Jan 19, 2022 2:09 pm

Re: Reloading scripts

Post by ggoblin »

Great suggestion, thank you.

Tried setting it to F10 but it wouldn't accept it, so ended up with Alt-R (not as short as F10 but better than default).
User avatar
Greenlaw
Posts: 9269
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Reloading scripts

Post by Greenlaw »

Personally, I recommend sticking with the default...it's not hard to remember (press all modifier keys + L for load,) and I'm less likely to press it by accident. 😸
User avatar
SimplSam
Posts: 1048
Joined: Thu Mar 13, 2014 5:09 pm
Location: London, UK
Contact:

Re: Reloading scripts

Post by SimplSam »

I set mine to ctrl-alt-r - part of the reason was so I could do it easily with just my left hand.
Moho 14.1 » Win 11 Pro 64GB » NVIDIA GTX 1080ti 11GB
Moho 14.1 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam


Sam
ggoblin
Posts: 266
Joined: Wed Jan 19, 2022 2:09 pm

Re: Reloading scripts

Post by ggoblin »

My laptop keyboard has a Fn and Windows key between the Ctrl and Alt keys making (ctlr-alt-shift-l) a bit fiddly, definitely needing two hands.

Pity it doesn't seem to allow Function keys as user defined shortcut keys. I think it reserves Function keys for itself even though it doesn't use them all. I tried modifying the keyboard shortcut json file directly but that didn't work either.
Post Reply