Re: Audit Bar Lines
Reply #11 –
Good, this should leave the file entitled "auditBars.js"
When user tools were first introduced the default language used for them was PHP. What you are seeing are the User Tools that are distributed with the "User Tool Starter Kit", which were all written in the early days, and are thus written in PHP.
I believe the "wx" and "wxtools" folders comprise a Windows eXtensions library for PHP.
The starter kit installs a PHP interpreter.
The current recommended user tool language is lua, and the lua interpreter is built into NWC
However, you are not forced to use lua or PHP to create user tools. EG, this one uses javascript, hence the .js extension. I've personally written tools with vbscript (.vbs) - the Microsoft supplied "WScript" interpreter handles both these languages just fine.
The empty dropdown just means that you haven't manually installed any user tools before, so haven't created any groups to put them in.
The groups that start with a period "." are automatic ones, and I, personally, don't put any other user tools in them.
E.G. The .Plugins group is populated automatically by User Objects that have built-in User Tools. These enable User Tool type use of the related Object - it only applies to some objects as not all contain user tools.
My system uses a holdover from the early days and thus I have a group called "ConsoleClipScripts" where my manually installed tools go. You can have as many groups as you want.
I also have a group called "Default" but I don't recall how it was created, too many moons have passed in the meantime.
If you type in the name of a group that doesn't exist, then that group will be created automatically. If you delete, or move, the last tool within a group then that group will automatically be deleted too.
The first part of this is correct. You have to opportunity to change the "Name" if the default doesn't suit you.
Also, it appears your system decided to overwrite the command field. Sorry about that, I should have considered the possibility in my earlier description.
The correct command field should read
"wscript Scripts/auditBar.js"
without the quotes
<EDIT>
Following Warrens updated code the command line should now read:
"wscript Scripts\auditBar.js <PROMPT:Summarize?:=|Y|N>"