Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Button command to run autoit exe

  1. #1
    Variable Bitrate
    Join Date
    Jul 2009
    Location
    B.C., Canada
    Posts
    305

    Button command to run autoit exe

    I've done this before but now I can't figure out how it's done. I also can't find with a search.
    I made an exe with autoit and when I click a button I want it to run the exe. I've tried a million and one combinations to make it work but for some reason it isn't.

    Nevermind, I'm an idiot. It helps if you have the .exe in the folder you're pointing to and not just the .au3. Wow.
    PROGRESS:
    Hardware: 100%
    Software: 99% - Always upgrading and improving.
    Installation: 100%

    WORKLOG:
    2005 F-150

  2. #2
    Super Moderator
    Auto Apps:loading...
    JohnWPB's Avatar
    Join Date
    Sep 2005
    Location
    West Palm Beach, Florida
    Posts
    4,691
    Blog Entries
    1
    Quote Originally Posted by Tical84 View Post
    I've done this before but now I can't figure out how it's done. I also can't find with a search.
    I made an exe with autoit and when I click a button I want it to run the exe. I've tried a million and one combinations to make it work but for some reason it isn't.

    Nevermind, I'm an idiot. It helps if you have the .exe in the folder you're pointing to and not just the .au3. Wow.
    Hahahah! I have done that a few times actually LOL. Always remember, Right click, Compile
    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
    Join Date
    Jul 2009
    Location
    B.C., Canada
    Posts
    305
    I did that but my default location was my desktop, then when I moved it, I moved the .au3 instead of the .exe.
    PROGRESS:
    Hardware: 100%
    Software: 99% - Always upgrading and improving.
    Installation: 100%

    WORKLOG:
    2005 F-150

  4. #4
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,838
    This is three examples, how to call .exe with RR.
    Code:
    "MyApp77","Load;googlemapstrack.skin||RUN;$SKINPATH$Scripts\GoogleMapsTrack\GoogleMapsTrack.exe;GoogleMapsTrack"
    "MyApp78","Load;Lyrics_Display.skin||RUN;$SKINPATH$Scripts\MiniLyrics\MiniLyricsBox.exe;MLEmbedder"
    "MyApp79","Load;Spotify.skin||RUN;D:\Program Files\Spotify\Spotify.exe;Spotify||RUNQ;$SKINPATH$flytomenu.exe|sliderMENU.skin":)

  5. #5
    Newbie
    Join Date
    Dec 2011
    Posts
    9
    I think it would be great if someone would post some up to date comments here as this has changed evidentally...
    Like diff between ; double ;; , | double || , quotes versus no quotes. Capital letters versus mixture/lower case. Where to put these commands? Which ExecTBL file to use. Theres one in Program files\Ride Runner AND My Documents... I have spent many hours searching with VERY conflicting, and confusing results!!
    Just a couple examples will help out tremendously.

    I am doing an Autoit app to operate the antenna via the parallel port. All easy stuff for me just need to be able to do a few things:

    1. execute the exe upon entering the HD radio skin
    2. execute another upon leaving the radio skin. (where to put these commands and what exactly are they?)
    I will post my tools and share them when complete.
    Thanks.

  6. #6
    MySQL Error
    Auto Apps:loading...

    Join Date
    Oct 2004
    Posts
    5,246
    use ONSOURCECHANGE event

    you dont want to lower antenna when you leave radio skin!!!

    you want it down, when your not using the radio


    a plugin would be soooo much quicker than an autoit3 script

    all you would have to do is watch for "ONSOURCECHANGE" and then check var ActiveSourceID

    but even then... you can do this without a plug in

    in exectlb.ini

    "ONSOURCECHANGE","IFVAR;ACTIVESOURCEID<>1;LOWERANT <<RAISEANT"
    "LOWERANT","whateveryouneedtolowertheant"
    "RAISEANT","whateveryouneedtoraisetheant"

    done

    i would do this in the GLOBAL exectlb....since i dont know anything about your system... and really you should NOT have any exectlb.ini file in program files\Ride Runner i will not
    be able to help, till more info is known
    (and im not talking about (BLANK) ExecTBL.ini)
    (course if you are in legacy mode, you would, but then you WOULD not have it in mydocuments\riderunner\config
    Last edited by mitchjs; 01-11-2012 at 09:38 PM.
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

  7. #7
    Newbie
    Join Date
    Dec 2011
    Posts
    9
    Thanks for the reply and help!

    Ok, yes makes sense to keep the antenna up even when leaving skin... got so caught up on just trying to get an exe to run I got ahead of myself!

    My system is nothing special. Win Xp Pro, P4 3Gig, 1 gig mem. I had Road runner installed prior to recently installing Ride runner and DFX5 (28th of dec). I did not remove road runner first. Mistake? I have noticed in task manager ride runner.exe AND road runner.exe running. This normal?

    As for the Exectbl.ini files. The one you mentioned above in My Documents\Ride runner\config is a third one! I did have one in Program files\ride runner (just renamed this one and all is same) The one that I was using is in C:\Documents and Settings\<my username>\My Documents\RideRunner\Skins\DFX5\Exectbl.ini
    By adding this to that file I was finally able to get my app to run when opening the HD radio skin:
    "Radio","Load;Radio_Player_HDRadio.skin||RUN;C:\Do cuments and Settings\<my username>\My Documents\RideRunner\Skins\DFX5\Scripts\ATest\ding .exe"

    (ding.exe is just a test autoit app)

    I am not sure I understand your above code... Does look like the way to go. My problem is I have never edited any of the Ride runner files, so I am struggling.

    Just wondering... wouldnt this be a VERY common need for many users installing Road runner/ride runner? I have done tons of searching with little results... seems like a sticky somewhere would be a great aide to many folks. Would make this application much more successful for the new interested customers.

    One other thought...If I close RR then reopen and it was on the HD radio it will continue there, but will the antenna go up upon restart?

    Sorry for the long winded reply!

    Thanks!

  8. #8
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,079
    Quote Originally Posted by BRfan View Post
    I have noticed in task manager ride runner.exe AND road runner.exe running. This normal?
    Yes, when running RideRunner, it will run a dummy RoadRunner.exe from its folder. This is to support much older plugins/scripts that looked for the "RoadRunner.exe" process. I don't know how many plugins/scripts that still need that process to be running. For example, on my systems I just delete it as all the stuff I'm running is new enough to not need it running. You could simply rename it and see if any additional problems occur ( most likely not) but...
    RideRunner...The #1 FE, PERIOD.

    Current Project: DFXVoice [v1.0 Released]
    Next in line: RRMedia v2.0

    DFX 5.1.1 Skin
    Appstore Link

    My RideRunner Plugins
    RRMedia
    RRExtended
    DFXVoice

    "There are no bugs - only undocumented features."

  9. #9
    MySQL Error
    Auto Apps:loading...

    Join Date
    Oct 2004
    Posts
    5,246
    riderunner and roadrunner arnt 100% compatable, some of the com objects that the newer riderunner uses, prob an issue with road runner...

    you can just delete road runner install, and at worse case just re run the ride runner installer to make sure comobjects are right


    for your antenna, you are doing the skin exectlb file, while that will work... it will only work for that skin
    in

    my documents\Ride Runner\Config is another exectbl.ini thats the global one...
    and where i would do

    Code:
    "ONSOURCECHANGE","IFVAR;ACTIVESOURCEID<>1;LOWERANT<<RAISEANT"
    "LOWERANT","whateveryouneedtolowertheant"
    "RAISEANT","whateveryouneedtoraisetheant"

    and with that, yes if you start RR and hd radio is the resumed audio, it will execute "RAISEANT"
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

  10. #10
    MySQL Error
    Auto Apps:loading...

    Join Date
    Oct 2004
    Posts
    5,246
    as for common, todays cars dont have power antennas... at least not the raise / lower kind! (Just the amplified)
    i havent seen them in 10 years

    oh and a lot of people just use my USB-IO-1 which is fully controllable from RideRunner


    m
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

Page 1 of 2 12 LastLast

Similar Threads

  1. Create 5 commands in a screen who call an autoit exe
    By pierrotm777 in forum RR Skins
    Replies: 3
    Last Post: 10-30-2009, 07:51 AM
  2. Relocating computer power button
    By King_Xerxes in forum General Hardware Discussion
    Replies: 8
    Last Post: 02-21-2007, 09:15 PM
  3. Getting adware/ Trojans off my comp!
    By bosstone74 in forum General MP3Car Discussion
    Replies: 23
    Last Post: 05-24-2004, 07:28 PM
  4. run a program directly from a button
    By dom in forum MediaCar
    Replies: 5
    Last Post: 02-25-2004, 10:55 AM
  5. PC power button problem
    By BMp3W in forum Power Supplies
    Replies: 4
    Last Post: 10-12-2002, 02:36 AM

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
  •