Home > Dashboard > GeoShell R4 > ... > Plugin Settings > GeoLaunch
GeoShell R4 Log In | Sign Up   View a printable version of the current page.
GeoLaunch
Added by jhonen jones, last edited by jhonen jones on Aug 10, 2005
Labels: 
(None)

NOTE: GeoLaunch is now merged with GeoMenu to GeoMenuLaunch, there is no benefit in using GeoLaunch instead of GeoMenulaunch.

GeoLaunch has the following settings:

Note: only the "path and filename" setting is mandatory, and theoretically, that doesn't even have to include a path, as long as the application of document you're trying to run can be run from the run menu without a path. Ie: it's in the Environment PATH, or defined in HKEY_CLASSES_ROOT\applications

If a file is dropped onto the icon, it's full path is placed, in quotes, in the "parameters" filed when launching the app in "Path and FileName." This obviously has no effect if the geOLaunch plugin is pointed at a document instead of the application.

In order to know where to configure, after you've added the plugin to a bar, mouse-over the plugin, and the tooltip will tell you where to go. For instance, if the tooltip says "geOLaunch2_1" ... you need to go, in the registry, to HKEY_CURRENT_USER\Software\geO\geOShell\Plugins\geOLaunch2_1

  • Icon – button icon - path to a file you want us to pull the icon from, or blank
  • ToolTip – button tooltip text
  • Path and FileName – filename (including path, if it's not in your environment PATH or mapped in the registry)
  • Parameters – parameters to pass to the file
  • Start-In Path – path to the directory you want to start from (same as shortcut's "Start in") or blank.
  • Verb – These values describe the ACTION to take:
    • edit – Launches an editor and opens the document for editing. If lpFile is not a document file, the function will fail.
    • explore – Explores the folder specified by lpFile.
    • find – Initiates a search starting from the specified directory.
    • open – Opens the file specified by the lpFile parameter. The file can be an executable file, a document file, or a folder.
    • print – Prints the document file specified by lpFile. If the file you're pointing at is not a document file, the function will fail.
    • properties – Displays the file or folder's properties.

you can also add custom defined verbs, if there are any (ie: anything you see in the right-click menu for that file)
Show As (DWORD) can have one of the following numbers:

# Flag Action
0 SW_HIDE Hides the window and activates another window.
1 SW_SHOWNORMAL DEFAULT Activates and displays a window. If the window is minimized or maximized, Windows restores it to its original size and position. An application should specify this flag when displaying the window for the first time.
2 SW_SHOWMINIMIZED Minimizes the specified window and activates the next top-level window in the z-order.
3 SW_SHOWMAXIMIZED Maximizes the specified window.
4 SW_SHOWNOACTIVATE Displays a window in its most recent size and position. The active window remains active.
5 SW_SHOW Activates the window and displays it in its current size and position.
6 SW_MINIMIZE Minimizes the specified window and activates the next top-level window in the z-order.
7 SW_SHOWMINNOACTIVE Displays the window as a minimized window. The active window remains active.
8 SW_SHOWNA Displays the window in its current state. The active window remains active.
9 SW_RESTORE Activates and displays the window. If the window is minimized or maximized, Windows restores it to its original size and position. An application should specify this flag when restoring a minimized window.
10 SW_SHOWDEFAULT Sets the show state based on the SW_ flag specified in the STARTUPINFO structure passed to the CreateProcess function by the program that started the application. An application should call ShowWindow with this flag to set the initial show state of its main window.
11 SW_MAXIMIZE Maximizes the specified window.

NOTE: Don't care too much about the FLAGS. They are of lower interest for users and not necessary for using the plugin.

Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.3 Build:#641 Jan 13, 2007) - Bug/feature request - Contact Administrators