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 1907 matches
AutoHotkey Community Forum Index
Author Message
  Topic: Auto login to a webpage
jethrow

Replies: 8
Views: 153

PostForum: Ask for Help   Posted: Sat Feb 11, 2012 3:33 am   Subject: Auto login to a webpage
@sinkfaze - the return from ComObjEnwrap needs to take ownership of the pointer so that you're not leaking com objects:Return ComObjEnwrap(9,pacc,1)
Also, to be extremely picky, the IE_Get ...
  Topic: Sending keystrokes to a browser tab
jethrow

Replies: 4
Views: 104

PostForum: Ask for Help   Posted: Fri Feb 10, 2012 7:52 am   Subject: Sending keystrokes to a browser tab
ControlSend, , ^{tab}, ahk_class IEFrame

I don't think it can be done with Firefox ...Here's a [url=http://www.autohotkey.com/forum/viewtopic.php?p=487719#487719]non-sending-keystrokes ap ...
  Topic: AHK_L Array methods and properties?
jethrow

Replies: 5
Views: 86

PostForum: Ask for Help   Posted: Fri Feb 10, 2012 6:43 am   Subject: AHK_L Array methods and properties?
When is ahk2 scheduled for release? Approximately. Check out the announcements forum. However, there isn't a scheduled release date.

After I toyed with Ruby I feel that ahk is quite weak when it co ...
  Topic: Check to see if a COM object still exists
jethrow

Replies: 6
Views: 120

PostForum: Ask for Help   Posted: Fri Feb 10, 2012 6:19 am   Subject: Check to see if a COM object still exists
Not sure about that sinkfaze Wink
... check to make sure the COM object that I create still exists ...
Your example is checking for the existence of the AHK object. Ideally you could check the r ...
  Topic: AHK_L Array methods and properties?
jethrow

Replies: 5
Views: 86

PostForum: Ask for Help   Posted: Fri Feb 10, 2012 6:03 am   Subject: Re: AHK_L Array methods and properties?
AHK_L seems to have slightly improved array syntax ....That is a drastic understatement Laughing

Basically my question is, are there more than 4 functions for arrays in AHK_L? If no, is there a better ...
  Topic: *.xlsm SaveAs to *.xlsx
jethrow

Replies: 10
Views: 228

PostForum: Ask for Help   Posted: Thu Feb 09, 2012 5:13 pm   Subject: *.xlsm SaveAs to *.xlsx
Yes it is I modified it somewhat but only to remove one of the functions I didn't change any of the actual code
Ok, but you still didn't modify your example. It is leaking a Com Object. You either ne ...
  Topic: *.xlsm SaveAs to *.xlsx
jethrow

Replies: 10
Views: 228

PostForum: Ask for Help   Posted: Thu Feb 09, 2012 1:52 am   Subject: *.xlsm SaveAs to *.xlsx
@Mickers - you may just want to refer folks to the return ComObjEnwrap(9, pacc, 1)
  Topic: Help with Copy And Pasting with Shell.Explorer
jethrow

Replies: 2
Views: 70

PostForum: Ask for Help   Posted: Tue Feb 07, 2012 6:36 am   Subject: Help with Copy And Pasting with Shell.Explorer
Related: Gui, Add, ActiveX, w555 h750 0x200000 0x100000 0x800000 x0 y0 vWB, Shell.Explorer
Gui,Show,x353 y146 h600 w555 xCenter yCenter ,
ComObjConnect(WB, new Event)
url = http://www ...
  Topic: Remove a space
jethrow

Replies: 6
Views: 152

PostForum: Ask for Help   Posted: Tue Feb 07, 2012 6:20 am   Subject: Remove a space
Clipboard := Trim(Cell_value) "!$A$1"
  Topic: Excel COM - get value/address in relation to active cell
jethrow

Replies: 6
Views: 127

PostForum: Ask for Help   Posted: Mon Feb 06, 2012 11:06 pm   Subject: Excel COM - get value/address in relation to active cell
XL := ComObjActive("Excel.Application")
Cell := XL.ActiveCell

MsgBox, % XL.Cells(Cell.Row,Cell.Column-2).Value
MsgBox, % XL.Cells(Cell.Row-5,Cell.Column) ...
  Topic: Acc Library [AHK_L - Sean's ComUtils] (updated 11-27-2011)
jethrow

Replies: 30
Views: 3908

PostForum: Scripts & Functions   Posted: Sun Feb 05, 2012 9:04 pm   Subject: Acc Library [AHK_L - Sean's ComUtils] (updated 11-27-2011)
Note to Moderator - this thread could be moved to Scripts & Functions, since it is no longer a Wish List thread.

Lexikos accChild := ComObj(9, ComObjQuery(aChild
...
  Topic: KeyWait is soo stupid
jethrow

Replies: 15
Views: 434

PostForum: Ask for Help   Posted: Sat Feb 04, 2012 7:05 pm   Subject: KeyWait is soo stupid
@SinTroN

Thanks for the valuable insights - input is always appreciated. I must qualify the code I posted - it was to show you an example, to open a door for you to start learning more. However, it ...
  Topic: copying from one WorkBook to Another
jethrow

Replies: 5
Views: 164

PostForum: Ask for Help   Posted: Sat Feb 04, 2012 6:45 pm   Subject: copying from one WorkBook to Another
.. into Book 2 with the same tab names and all the data in them.
I interpreted this to mean that the tabs didn't pre-exist in Book2:

colors := ["Red", "Orange", " ...
  Topic: renaming / adding tabs
jethrow

Replies: 4
Views: 83

PostForum: Ask for Help   Posted: Sat Feb 04, 2012 7:32 am   Subject: renaming / adding tabs
; requires AutoHotkey_L

XL := ComObjCreate("Excel.Application")
XL.Workbooks.Add
XL.Visible := true

XL.Sheets.Add(ComObj(), ComObj(), 2)
for ...
  Topic: need to copy paste data from excel to IE(fields in IE)
jethrow

Replies: 21
Views: 1571

PostForum: Ask for Help   Posted: Fri Feb 03, 2012 7:24 am   Subject: need to copy paste data from excel to IE(fields in IE)
A fairly strait-forward example:; Open Excel
XL := ComObjCreate("Excel.Application")
Book := XL.WorkBooks.Add
for cell in Book.ActiveSheet.Range("A1:G50&qu ...
 
Page 1 of 128 Goto page 1, 2, 3 ... 126, 127, 128  Next
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group