AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 90 matches
AutoHotkey Community Forum Index
Author Message
  Topic: Embedded Windows Scripting (VBScript & JScript) and COM
erictheturtle

Replies: 188
Views: 37178

PostForum: Scripts & Functions   Posted: Fri Feb 19, 2010 10:22 pm   Subject: Embedded Windows Scripting (VBScript & JScript) and COM
It's good you posted your code, and checked what ErrorLevel says. You should also try putting your code into a .vbs file and running it. It will give you the same result. This is because you are doing ...
  Topic: Embedded Windows Scripting (VBScript & JScript) and COM
erictheturtle

Replies: 188
Views: 37178

PostForum: Scripts & Functions   Posted: Fri Feb 19, 2010 2:50 pm   Subject: Embedded Windows Scripting (VBScript & JScript) and COM
What's the value of ErrorLevel after each call?
  Topic: Embedded Windows Scripting (VBScript & JScript) and COM
erictheturtle

Replies: 188
Views: 37178

PostForum: Scripts & Functions   Posted: Fri Feb 19, 2010 4:35 am   Subject: Embedded Windows Scripting (VBScript & JScript) and COM
I had a feeling ws4ahk wasn't going to work with Lexikos's impressive Unicode improvement.

I can appreciate wanting it updated, but is there a reason why you need to run the GoogleEarthPhotoTag pro ...
  Topic: Outlook Redemption - Access Outlook using Data Objects [COM]
erictheturtle

Replies: 3
Views: 1370

PostForum: Utilities & Resources   Posted: Wed Oct 07, 2009 4:36 am   Subject: Outlook Redemption - Access Outlook using Data Objects [COM]
I've known about this error for a long time, but have never seen a very convenient work-around. Perhaps that Outlook Redemption may do the trick.

Here is another site I just found that really gets ...
  Topic: COM add in, ws4ahk issue [solved]
erictheturtle

Replies: 4
Views: 214

PostForum: Ask for Help   Posted: Mon Sep 21, 2009 5:09 am   Subject: COM add in, ws4ahk issue [solved]
While your code may work for Visual Basic for Applications, it isn't compatible with VBScript (they should be considered separate languages). If you put your code in a .vbs file and run it, you will g ...
  Topic: Embedded Windows Scripting (VBScript & JScript) and COM
erictheturtle

Replies: 188
Views: 37178

PostForum: Scripts & Functions   Posted: Tue Aug 11, 2009 4:48 am   Subject: Embedded Windows Scripting (VBScript & JScript) and COM
@AJohn

Looking at your code, I can't quite tell what you are trying to do. It sounds like you want to use Windows Explorer to compress files. I don't understand how opening a binary file and writin ...
  Topic: Techniques for Shortening Code
erictheturtle

Replies: 7
Views: 948

PostForum: Scripts & Functions   Posted: Fri Jun 19, 2009 9:14 pm   Subject: Techniques for Shortening Code
More like Techniques for Obfuscating Code amirite? ;D

Seriously though, playing around with syntax, and trying to find the most compact way of writing this is certainly it is significantly harder t ...
  Topic: Text-To-Speech via COM - Examples
erictheturtle

Replies: 8
Views: 1878

PostForum: Scripts & Functions   Posted: Fri Jun 19, 2009 9:04 pm   Subject: Text-To-Speech via COM - Examples
Ah Sean, always the humble one ;)

jballi, this really is a stunning and professional looking demo for the Microsoft Speech SDK, COM, and Autohotkey in general.

As far as I'm concerned, programm ...
  Topic: Embedded Windows Scripting (VBScript & JScript) and COM
erictheturtle

Replies: 188
Views: 37178

PostForum: Scripts & Functions   Posted: Fri Apr 10, 2009 10:38 pm   Subject: Embedded Windows Scripting (VBScript & JScript) and COM
Not tested, but this, or something very similar might work.

Loop, Parse, FileList, |
{
StringReplace, pdfPath, A_LoopField, ppt, pdf
WS_Exec("Set ppPres = ppApp.Presentations.Ope ...
  Topic: Embedded Windows Scripting (VBScript & JScript) and COM
erictheturtle

Replies: 188
Views: 37178

PostForum: Scripts & Functions   Posted: Fri Apr 10, 2009 9:19 pm   Subject: Embedded Windows Scripting (VBScript & JScript) and COM
Looks like it's a new function for Office 2007. This should help you with the parameters.

http://msdn.microsoft.com/en-us/library/bb231096.aspx

Edit: woops, fixed a memory leak in the code I pos ...
  Topic: Embedded Windows Scripting (VBScript & JScript) and COM
erictheturtle

Replies: 188
Views: 37178

PostForum: Scripts & Functions   Posted: Fri Apr 10, 2009 7:49 pm   Subject: Embedded Windows Scripting (VBScript & JScript) and COM
Basically your problem is you shouldn't have the %% around A_LoopField. Here is your working code with that fix, and a few other updates you may or may not want to use.

#Include ws4ahk.ahk
WS_Init ...
  Topic: Embedded Windows Scripting (VBScript & JScript) and COM
erictheturtle

Replies: 188
Views: 37178

PostForum: Scripts & Functions   Posted: Fri Mar 27, 2009 4:02 am   Subject: Embedded Windows Scripting (VBScript & JScript) and COM
Looks like you can use the same idea for that function. Just pass it a HWND of some window to use as its parent.

#Include ws4ahk.ahk

WS_Initialize()


sVBCode =
(
Function Brows ...
  Topic: Embedded Windows Scripting (VBScript & JScript) and COM
erictheturtle

Replies: 188
Views: 37178

PostForum: Scripts & Functions   Posted: Thu Mar 26, 2009 9:39 pm   Subject: Re: hiding icon on task-bar button
when a msgbox dialog is created by vbscript, a taskbar button appears with the autohotkey icon.

how can I prevent the taskbar button from appearing or how can I omit the autohotkey icon when using ...
  Topic: Embedded Windows Scripting (VBScript & JScript) and COM
erictheturtle

Replies: 188
Views: 37178

PostForum: Scripts & Functions   Posted: Sun Feb 22, 2009 8:10 pm   Subject: Embedded Windows Scripting (VBScript & JScript) and COM
I was wanting to run the hta inside the ahk window.
Mmm, that is a difficult requirement. You may want to look at using a normal Internet Explorer control and have it load the .HTA file. I can't help ...
  Topic: Embedded Windows Scripting (VBScript & JScript) and COM
erictheturtle

Replies: 188
Views: 37178

PostForum: Scripts & Functions   Posted: Sun Feb 22, 2009 7:34 pm   Subject: Embedded Windows Scripting (VBScript & JScript) and COM
It's getting harder and harder to find OLE/COM documentation on the web these days.

Finally found some info for the DHTMLEdit. I think you want to use
WS_Exec("DHtmlControl.LoadDocument & ...
 
Page 1 of 6 Goto page 1, 2, 3, 4, 5, 6  Next
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group