OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

AutoIt for OpenOffice application

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
Valery_000
General User
General User


Joined: 30 Oct 2005
Posts: 13

PostPosted: Mon Nov 14, 2005 12:42 am    Post subject: AutoIt for OpenOffice application Reply with quote

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
View user's profile Send private message
Valery_000
General User
General User


Joined: 30 Oct 2005
Posts: 13

PostPosted: Mon Nov 14, 2005 12:55 am    Post subject: Reply with quote

The AutoIt script OOInspector uses the last beta version of AutoIt:
Download it from this URL:
http://www.autoitscript.com/autoit3/files/beta/autoit/

Regards,
Valery
Back to top
View user's profile Send private message
accabrown
Power User
Power User


Joined: 21 Apr 2004
Posts: 75
Location: England

PostPosted: Tue Nov 15, 2005 8:01 am    Post subject: Reply with quote

that looks like an awe-inpsirin gpice of work. Somone should say so, even if they don't use autooit Smile
Back to top
View user's profile Send private message Visit poster's website
Valery_000
General User
General User


Joined: 30 Oct 2005
Posts: 13

PostPosted: Tue Nov 15, 2005 10:15 pm    Post subject: Reply with quote

The awe-inspiring thing is really the AutoIt, though.
:oops:
Back to top
View user's profile Send private message
Valery_000
General User
General User


Joined: 30 Oct 2005
Posts: 13

PostPosted: Tue Nov 15, 2005 10:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group