| View previous topic :: View next topic |
| Author |
Message |
Valery_000 General User


Joined: 30 Oct 2005 Posts: 13
|
Posted: Mon Nov 14, 2005 12:42 am Post subject: AutoIt for OpenOffice application |
|
|
Hi,
Would you like to know about AutoIt options as laguage for OO automation under MS Windows?
For details, see, please, the message (and next one) of the AutoItList forum:
http://groups.yahoo.com/group/AutoItList/message/28459
Regards,
Valery |
|
| Back to top |
|
 |
Valery_000 General User


Joined: 30 Oct 2005 Posts: 13
|
|
| Back to top |
|
 |
accabrown Power User

Joined: 21 Apr 2004 Posts: 75 Location: England
|
Posted: Tue Nov 15, 2005 8:01 am Post subject: |
|
|
that looks like an awe-inpsirin gpice of work. Somone should say so, even if they don't use autooit  |
|
| Back to top |
|
 |
Valery_000 General User


Joined: 30 Oct 2005 Posts: 13
|
Posted: Tue Nov 15, 2005 10:15 pm Post subject: |
|
|
The awe-inspiring thing is really the AutoIt, though.
:oops: |
|
| Back to top |
|
 |
Valery_000 General User


Joined: 30 Oct 2005 Posts: 13
|
Posted: Tue Nov 15, 2005 10:59 pm Post subject: |
|
|
I forgot to add small piece of AutoIt code. For example:
;============================
Func GetDocsCount( )
Local $Count, $Docs, $Enum
$Count = 0
$Docs = $Desktop.getComponents()
$Enum = $Document.Text.createEnumeration
While $Enum.hasMoreElements
$Doc = $Enum.nextElement()
$Count += 1
Wend
Return $Count
EndFunc
This function returns count of existng documents on desktop. You can see that type definition (as Objects, as String and so on) is waste. This saves time/money. In addition, AutoIt is precise, flexible and Basic-likelanguage with Gui support which gives short and valid script answer to clear and correct question.
:!:
Valery |
|
| Back to top |
|
 |
|