WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Samples from Users
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

WILL Lookup Utility


Steffen Fraas - sfraas@zoo.co.uk - Apr 10, 2006 v1.0

Menu utility to provide several new functions in WinBatch Studio:

[will_look-up_v1_0.zip]

  1. Command/partial command lookup and completion
  2. Jump to :Label/label, #definition/caller to #definition
  3. List where variable is used
  4. From a list jump to any :label, #Definition, Bookmark or Top Menu title found in a script.
  5. Jump back to caller
  6. Extract UDF/UDSs from a file and embedded #Include file/s:
  7. Validate UDF/UDSs for Command lookup
Examples using shortcut a for F8, b for CTRL+F8, c for SHIFT+F8:
List all command: press a with cursor in open space.

Auto-complete command:  type mes & press a for Message(title, text)

Auto-complete with selection: type file & press a to see all commands starting with FILE.

List all :labels, UDFs/UDSs, bookmarks (bookmarks start with ';:') by pressing b with cursor in open space. Double click on an entry to go to that entry.

List all GoTo/GoSub callers: put cursor on :label and press b.

Go to :Label: put cursor on GoTo/GoSub label and press b.

List callers of UDF/UDSs: put cursor in UDF/UDS name and press b.

Go back and forth between last and current entry: press c. Line numbers are displayed in status bar at bottom.

List all uses of a variable: put cursor on variable and press b

..and so on...
Installation:
  Exit WinBatch Studio if in Studio, unzip into a new directory and
        double click on 'Will-Look-up_setup.wbt'

  This will:

        Copy "Will-Look-up.dll" into Dirhome()
        Copy "Will-Look-up.mnu" into Dirhome()              
        Copy "Will-Look-up-extender.ini" into DirHome()
        Add menu code at start of Dirhome()'s "wsp-user.mnu"
After installation:
      Start up WinBatch Studio and edit a file.
      Right click and select Will-Look-Up>Instructions.

      **********************************************************
      * If error 3052 occurs, variable wspuser not initialised,*
      * then just repeat the right click command above.        *
      **********************************************************
Uninstall (why do you want to do that...)
   Delete "Will-Look-up.dll" from DirHome()
   Delete "Will-Look-up.mnu" from DirHome()
   Delete "Will-Look-up-extender.ini" from DirHome()
   Delete Will-Look-Up code from "wsp-user.mnu" as follows:
       Start WinBatch Studio
       Edit a file
       right click and select:
            More...>How do I?...>Customize this menu...
            Delete all lines starting with line:
                 ;Start of Wil-look-up code. DO NOT REMOVE
              and ending with line:
                 ;End of Wil-look-up code. DO NOT REMOVE

History:
  10 April 2006 v1.0

         Added    Restrict search to current or all segments (UDF/UDSs)
         Added    Copy function can now also copy only selected lines to clipboard
        
   4 March 2006 v.099

         Added:   Display result of finds
         Fixed:   Dialog bug
         Fixed:   Back-to-caller function

   3 March 2006 v.098

         Added:   seven options to GUI

  23 February 2006  v.097

         Added:   required extender msg to status bar when selecting a command
         Changed: window size for command list
         Added:   Extract function now also sorts and displays UDF/UDSs and
                      allows the selected item to be inserted.
  
  22 February 2006  v.096

         Added intcontrol(72,x,x,"UDF/UDS",0)'s fourth parameter as function caller 

  21 February 2006  v.095

         Added intcontrol(73,x,x,"UDF/UDS",0)'s fourth parameter as function caller 

  11 December 2005  v.094
         Added Dialog procedure="udf/uds" and objecteventadd's third parameter as function caller

  14 April 2005  v.093
         various changes

  10 April 2005  v.092
         Fix for if 'Show full path in title bar' checked or unchecked.
            See options in WinBatch Studio. Click View/options/Editor
            tab.
         Added tab support. Embedded tab characters - hex(09) - replaced
            with corresponding numbers of blanks.

  08 April 2005  v.091
         variable look-up option added

  04 April 2005  v.09
         Beta release
 



Article ID:   W17245
File Created: 2019:08:14:09:34:18
Last Updated: 2019:08:14:09:34:18