| Author |
Message |
Topic: MS Office Automation Functions (via COM) [thanks Sean] |
silveredge78
Replies: 213
Views: 33214
|
Forum: Scripts & Functions Posted: Tue Dec 01, 2009 12:14 am Subject: MS Office Automation Functions (via COM) [thanks Sean] |
Sean> Sorry for the delayed response. I've been on vacation the last 10 days.
Knowing that helps on multiple levels. That explains why it was crashing. Also, not having to do COM_Releas ... |
Topic: MS Office Automation Functions (via COM) [thanks Sean] |
silveredge78
Replies: 213
Views: 33214
|
Forum: Scripts & Functions Posted: Thu Nov 19, 2009 9:49 pm Subject: MS Office Automation Functions (via COM) [thanks Sean] |
I think I narrowed it down. It seems to relate to the COM_Release(ProtectionType). When I comment that out, it goes just fine.
Here is what I am using while trying to narrow it down:
Word_GetT ... |
Topic: MS Office Automation Functions (via COM) [thanks Sean] |
silveredge78
Replies: 213
Views: 33214
|
Forum: Scripts & Functions Posted: Thu Nov 19, 2009 9:04 pm Subject: MS Office Automation Functions (via COM) [thanks Sean] |
Sean> Thanks! That seems to work. However, for some reason, it only works like twice before the script bombs out.
Here are the functions as I modified them from the originals in this script to ... |
Topic: MS Office Automation Functions (via COM) [thanks Sean] |
silveredge78
Replies: 213
Views: 33214
|
Forum: Scripts & Functions Posted: Tue Nov 17, 2009 10:30 pm Subject: MS Office Automation Functions (via COM) [thanks Sean] |
Tank> Here is what I have so far...
Word_Unprotect()
{
Word := Word_Attach("A") ; Attach to Active Window
ActiveDocument := com_invoke(Word,& ... |
Topic: MS Office Automation Functions (via COM) [thanks Sean] |
silveredge78
Replies: 213
Views: 33214
|
Forum: Scripts & Functions Posted: Tue Nov 17, 2009 8:04 pm Subject: MS Office Automation Functions (via COM) [thanks Sean] |
| Tank> Thanks for the link, though I am already referring to it. I figured out what I was doing wrong with the VBA testing. I finally got that to work as I wanted. Now I am having issues converti ... |
Topic: MS Office Automation Functions (via COM) [thanks Sean] |
silveredge78
Replies: 213
Views: 33214
|
Forum: Scripts & Functions Posted: Tue Nov 17, 2009 6:23 pm Subject: MS Office Automation Functions (via COM) [thanks Sean] |
Tank> I am using an *unprotected* document and trying to automate *protecting* it. The recorder disappears as soon as I click Protect.
I tried to manually write out some VBA code to test things ... |
Topic: MS Office Automation Functions (via COM) [thanks Sean] |
silveredge78
Replies: 213
Views: 33214
|
Forum: Scripts & Functions Posted: Tue Nov 17, 2009 6:06 pm Subject: MS Office Automation Functions (via COM) [thanks Sean] |
| When I try it and attempt to record Protecting a document, it stops the recorder and I get nothing. This is incredibly frustrating. I've spent 10+ hours on this already and I'm getting no where. It ... |
Topic: MS Office Automation Functions (via COM) [thanks Sean] |
silveredge78
Replies: 213
Views: 33214
|
Forum: Scripts & Functions Posted: Tue Nov 17, 2009 5:12 pm Subject: MS Office Automation Functions (via COM) [thanks Sean] |
| Honestly, I don't know VBA. I am basically guessing as to how this goes. I don't understand the syntax enough to modify it as I've never even used AHK_L. I've already spent many hours on this. If ... |
Topic: MS Office Automation Functions (via COM) [thanks Sean] |
silveredge78
Replies: 213
Views: 33214
|
Forum: Scripts & Functions Posted: Mon Nov 16, 2009 11:38 pm Subject: MS Office Automation Functions (via COM) [thanks Sean] |
Sean,
Looking for help using your examples for reading Word documents. I have successfully used it and implemented it with regards to on my own machine. However, the main use of my script is appa ... |
Topic: it doesn't focus on the windows with task scheduler |
silveredge78
Replies: 9
Views: 490
|
Forum: Ask for Help Posted: Tue Sep 22, 2009 9:02 pm Subject: it doesn't focus on the windows with task scheduler |
| As previously noted, look into ControlSend and the similar commands in the manual. Moving the mouse and clicking doesn't do anything when the workstation is locked. I've found that I can do things b ... |
Topic: auto correct request |
silveredge78
Replies: 21
Views: 1250
|
Forum: Ask for Help Posted: Mon Aug 17, 2009 6:35 pm Subject: auto correct request |
You would be correct. It is AHK.
Texter Executable
Finally, Texter is open source, written using AutoHotkey, so if you're an AutoHotkey user and you want to check out or run Texter from the sou ... |
Topic: v1.0.48.3 - Time variable string? |
silveredge78
Replies: 2
Views: 455
|
Forum: Bug Reports Posted: Mon Jul 20, 2009 8:32 pm Subject: v1.0.48.3 - Time variable string? |
| I'm not sure how, but this is a clip from an old script that worked as I needed when compiled using 1.0.47.x. I upgraded to 1.0.48.3, and needed to recompile this original script for testing. It kep ... |
Topic: A_Ping() function without PING.EXE |
silveredge78
Replies: 28
Views: 5495
|
Forum: Scripts & Functions Posted: Thu Jul 09, 2009 1:12 am Subject: A_Ping() function without PING.EXE |
| Murp|e> You might want to look at my [url=http://www.autohotkey.com/forum/viewtopic.php?t=12479]Server Check script. It does what it sounds like you're wanting to do. You could potentially revis ... |
Topic: ADO COM - Database Query |
silveredge78
Replies: 107
Views: 19681
|
Forum: Scripts & Functions Posted: Thu Jul 09, 2009 1:01 am Subject: ADO COM - Database Query |
That makes more sense then. If someone helps you in PM, please post it as I might be able to make use of this.  |
Topic: ADO COM - Database Query |
silveredge78
Replies: 107
Views: 19681
|
Forum: Scripts & Functions Posted: Thu Jul 09, 2009 12:55 am Subject: ADO COM - Database Query |
| Why possibly somehow determine the length of time for time-out, and then add a timer for just under that to close it, flag a variable accordingly, then that way you'll know. |
| |