Home > Community > Forums > PCB Design > How to add a button or a funckey for a script

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 How to add a button or a funckey for a script 

Last post Tue, Jun 25 2013 9:10 AM by oldmouldy. 1 replies.
Started by James Tan 25 Jun 2013 08:52 AM. Topic has 1 replies and 344 views
Page 1 of 1 (2 items)
Sort Posts:
  • Tue, Jun 25 2013 8:52 AM

    • James Tan
    • Not Ranked
    • Joined on Tue, Jun 25 2013
    • Posts 2
    • Points 40
    How to add a button or a funckey for a script Reply

     I have a few scripts for adjusting the grids and I hope to add a few buttons or funckey (shortcut keys) for those commonly used ones. Right now, I am using the menu, which requires at least 2 clicks to activate. I hope to speed up the time, is it possible?

    • Post Points: 20
  • Tue, Jun 25 2013 9:10 AM

    • oldmouldy
    • Top 10 Contributor
    • Joined on Tue, Jul 15 2008
    • Woking, Surrey
    • Posts 1,382
    • Points 23,540
    Re: How to add a button or a funckey for a script Reply

    funckey is probably the way to go. You can experiment at the command line:

    funckey <some key sequence> replay <grid script>.scr

    Press the keys to get the equivalent key sequence, you can use any of the "not reserved" Function Keys with modifiers and regular keys. Once you have the required sequences down, edit the start of the "env", %HOME%\pcbenv\env %HOME% default is c:\SPB_Data to get the keys assigned at startup. Check the assignment settings through Tools>Aliases/Function Keys.

    • Post Points: 5
Page 1 of 1 (2 items)
Sort Posts:
Started by James Tan at 25 Jun 2013 08:52 AM. Topic has 1 replies.