Sign in to follow this  
Followers 0
Guest huntercs

Simple problem...

4 posts in this topic

Hi

Can anyone help me with script like that:

:(

-run some program (know it :lol: )

-copy text to ini file

-press tab and copy next text to ini

-one more time same thing

-open ini file and copy all text and paste it to txt file

-get all text to clipboard

-send text and clean clipboard

Thx a lot for help

:ph34r:

Share this post


Link to post
Share on other sites



-----------------------------------------------------------

Getting started with autoit and programing.

-----------------------------------------------------------

Download AutoIt v3 - Install the script engine, helpfile, window spy.

http://www.autoitscript.com/fileman/users/jdeb/scite4autoit3.exe - Installs the SciTE text editor with autoit customizations (props to Jdeb) and it's helpfile.

The autoit helpfile has quite a bit of information available to folks like us without much basic programing knowledge, I really suggest reading (I printed alot of it) the following sections:

  • Using AutoIt
  • Language Referance
  • Keyword Reference
  • Macro Reference
I'd then suggest perusing the Language referance section, based on your intended uses of autoit, perhaps highlighting the String Management section, as that's handy in just about any application.

Hope that helps give you a kickstart.


"I'm not even supposed to be here today!" -Dante (Hicks)

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Good ideas, Emmanual. I would also review the Function reference and use the search feature.

Let's see how to do these? Check the help file to use each.

-run some program (know it :ph34r: )

Run or RunWait functions

-copy text to ini file

IniWrite function

-press tab and copy next text to ini

Send, ControlGetText functions

-one more time same thing

see above

-open ini file and copy all text and paste it to txt file

FileCopy

-get all text to clipboard

ClipGet, ClipPut

-send text and clean clipboard

ClipPut

I hope this helps your searches in the help file.

Edited by Nutster

David Nuttall
Nuttall Computer Consulting

An Aquarius born during the Age of Aquarius

AutoIt allows me to re-invent the wheel so much faster.

I'm off to write a wizard, a wonderful wizard of odd...

Share this post


Link to post
Share on other sites

Good ideas, Emmanual.  I would also review the Function reference and use the search feature.

Let's see how to do these?  Check the help file to use each.

yeah, definately. . . Also, since you're just wanting to copy the contents of the ini to the end of a text file, you could look into fileread and filewrite.

"I'm not even supposed to be here today!" -Dante (Hicks)

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