Notifications
Clear all

[Closed] Maxscript local Help ?

grabjacket
Thanks to Your info about SciTe.

I’m disappointed about this “decision” to make help online. Legacy .chm was times faster.
Same thing with Adobe.
Seems like Lua disabled in Max’s SciTe. =(

Zbuffer
Looks like a lot of work to me.
And most interesting, that maxscript can embed other language, looks fearsome…

Very interesting,
The drawback with the global Options is that it only takes a selection, that’s vcery cool
I like the fact to only click on the word and send this to the help file to get a ‘real’ context help.
(as it was worling previously with .chm)

to only click on the word
oh, sure…
replace
CurrentSelection
with
CurrentWord

Hey Alex,

I’ve had to edit the lines of code you posted a little bit, but it really works for me: actual contextual, local maxscript help: yay!

# point maxscript to a local helpfile
command.name.12.*=Find in local Help
command.12.*="C:\Program Files (x86)\_web\Firefox\firefox.exe" "file:///C:/Users/klaas/Dropbox/Documentation/maxscript-doc-2012/index.html?query= $(CurrentWord)"
command.subsystem.12.*=0
command.mode.12.*=savebefore:no
command.shortcut.12.*=Ctrl+F1

I had to set the subsystem to 0 to make it work for me.

I’ve updated my blog-articleand added your solution to it.

grabjacket
As You like.
I hope to see update on scriptspot too (in pictures X))…

Actually, I’m newbie in maxscript and SciTe. “Googling” + good readme to SciTe.

As help says, after creating command with “number” (12).
It also can be accessed by “id” = 11+“number” (1112)

Like in Your example:

user.shortcuts=\
 Ctrl+F1|1112|

The command number can be in the range of 0 to 49. Command numbers 0 to 9 are assigned Ctrl+Number shortcuts.

That’s why I’ve used 12.

 JHN

In addition take a look at my post here:
http://forums.cgsociety.org/showpost.php?p=7169617&postcount=12

It adds back the original colors from the old helpfile. You have to add the stylish extension and download the css.

-Johan

OK. Here is another way for local help include CHM.

Its very easy.

  1. Download very useful utility from http://www.autohotkey.com/ – it free, open-source macro-creation and automation software utility. And install it. You can use it for another keys remapping in 3ds max window only – such us – left win, TAB, CapsLock etc. Very useful!

  2. After run utility and confirm create sample script. Then replace code with this:


#IfWinActive ahk_class 3DSMAX
F1::RUN c:\Program Files\Autodesk\3ds Max 2013\help\Help.chm

#IfWinActive ahk_class #32770
F1::RUN c:\Program Files\Autodesk\3ds Max 2013\help\MaxScript.chm

#IfWinActive ahk_class MXS_SciTEWindow
F1::RUN c:\Program Files\Autodesk\3ds Max 2013\help\MaxScript.chm

And then reload script (ctrl+R) in autohotkey window.

NOTE1: Change your path to CHM help files.
NOTE2: To create CHM – follow instruction from Jonathan de Blok – Maxscript 2013 Help CHM creator and for compiles the standard docs to CHM spacefrog – script

Enjoy!

PS: One thing – not work query for current word. If anybody know about query command line in chm – please give some info.

Page 2 / 2