Evil_Has_Survived Posted April 5, 2006 Posted April 5, 2006 I was wondering if I send a script that has the admin's name, for example OPENFILE("C:\Documents and Settings\Bill Gates\Desktop\mytext") well see since im bill gates (pretend ) and my computer is under the admins name that goes by the name of bill gates, and Im sending it to a friends computer whos admin name goes by C:\Documents and Settings\Tom Gets\Desktop\mytext so since his name is Tom Gets it won't understand what to open since my scripts telling it to open a text file called mytext from C:\Documents and Settings\Bill Gates\Desktop\mytext or is the script smart enuff to figure that out Thanks in advance
cdkid Posted April 5, 2006 Posted April 5, 2006 Helpfile: @DesktopDir check it out AutoIt Console written in C#. Write au3 code right at the console :D_FileWriteToLineWrite to a specific line in a file.My UDF Libraries: MySQL UDF Library version 1.6 MySQL Database UDF's for AutoItI have stopped updating the MySQL thread above, all future updates will be on my SVN. The svn location is:kan2.sytes.net/publicsvn/mysqlnote: This will still be available, but due to my new job, and school hours, am no longer developing this udf.My business: www.hirethebrain.com Hire The Brain HireTheBrain.com Computer Consulting, Design, Assembly and RepairOh no! I've commited Scriptocide!
Thatsgreat2345 Posted April 5, 2006 Posted April 5, 2006 example FileOpen(@desktopdir & "\mytext.txt", 0) you must include the file extension as well and now depending on what you want to do with it your going to have to change the 0 to what ever 0 = Read mode 1 = Write mode (append to end of file) 2 = Write mode (erase previous contents) 4 = Read raw mode 8 = Create directory structure if it doesn't exist (See Remarks).
Evil_Has_Survived Posted April 5, 2006 Author Posted April 5, 2006 ok i will thanks Thanks in advance
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