Sign in to follow this  
Followers 0
Xandy

Runner, Hotkey Macro program

6 posts in this topic

#1 ·  Posted (edited)

Runner is general purpose event trigger system structured for expandability

- Triggers

  • - (Almost) any keyboard or mouse button combinations pressed from (almost) anywhere during a Windows session
  • - Macros can sample variables from Windows, or file system then react to comparison. So if a macro is running, it can also be an event trigger.
- Events
  • - Run/open a file path or command line

  • drag and drop (browse on 64bit operating systems)

  • music/picture/any folders, or programs
[*]- Launch a url in default browser

[*]- The basic media functions can be assigned as hotkey functions

  • media back, forward
  • play, pause, stop
  • system volume -, +
  • Runner can be set to play music files internally

  • meaning no external app will be launched and interrupt your computer experience
  • internally playing music:
  • controlled by play, pause, and stop Runner media options
  • playlists are not yet built into the internal Runner media player
  • there is no gui for the player
[*]- Computer voice

  • output custom data with fully customizable voice narrator
  • speak the time of day
[*]- Start your custom macros

- Macros, a list of (almost) unlimited commands

  • create your custom macros with 39 command types (expandable)
  • commands are configurable with variable and constant data programmable by the user
  • Command types include:

  • sending keystrokes to focused application, or window title control_id
  • move/click the mouse, or window title control_id
  • run file paths or command line strings
  • save specified screen area to incrementing file
  • call other saved macros
  • target, move, set window mode, of window titles
  • acquire variables, return values to udv (User Defined Variable)

  • return mouse_x and y
  • return pixel colors, int, hex, r, g, b
  • return a window title’s position (x, y)
  • return contents of clipboard
  • return a specified file line or whole file
  • variables can be used in almost any logical macro command
I could be here for the next week. I’m pretty sure this is useful, and easy enough for anyone to use.

Runner is looking for users.

I will always offer free keys to forum members joining before 2012.

Tell me the user_number songersoft has assigned you and I will send back a key code that will enable Runner forever.

(use the forum mail)

If Runner doesn't detect a valid license key (at startup). It requests you to submit some hardware information to songersoft.com. This information is required to log your 30 trail and provide you with a unique key. songersoft.com does not collect any personal information about you or what you do with the software. Basically this is all traceable back to me, I have Songersoft LLC and website. My goal was to write useful software that the world could use. In order to put time into it, I need a return profit. That means I need to maintain a reputable reputation as a trustworthy software provider and not goto jail for doing shady things. All clear?

If you have a license key. Runner operates without an internet connection.

I am a programmer and I like this forum very much. If you're in bad standing with this forum or compromise my member status I cannot help you.

If you are thinking about making a post read the forum rules, if your post violates the rules you will not get help from me if you post it.

More about Runner on the download page:

http://www.songersoft.com/runner/runner_about/runner_about.html

‘toggel audio device win_XP', macro create and edit example

Posted Image

preview (video coming soon)

Posted Image

This post has been modified for completeness

Edited by Xandy

I am not a lawyer.  (-_-) Xandy About  (^o^) Discord - Xandy Programmer

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

How are we to give it a whirl if you don't post the program? Personally, doesn't make sense to post this here as this is an example posts forum and the location where the download is shown on the about link shows a download link and is not working.

Edited by toddcbrf2

“Anyone who has never made a mistake has never tried anything new.”― Albert Einstein

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

The download page:

http://www.songersoft.com/runner/runner_about/runner_about.html

It's a 6.2MB zip file. It's on my server because of it's size.

The zip file includes:

- Runner.exe

- and all of it's dependencies

