Jump to content

Moving files with macros


 Share

Recommended Posts

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

Link to comment
Share on other sites

  • Developers

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 .......

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
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.

Edited by fear1313

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

Link to comment
Share on other sites

  • Developers

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:

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...