Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Audio fails when launching from a shortcut

Featured Replies

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 by SoCentral2
Spelling

  • 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.

  • 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. 

  • 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.

  • 5 months later...

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 by Commander_K

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
 

  • 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?
  1. Right-click on your batch file.
  2. Click Create Shortcut.
  3. Right-click the shortcut file. Click Properties.
  4. In the Shortcuts tab, click Advanced.
  5. Check the Run As Administrator box.
  6. Click Ok to close the dialog box.
  7. Click on Apply to save the changes.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.