topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 10:13 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: OneKey 2.0.5.0  (Read 15059 times)

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
OneKey 2.0.5.0
« on: April 14, 2011, 09:04 PM »
This is yet another tray hotkey.  The idea this time is a hotkey dedicated to launching a single shortcut, or data file, or exectuable/batch file.  If you have one thing that you open constantly but you don't want to mouse for it or use a spot on the Super Bar or whatnot, you can use this to have it launch with a function key press.

Default hotkey is F11.  Hotkey can be changed via Tray Menu or by command line param.  Pressing the hotkey before the launch file has been initialized, or using the Set Shortcut or File to Launch command in the Tray Menu, brings up an input box.  Simply type in or paste the path to the file/shortcut.

I tried a file open dialog first, but it was a pita navigating to start menu or program files etc. I thought the simple Input Box was better since you can just use Explorer Copy As Path command or just type the path in manually.  The nice thing is it doesn't care about quotes. You can Copy As Path then Paste and just leave the double quotes on if you like.

On program quit, it writes OneKey.ini in the same folder as the exe to save hotkey and path info.

Data files open with the appropriate program via Windows file type association.

You may download from my page:

http://www.favessoft.com/hotkeys.html

As usual, it's free for you to use at your own risk.  Donations via Tray Menu command, or otherwise, appreciated. :)
« Last Edit: July 09, 2012, 02:02 AM by MilesAhead »

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
Re: OneKey 1.4.0.0
« Reply #1 on: April 14, 2011, 09:06 PM »
OneKey 1.4.0.0.  Fixed bug where hotkey or launch file/shortcut changes were not saved to .ini on shutdown or log off.


« Last Edit: April 17, 2011, 04:42 PM by MilesAhead »

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
Re: OneKey 1.5.0.0
« Reply #2 on: April 17, 2011, 05:20 PM »
OneKey 1.5.0.0  Fixed bug when hotkey changed via Tray Menu

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: OneKey 1.5.0.0
« Reply #3 on: April 18, 2011, 05:18 PM »
A number of applications seem to use F11 for full-screen mode (e.g. IE, Firefox, Chrome, Opera, jEdit, SpeedCrunch, VLC)...it seems like it might be developing into a kind of convention.

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
Re: OneKey 1.5.0.0
« Reply #4 on: April 18, 2011, 05:44 PM »
A number of applications seem to use F11 for full-screen mode (e.g. IE, Firefox, Chrome, Opera, jEdit, SpeedCrunch, VLC)...it seems like it might be developing into a kind of convention.

You can easily set it to a different function key using Set Keyboard Hotkey command in Tray Menu. Also the hotkey deoesn't have to be one key.  That's just the way I want to use it.  You can change it to Atl-F11 or Control-Shift-r or whatever using the same tray command. The limitation is hotkeys that AHK understands as input.  For instance to set the hotkey on the command line to Control-F10 use "^F10" on the command line(without the quotes.)

Once you set it the .ini file remembers it. It's not like you have to set it every time. There's too many hotkeys out there to totally avoid conflicts esp. when only using one key.

edit: otoh you make a good point.  F10 seems to be open at least in browsers. I'll set that as default in next release.


« Last Edit: April 18, 2011, 05:52 PM by MilesAhead »

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
Re: OneKey 1.6.0.0
« Reply #5 on: April 18, 2011, 06:03 PM »
OneKey 1.6.0.0  Changed default hotkey to F10 function key.

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
Re: OneKey 1.7.0.0
« Reply #6 on: November 06, 2011, 05:44 PM »
OneKey 1.7.0.0 Fixed bug where Set Hotkey Dialog would produce an error if closed via Esc or clicking 'x' button in the window corner, instead of setting a hotkey, then opened again.


MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
Re: OneKey 1.7.1.0
« Reply #7 on: March 21, 2012, 09:55 PM »
OneKey 1.7.1.0 Added icons to tray menu items.

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
Re: OneKey 1.8.0.0
« Reply #8 on: April 04, 2012, 05:54 PM »
OneKey 1.8.0.0 Reduced memory usage in tray.

TaoPhoenix

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,642
    • View Profile
    • Donate to Member
Re: OneKey 1.8.0.0
« Reply #9 on: April 04, 2012, 06:26 PM »
What if this were changed to something like "10 key" ? I have trouble thinking of one single item I didn't make a shortcut for on the desktop. But having 10 keys would reduce desktop clutter.

