Jump to content

I too want help


Recommended Posts

Similar to the problem saraths007 posted,i too need help though in different context...Forget protected cd's and and all,i want to copy a .CHM file to word document...while clicking on the chapter name on left,chapter will open in right...I want to perform the mouseclickdrag operation from BOTTOM to TOP of the chapter WITHOUT USING any KEYSTROKES...Is it Possible?You can PM me the script If you dont want that saraths007 to read it...

Link to comment
Share on other sites

  • Developers

Maybe you and your alterego saraths007 need to do some reading and try to learn AutoIt3 a bit first.

Post the script you have problems with and and the issue you cannot resolve and I am sure you will be helped ..

:whistle:

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

Maybe you and your alterego saraths007 need to do some reading and try to learn AutoIt3 a bit first.

Post the script you have problems with and and the issue you cannot resolve and I am sure you will be helped ..

:whistle:

This is my script...its working,but i want to change the portion marked in read and replace it with

mouseclickdrag from the bottom to top of the document without any keystrokes...

***********************

Run("C:\WINDOWS\hh.exe E:\test.chm")

$i = 0

While $i <= 10

WinWaitActive("TESTBOOK-HOME")

If $i < 1 Then

MouseClick("left", 576, 195, 1)

ElseIf $i = 1 Then

MouseClick("left", 576, 195, 1)

MouseClick("left", 19, 214, 1)

Send("{DOWN}")

Send("{ENTER}")

Sleep(2000)

MouseClick("left", 576, 195, 1)

Else

MouseClick("left", 576, 195, 1)

MouseClick("left", 19, 214, 1)

Send("{LEFT}")

Send("{DOWN}")

Send("{ENTER}")

Sleep(2000)

MouseClick("left", 576, 195, 1)

EndIf

Send("^a")

Send("^c")

Run("C:\Program Files\Microsoft Office\OFFICE11\WINWORD.EXE")

WinWaitActive("Document1 - Microsoft Word")

Send("^v")

Sleep(10000)

WinClose("Document1 - Microsoft Word")

WinWaitActive("Microsoft Office Word")

Send("{ENTER}")

WinWaitActive("Save As")

Send("{ENTER}")

$i = $i + 1

WEnd

****************************

change the Send("^a") to select the whole document and make it mouseclickdrag from Bottom to Top of the document without using any KEYSTROKES like "shift,ctrl+home or so"....

Edited by PARRYHOTTER
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...