CustomUI
 1-11  …  212-231  232-251  252-271  272-291  292-311  …  512-522

Previous
Next
 From:  bemfarmer
6507.252 
Nodeedit is disabled in the new custom UI. (?)
Move nodeeditor directory to AppData/.../moi, beside customui directory, then doubleclick on customui and remove dash in front of -97NodeEdit.htm. (?)

- Brian
  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:  Max Smirnov (SMIRNOV)
6507.253 
Hi Michael

>>I've been thinking that for the next beta how about if I have MoI look through some specific directory in AppData for any .js files and if any are found it will execute them.
It's a good idea. I thought about one file (something like autorun.js), but if you make a separate directory it will be much better. In this case the execution list should be sorted by name, so we can manage the order of execution.

>>I'll also put in an empty named container element in CommandBar.htm by default that can be used as a target for where to insert controls.
You can give a name to <flex> container.

>>A couple of issues are - what should the directory containing scripts to execute at startup be called, maybe just plain "startup" ?
Yes. Startup is a good name.

>>I guess there should also be a "commands" and "scripts" directory that you could make there as well. But then will having MoI look in 2 different commands directories for things cause problems since currently there's only one that is identified by moi.filesystem.getCommandsDir()?
In my opinion the moi.filesystem.getCommandsDir() command should point to commands directory with MoI's built-in scripts.
For a user commands directory you can add another command. something like moi.filesystem.getUserCommandsDir()
But do we need it? I think moi.filesystem.getAppDataDir()+"commands\\" will be enough.

>>And what should happen if there is a file with the same name in both places, which one should be actually loaded?
I think the current commands directory with MoI's built-in scripts should have higher priority.

>>Also when should startup scripts run - probably just before the main window is shown?
Yes.
I don't remember, does MoI have a command which refreshes MoI UI? It can be useful in some cases.
  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:  Max Smirnov (SMIRNOV)
6507.254 
Finema
>>I have this error when i want to try Sudiv in the customUI2
>>ReferenceError: Can't find variable: _Subdiv_beta10
Yes, _Subdiv_beta10 is not released yet ;) It's an experimental version.

Brian
>>Nodeedit is disabled in the new custom UI. (?)
It disabled by default.

>>Move nodeeditor directory to AppData/.../moi, beside customui directory, then doubleclick on customui and remove dash in front of -97NodeEdit.htm. (?)
You're right, now Nodeeditor can be stored in AppData directory

Barry
>>can Max's UI be installed in version 4 beta portable.
It should work right now, but you need to edit icon paths.
I'll add support of portable version later.

Marco
moritz

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:  Finema
6507.255 In reply to 6507.254 
Thanks a lot max for your good job!
  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
6507.256 In reply to 6507.253 
Hi Max, so I'll set that up for the next beta.

re:
> I don't remember, does MoI have a command which refreshes MoI UI? It can be useful in some cases.

There isn't a special MoI call for it but I think the built in HTML window.document.reload( true ); should work.

You can get all the things to reload by calling var panels = moi.ui.getUIPanels();

Or if there is a particular one you want var panel = moi.ui.getUIPanel( url );

- 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:  mkdm
6507.257 In reply to 6507.254 
You're welcome Max.

Have a nice day.

- Marco (mkdm)
  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:  Marbleman
6507.258 
Thanks Max.....awesome!
www.jameselliott.co.uk
  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:  Marbleman
6507.259 
Hi Max,

I have installed all and everything is working perfectly, except for one thing..... I have copied the contents only of the object folder and pasted it into the new objects folder.....all is showing and present except the objects are not in sequential order, or infact any order that I can tell. Please see screenshot attached. Have you any idea how I can force them to be read in a sequential and Alphabetical order?

Thank you

James Elliott
www.jameselliott.co.uk
Image Attachments:
Size: 499 KB, Downloaded: 265 times, Dimensions: 1440x1316px
  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:  4rw1n
6507.260 In reply to 6507.259 
where u download all of that objects??
  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:  Marbleman
6507.261 In reply to 6507.260 
I drew them!
www.jameselliott.co.uk
  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:  Max Smirnov (SMIRNOV)
6507.262 In reply to 6507.259 
Hi James,

replace customui/mods/ObjLibrary.menu.htm file with this one