Quick example, In succession I have to open Snippy, Transdesk, then change desktops, then open Tom Revell's stickies. 3 icons already. And I do that every day.

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
Re: OneKey 1.8.0.0
« Reply #10 on: April 04, 2012, 07:57 PM »
There are already multiple hotkey launchers. Take a look on Sofpedia or download.com.

I use this for stuff I do incessantly. In my case, it's run sync.exe to flush my disk buffers to hard drives.  Since I have USB docking stations it makes sense in my case.

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
Re: OneKey 1.8.0.0
« Reply #11 on: April 04, 2012, 08:10 PM »
If you want to have some fun I'd suggest you download AutoHotKey_L and make one yourself.

http://l.autohotkey.net/

Something like you want is easy if you hard code the programs in as below. The "DesktopGroup" stuff limits the hotkeys to when the Desktop is the active window. That avoids interfering with other programs.  The "+" sign before the function key means you are holding down the Shift key. See AutoHotkey_L help for particulars. Make sure you end every list of statements for each hotkey with "return" or else it will drop through and execute everything listed below it.

You might want to use something other than function keys since they're likely to conflict with other apps.  Experimentation is best. This is just to get you started.  Also see:

http://www.autohotke....com/forum/index.php


GroupAdd,DesktopGroup, ahk_class Progman
GroupAdd,DesktopGroup, ahk_class WorkerW

#IfWinActive ahk_group DesktopGroup
+F1::
  run,notepad.exe
 return

+F2::
  run, "C:\Program Files\JGsoft\EditPadLite\EditPadLite7.exe"
return

« Last Edit: April 04, 2012, 08:18 PM by MilesAhead »

TaoPhoenix

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,642
    • View Profile
    • Donate to Member
Re: OneKey 1.8.0.0
« Reply #12 on: April 04, 2012, 08:43 PM »
Heh I'll cop to being half Pointy Haired Boss without the Boss.
I see code and I go numb!

That's why I commission stuff! : )

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
Re: OneKey 1.8.0.0
« Reply #13 on: April 04, 2012, 11:04 PM »
Heh I'll cop to being half Pointy Haired Boss without the Boss.
I see code and I go numb!

That's why I commission stuff! : )


It's already been done ad infinitum. So the popular freeware download sites.

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
Re: OneKey 1.8.0.0
« Reply #14 on: April 05, 2012, 12:27 PM »
This one looks like what you want:

http://www.softpedia...Project-HotKey.shtml

By the look of the icon I'd say it's an AHK program.  Seems very straight-forward by the write-up. :)

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
Re: OneKey 1.9.0.0
« Reply #15 on: April 18, 2012, 04:16 PM »
OneKey 1.9.0.0 Updated Tray Menu Icon handling.

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
Re: OneKey 2.0.0.0
« Reply #16 on: July 04, 2012, 07:16 PM »
OneKey 2.0.0.0 Added Tray Menu Option to launch on Desktop double click.

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
Re: OneKey 2.0.1.0
« Reply #17 on: July 05, 2012, 12:05 AM »
OneKey 2.0.1.0 Fixed Double Click on Desktop so that it shouldn't fire if double clicking a desktop icon.

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
Re: OneKey 2.0.2.0
« Reply #18 on: July 05, 2012, 06:44 PM »
OneKey 2.0.2.0 Improved the Desktop Double Click response.

Thanks Maestr0 and Melba for the help via AHK forum. :)

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
Re: OneKey 2.0.3.0
« Reply #19 on: July 06, 2012, 01:51 PM »
OneKey 2.0.3.0 Minor code tweaks.  Now includes all AHK_L source.  You can get the icons used by running OneKey_IconInst.exe to unpack them. OneKey.exe runs that app so that it doesn't need to store all the icons in the OneKey.exe file. Just makes it a tad smaller in memory sitting in the tray.


MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
Re: OneKey 2.0.4.0
« Reply #20 on: July 08, 2012, 10:50 PM »
OneKey 2.0.4.0 Now Input Box for selecting file or shortcut to launch accepts drag & drop. I also added a Browse For File Button.

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
Re: OneKey 2.0.5.0
« Reply #21 on: July 09, 2012, 02:02 AM »
OneKey 2.0.5.0 Dialog code fixes.