| Author |
Message |
Topic: Get element coordinates inside Internet Explorer_Server1 |
jethrow
Replies: 10
Views: 177
|
Forum: Ask for Help Posted: Wed Mar 17, 2010 12:51 am Subject: Get element coordinates inside Internet Explorer_Server1 |
| So now I am trying, without luck, to ...Have you tried reading that link under tank's posts? |
Topic: A variable from a file name. |
jethrow
Replies: 1
Views: 32
|
Forum: Ask for Help Posted: Wed Mar 17, 2010 12:25 am Subject: A variable from a file name. |
I'll let you figure out the double click part, but here's an example that will get you the file name when you click on it:~LButton::
MouseGetPos, , , win, control
ControlGet, hwnd, hwnd, , % ... |
Topic: String - Methods/Properties (AHK_L) |
jethrow
Replies: 6
Views: 1664
|
Forum: Scripts & Functions Posted: Sun Mar 14, 2010 8:59 pm Subject: String - Methods/Properties (AHK_L) |
I did some more work on this library ( maybe someone will use it someday ). I have to give a special thanks to HotKeyIt for String_Lib()
var := "AutoHotkey"
MsgBox % " ... |
Topic: Activate one of mutiple Excel windows |
jethrow
Replies: 10
Views: 263
|
Forum: Ask for Help Posted: Sun Mar 14, 2010 7:40 pm Subject: Activate one of mutiple Excel windows |
^f::
WorkBookName:= "a.xls"
COM_Init()
pxl := COM_GetActiveObject( "Excel.Application" )
oWorkBook := COM_Invoke( pxl, "WorkBooks ... |
Topic: Distinguish between a String & Number |
jethrow
Replies: 18
Views: 441
|
Forum: Ask for Help Posted: Sun Mar 14, 2010 7:19 pm Subject: Distinguish between a String & Number |
Call it mind reading, but OceanMachine understood what I meant - which Sean so nicely pointed out. Thank you for the reply HotKeyIt - here is a shorted example:var := 123 ;Int
var2 := ... |
Topic: Distinguish between a String & Number |
jethrow
Replies: 18
Views: 441
|
Forum: Ask for Help Posted: Sun Mar 14, 2010 7:44 am Subject: Distinguish between a String & Number |
Thanks for the reply Murx. I should clarify more - I want to pass the contents to a function. So, here's where the issue becomes relevant:var := 123
var2 := "123"
MsgBox % var/1
... |
Topic: Distinguish between a String & Number |
jethrow
Replies: 18
Views: 441
|
Forum: Ask for Help Posted: Sun Mar 14, 2010 6:21 am Subject: Distinguish between a String & Number |
| Is there a way to distinguish between say 123 and "123" in AHK? I know I've seen these treated differently when working with COM. Is there perhaps a simple dll call that could determine the ... |
Topic: Get element coordinates inside Internet Explorer_Server1 |
jethrow
Replies: 10
Views: 177
|
Forum: Ask for Help Posted: Sat Mar 13, 2010 8:48 am Subject: Get element coordinates inside Internet Explorer_Server1 |
and what do we thing the benifet over the click method is?None that I'm aware of - but it would be an option . |
Topic: Get element coordinates inside Internet Explorer_Server1 |
jethrow
Replies: 10
Views: 177
|
Forum: Ask for Help Posted: Fri Mar 12, 2010 11:06 pm Subject: Get element coordinates inside Internet Explorer_Server1 |
Well, outside of outlining the element, you could use the coordinates along with MouseClick to click the element . |
Topic: Get element coordinates inside Internet Explorer_Server1 |
jethrow
Replies: 10
Views: 177
|
Forum: Ask for Help Posted: Fri Mar 12, 2010 9:41 pm Subject: Get element coordinates inside Internet Explorer_Server1 |
Here's a quick example ( using AHKL & COM_L ):If !pWin := IEGet( "Google" ).document.parentWindow { ; get window object
MsgBox, No Google Page Exists!
Return
} ... |
Topic: Activate one of mutiple Excel windows |
jethrow
Replies: 10
Views: 263
|
Forum: Ask for Help Posted: Thu Mar 11, 2010 6:22 pm Subject: Activate one of mutiple Excel windows |
| I may be off base here, but it sounds like there is an issue activating an Excel window where there are multiple WorkBooks open for one Excel Object/Process ( check the Window HWND/ID ). If you have E ... |
Topic: AHK[U] || AHK_L || AHK_H || ... |
jethrow
Replies: 7
Views: 265
|
Forum: General Chat Posted: Thu Mar 11, 2010 5:16 pm Subject: AHK[U] || AHK_L || AHK_H || ... |
Also, for the record, AHKAutoHotkey_L has been merged with AutoHotkeyU. Please use AutoHotkey_L instead.
As Tuncay mentioned though, this could get very interesting/confusing when IronAHK is finalize ... |
Topic: Searching diagonally? |
jethrow
Replies: 12
Views: 190
|
Forum: Ask for Help Posted: Thu Mar 11, 2010 4:50 am Subject: Searching diagonally? |
So I spent way to long trying this, but here's an example bridging off a previous post - where the variable "letters" is the same as in the previous posts ( requires :
table := Grid( ... |
Topic: Newbie, execute script based on webpage button press. |
jethrow
Replies: 19
Views: 600
|
Forum: Ask for Help Posted: Wed Mar 10, 2010 8:13 am Subject: Newbie, execute script based on webpage button press. |
| First off, this is only an example of concepts really. I'm not an expert when it comes to the ConnectObject function. Currently the script disconnects the objects each time a button is clicked ( you c ... |
Topic: Creating a word doc w/ inputbox value in file name and insid |
jethrow
Replies: 8
Views: 93
|
Forum: Ask for Help Posted: Tue Mar 09, 2010 7:23 pm Subject: Creating a word doc w/ inputbox value in file name and insid |
Prolly not newbie friendly, but here's an example using COM ( AHKL & COM_L )::*:snn ::
InputBox, UserInput, Client Name, Please enter the Business Name or Client Name., , 340, 18 ... |
| |