autoitman1 Posted June 30, 2011 Share Posted June 30, 2011 If you do not specify a filepath for this and just the name of the .wav...like... soundplay("sound1.wav") does it just look for the .wav in whatever directory the script or built application is in? thank you Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted June 30, 2011 Share Posted June 30, 2011 I would assume it looks in the working directory. Why are you asking? If you want to access a file from the scripts directory you would normally use the @ScriptDir macro. soundplay(@ScriptDir & "\sound1.wav") .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
autoitman1 Posted June 30, 2011 Author Share Posted June 30, 2011 sorry, what exactly is a working directory? thank you Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted June 30, 2011 Share Posted June 30, 2011 I don't know how to explain it in a good way. You could see if you understand the wikipedia article on it. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
autoitman1 Posted June 30, 2011 Author Share Posted June 30, 2011 i kind of get it lol, will do more reading later thanks alkex Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now