Author Topic: [v1.6.7.6] "Play a Sound" preview function does not expand environment variables  (Read 2739 times)

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4759
  • RTFM
When a path including an environment variable is used for the location of a sound file, clicking the "Preview" button will result an a "Invalid Sound File" message stating "Sound file does not exist".

E.G.
Code: [Select]
Play sound, '%TEMP%\sound.wav'
However, when the command is actually executed, the file will be played correctly(tested using "Legacy Audio" and "Integrated Components").


This is also relevant to the "Play a Random Sound" action's preview feature.


EDIT: Working in v1.6.7.8
« Last Edit: September 17, 2017, 06:18:08 AM by Pfeil »

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2827
I'll check it out.