CustomUI
 1-9  …  50-69  70-89  90-109  110-129  130-149  …  510-522

Previous
Next
 From:  Frenchy Pilou (PILOU)
6507.90 In reply to 6507.89 
Thx for the little default! :)

For the "Zèbre" : Seems it is! :)
(Without accents due bug error message etc... :(

EDITED: 19 Feb 2014 by PILOU

  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:  BurrMan
6507.91 In reply to 6507.88 
Hi Frenchy,
"""""""""""Another thing : what about put a new image icone button for a specific command on the CommandBar?""""

You can make your image (I think he made his at 64x64 pixals) then go drop it here, and copy the result:

http://base64image.org/

Then edit the corresponding file here:

C:\Program Files (x86)\MoI 3.0 beta Nov-19-2013\ui\customui

and replace the base64 encode with yours...
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Message 6507.92 deleted 19 Feb 2014 by BURRMAN

Previous
Next
 From:  Frenchy Pilou (PILOU)
6507.93 In reply to 6507.91 
Say I want one for the LineWeb Command for example

I have the image ok, but what about the rest of the process till that icon will be added to the CommandBar ?
I don't want replace the 4 yet existing of the Max's Plugin
  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:  BurrMan
6507.94 In reply to 6507.93 
Hi Frenchy,
You can open the commandbar.htm file with notepad, then note the line for one of the commands already there, like this one:

<moi:CommandButton icon="res://deleteicon" command="delete"><moi:Text textid="Delete"></moi:CommandButton>

This part here is your icon:

icon="res://deleteicon"

If you put your icon in MoI's icon folder, you can then set that to something like this:

icon="icons/plugin.png"

Does that help?
  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.95 In reply to 6507.93 
Hi Pilou,
you need to create a new module. (you can use "select" module as template)
copy "07 Select.htm" to "60 LineWeb.htm"
open 60 LineWeb.htm with notepad
code:
<moi:Spacer/>
<moi:CommandButton icon=" ----- put BASE64 icon here ---- " onbuttonclick="LineWeb">LineWeb</moi:CommandButton>
  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:  BurrMan
6507.96 In reply to 6507.95 
oop's... I had left max's ui.. yes, disregard my comments and look to previous post from max. My bad.
  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.97 
THX I will try that tomorrow! :)
---
Pilou
Is beautiful that please without concept!
My Gallery
  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.98 
hello :)

I have that when I press my LineWeb icon, image and text icon are good but... ;)
Lineweb is of course installed and works when I press Tab & type LineWeb

My 2 lines of 60 Lineweb.html file are

<moi:Spacer>
<moi:CommandButton icon="data:image/png;base64,........numerous caracters ...." onbuttonclick="LineWeb">LineWeb</moi:CommandButton>

Surely I must add something to the Commandbar.htm but what and where ? :)



PS When You press CTL + SHIFT + CLICK on the Options' Button You can open a Zoo! :D

EDITED: 20 Feb 2014 by PILOU

  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.99 In reply to 6507.98 
Hi Pilou, the problem is onbuttonclick="LineWeb" - the contents of onbuttonclick are run as script code, and LineWeb is the name of a command, not script code.

Instead of that put command="LineWeb".

If you wanted to do it in a click handler with script code it would be like this: onbuttonclick="moi.command.execCommand( 'LineWeb' );"

- 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:  Max Smirnov (SMIRNOV)
6507.100 In reply to 6507.98 
Ops, my fault.

use "command=..." instead of "onbuttonclick=..."
  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.101 In reply to 6507.99 
Fabulous! Now Success is complete! Bravo! Thx both of you! :)

I have used the Michael's method, but will test the Max's method also! ;)

And I see that I have not Translated the LineWeb Command! (if possible) ;)

P I have forgotten to make a transparent image PNG! So background icon is here white!

EDITED: 20 Feb 2014 by PILOU

  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.102 
Trying the Max line, works very fine also and some more short to type! ;)

Max method: command="LineWeb"

Michael method : onbuttonclick="moi.command.execCommand( 'LineWeb' );"

  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.103 In reply to 6507.102 
Michael also said about "command=" method. ;)

P.S. Check this thread: http://moi3d.com/forum/messages.php?webtag=MOI&msg=6440.1
  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.104 

EDITED: 20 Feb 2014 by PILOU

  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:  raytownmike (HOPPER)
6507.105 In reply to 6507.20 
I haven't been reading (following) this thread for sometime. Back when I did I was wondering about just how to install the script on my Mac.
Are there many new developments I should be aware of? Thanks I look forward to any responses!
  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.106 In reply to 6507.105 
>>raytownmike
>>..how to install the script on my Mac

Hi,

1. Go to the first post in this thread and download CustomUI.1.0.mac.zip
2. Right-click the MoI app icon and choose "Show package contents". Go into drive_c/moi/ui. Backup CommandBar.htm
3. Extract CustomUI.1.0.mac.zip to drive_c/moi
  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.107 
Can you give me the process for a Script to the Commandbar?

Say i have this one
script:/*Loop Selection*/moi.geometryDatabase.selectLoop();

Seems ... onbuttonclick="Loop Selection">Loop Selection</moi:CommandButton>
don't work ?
---
Pilou
Is beautiful that please without concept!
My Gallery
  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.108 In reply to 6507.107 
Hi Pilou

code:
<moi:CommandButton icon="..." onbuttonclick="moi.geometryDatabase.selectLoop();">Loop Selection</moi:CommandButton>
  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.109 In reply to 6507.108 
Huhu
of course if we must type all the script that is an another story! I could not find that !

Many 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
 

Reply to All Reply to All

 

 
Show messages:  1-9  …  30-49  50-69  70-89  90-109  110-129  130-149  150-169  …  510-522