Modify exe's RT_ACCELERATOR

8 views
Skip to first unread message

est

unread,
Aug 4, 2009, 3:37:38 AM8/4/09
to pefile
Hi list,

I need to modify a exe's RT_ACCELERATOR table, rename F1 to Ctrl+F1,
and add assign hotkey F1 to another function

Is there a way to do it with pefile/python? Thanks!

Ero Carrera

unread,
Aug 5, 2009, 3:24:17 PM8/5/09
to pefile
Hi,

I'm not specially knowledgeable about this entry in the resources. If
you want to try to modify it and you know the format of the data it
contains, I'd recommend following the code in pefile that accesses the
resource and writing the few lines required to update its contents.

If you have more information or documentation about the data stored
and its format feel free to post it and I will try to see what can be
done.

cheers,
--
ero

est

unread,
Aug 6, 2009, 2:42:15 AM8/6/09
to pefile
Thanks Ero Carrera

Looks like there's no easy way to do that.
Reply all
Reply to author
Forward
0 new messages