Function key support arduino IDE

Hi

I've been wanting to ask this a very long time, and I've searched the forums (and found nothing), so here I am.
Could it be possible to add function key support to the arduino IDE?
With function keys I mean those F[number here] keys.

e.g. of mapping:
F1 reference
F2 find previous
F3 find next
F5 compile and upload
F9 compile
F12 save files

I would be pleased to see this in a next release, but I don't know if it would be possible.

Thanks
Steen

You can probably make it yourself with - http://www.autohotkey.com/ -

You forget F10 - Exit to MS-DOS

Here are the F key routines I wrote. You will need Autohotkey installed on your pc. Kill this app when using other programs that need the F2, F3, F5, F9 or F12 keys. Play with the sleep delays if yours acts goofy.

The thing I like about these hot keys is it saves everytime I compile or upload. :slight_smile:

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.


checkTitle(){
ard = Arduino
wingettitle, t, A
stringgetpos, pos, t, %ard%
if pos > 0
   return 0
else
   return 1
}

F2::
if checkTitle() = 0{
send {left}
sleep 50
send ^f
sleep 200
send {tab}
sleep 20
send {tab}
sleep 20
send {tab}
sleep 20
send {tab}
sleep 20
send {tab}
sleep 20
send {enter}
sleep 50
send {escape}
sleep 50
}

return

F3::

if checkTitle() = 0{
send {right}
sleep 50
send ^f
sleep 150
send {enter}
sleep 50
send {escape}
sleep 50
}

return

F5::

if checkTitle() = 0{
send ^s
sleep 150
send ^u
}

return

F9::
if checkTitle() = 0{
send ^s
sleep 150
send ^r
}

return

F12::
if checkTitle() = 0{
send ^s
sleep 150

}
return