June 19, 20241 yr Trying to get this to work but the FO says "Cabin altitude percent 1 feet" instead of the value of variable (A:pressurization cabin altitude). What am I doing wrong? <Macro Name="FOSPEAK">VOICE:Microsoft Catherine) (VOICERATE:1) (VOICEVOLUME:75) (SPEAKBLK</Macro> [](@CPTSPEAK:Ten thousand foot checks) (WAIT:2000) [] 11302 (>K:ROTOR_BRAKE) (WAIT:500) [] 11402 (>K:ROTOR_BRAKE) (WAIT:500) [] 11502 (>K:ROTOR_BRAKE) (WAIT:500) [] 11602 (>K:ROTOR_BRAKE) (WAIT:500) (A:PRESSURIZATION CABIN ALTITUDE,·Feet)·flr· [](@FOSPEAK:Cabin Altitude·%1·feet) Edited June 19, 20241 yr by mrm0508 Tags | i7-14700KF - 4080 SUPER | 32 GB RAM | Win 11 Pro | HC Bravo | AAO | StreamDeck |
June 20, 20241 yr Commercial Member 9 hours ago, mrm0508 said: What am I doing wrong? Each line in a scriptfile is an entire script in its own right. They don't know of each other and they don't care what happened before they are called To be able to use the % parameters, the variable must be placed in the same line, directly in front of the SPEAK [](A:PRESSURIZATION CABIN ALTITUDE,·Feet)·flr·(@FOSPEAK:Cabin Altitude·%1·feet) Edited June 20, 20241 yr by Lorby_SI LORBY-SI
June 21, 20241 yr Author Still having issues with this. Here is the complete scriptfile code: <Macro Name="CPTSPEAK">VOICE:Microsoft Richard) (VOICERATE:1) (VOICEVOLUME:95) (SPEAKBLK</Macro> <Macro Name="FOSPEAK">VOICE:Microsoft Catherine) (VOICERATE:1) (VOICEVOLUME:75) (SPEAKBLK</Macro> [](@CPTSPEAK:Ten thousand foot checks) (WAIT:2000) [] 11302 (>K:ROTOR_BRAKE) (WAIT:500) [] 11402 (>K:ROTOR_BRAKE) (WAIT:500) [] 11502 (>K:ROTOR_BRAKE) (WAIT:500) [] 11602 (>K:ROTOR_BRAKE) (WAIT:500)[](L:MyCabAlt)·(@FOSPEAK:Cabin Altitude·%1·feet) (WAIT:500) [](@FOSPEAK:Landing and turn off lights off, ten thousand foot checklist complete) (AAO_CL_STOP:p737_after_takeoff.txt) The bold portion is reading "percent one" instead of the variable value. The local variable is populated outside of this script and I have confirmed it has an integer value. Also, it is being read by CPTSPEAK instead of FOSPEAK. Edited June 21, 20241 yr by mrm0508 | i7-14700KF - 4080 SUPER | 32 GB RAM | Win 11 Pro | HC Bravo | AAO | StreamDeck |
June 21, 20241 yr Commercial Member What kind of scriptfile is this and how is it operated? Scriptfile, Checklist or Conversation? I'm asking because of the "[]" - why are those there? LORBY-SI
June 21, 20241 yr Commercial Member I've tried several different variants now, it is working for me every single time without fail As a checklist, which is waiting for confirmation after FO says "Alt check": <Macro Name="CPTSPEAK">VOICE:Microsoft David Desktop) (VOICERATE:1) (VOICEVOLUME:95) (SPEAKBLK</Macro> <Macro Name="FOSPEAK">VOICE:Microsoft Hazel Desktop) (VOICERATE:1) (VOICEVOLUME:75) (SPEAKBLK</Macro> (@CPTSPEAK:start) 12500 (>L:MyCabAlt) [](@FOSPEAK:Alt check) (L:MyCabAlt) (@FOSPEAK:Cabin Altitude %1 feet) And the way you did it: <Macro Name="CPTSPEAK">VOICE:Microsoft David Desktop) (VOICERATE:1) (VOICEVOLUME:95) (SPEAKBLK</Macro> <Macro Name="FOSPEAK">VOICE:Microsoft Hazel Desktop) (VOICERATE:1) (VOICEVOLUME:75) (SPEAKBLK</Macro> (@CPTSPEAK:start) 12500 (>L:MyCabAlt) [](L:MyCabAlt) (@FOSPEAK:Cabin Altitude %1 feet) As a simple Scriptfile <Macro Name="CPTSPEAK">VOICE:Microsoft David Desktop) (VOICERATE:1) (VOICEVOLUME:95) (SPEAKBLK</Macro> <Macro Name="FOSPEAK">VOICE:Microsoft Hazel Desktop) (VOICERATE:1) (VOICEVOLUME:75) (SPEAKBLK</Macro> (@CPTSPEAK:start) 12500 (>L:MyCabAlt) (L:MyCabAlt) (@FOSPEAK:Cabin Altitude %1 feet) Edited June 21, 20241 yr by Lorby_SI LORBY-SI
June 21, 20241 yr Commercial Member 1 hour ago, mrm0508 said: [](L:MyCabAlt)·(@FOSPEAK:Cabin Altitude·%1·feet) One small detail: you've copied and pasted the "middle dots" around the %1 from the script editor. They are compromising your script and have to be replaced with spaces (check my examples above). When you want to copy/paste code from the RPN editor, use the text in the grey box at the bottom, that contains the compiled code. This will remove all artifacts. Edited June 21, 20241 yr by Lorby_SI LORBY-SI
June 22, 20241 yr Author Good catch, it's always the little things! Thank you, love this program | i7-14700KF - 4080 SUPER | 32 GB RAM | Win 11 Pro | HC Bravo | AAO | StreamDeck |
Create an account or sign in to comment