Jump to content

Can Au3recorder able to copy and paste file from one folder to the other.


Recommended Posts

Can Au3recorder able to copy and paste file from one folder to the other. i tried but was unable to work. For example i copy a aa,txt to 123 folder, and paste it. After compile, It's only able to show me i enter in 123 folder, and stop. 

i think it's unable to recognize left mouse click. 

 

Do anyone know it. 'i am new tho this program

 

Link to comment
Share on other sites

  • Moderators

Hi, chenchih, welcome to the forum. If you are copying a file from one place to another, you are much better off just using FileCopy. One line of code. Something like this:

 

FileCopy("C:\123\aa.txt", "C:\456\aa.txt")

 

Edited by JLogan3o13

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

  • Moderators

Au3Recorder is a mechanism for assisting new coders to record and playback steps. It is very much a tool to help you begin your journey with AutoIt, but you will quickly find (as I point out above) there are much better ways of doing things.

I personally suggest people use the recorder as a learning tool on their first couple of scripts, studying the outputted code so you can understand how the script does what it does.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

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