Results 1 to 9 of 9

Thread: Command Line Parameters?

  1. #1
    Maximum Bitrate kiltjim's Avatar
    Join Date
    Feb 2004
    Location
    PA, USA
    Posts
    805

    Command Line Parameters?

    I'm a newb, so be gentle...

    I am looking for some information on how to directly launch a program, and use some options that can be turned on using the drop down boxes.

    i.e. File->Open-> etc...

    (This is really focused at having streets and trips automatically launch GPS tracking.)

    I have some experience with VB, so if its needed I can deal with that.

    (I did do a search, but I don't really know what I'm looking for.)

  2. #2
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,061
    Not sure that can be done unless the developers have put those type of 'backdoors' in.

    Kind of like 'cheats' in some games.

  3. #3
    Raw Wave Laidback's Avatar
    Join Date
    Oct 2003
    Location
    Madrid
    Posts
    1,984
    Quote Originally Posted by kiltjim
    I'm a newb, so be gentle...

    I am looking for some information on how to directly launch a program, and use some options that can be turned on using the drop down boxes.

    i.e. File->Open-> etc...

    (This is really focused at having streets and trips automatically launch GPS tracking.)

    I have some experience with VB, so if its needed I can deal with that.

    (I did do a search, but I don't really know what I'm looking for.)
    You need a Macro program such as Scriptit

  4. #4
    Variable Bitrate
    Join Date
    Sep 2003
    Location
    Wilkes Barre, Pa
    Posts
    233
    Look for SendKeys API.. Basically you launch the application and use SendKeys to control it..

    "SendKeys "%f", true" will be the same as CTRL-F and true will make your application wait for the key strook to finish..

  5. #5
    Maximum Bitrate kiltjim's Avatar
    Join Date
    Feb 2004
    Location
    PA, USA
    Posts
    805
    Scriptit looks like it may work. From what I found alot of people use it to autmate their desktops. But now I can't seem to find it! Microsoft has a link to it, but Page not Found!

    Does anyone have a copy of it? Or know of where I can get it? Or know of any substitutes?
    2000 Subaru OBS

    Dell P3 @ 900 Mhz
    7" Lilliput TS w/DigitalWW in-dash mount
    80GB External HD

    I am Zero Bitrate....

  6. #6
    Maximum Bitrate owenjh's Avatar
    Join Date
    Nov 2003
    Location
    NC
    Posts
    604
    Maybe you could use something like the windows hwnd API? I use it to get the data from winamp, but I am not sure how you would go about getting it from menu's
    CarComputer Status: New Car & Broken (Motherboard Fried)
    Owen JH | My Linux Blog | The Tech Fellows

  7. #7
    Raw Wave Laidback's Avatar
    Join Date
    Oct 2003
    Location
    Madrid
    Posts
    1,984
    Quote Originally Posted by kiltjim
    Scriptit looks like it may work. From what I found alot of people use it to autmate their desktops. But now I can't seem to find it! Microsoft has a link to it, but Page not Found!

    Does anyone have a copy of it? Or know of where I can get it? Or know of any substitutes?
    I can mail it to you, if you want? 256k

  8. #8
    Maximum Bitrate kiltjim's Avatar
    Join Date
    Feb 2004
    Location
    PA, USA
    Posts
    805
    I found a way to do it, but it's a little round about.

    I downloaded this...

    Script.exe

    This allowed me to write scripts to automatically launch and perform certain practically everything within a application. Problem is that you have to write a script as a text file, save it as a .scr, and then launch the program with the program above.

    This is great and all, but no less work then launching the actual program, and clicking your way through the menus.

    A 3 line batch file solved this, but I'm wondering if Scriptit is any easier?
    And is it worth it, since I have this working?
    2000 Subaru OBS

    Dell P3 @ 900 Mhz
    7" Lilliput TS w/DigitalWW in-dash mount
    80GB External HD

    I am Zero Bitrate....

  9. #9
    Raw Wave Laidback's Avatar
    Join Date
    Oct 2003
    Location
    Madrid
    Posts
    1,984
    Quote Originally Posted by kiltjim
    I found a way to do it, but it's a little round about.

    I downloaded this...

    Script.exe

    This allowed me to write scripts to automatically launch and perform certain practically everything within a application. Problem is that you have to write a script as a text file, save it as a .scr, and then launch the program with the program above.

    This is great and all, but no less work then launching the actual program, and clicking your way through the menus.

    A 3 line batch file solved this, but I'm wondering if Scriptit is any easier?
    And is it worth it, since I have this working?
    Scriptit would be similar, you have to launch a shortcut to 'Scriptit textfile.txt'. In the textfile.txt you would put in the program to open and the commands.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •