Author: sskacy
Author Website: http://www.sskacy.com

Requirements: No addons required

Version: 1.0

Short description: This utility allows you to quickly search through scripting commands as well as look up the documentation on these commands in the biswiki.

Date: 2011-04-18 19:31


Comments: (3)
Rating:



 







ArmA2 Command Lookup Tool

by
sskacy


Description:
This utility allows you to quickly search through scripting commands as well as look up the documentation on these commands in the biswiki. I'm including the source code in C#. If you just want the executable, it can be found in "ArmA2CommandLookup\bin\Debug\ArmA2CommandLookup.exe". This is a simple program so it shouldn't have many issues, but if you come across any, let me know and I'll see about addressing them for you. The program requires a version of the .NET framework at or above version 3.5. It also requires a version of Windows at or above XP. I've included screenshots below to illustrate the functionality of this program:


Source code:
ArmA2 Command Lookup Tool Source


Usage:
When you first run the program, the form will look just like figure 1 below. When you start to type a command, the list will narrow down to only commands that contain the string in the textbox (as shown in figure 2). You can press "Tab" to set the focus to the listbox and move up and down the items by pressing the "Up and "Down" arrows on your keyboard. Then press "Enter" to bring up the form with the embedded browser as shown in figure 3. This is quicker if you have fast fingers and the list is short. Otherwise, you may want to double-click the item. The browser will nagivate to the command that you just double-clicked or pressed enter while having it selected.

How to update it when new commands are released (I may not be here forever):
- Assuming that the wiki page used is in the same format, download the contents of the following page: http://community.bistudio.com/wiki/Category:Scripting_Commands_ArmA2
- Name that downloaded file "wikipage.htm" and place it in the folder as the program
- Run the program with the argument "-generatelist"
- "wikipage.csv" should now show up in the same folder as "wikipage.htm" and the program
- If the page format hasn't changed, the new commands should now show up. If it has changed, you'll get unexpected results and will have to replace the "wikipage.csv" with a backup (or regenerate it using the old wikipage.htm)
- Alternatively, you can just add the commands and the links to the documentation manually to the CSV


Forums Topic:
- Armaholic forums




Enable javascript to be able to download from Armaholic please!



Tags: No tags