It is currently Tue Dec 12, 2017 6:34 am

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Hotkey support "Fn" key ?
PostPosted: Wed Dec 23, 2009 7:42 am 
Offline

Joined: Wed Dec 23, 2009 7:31 am
Posts: 3
I'm a USB Safely Remove user and use this great tool on PC.
I still use EasyEject on my Thinkpad notebook because I'm familiar to use Fn + F9 as hotkey to eject USB devices. Is it possible to add "Fn" key as hotkey in USB Safely Remove and then I can replace easyeject:)


Top
 Profile  
 
 Post subject: Re: Hotkey support "Fn" key ?
PostPosted: Wed Feb 24, 2010 6:12 pm 
Offline

Joined: Tue Jun 16, 2009 9:41 pm
Posts: 4
You can edit the programs started by the IBM/Lenovo hotkey driver/program (this is still needed).
Those actions can be in the registry under HKEY_LOCAL_MACHINE\SOFTWARE\IBM\TPHOTKEY.

The registry key for Fn+F9 is HKEY_LOCAL_MACHINE\SOFTWARE\IBM\TPHOTKEY\Class\01\09
To start a program, you need two possibly new string values:
File: The program you want to start
Parameter: The commandline parameters for your program

Possibliy you need to reboot, to activate the changes.


Here a sample USR_FNF9.reg:
Code:
REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\IBM\TPHOTKEY\Class\01\09]
"File"="C:\\Program Files\\USB Safely Remove\\USBSafelyRemove.exe"
"Parameters"=""


Top
 Profile  
 
 Post subject: Re: Hotkey support "Fn" key ?
PostPosted: Fri Feb 26, 2010 1:42 pm 
Offline

Joined: Wed Dec 23, 2009 7:31 am
Posts: 3
CHeitkamp,

Thanks your help. I know adding registry key can make Fn + F9 to execute USB Safely Remove. But it will show USR main window not like the smaller window when you use global hotkey. I would like the latter more :roll:. However, Thanks :)


Top
 Profile  
 
 Post subject: Re: Hotkey support "Fn" key ?
PostPosted: Fri Feb 26, 2010 5:45 pm 
Offline

Joined: Tue Jun 16, 2009 9:41 pm
Posts: 4
shaofengwu wrote:
But it will show USR main window not like the smaller window when you use global hotkey.

You are right. I asked for this as a feature request some time ago... Sadly it was never answered - instead this thread was deleted :(

I attached a little AutoHotkey script, which sends Win+S to USR to activate the USR dialog. I included a precompiled version, too.
You can change and compile the script by yourself, if you use another hotkey...

Here the source:
Code:
; Find USB Safely Remove windows
IfWinExist, USB Safely Remove
   ; Send Win+S
   SendInput #s


Attachments:
File comment: Compiled AutoHotkey script with source
ActivateUSR.rar [198.08 KiB]
Downloaded 499 times
Top
 Profile  
 
 Post subject: Re: Hotkey support "Fn" key ?
PostPosted: Fri Feb 26, 2010 6:29 pm 
Offline

Joined: Wed Dec 23, 2009 7:31 am
Posts: 3
It seems many persons like this feature and maybe USR team should start to support it :)
Thanks CHeitkamp, I'll take a try.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot 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:
Jump to:  
cron
Crystal Rich Ltd © 2014 Powered by phpBB ©