AutoHotkey Community

It is currently May 27th, 2012, 1:34 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: April 29th, 2009, 8:04 am 
Offline

Joined: March 24th, 2009, 10:17 am
Posts: 43
I want to give a try to the automatization of MS Office, and I see that it is needed to install the COM Standard Library.

I've been trying to undertand how it works but I couldn't :s


So, what do I have to do with the downloaded "COM.ahk"?

Thanks


Last edited by Moru on April 29th, 2009, 7:54 pm, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 29th, 2009, 1:10 pm 
Offline

Joined: October 9th, 2006, 8:19 pm
Posts: 236
Location: Finland
Functions -> Libraries of Functions: Standard Library and User Library wrote:
A script may call a function in an external file without having to use #Include. For this to work, a file of the same name as the function must exist in one of the following library directories:

%A_MyDocuments%\AutoHotkey\Lib\ ; User library. This directory is optional; it may be entirely absent.
path-to-the-currently-running-AutoHotkey.exe\Lib\ ; Standard library. This is also optional.


"This directory is optional; it may be entirely absent." sounds confusing; I think that (also as I tested) the directory named "Lib" has to exist if you want to use Standard Library functions.

_________________
Pekka Vartto


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 29th, 2009, 3:45 pm 
I have been looking into COM a little, wanting to learn about it as well. I want to work with excel in it, but the help info is way to technical.


Any chance of getting a 'for dummys' deffinition of some COM basics, so the beginers out there can get a simple how to crash tutorial? Just to learn the basics, that we can expand upon.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 29th, 2009, 11:02 pm 
Offline
User avatar

Joined: December 21st, 2007, 3:14 pm
Posts: 3826
Location: Louisville KY USA
unfortunately a "working with com for dummies"
would be a little like "neurosurgery for dummies"
in the end your just gonna have to learn

_________________
No matter what your oppinion Please join this discussion
Formal request to Polyethene
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 30th, 2009, 7:02 am 
Offline

Joined: March 24th, 2009, 10:17 am
Posts: 43
svi wrote:
Functions -> Libraries of Functions: Standard Library and User Library wrote:
A script may call a function in an external file without having to use #Include. For this to work, a file of the same name as the function must exist in one of the following library directories:

%A_MyDocuments%\AutoHotkey\Lib\ ; User library. This directory is optional; it may be entirely absent.
path-to-the-currently-running-AutoHotkey.exe\Lib\ ; Standard library. This is also optional.


"This directory is optional; it may be entirely absent." sounds confusing; I think that (also as I tested) the directory named "Lib" has to exist if you want to use Standard Library functions.


Thank's it worked... now problems are others xD

"neurosurgery for dummies" mmm


Report this post
Top
 Profile  
Reply with quote  
 Post subject: COM for dummies.
PostPosted: July 26th, 2009, 10:00 pm 
Anonymous wrote:
I have been looking into COM a little, wanting to learn about it as well. I want to work with excel in it, but the help info is way to technical.

Any chance of getting a 'for dummys' deffinition of some COM basics, so the beginers out there can get a simple how to crash tutorial? Just to learn the basics, that we can expand upon.


I agree with the guest. It would be nice to have a short brief explanation of what each one of these fuctions do, similar to the examples and explanation of standard autohotkey functions.

I have started:

http://www.autohotkey.com/wiki/index.ph ... rd_Library

Welcome to help


Report this post
Top
  
Reply with quote  
 Post subject: Re: COM for dummies.
PostPosted: July 26th, 2009, 10:56 pm 
Offline

Joined: August 21st, 2006, 7:07 pm
Posts: 2925
Location: The Shell
rum wrote:


Excellent!

_________________
Imageparadigm.shift:=(•_•)┌П┐RTFM||^.*∞


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: BrandonHotkey, chaosad and 15 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group