EDITED: 7 Mar 2022 by SMIRNOV

  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:  Marbleman
6507.263 
Hi Max,

Thank you, works a treat!

James
www.jameselliott.co.uk
  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:  Frenchy Pilou (PILOU)
6507.264 
<< sequential and Alphabetical order?

What is a sequential order ? by date ? by size ?...
  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:  Hamish Mead (HAIRYKIWI)
6507.265 
Max, many thanks for CustomUI v2.

I'm after some help setting up the ExtScripts directory on OSX with MoI v4 beta Dec-12-2017 please. I'm probably just missing something quite obvious.

In the ExtScripts.cfg.htm file, at the following location on OSX:
/Users/xxxx/Library/Application Support/Moi/customui/mods/ExtScripts.cfg.htm

I wrote:



I tried with and without the tilda and changing forward to back slashes - still nothing.

I can only access the scripts in MoI v4, if I actually copy them to the MoI commands directory - i.e. this one:
/Applications/MoI v4 beta Dec-12-2017.app/Contents/Resources/commands



Any suggestions much appreciated, thanks :)
  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:  Max Smirnov (SMIRNOV)
6507.266 In reply to 6507.265 
Hi hairykiwi,

at the moment MoI (and CustomUI) doesn't support an external script directory. To make ExtScripts work you need to remove ExtScripts.cfg.htm file.

EDITED: 31 Jan 2018 by SMIRNOV

  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:  Hamish Mead (HAIRYKIWI)
6507.267 In reply to 6507.266 
Hi Max,

Many thanks for your reply - that's great to know, but also adds to my confusion.

Are you saying it *did* work (under v3?), but under v4 currently doesn't, or the feature never did work?

Either way, it would be great if you could clarify the instructions you wrote about this feature in your initial post, copied below - or consider adding to that first post a link to later posts detailing significant changes. I appreciate what I'm suggesting is a bit of a hassle, but I thought I'd read all the 260+ posts to ensure I was up to speed on the latest install details, and don't recall reading anything saying the feature wasn't active.

quote:
By default this addon checks only /commands directory, but you can create /customui/mods/ExtScripts.cfg.htm with notepad to add any directory you want.
Example:
MOI\commands
MOI\commands\myscripts
MOI\myscripts2
D:\dir1\dir2\myscripts3



Much respect for all you've done,
Hamish
  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:  Max Smirnov (SMIRNOV)
6507.268 
CustomUI v2.0 beta2

This version works with MoI v4 beta Feb-09-2018 only!!! (and with all later versions of course)
CustomUI should be stored in AppData directory. CustomInit loader has been removed. Now CustomUI uses appdata/startup directory.

Installation (Win):
Remove all previous versions of CustomUI
Extract CustomUI.2.0.beta2.zip to C:\Users\<username>\AppData\Roaming\Moi\

Installation (Mac):
Remove all previous versions of CustomUI
Extract CustomUI.2.0.beta2.zip to /Users/<username>/Library/Application Support/Moi/

After installation remove all unneeded .js scripts from startup directory

P.S. I have some problems with Screenshot addon. I'll add it later.

UPD: I wrote a simple javascript injector which works good with the new MoI's loader. Screenshot and CamSwitch mods has been added.

EDIT 2/13/2023 - (Michael Gibson) Download link here: CustomUI.2.0.beta2.zip

EDITED: 13 Feb 2023 by MICHAEL GIBSON

  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:  mkdm
6507.269 In reply to 6507.268 
Hello Max!

Thank you very much for this update!!

I have only one problem, I don't have subdiv_beta_10 but only beta_09.
Where I can download it ?



Thanks a lot for support!

- Marco (mkdm)
  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:  Max Smirnov (SMIRNOV)
6507.270 In reply to 6507.269 
Hi Marco,

It's my fault. subdiv_beta_10 is not released yet :)
I uploaded a fixed version of CustomUI archive.
  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:  mkdm
6507.271 In reply to 6507.270 
No problem Max!
Uploaded this new version and all works fine. Thanks :)

Ciao!

- Marco (mkdm)
  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

 

 
Show messages:  1-11  …  192-211  212-231  232-251  252-271  272-291  292-311  312-331  …  512-522