Jump to content

Recommended Posts

Posted

Hello programmers  :bye:

it's been awhile since my last topic but I stumbled on something strange..

make an Autoitscript and put this in it:

soundplay("file.wav",1)

then make a bunch of folders inside of other folders and put the script with the wav file into the deepest folder:

new folder000new folder001new folder002new folder003new folder003new folder005new folder006new folder007new folder008new folder009new folder010my_autoitscript.au3 file.wav

then try to play the sound file with your autoitscript...

the sound does not play but if i place the script with the sound file a few folders up, it works.

hope you can help me and thanks for reading my post,

TheAutomator ;)

  • Moderators
Posted

TheAutomator,

Windows has a path length limit of 260 characters - you are only at 189 characters above, but could the real path be bumping up against that limit? :huh:

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

Posted

  On 8/22/2014 at 6:39 PM, Melba23 said:

TheAutomator,

Windows has a path length limit of 260 characters - you are only at 189 characters above, but could the real path be bumping up against that limit? :huh:

M23

 

thanks for the info Melba23, do you maybe know how windows media player manage to play the sound anyway?

my autoit projects are pretty nested into other folders I can say :P

that's how i stumbled onto this problem..

  • Moderators
  • Solution
Posted

TheAutomator,

There are ways to get round the path length limit. I have noticed several such threads on the forum, but as I have never had occasion to get close to a path of that length I have never looked at them closely - perhaps this one might be of use. :)

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...