Results 1 to 4 of 4
  1.    #1  
    I am using Claunch and made a page of internet favorites.
    A little Backround:
    In Claunch I can put in the "File Path" and a "command line". So I have:
    File Path: \Windows\iexplore.exe
    Command Line: m.gmail.com
    This all works fine.

    I am now messing with Mortscript because I want to do more with a single click like in a batch file. I can launch a "Favorite" simply by using:
    Run( "\Windows\iexplore.exe", "http://m.gmail.com" )
    And just have gmail.mscr in the "File Path" above with no "Command Line".
    With this I have to make a script file for every "Favorite" I want.

    What I would like to be able to do it just have a generic script for launching Internet Explorer, Run( "\Windows\iexplore.exe"), and be able to pass the "Command Line" section of Claunch to point it to the correct site.

    Is this possible????
  2. #2  
    Maybe I'm missing what you are trying to accomplish. What advantage are you trying to gain by calling a script as opposed to iexplore directly? Do you want to swap different browsers or something without changing the Claunch settings? Anyways here is what you would do.

    Instead of calling the script directly you would call MortScript.exe and pass in the script name to run and specify additional parameters to control what the script will do. In Claunch your file path would be
    \Program Files\MortScript\MortScript.exe

    Then your command line would be something like
    \scriptpath\myscript.mscr parm1="http://m.gmail.com"

    Then in the script you can use parm1 as a varable to pass to your browser call.
  3.    #3  
    Thanks,

    That sounds like what I want. I will give it a try.

    I am using a script to simulate stylus "touches" to get me back to the main cLaunch page then launch Internet Explorer.

    Thanks for your help and I will let you know if it works.
  4.    #4  
    Thanks that did work!!!

    I did however have to use this format:

    In Claunch your file path would be
    \Program Files\MortScript\MortScript.exe

    Then your command line would be something like
    "\scriptpath\myscript.mscr" parm1="http://m.gmail.com"

    Thanks for your help!!!

Posting Permissions