Results 1 to 4 of 4

Thread: AutoIt to RRcommand

  1. #1
    Maximum Bitrate tundra2000's Avatar
    Join Date
    Mar 2006
    Houston, TX

    AutoIt to RRcommand

    Hi everyone, Im not very good at using AutoIt (yet), but as I skin, I continue to run into predicaments where I need AutoIt to send a command to RR. However, my request for help is kinda specific:

    I would like one AutoIt program (.exe) that can accept parameters in the form of text files.

    For example. I run script.exe|radio OR script.exe|radio.txt and it executes whatever the contents of radio.txt is (i.e. "RADIO")


    if this isnt possible, what im trying to accomplish is to have a custom list or a directory list of all the possible options for menu buttons. a click and hold like digitalFX 3.0 will bring you to a screen with a LIST (not buttons) that i can click on specific entries to replace the menu button. thanks a bunch to anyone that can help

  2. #2
    Super Moderator
    Auto Apps:loading...
    JohnWPB's Avatar
    Join Date
    Sep 2005
    West Palm Beach, Florida
    Blog Entries
    Check the AutoIt help file for reading and writing to an ini file. This is much easier than creating a text file and trying to get the part of the line you want from it.

    $MyCommand = IniRead("myfile.ini", "section2", "key", "NotFound")
    MsgBox(4096, "Result", $MyCommand )

    Use the two lines to set up the ini and test to see if the msg box displays what you want.

    Then, for the easiest way to send a single command to RR you can use something like and replace the MsgBox line:


    For the above code to work, you MUST have the exec.exe (in the rr root folder, can copy it anywhere as it is really tiny) and the myfile.ini is the same folder.
    Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

    My Fiero Build Thread

  3. #3
    Variable Bitrate chevyn8's Avatar
    Join Date
    Oct 2006
    small town nebraska
    Do you have some more details about what you are trying to do exactly? An ini file is just an organized text file. May be a better way accomplish the same thing. From your description I came up with something like this (not working code, just an example):
    $filename = $cmdlineraw
    $command = IniRead($filename, "rrcmdrunner", "cmd1", "")
    $rr2 = ObjCreate("RoadRunner.SDK")

    text file (scriptcmd.ini) contains:

    cmd to make it work from a skin:
    CarPC in my 82 Camaro. Dual core atom, M4-ATX, 7 lilliput, bu353 GPS, Reborn skin, punch 40/100ix
    MediaLaunch for RR
    Online Check for RR
    Locker for RR

  4. #4
    Maximum Bitrate tundra2000's Avatar
    Join Date
    Mar 2006
    Houston, TX
    sry i didnt do a very good job explaining earlier. i would like to have a 'directory list' of a folder containing a bunch of files (whether they be .bat, .exe, .txt, i dont really care). when i click on one of these files tho, i want each one to be able to send certain unique commands to RR. for example, if i have a file called AUDIO (dont mind the extension right now), and i double click on it, i want it to run a bunch of commands that will change one of my menu buttons to say AUDIO, and have it run AUDIO when i click it, or whatever i want at least when i click it.

Similar Threads

  1. Parallel port relay control in RR using Autoit?
    By momanz in forum Road Runner
    Replies: 5
    Last Post: 04-03-2009, 10:20 AM
  2. iGuidance 4 and AutoIt Scripts
    By BlackStang in forum Road Runner
    Replies: 4
    Last Post: 12-19-2007, 10:54 AM
  3. AutoIt
    By 1Munkey in forum Road Runner
    Replies: 36
    Last Post: 02-26-2007, 06:04 PM
  4. Thoughts on Autoit X
    By lostreception in forum Software & Software Development
    Replies: 4
    Last Post: 09-13-2006, 01:33 AM
  5. Replies: 3
    Last Post: 04-24-2006, 04:53 PM


Posting Permissions

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