Sign in to follow this  
Followers 0
BillLuvsU

Moving files with macros

5 posts in this topic

How do I move a file called reminder.au3 from the current desktop to the current users start up folder? Am I right that is has to do with macros?


[center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw

Share this post


Link to post
Share on other sites



who's Quote ? and what happened to the font SIZE ?

Am I right that is has to do with macros?

To create a shortcut in the startfolder ... yes.

you probably want to compile your script first and then create shortcut in the @StartMenuDir .......


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

I'm sorry, i'm new to autoit, what do you mean? could you give me a script?

Oh yeah, my program is using notepad to make another program that starts on startup, as a gift for a friend. More specificly itss is a reminder wizard.

Edited by fear1313

[center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw

Share this post


Link to post
Share on other sites

I'm sorry, i'm new to autoit, what do you mean? could you give me a script?

Oh yeah, my program is using notepad to make another program that starts on startup, as a gift for a friend. More specificly itss is a reminder wizard.

<{POST_SNAPBACK}>

Sounds more like a "poison pil" for your "Friend" ... :idiot:

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

LOL, it does huh :idiot:

Heres what I have so far.

$input = inputbox("Reminder", "Please put the text of your reminder here.")

$quote = '"'

$quote1 = '"'

$quote2 = '"'

$quote3 = '"'

$quote4 = '"'

$quote5 = '"'

$quote6 = '"'

run("notepad.exe")

winwaitactive("Untitled - Notepad")

send("msgbox(48, ")

send($quote)

send("Reminder")

send($quote2)

send(",")

send($quote3)

send($input)

send($quote4)

send(")")

send("{enter}")

Send("FileDelete ( ")

send($quote5)

send("path")

send($quote6)

send(")")

send("^s")

send("reminder.au3")

send("{enter}")

winkill("reminder - Notepad")

WinWaitClose("reminder - Notepad")

sleep("2000")

FileMove ( "@DesktopDir\reminder.au3", "@StartupDir\reminder.au3")

msgbox(48, "Reminder", "Your reminder has been created.")

everything works so far except the filemove command.

P.S. Me and my friend do send each other "poison pills" quite often...


[center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0