xtrim Posted April 1, 2011 Share Posted April 1, 2011 Hello, I made a small program that save a file on the users desktop. It is working fine for all english OS. But for some reason on non-english OS it does not work...m Here is a part of the script: $file=@DesktopDir &"\file.jpg"; Run('Rundll32.exe "' & @SystemDir & '\mshtml.dll",PrintHTML "' & $file & '"', @SystemDir) When i'm using @scriptdir - it is OK, but for @desktopdir it is not... How do I fix It? tnx Link to comment Share on other sites More sharing options...
UEZ Posted April 1, 2011 Share Posted April 1, 2011 try $file= '"' & @DesktopDir & "\file.jpg" & '"' Br, UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
xtrim Posted April 1, 2011 Author Share Posted April 1, 2011 I tried it, but then it wont pass the "_ScreenCapture_Capture($file)" function for some reason... Link to comment Share on other sites More sharing options...
hannes08 Posted April 1, 2011 Share Posted April 1, 2011 $file= @DesktopDir & "\file.jpg" ConsoleWrite($file & @CRLF) _ScreenCapture_Capture($file) ... worked just right for me on a german XP system. Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler] 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