AutoHotkey Community

It is currently May 27th, 2012, 12:35 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 23 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: January 3rd, 2010, 7:01 am 
Offline

Joined: November 8th, 2009, 2:46 am
Posts: 234
Location: Canberra Oz
Do you have a Logitec diNovo Mini Keyboard/Trackpad? Do you love its convenience?
But are you annoyed when you want to use a function key, or the Home or End keys etc.

:D THEN THIS IS FOR YOU!

Introducing the all new Dinovo Mini Special Keys (DMSK) Script!!

DMSK provides F1-F24 and more, much more.
It includes those important missing characters, `~|[] and {} try writing AutoHotkey code without those two!
(but they were never missing in the first place, DMSK tells you how to access them)

Plus you also get Home, End, PrintScreen, Pause, Break, Ins, CapsLock, ScrollLock & NumLock and more.
To complete the set we are throwing-in a Complete set of Numpad keys, how's that for value!

But wait, you also get a convenient Right-Click - no more Fn-OK required, and just in case you need it, a Middle-Click!

And to top it off one-key Cut, Copy & Paste - no more cramped fingers.

How much would you expect to pay? No, not $200, not even $20...you can have all of this for...free!

See it in the flesh Screen Shot

And once you are convinced that DMSK is the script for you;

Right-Click ->DMSK<- and Save.

And we now have the latest version with Scroll Wheel! based scrolling.

But seriously folks :wink: If there is anything missing or not working let me know. I haven't done too much testing with the Soft-Alt or Win modifier.

Also this was written for use without the Logitec drivers, if you want to use the driver, you will need to change the 4 scan codes, or send the ahk vksc codes to me.

Michael

EDIT v-0-6a Fixed bug in Numpad keys
EDIT v-0-6b Removed Debug code
EDIT v-0-7b See Post below for details
Comming soon...v8 with Drag Mode & the Apps Key!
-------------------------------------------------------------------------------
For HID codes see this to use with AHKHID. You can get access to the record button and the MCE key (lower right). I have not written the code yet.


Last edited by Michael@Oz on March 31st, 2010, 4:13 am, edited 9 times in total.

Report this post
Top
 Profile  
Reply with quote  
PostPosted: January 9th, 2010, 11:34 pm 
Offline

Joined: November 8th, 2009, 2:46 am
Posts: 234
Location: Canberra Oz
Michael@oz wrote:
Do you have a Logitec diNovo Mini Keyboard/Trackpad?

Link above is now;
Version 0-6b - Remove Debug code :oops:
Version 0-6a - Fix Stupid Bug in Numpad keys


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 10th, 2010, 7:52 am 
thanks very much :)
im thinking of getting one of these kbs for a htpc i am yet to build :P


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 10th, 2010, 9:33 am 
Offline

Joined: November 9th, 2008, 7:48 pm
Posts: 25
Lol, nice presentation.

If only you had started with "HI, BILLY MAYS HERE!!!!!!"

I have a Mini so I will definitely be checking this out -- thanks!


Report this post
Top
 Profile  
Reply with quote  
PostPosted: February 4th, 2010, 7:04 pm 
HOW I INSTALLED IT:

You have to go to: http://www.autohotkey.com/download/ to download a compile tool, because the scripts floating around on the web do not run themselves. After installing this tool to your pc you can run the option "Convert .ahk to .exe" from your start menu under the program folder called "AutoHotKey". This will create an exe file from the following script file: http://www.autohotkey.net/~Michael@oz/DMSK/DMSK.ahk After creating the exe file, just double klik the exe file and everything is up and running.

FOUND ONE BUG:
The 'right click' short cut key also known as ">>|" does not do anything. Neither as a single click or double click. Which is a shame, because it is one of the biggest annoyances on the diNovo; not having the right click. (Windows XP, Dell Latitude D620 laptop, Windows XP sp2)

CONCLUSION:
Great job!!
thnx


Report this post
Top
  
Reply with quote  
PostPosted: February 4th, 2010, 9:29 pm 
Offline

Joined: February 4th, 2010, 9:24 pm
Posts: 4
Michael@oz wrote:
Do you have a Logitec diNovo Mini Keyboard/Trackpad? Do you love its convenience?


Wow. I just got mine today and after a few minutes I googled for dinovo home end keys...

THANK YOU so much! I've used AutoHotkey for years for various little things, and this is just icing on the cake. I had to register just to thank you! THANK YOU! :D :D :D


Report this post
Top
 Profile  
Reply with quote  
PostPosted: February 4th, 2010, 10:38 pm 
Offline

Joined: November 8th, 2009, 2:46 am
Posts: 234
Location: Canberra Oz
Dutchie wrote:
HOW I INSTALLED IT:

You have to go to: http://www.autohotkey.com/download/ to download a compile tool, ...
FOUND ONE BUG:
The 'right click' short cut key also known as ">>|" does not do anything. Neither as a single click or double click.(Windows XP, Dell Latitude D620 laptop, Windows XP sp2)

thnx
Duchie, I haven't tried it compiled. If you have installed AutoHotkey you can run it as a script, just double click the .ahk file. See if that makes a difference. I'll try to get to testing it compiled.

Zarniwoop wrote:
THANK YOU! :D :D :D
No prob.
I'm working on the next version, shouldn't be too far away.


Report this post
Top
 Profile  
Reply with quote  
PostPosted: February 5th, 2010, 12:40 am 
Offline

Joined: November 8th, 2009, 2:46 am
Posts: 234
Location: Canberra Oz
Dutchie wrote:
Which is a shame, because it is one of the biggest annoyances on the diNovo; not having the right click.
Note that FN+OK-button (top left) is a right click.
Quote:
FOUND ONE BUG:
The 'right click' short cut key also known as ">>|" does not do anything.
Did you note the comment 'Also this was written for use without the Logitec drivers, if you want to use the driver, you will need to change the 4 scan codes'?
I don't know whether the compiled version has this feature, but try right-clicking the tray icon for the script, select Open, select the View/Key History... menu. Press the >>| key a couple of times. Then F5 to refresh the window. The first two columns at the bottom above the F5 gives you the virtual key codes. Change these codes accordingly ($sc119 is the >>| key without the drivers loaded)
Code:
; Comment these out if you wish - also delete the bits in help below
vkB1sc110::SendInput, ^x   ;Back Track key    - CUT   Think |< deletes like <- DEL Key
vkB2sc124::Sendinput, ^c   ;Stop key       - COPY   Think in order this is cut COPY paste
vkB3sc122::SendInput, ^v   ;play/pause key   - PASTE   Think >|| inserts
; Media Functions Alt+key
!vkB1sc110::SendInput, {Media_Prev}
!vkB2sc124::Sendinput, {Media_Stop}
!vkB3sc122::SendInput, {Media_Play_Pause}
!vkB0sc119::SendInput, {Media_Next}
;

; Forward Track key for a one handed operation - use Right hand for mouse & click & right click
;  also a double press pops up the Special Keys menu
FM2TapCount=0   ; 2Tap Count
$sc119::

I had real difficulty loading the logitec drivers, managed to get it working briefly, hence why I know the key codes are different. In the end they gave me less functions than I can do with ahk, so I ditched them.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 5th, 2010, 12:48 am 
Offline

Joined: November 8th, 2009, 2:46 am
Posts: 234
Location: Canberra Oz
or if someone wants to send me the codes with the driver installed I can make it an option in the script.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 7th, 2010, 4:34 am 
Offline

Joined: November 8th, 2009, 2:46 am
Posts: 234
Location: Canberra Oz
Get the latest version with the following improvements at Version 0-7-b!

    v-0-7a Add Esc & Tab keys,
    Allow Shift, Control, Win and SoftAlt for F1-9
    Changed activation key to FN+>>| ie NextTrack
    Added FN+9 as F9
    Rejigged Menu
    Added Navigation Key submenu
    Save/restore mouse position for clicks
    ie the click will occur where the mouse was when
    the menu was activated, rather than where it was
    when you clicked on the menu.
    v-0-7b Add a scroll wheel functional replacement


Report this post
Top
 Profile  
Reply with quote  
PostPosted: February 8th, 2010, 6:15 pm 
Offline

Joined: February 4th, 2010, 9:24 pm
Posts: 4
Michael@oz wrote:
or if someone wants to send me the codes with the driver installed I can make it an option in the script.


Is there a better way to see scan codes than to open the AutoScriptWriter and hit Record, press a key, hit stop, and then look for the Send, 1xx line?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 9th, 2010, 12:02 am 
Offline

Joined: November 8th, 2009, 2:46 am
Posts: 234
Location: Canberra Oz
Right-click the tray icon of a running script, select Open, a Window opens. Select the View/Keyhistory... menu.

The VK and SC columns gives the codes. Press a marker key such as space, then press the key you need the code for then press space again.

Press F5 (or View/Refresh menu), scroll to the bottom and you should see the key code between the two space key lines.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Rii mini
PostPosted: April 20th, 2010, 11:54 pm 
Offline

Joined: February 4th, 2010, 9:24 pm
Posts: 4
Any plans to get a "Rii mini" keyboard? I just couldn't resist getting one when I saw it, plus it's a heck of a lot cheaper than the diNovo! You can google it pretty easily as rii mini wireless keyboard... http://www.google.com/search?q=rii+mini ... s+keyboard

My Rii mini just arrived from Hong Kong today. I ordered from www.tomtop.com because it was a lot cheaper+in stock at the time, but it took about 2 weeks to arrive with "air" shipping. If anyone else wants to order from TomTop you can search for wireless mini keyboard on their site... EDIT: Please note my reply below regarding the RANGE issues I had with my Rii before pulling the trigger on one of these based on my first post here.

I will be getting scan codes (thanks for the how-to info!) and attempt to alter the diNovo script to make into a Rii mini version that Swaps F3-F8 with the blue Fn key version so I won't have to hold down the blue Fn key to use the volume and play/pause/skip keys, but still be able to push F keys using the blue Fn key. I'll have to think of something better for F2 than PrtSc also if it works. Maybe a popup menu? :-)

I can share what I come up with, unless you'd rather "mods" to your work not be distributed. If you are interested in doing the work yourself, or you plan to get a "Rii", I will at least share the scan codes of the special keys so you can develop your own script (and likely do a much better job than I would, being a noob with AutoHotKey!).


Last edited by Zarniwoop on April 21st, 2010, 2:05 am, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Rii mini
PostPosted: April 21st, 2010, 1:28 am 
Offline

Joined: November 8th, 2009, 2:46 am
Posts: 234
Location: Canberra Oz
Zarniwoop wrote:
Any plans to get a "Rii mini" keyboard?
If my Dinovo breaks I may think about it.
Quote:
I will be getting scan codes

Skan's Mystery Keys Is very handy for getting the codes for multiple keys.
Quote:
alter the diNovo script to make into a Rii mini version that Swaps F3-F8 with the blue Fn key version
Should be straight forward, you may find that after using it, the way it sits in your hand, position of thumbs etc will tell you what keys to use for pop-ups or modifyer keys. Just looking at the picture, if you don't use ` & ~ much, that key could be good for a one handed pop-up. It depend how you want to use it of course.
You could use the RF & PrtScr as F9 & F10.
Quote:
unless you'd rather "mods" to your work not be distributed
Feel free to mod my stuff for personal use (I just don't want someone to sell my work), attribute with a reference to my original post.
Quote:
If you are interested in doing the work yourself, or you plan to get a "Rii", I will at least share the scan codes of the special keys so you can develop your own script (and likely do a much better job than I would, being a noob with AutoHotKey!).
I want to keep DMSK specific to the Dinovo, but happy to advise you in your efforts.

Perhaps there is a place to post scan code info for various devices, I'll have a look around.


Report this post
Top
 Profile  
Reply with quote  
PostPosted: April 21st, 2010, 2:12 am 
Offline

Joined: February 4th, 2010, 9:24 pm
Posts: 4
Now that I have it home, I am having significant issues with range on the Rii keyboard.

The diNovo USB receiver works great plugged into the REAR ports on my HTPC, clear into the kitchen at least 30 feet away, through the wall and fridge.

I plugged the Rii receiver into the FRONT USB port and I can still barely get 13 feet (4 meters) clear-line-of-sight before keypresses repeat and mouse stops working smoothly.

EDIT: It is likely that I just got a unit with a loose antenna wire or something and that problems will not be frequent with others.

EDIT: The "YouTube reviewer guy" replied to my message to him, stating he was getting over 60 feet / 18 meters range. So it does look like I got a bad unit. I have even tried it on my laptop at the side of a rural horse-pasture road, with nothing around that could possibly be interference, to verify that it is in fact something wrong with the keyboard or USB receiver itself. I've not yet received a reply from TomTop on my return request.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 23 posts ]  Go to page 1, 2  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bon, maul.esel and 7 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group