January 23, 201016 yr Probably really simple for those who know how but..I would like to create a keyboard shortcut for a panel window that is currently only possible to open via clickspot on the main panel. The panel window is listed in the simulator View menu, but not available using SHIFT 1-9.I have registered FSUIPC and tried creating a mouse macro, but the macro didn't work.Any ideas?
January 25, 201016 yr Commercial Member I don't think you can - not via the keyboard anyway. IIRC once 1-9 are used up, that's your lot. Does anyone know any different?OTOH I can think of a (possible) really nasty way of doing it in FSX but not FS9. I don't code in XML so... the theory goes like this. FSX will accept keyboard inputs. Program a gauge to accept a given input (say Shift + F12) and then convert the keypress to a window call where the gauge calls the window via the ident number. In C this would be panel_window_open_ident(<window ident number>); I truly have no idea if this would work.-Dai
January 29, 201016 yr Author Thanks Dai.This is actually the Leonardo MD and I am trying to figure out a way to get a PFD/ND zoom panel popup connected to a keyboard shortcut. Currently the only way to open it is by right-clicking a tiny icon on the panel and I don't like it.This is FS9 so the XML trick does not apply, unfortunately.-kyle
January 30, 201016 yr Thanks Dai.This is actually the Leonardo MD and I am trying to figure out a way to get a PFD/ND zoom panel popup connected to a keyboard shortcut. Currently the only way to open it is by right-clicking a tiny icon on the panel and I don't like it.This is FS9 so the XML trick does not apply, unfortunately.-kyleKyle, assuming those popups are seperate windows, you should be able to assign key combinations in FSUIPC to the FS9 commands"PANEL ID OPEN" Code 66507"PANEL ID CLOSE" Code 66508"PANEL_ID_TOGGLE" Code 66506(Note: I use FSX but I believe the FSUIPC capabilities should be the same in FS9)The numbers are the command code offsets used for FSUIPC button/key programming.You would supply a parameter when you assigned the key sequences in the FSUIPC menu that is the window "ident=" number found in the aircrafts panel.cfg file.Select the "Keys" menu, check "Aircraft specific", press "Set" and enter the keystokesfor the first panel to control on the left side of the menu.Select "Panel ID Toggle" from the "Control sent when keys pressed" drop-down menu.Enter the popup panels "ident=" variable in the parameter box.Click "Confirm"Repeat the above for additional key/panel assignments.Click "OK" when done.You could also manually enter the aircraft specific "Keys" section in the FSUIPC.ini file.Those entries would have the form:n=key,shifts,control,parametern=line numberkey=the key code for unshifted keyboard key ( see the FSUIPC users guide)shifts = the code for SHIFT, CTL, ALT functions (plus others)control = 66506 for "PANEL_ID_TOGGLE"parameter = the ident of the panel (window) to toggleHere is a sample of the code used to toggle the popups for the default CRJ in FSX.The same code should work in FS9 for your aircraft. Just substitute the aircraft name (from the aircraft.cfg "title=" line) and replace the parameters 500, 501, 502 with the "ident=" values for the popups you want to toggle. This is the code to assign keys CTL+1, CTL+2 and CTL+3 to the toggle panel function.[Keys.Bombardier CRJ 700 Lufthansa Regional]1=49,10,66506,500 ;toggle PFD popup ident 500 with Control 12=50,10,66506,501 ;toggle MFD popup ident 501 with Control 23=51,10,66506,502 'toggle EFIS popup ident 502 with Control 3Also note that XML gauges work in FS9 provided they use the FS9 schema and not the new FSX schema.So a small XML gauge specified in the main panel window orthe VC could work. Here is an example that uses the "F2" keyto toggle a panel. Replace xxxx with the panel ident.<Gauge Name="Toggle_Window" Version="1.0"> <On Key="F2"> xxxx (>K:PANEL_ID_TOGGLE) </On></Gauge> Paul
January 30, 201016 yr Author And that's a virtual cup of coffee and a cinnamon roll to Paul for providing the perfect answer. Works like a charm. Thank you!-kyle
January 30, 201016 yr And that's a virtual cup of coffee and a cinnamon roll to Paul for providing the perfect answer. Works like a charm. Thank you!-kyleGreat. Glad to be of help! Paul ( sipping his virtual coffee and noshing on the cinnamon roll ) :)
Create an account or sign in to comment