Author Topic: Custom keyboard shortcuts  (Read 7279 times)

Offline RBA

  • PixInsight Guru
  • ****
  • Posts: 511
    • DeepSkyColors
Custom keyboard shortcuts
« on: 2010 May 30 00:18:32 »
A way to define keyboard shortcuts to "things"...

So I could, say, assign Ctrl+1 to invoke HistogramTransform, Ctrl+Shitf+P to delete all previews, stuff like that...


Offline RobF2

  • PixInsight Addict
  • ***
  • Posts: 189
  • Rob
    • Rob's Astropics
Re: Custom keyboard shortcuts
« Reply #1 on: 2010 May 30 01:38:03 »
Oh YES Please! :P

Almost posted something like this recently, but tried to behave as I'm only new with this beast.  Can be a huge help in complex software were your often calling up the same tools frequently.
FSQ106/8" Newt on NEQ6/HEQ5Pro via EQMOD | QHY9 | Guiding:  ZS80II/QHY5IIL | Canon 450D | DBK21 and other "stuff"
Rob's Astropics

Offline Niall Saunders

  • PTeam Member
  • PixInsight Jedi Knight
  • *****
  • Posts: 1456
  • We have cookies? Where ?
Re: Custom keyboard shortcuts
« Reply #2 on: 2010 May 30 04:54:16 »
You are aware that most 'things' on PixInsight already have keyboard shortcuts to them? . . . .

Cheers,
Cheers,
Niall Saunders
Clinterty Observatories
Aberdeen, UK

Altair Astro GSO 10" f/8 Ritchey Chrétien CF OTA on EQ8 mount with homebrew 3D Balance and Pier
Moonfish ED80 APO & Celestron Omni XLT 120
QHY10 CCD & QHY5L-II Colour
9mm TS-OAG and Meade DSI-IIC

Offline Harry page

  • PTeam Member
  • PixInsight Jedi Knight
  • *****
  • Posts: 1458
    • http://www.harrysastroshed.com
Re: Custom keyboard shortcuts
« Reply #3 on: 2010 May 30 05:23:05 »
Hi

List of shortcuts , courtesy of mr niall   http://www.harrysastroshed.com/pixuser/shortcut.html


Harry
Harry Page

Offline RobF2

  • PixInsight Addict
  • ***
  • Posts: 189
  • Rob
    • Rob's Astropics
Re: Custom keyboard shortcuts
« Reply #4 on: 2010 May 31 04:19:13 »
No - wasn't aware - thanks Niall and Harry. 
I must dig deeper into the User Guide part of your website Harry.

Would be nice if this page was accessible from inside PI?  O:)
FSQ106/8" Newt on NEQ6/HEQ5Pro via EQMOD | QHY9 | Guiding:  ZS80II/QHY5IIL | Canon 450D | DBK21 and other "stuff"
Rob's Astropics

Offline Harry page

  • PTeam Member
  • PixInsight Jedi Knight
  • *****
  • Posts: 1458
    • http://www.harrysastroshed.com
Re: Custom keyboard shortcuts
« Reply #5 on: 2010 May 31 06:02:50 »
Hi

I am sorry the user guide is being a bit slow , been busy for one reason or another ???, Also another one of thoses things that is a bigger job than I first
thought :o

Harry
Harry Page

Offline RBA

  • PixInsight Guru
  • ****
  • Posts: 511
    • DeepSkyColors
Re: Custom keyboard shortcuts
« Reply #6 on: 2010 May 31 10:33:19 »
You are aware that most 'things' on PixInsight already have keyboard shortcuts to them? . . . .

I assure you I use many of the predefined shortcuts already ;)

Predefined keyboard shortcuts do exist for a number of tasks (I wouldn't say "most"), but my request is a tool so I can define my own.

In any case, if anyone can tell me the current shortcuts for the two tasks I mentioned as an example, that'd be nice :)



Offline Carlos Milovic

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2172
  • Join the dark side... we have cookies
    • http://www.astrophoto.cl
Re: Custom keyboard shortcuts
« Reply #7 on: 2010 May 31 12:53:29 »
Quote
So I could, say, assign Ctrl+1 to invoke HistogramTransform, Ctrl+Shitf+P to delete all previews, stuff like that...

About the first one, it could be done by adding that action to the IntensityTransform module, and compiling it again (who said it was an easy solution?). :D

Regards,

Carlos Milovic F.
--------------------------------
PixInsight Project Developer
http://www.pixinsight.com

Offline RobF2

  • PixInsight Addict
  • ***
  • Posts: 189
  • Rob
    • Rob's Astropics
Re: Custom keyboard shortcuts
« Reply #8 on: 2010 May 31 23:32:39 »
I guess this is overlapping into the domain of not only assigning keys to actions/processing, but also scripts ("macros")

I can't figure out how to get F12 to do a STF on an image?   ???
(what am I missing?)
FSQ106/8" Newt on NEQ6/HEQ5Pro via EQMOD | QHY9 | Guiding:  ZS80II/QHY5IIL | Canon 450D | DBK21 and other "stuff"
Rob's Astropics

Offline RBA

  • PixInsight Guru
  • ****
  • Posts: 511
    • DeepSkyColors
Re: Custom keyboard shortcuts
« Reply #9 on: 2010 June 01 01:07:37 »
Quote
So I could, say, assign Ctrl+1 to invoke HistogramTransform, Ctrl+Shitf+P to delete all previews, stuff like that...

About the first one, it could be done by adding that action to the IntensityTransform module, and compiling it again (who said it was an easy solution?). :D

I think the elegant solution really is to have a module that allows the user to assign shortcuts to tasks... I really said Ctrl+1 just as an example.

It's not unusual to see this kind of functionality in many other programs. Considering PI allows you to customize the text for <No View Available> or the color for more things most people would care to have the colors customized (not that I'm complaining about that!), I think custom keyboard shortcuts is something just as important/useful. Anyway, there's the suggestion/wish...




Offline Carlos Milovic

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2172
  • Join the dark side... we have cookies
    • http://www.astrophoto.cl
Re: Custom keyboard shortcuts
« Reply #10 on: 2010 June 01 12:38:54 »
I would like to customize the splash intro... :P
Regards,

Carlos Milovic F.
--------------------------------
PixInsight Project Developer
http://www.pixinsight.com

Offline RBA

  • PixInsight Guru
  • ****
  • Posts: 511
    • DeepSkyColors
Re: Custom keyboard shortcuts
« Reply #11 on: 2010 June 01 13:48:21 »
I would like to customize the splash intro... :P
I just removed the splash screen. As I'm sure you know, THAT is customizable  :P

I'm just a bit surprised about the poor reception of this suggestion.
Maybe I'm the only one who uses the keyboard anytime I don't have to use the mouse.
Programmers usually do that... They also like to customize the splash screen :)

Offline Harry page

  • PTeam Member
  • PixInsight Jedi Knight
  • *****
  • Posts: 1458
    • http://www.harrysastroshed.com
Re: Custom keyboard shortcuts
« Reply #12 on: 2010 June 01 13:56:02 »
Hi

I use the keyboard all the time  ;D as I o the prelims on a laptop  8)

Its not that I do not like your idea , its just not urgent to me  :cheesy:

Harry
Harry Page

Offline RBA

  • PixInsight Guru
  • ****
  • Posts: 511
    • DeepSkyColors
Re: Custom keyboard shortcuts
« Reply #13 on: 2010 June 01 18:38:03 »
Can't argue that, Harry  :)