jaweb 0 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. Share this post Link to post Share on other sites
AdmiralAlkex 125 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 Share this post Link to post Share on other sites
jaweb 0 Posted August 24, 2010 LOL.......Yeah I know.......I usually get rhetoric whenever I need a caffeine fix Share this post Link to post Share on other sites