Loading ...
Sorry, an error occurred while loading the content.

10891Re: [Clip] Menus and choices

Expand Messages
  • Jody
    Aug 4, 2003
    • 0 Attachment
      Hi RT,

      Hopefully, you'll understand this, if not, then ask where you are
      lost at...

      >I'd like to present a group of volunteers working in XP Pro with a
      >desktop icon that leads to a "choice menu" like this:
      > _________________
      > | |
      > | Choice 1a |
      > | Choice 1b |
      > | Choice 1c |
      > | Choice 2 |
      > | Exit |
      > |_________________|
      >Only one choice may be made at a time.

      Use a command-line/shortcut to make a specific Library and Clip
      active | start execution. In Help see: Command-line Parameters
      and then:

      Changes the default Clip library to the one indicated by
      LibraryName (without extension or path). Optionally use RunClip
      to specify a Clip to execute once NoteTab is open.

      "E:\NoteTab Pro\NotePro.exe" /L=Choice1:Clip1

      >These choices would lead to:
      > ^!AATWNWBE.exe a.ini
      > ^!AATWNWBE.exe b.ini
      > ^!AATWNWBE.exe c.ini
      > ^!YAATWNWBE.exe
      > ^!EXIT
      >A real plus would be that once an operator has "entered" this box,
      >there would be no way out except to use the fifth choice, "Exit".
      >This would close all open apps including Notetab, and return to the

      ^!Set %Choices%=^?{Choices==Choice1|Choice2|Help^=Choice3|Enough already; ^=Exit}

      >Another plus would be if the operator was never aware of Notetab,
      >but from my reading in the help file, if Notetab is minimized ^!
      >KEYBOARD may or may not work, and it is used extensively.

      If you are wanting to use ^!Keyboard in NoteTab, then use
      ActivateApp to ensure NoteTab has the focus. If you mean you
      want another program to be in focus use the following. (Not all
      programs will work with CmdShow.)

      ^!FocusApp AppTitle
      ^!CmdShow [Normal|Minimize|Maximize]

      Instead of using ^!Delay, when possible, use a string testing

      ;Give it enough time to load (4/10th of a second)
      ;^!Delay 4

      ...try something like

      ^!FocusApp "AATWNWBE Pro"
      ^!IfSame "^$GetTitle("^$StrCopy("AATWNWBE Pro";1;8)$")$" "AATWNWBE Pro" Next else Skip-1

      >Choice 1a (partial)
      >;Check if the AATWNWBE program is open. Jump to BringToFront label
      >if found
      >^!IfAppOpen c:\AATWNWBE\AATWNWBE.exe BringToFront ELSE Next
      >;AATWNWBE program was not open, so now we launch it
      >^!Shell c:\AATWNWBE\AATWNWBE.exe /a.ini
      >;Give it enough time to load (4/10th of a second)
      >^!Delay 4

      Happy Clip'n!


      UnSubscribe, Options
    • Show all 2 messages in this topic