jaweb Posted August 24, 2010 Share Posted August 24, 2010 What are the ways to make an Autoit script readonly attrib? FileSetAttrib come to mind but it can't call that from the very script ones trying to mod. Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted August 24, 2010 Share Posted August 24, 2010 FileSetAttrib works fine, but I have no idea what the point of it would be. ConsoleWrite(@ScriptFullPath & @CRLF) ConsoleWrite(FileGetAttrib(@ScriptFullPath) & @CRLF) FileSetAttrib(@ScriptFullPath, "+R") ConsoleWrite(FileGetAttrib(@ScriptFullPath) & @CRLF) .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...
jaweb Posted August 24, 2010 Author Share Posted August 24, 2010 LOL.......Yeah I know.......I usually get rhetoric whenever I need a caffeine fix 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