Way to hotkey Align Top/Left

Next
 From:  Stien (UNCLESTAN)
8115.1 
Hello world!
I am new to Moi3d and am loving it thus far. My question is:

Is there a script or something to hotkey the specific Align commands like Top or Left?

Ive found things like
A=Align

Is there something like
A=Align(Top)

Thank you !
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
8115.2 In reply to 8115.1 
Hi Stien, welcome to MoI and to the forum!

Yes, it is possible to set up a hotkey to do a specific Align mode.

The way it works is to put a parameter value in the shortcut key, with a space character in between the 'Align' command name and the parameter. The parameters for the Align command can be one of: HorizontalCenter, HorizontalTop, HorizontalBottom, VerticalCenter, VerticalLeft, VerticalRight .

So your shortcut key set up would look like this for example:

A=Align HorizontalTop

Hope that does what you wanted! - Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Stien (UNCLESTAN)
8115.3 In reply to 8115.2 
This works perfectly! Thanks a ton

I was just about to ask where I could find these parameters.. Instead I did some digging and found-

C:\Program Files (x86)\MoI 3.0\commands\align.js

-with a switch case detailing the options i was searching for. Cool stuff and quite illuminating.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Michael Gibson
8115.4 In reply to 8115.3 
Hi Stien, you're welcome! Yeah it would definitely be a good idea to have this mentioned in the help topic for Align.

But yes you found how to look it up yourself, basically all the workflow, options and UI handling for every command works through those script files. One interesting thing about that is that you can change a lot of how MoI works and looks by editing those files.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All