- about 100 .txt files used as Runner dialog windows (see ')

- A 'Examine Screenshot' folder - A program used to save screenshot clips and masks for pixel detection

- I wrote 'Examine Screenshot' in C++ using SDL. 'Examine Screenshot' is provided with all of the source files and is open source

For best results do not use the Runner x64.exe.

Drag and drop will only work on 32bit operating systems. Use the browse option instead if your running Runner on a 64bit operating system.

IMPORTANT Make sure to select XP compatibility mode for (Windows Vista and 7)

- before running Runner, Right click the Runner.exe, select properties, compatibility tab, select Run this application in compatibility mode, Windows XP service pack (2 or 3)

- ignore this step if using Windows XP

There used to be an error on the download page because of an error when I updated from my google docs.

It is working for me at the moment, please try again.

Look this is a work in progress, I would develop, test, and fret; Until I had the desired general purpose functionality. Then I would work on a user interface

to bring that functionality to life for a user. (undoubtedly the hardest part, I'm going to venture to say programmers love a good interface, but despise writing one for the general computer user). My interface requires an understanding of what the program tries to do. (Trigger system, assign hotkeys to processes or process lists) is the general idea. I worked on this thing, almost every, the developing parts of this project are always in my mind. I began development on this project probably more than a year and a half ago. Threw things up, torn code down, and there seems to be no limit to the amount of polish that can be applied.

I'm just starting to share this online. This program has been my life, it's extremely useful and just about all of it's primary goals have been achieved. It's scary for me to try and present this online (there's allot of shit to do, and verify). Please assist me by reporting any problems here. Once Runner assigns you a user_number I can generate a key for your computer. Once you have a key, Runner stops doing the online validation at Runner startup. Thus increasing the usefulness of the tool and it's yours forever.

Runner's opening cost is $9.99 + the sale tax in my state. Comes out to $10.69. Runner is currently free if you mail me your Runner user_number, i'll return you a license. The paypal is setup too, but you can get it for free here.

(I've seen programs that have some of the functionality of Runner with prices from FREE to $900)

I would love to give back to the forum, but I really don't have anything to give. If this project has a return profit. I will give back to AutoIt 10% of monetary gains. I may increase that percent in the future, but $10 out of $100 is low enough for me to give back before startup costs are reimbursed.

If you'd like to sell your software online I can offer the methods I used to get you started, purely as advice and speculation. I don't have much time for that right now, but you can let me know if you are interested.

I did use other people's code and UDF files. Nothing I used compromised any copy write, agreements, or author's consent. I will document contributor's if they agree that I should do so. This step isn't going to happen over night. Contributor's can also be a part of the profits.

Edited by Xandy

I am not a lawyer.  (-_-) Xandy About  (^o^) Discord - Xandy Programmer

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

I had a tenant with young daughter, I must have manually changed my audio device from headphone to stereo 200 times. With a Runner macro, I can switch the audio device by holding HOME and pressing END. The macro takes less than 2 seconds to complete, and it looks like it's 6 lines of macro code (see first picture in first post) with some error checking. I was very happy to use my macro.

Now HOME was being used as a modifier, so Runner cannot set a 'system level' hotkey. Resulting in HOME and END being sent to application with focus. Runner can only set 'system level' hotkeys using modifiers SHIFT, CTRL, ALT, or no modifier. You can still choose not to set the key to system level. When hotkey is 'system level' triggering key presses are not sent to application with focus.

Runner wrote 900 dynamic functions for hotkeyset.

Runner can store more hotkeys, but only 900 system level. Fully customizable.

I'd like to make a video of Runner banging out 900 unique functions while I eat a sandwich. (I'm too excited for videos right now.)

2 of my friends use this program everyday to:

Narrate time of day with custom computer voice, no need to view the desktop

and soft mute (lower the system volume during commercials, walk away, then restore previous volume.

I don't know what hotkeys they set,

Macros can do allot of things, even launch your own custom programs, or launch them via hotkeys without a macro.

Every time I typed 'Runner' in this message all I had to do was press SHIFT+CTRL+r. Macros can go much deeper than that. How far will you take Runner?

Edited by Xandy

I am not a lawyer.  (-_-) Xandy About  (^o^) Discord - Xandy Programmer

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

Runner 4.1 fixes (updated July 30 2012): (Runner_about_page)

  • Fixed macro group colors for nested IF / END_IFs across macro command pages.
  • Added parent handle to file dialogs so they don't get lost behind windows
  • Improved macro condition ELSE logic
  • Added a macro command to return window handle to udv (macro variable)
  • - - - usefull for storing the occurrence of a window title
  • Running macros can now respond to up 4 keysdown/mouse per macro command
  • Added constant and variable x and y to control click macro command
  • Drag and drop should now work on win_7 and Vista
  • - - - (thanks Holger, ProgAndy, trancexx, leomoon, guinness, ect )
  • (drag and drop uses Melba23's and it's awesome)
  • Fixed bug with value not being stored when edited macro command lost focus to another window
  • (unfixed bug) Changing the amount of macro commands displayed per page causes an error in the macro command list gui. Restart Runner and the new amount of commands per page is displayed. Sorry I'll get to it, even faster if you request it.
Runner uses very little memory to use or set hotkeys (less then 5mb). Slow computers and computers with low memory may preform badly when creating or editing macros.

There are tons of controls and it was acceptiable to me at this point to require tons of memory during this part of the program.

If anyone knows how to populate a combo or list box, then create many instanstances of that box. Instead of filling 120 combo boxs with the same data, that could speed things up and save memory.

Edited by Xandy

I am not a lawyer.  (-_-) Xandy About  (^o^) Discord - Xandy Programmer

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

I goofed added a quick fix to solve controls losing their value, and begin incorrectly reading combo box indexs, ruining all my user defined variables among other controls.

Also I state that ELSE was working better, however it was released broken. I have fixed these issues.

Sometimes I spend a few days resolving issues, before you know it I feel a release is ready and bam I didn't test the last things I threw in there. On the good note improvements were made, I found things that did not stand, and I corrected them; hopefully. And that's how it is.

Runner_v4.2 up at Runner_about_page July 31 2012.

This concept totally works, I just broke a few things in haste. Re download, re install, I appreciate your input.

The install source is now included in the download. It's not written well, it's written to perform a task. (my SDL c++ program doesn't know how to get mydocuments path, but AutoIt it does. Also if running a macro saved on my machine, the pathes are going to need converted to run on yours. Those are the purposes of the installer.

Edited by Xandy

I am not a lawyer.  (-_-) Xandy About  (^o^) Discord - Xandy Programmer

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Similar Content

    • FrancescoDiMuro
      By FrancescoDiMuro
      Good morning everyone
      I worked a bit on a little project of mine, and I managed to do what I was trying to do, or, automate a quiz in AutoIt.
      Now, everything works fine but, in order to achieve what I'm trying to achive, I'd like to make this script run faster.
      I'll attach a portion of the code in order to let you understand what my script does.
      $objIE_h1 = _IETagNameGetCollection($objIE, "h1") ; Take the text of the answer If @error Then ConsoleWrite("Errore durante la lettura degli h1 nella pagina. - Errore: " & @error & @CRLF) Else For $objElement In $objIE_h1 $strInnerText = $objElement.innerText Next Select Case StringInStr($strInnerText, "QUESTION") ; Here is the question ; PS4 PRO $objSpans = _IETagNameGetCollection($objIE, "span") ; Answers are stored here For $objElement In $objSpans If $i >= 4 Then $strAnswer = $objElement.innerText ; Take the text of the answer n° 0, 1, 2, 3 If StringInStr($strAnswer, "CORRECT ANSWER") Then ; If I match the correct answer, then, I have to click on the input with answer id = answer_i $j = $i - 4 $objInput = _IEGetObjById($objIE, "answer_" & $j) If @error Then ConsoleWrite("Errore durante la lettura della risposta #" & $i & " - Errore: " & @error & @CRLF) Else _IEAction($objInput, "click") If @error Then ConsoleWrite("Errore durante il click sull'elemento. - Errore: " & @error) Else ConsoleWrite($j & ") Risposta: " & $strAnswer & @CRLF) ExitLoop EndIf EndIf EndIf $i+=1 Else $i+=1 EndIf Next $i = 0 $j = 0 This is what my script does.
      Questions are 20, in which I have 15 multiple choice question, 2 images ( on which I use _IEImgClick() ), and 3 text inputs ( a simple send with the text I have to enter ).
      How can I make all of these, faster?
      If I reach this goal, I've probably done one of my best goals in life, and I'd like to share my happiness with you, giving a huge donation to this fantastic community!
      Thanks for your help
    • au3leecher
      By au3leecher
      Hellow everybody,
      I tryed to manipulate a game called "Assault Cube" which is a easy beginning in coding. I run the code but the wished value doesn't change, i don't understand why.
      The Pointers are fine, I checked that the pointers don't change every time while restart the game.
      My Code:
      <snip>
      _____________________________________________________________________________________________________________________________________________________________________________________________
      Checklist:
      The Offsets are 18C & 4
      In Cheat Engine: ("ac_client.exe"+0010F418) <- Pointer
      4 Bytes = 'dword'
       
    • nacerbaaziz
      By nacerbaaziz
      Hello
      How are you
      I have a question, please.
      I've created a window and i need
      when i run the script if it detect an other copy from the same script was runing
       the script close the first copy Automatically and run a new copy
      I want an example to understand it
    • Nareshm
      By Nareshm
      Please Somebody Help me i am trying to create new script but, i don't know how to create it.

      I am Creating script like this :
      ; My script here [First Script]
      Check the internet connection, if internet connected then
      ; My Script here [Second Script]
      If internet not connected, wait for connect, after connected run my second script
      If Control id/windows/title matched do nothing and end/exit autoit script
      If Control id/windows/title not matched repeat my first and second script again until control id/windows/tittle not matched

      match with :
      >>>> Window <<<<
      Title:    PS :: Version - 2.8.0.0  - [PS Bill]
      Class:    WindowsForm734a
      Position:    -8, -8
      Size:    1382, 744
      Style:    0x17CD0000
      ExStyle:    0x00050100
      Handle:    0x0000000000130572
      >>>> Control <<<<
      Class:    WindowsForm734a
      Instance:    15
      ClassnameNN:    WindowsForm34a15
      Name:    BillPrint
      Advanced (Class):    [NAME:BillPrint]
      ID:    7875
      Text:    
      Position:    39, 310
      Size:    1221, 306
      ControlClick Coords:    745, 20
      Style:    0x56010000
      ExStyle:    0x00000000
      Handle:    0x00000000000C0468
       
    • kawliga751
      By kawliga751
      I am attempting to run an Autoit.exe with schtasks every weekday @ 9:05 am.
      I have the below
      C:\>SchTasks /Create /TN "P10Run" /TR "O:\AUTOIT\P40 Run.au3" /SC WEEKLY /D MON, TUE,WED,THU,FRI /ST 09:05:00 SUCCESS: The scheduled task "P10Run" has successfully been created. I also did a "test" run :
      C:\>Schtasks /Run /TN "P10Run SUCCESS: Attempted to run the scheduled task "P10Run". But when I run my query to verify success my "Last Result" seems to indicate that the script did not run:
      C:\>SCHTASKS /QUERY /FO LIST /V /TN "P10RUN" Folder: \ HostName: xxxxxxxxxxxxxxxx TaskName: \P10RUN Next Run Time: N/A Status: Could not start Logon Mode: Interactive only Last Run Time: 6/14/2017 9:08:56 AM Last Result: -2147024894 Author: xxxxxxx Task To Run: O:\AUTOIT\P40 Run.au3 Start In: N/A Comment: N/A Scheduled Task State: Enabled Idle Time: Disabled Power Management: Stop On Battery Mode, No Start On Batterie s Run As User: xxxxxxxxx\xxxxxxxx Delete Task If Not Rescheduled: Enabled Stop Task If Runs X Hours and X Mins: 72:00:00 Schedule: Scheduling data is not available in this f ormat. Schedule Type: Weekly Start Time: 9:05:00 AM Start Date: 6/14/2017 End Date: N/A Days: MON, TUE, WED, THU, FRI Months: Every 1 week(s) Repeat: Every: Disabled Repeat: Until: Time: Disabled Repeat: Until: Duration: Disabled Repeat: Stop If Still Running: Disabled C:\> Is there something missing in my command? Also is there a better way to make sure that the script does in fact sun successfully?
      Thanks In Advance!