A quick (and dirty) Script Palette script
 1-20  21-40  41-44

Previous
Next
 From:  Mindset (IGNITER)
5993.41 
>> works only at the first re-launch of Moi! Cool... :)
>> ...but not at the second re-launch! :(
>> And disappears from the Shortcut list!

Found another little trick:
Create copies for each category. For example one for spirals, '../ui/ScriptSpirals.htm'
Change Line 22 to utilize a different character, unique for each category, as the '?' had been suggested: title = line.match(/\/\*\?(.+)\*\//);

[Shortcut Keys]
Alt+1=script: /*!Spirals...*/ moi.ui.createDialog( 'moi://ui/ScriptSpirals.htm' );
Alt+2=_ArchimedeanSpirals_ /*?ArchimedeanSpirals*/
Alt+3=Logarithmic2D /*?Logarithmic 2D*/
Alt+4=EulerSpiralSlider /*?Euler Spiral*/
Alt+5=EulerSpiral3 /*?Euler Spiral v3*/
Alt+6=FrenetClothoid3D_RK2_v1 /*?Frenet Clothoid 3D*/Alt+DownArrow=Nudge Down Small
A=Join /*!Join*/
Alt+S=IncrementalSave /*!Incremental Save*/
Ctrl+R=ReBuild /*!ReBuild*/
Ctrl+Shift+S=ScaleArray /*!ScaleArray*/
G=SpurGearProfile /*!Spur Gear*/
z=script:moi.ui.createDialog( 'moi://ui/ScriptPalette.htm' );




This way, items from the first list can 'createDialog' for other sub-categories:



And since each category file parses the ini file separately, the process remains repeatable!!
Even though, there are still yet a finite number of key-codes available for listing.

EDITED: 25 Apr 2015 by IGNITER

Attachments:

  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:  Rogurt
5993.42 
Hello all,

I try to use that fine script with Moi 2.0 (Win7 64bit) but it just wont work. Giving me an error message (see attachment).
I made sure the ScriptPalette.htm is in ui folder NOT in Commands folder.

Can anyone help?

Regards
Rogurt


Attachments:

  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:  dinos
5993.43 In reply to 5993.42 
Hi Rogurt,

unfortunately i don't think this script will work with Moi 2.0
I've never used Moi2.0 as i'm on a Mac, but there was a big change from Moi2.0, which was using Internet Explorer, to Moi 3.0 which is using webkit.


Dinos
  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
5993.44 In reply to 5993.42 
Hi Rogurt, that script is using some new functions that were added in for v3, so it requires v3 to run and won't work on v2.

- 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

 

 
 
Show messages:  1-20  21-40  41-44