Jump to content
Sign in to follow this  
Xandy

Runner, Hotkey Macro program

Recommended Posts

Xandy

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

Share this post


Link to post
Share on other sites
toddcbrf2

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
Xandy

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

Share this post


Link to post
Share on other sites
Xandy

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

Share this post


Link to post
Share on other sites
Xandy

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

Share this post


Link to post
Share on other sites
Xandy

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

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  

  • Similar Content

    • ademon
      By ademon
      Hi. I can open the editor with out problems but I can not compile because it is placed on another partition diferent from C.
      Can you provide an update of this bug?


    • Blois
      By Blois
      Hi Guis,
       
      I need to create keyboard shortcut to navigate the tabs and activate them, but I could not use the code below:
      #include <TabConstants.au3> #include <WindowsConstants.au3> #include <GuiTab.au3> #include <GUIConstantsEx.au3> HotKeySet("^{TAB}", "_TabRight") HotKeySet("^+{TAB}", "_TabLeft") $gui = GUICreate("test",450, 300) $Tab1 = GUICtrlCreateTab(20, 24, 425, 201) $TabSheet1 = GUICtrlCreateTabItem("Tabsheet 1") $lbContagemGrupos2 = GUICtrlCreateLabel("aaaa", 50, 50) GUICtrlSetColor(-1, 0x0000FF) GUICtrlCreateTabItem("") $TabSheet2 = GUICtrlCreateTabItem(" ") $TabSheet3 = GUICtrlCreateTabItem(" ") GUISetState() While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE ExitLoop EndSwitch WEnd Func _TabRight() $CurPos = _GUICtrlTab_GetCurSel($Tab1) _GUICtrlTab_SetCurSel($Tab1, $CurPos + 1) $tab = "$TabSheet" & $CurPos GUICtrlSetState($TabSheet1 + $CurPos, $GUI_SHOW) Return EndFunc Func _TabLeft() $CurPos = _GUICtrlTab_GetCurSel($Tab1) _GUICtrlTab_SetCurSel($Tab1, $CurPos - 1) $tab = "$TabSheet" & $CurPos GUICtrlSetState($TabSheet1 + $CurPos, $GUI_SHOW) Return EndFunc Exit  
      can you help me?
    • lenclstr746
      By lenclstr746
      Hi guys,
      Some functions of my script are running slowly. Very slow. What is the reason?
      My Code:
      <snip>
    • BogdanNicolescu
      By BogdanNicolescu
      While 1 / / / A whole bunch of codes found in help and here: https://www.autoitscript.com/autoit3/docs/ / / / WEnd OR:

       
      HotKeySet("{ESC}", "Terminate") While 1 MouseClick("Right",674,422) MouseClick("Left",673,447) Sleep(2000) / / / A whole bunch of codes found in help and here: https://www.autoitscript.com/autoit3/docs/ / / / MouseClick("Left",675,339) SLeep(3000) WEnd Func Terminate()     Exit 0 EndFunc  
      Sorry if i should't let this here to be found by newbies like me -.-'
    • nacerbaaziz
      By nacerbaaziz
      Hello all
      I found this function in the Internet
      It is to play audio files from  the compiled script
      I did not understand just one thing on this function
      func play($name, $wait = 0) local Const $SND_RESOURCE = 0x00040004 local Const $SND_ASYNC = 1 ; Play the file - the script will pause as it sounds if $wait = 0 then DllCall("winmm.dll", "int", "PlaySound", "str", $name, "hwnd", 0, "int", BitOR($SND_RESOURCE, $SND_ASYNC)) else DllCall("winmm.dll", "int", "PlaySound", "str", $name, "hwnd", 0, "int", $SND_RESOURCE) endIf return 1 endFunc What I did not understand was this variable
      local Const $SND_RESOURCE = 0x00040004 I know that this variable is contains the resource name
      But what if I want to change the name of the resource what i'll do?
      can i do that?
      Thanks in advance
       
×