March 24, 20215 yr I bought Flight Crew A320 a few days ago, I'm enjoying it and it continues to run well, but ... ... deciding to streamline all my procedures, I'm putting them into Excel. I've created a 'formula' with =HYPERLINK: - =HYPERLINK("D:\Users\socen\AppData\Local\vPilot\vPilot.exe","vPilot") This puts 'vPilot' in the cell, I can click on it then after a warning "Some files can contain viruses" blah blah "Would you like to open this file", clicking 'OK' opens Flight Crew A320 as expected and everything works except there's no sound. If I close it and open it through a menu, audio does work. Any ideas? Thanks, Paul. Edited March 24, 20215 yr by SoCentral2 Spelling
March 24, 20215 yr Author Hmm, headscratching and a bit of experimentation suggests that no working folder information is being passed. Running a .ps1 file containing: - Start-Process -FilePath "D:\Program Files (x86)\Flight Crew A320 MSFS/Flight Crew A320_x64.exe" -WorkingDirectory "D:\Program Files (x86)\Flight Crew A320 MSFS" delivers audio as expected.
March 24, 20215 yr Author Even better, pointing the =HYPERLINK to a batch file containing: - ECHO OFF CD /D "D:\Program Files (x86)\Flight Crew A320 MSFS" "D:\Program Files (x86)\Flight Crew A320 MSFS\Flight Crew A320_x64.exe" EXIT ... works perfectly. 'CD' /D starts the exe with it's own folder as the working folder.
March 24, 20215 yr Commercial Member I'd use the method that works 😉 Using Excel to open Flight Crew A320... never tried it. Doesn't FSUIPC have the ability to auto-start 3rd party programs? B. York FS2Crew Web Site / FS2Crew Facebook Page / FS2Crew Discord
March 25, 20215 yr Author The "method that works" is golden, I'm sure we are in agreement there. FSUIPC - surely! I've just started with MSFS Addons Linker and that can do it too, but I like the idea of having everything laid out in a list (I'm very listy). Not to mention an obsession with making recalcitrant code comply, even if it's only a lowly Excel formula. Thanks for the response, back to the plot.
September 15, 20214 yr hi, any news about that issue? I use spadnext to open in my case fbw project and PBE and I also have no Audio. I even tried making a batch file to open the two applications but no audio. Sure I could open them with the command center or a shortcut on start menu (which works perfectly) but I connected to open the apps with my selfmade panels. So when i turn on NAV lights, fbw project and PBE would start thank you Edited September 15, 20214 yr by Commander_K
September 15, 20214 yr Commercial Member In your batch file, can you use ShellExecute? B. York FS2Crew Web Site / FS2Crew Facebook Page / FS2Crew Discord
September 15, 20214 yr with this batch file: @echo off cd /d "C:\Program Files (x86)\FS2Crew FBW A32NX" start "" "C:\Program Files (x86)\FS2Crew FBW A32NX\FS2Crew A32NX Project.exe" when I execute the batch file by hand I have sound. But when I let spadnext open the batch file, no sound I am not an expert. What does it mean if I can use shellexecute with the batch? strange greetings
September 15, 20214 yr Commercial Member I'm sorry, I have very limited experience working with Batch files. Try ensuring your Batch file is run with Admin rights: How to run a batch file as Administrator in Windows 10? Right-click on your batch file. Click Create Shortcut. Right-click the shortcut file. Click Properties. In the Shortcuts tab, click Advanced. Check the Run As Administrator box. Click Ok to close the dialog box. Click on Apply to save the changes. B. York FS2Crew Web Site / FS2Crew Facebook Page / FS2Crew Discord
Archived
This topic is now archived and is closed to further replies.