Search found 160 matches
- 09 Feb 2015, 11:31
- Forum: Ask for Help (v1)
- Topic: Speeding up com control of Excel
- Replies: 6
- Views: 3050
Speeding up com control of Excel
Hi, I really like controlling Excel with AHK. I find it much more convenient than dealing with Excel macros... that might just be me. Anyway, is there anything I should be doing to allow the interface to work as quickly as possible? Most functions are simple enough that the lag time is insignificant...
- 02 Feb 2015, 18:13
- Forum: Scripts and Functions (v1)
- Topic: ObjRegisterActive
- Replies: 57
- Views: 40757
Re: ObjRegisterActive
Lexikos,
I specified that it would just be text passed across the hidden Gui. I never expected to be able to send objects that way.
I specified that it would just be text passed across the hidden Gui. I never expected to be able to send objects that way.
RelayerThe use of a hidden GUI to pass a variable value via text still look attractive.
- 02 Feb 2015, 10:22
- Forum: Scripts and Functions (v1)
- Topic: ObjRegisterActive
- Replies: 57
- Views: 40757
Re: ObjRegisterActive
Relayer wrote: The first Msgbox works but the for loop complains it cannot find a member. Lexikos wrote: There are actually two problems: "Member not found" comes from requesting the member DISPID_NEWENUM instead of attempting to resolve the name "_NewEnum". This works well with COM objects (since ...
- 23 Jan 2015, 19:41
- Forum: Scripts and Functions (v1)
- Topic: PleasantNotify() - Beautiful popup msg, tooltip
- Replies: 45
- Views: 28051
Re: PleasantNotify() - Beautiful popup msg, tooltip
I may have spoke too soon. I think a "typo" allowed my example to work. I'll keep looking at it.
Relayer
Relayer
- 23 Jan 2015, 17:59
- Forum: Scripts and Functions (v1)
- Topic: PleasantNotify() - Beautiful popup msg, tooltip
- Replies: 45
- Views: 28051
Re: PleasantNotify() - Beautiful popup msg, tooltip
evilC,
The bind() function works just fine in v1.1.16.05
Relayer
The bind() function works just fine in v1.1.16.05
Relayer
- 16 Jan 2015, 17:38
- Forum: Wish List
- Topic: A command like ListVars that exposes the innards of objects.
- Replies: 2
- Views: 1562
A command like ListVars that exposes the innards of objects.
I have been using and modifying some functions I found on the forum to list the contents of objects. But then I got to thinking that I know I don't understand all the nuances of objects and their association to classes and whatnot. So I thought it might be useful to have a utility command that could...
- 16 Jan 2015, 17:25
- Forum: Scripts and Functions (v1)
- Topic: ActiveScript - Host VBScript and JScript in-process
- Replies: 46
- Views: 42208
Re: ActiveScript - Host VBScript and JScript in-process
lexikos, I see your vbscript example... is there a way to pass parameters into the vbscript. You show how to access variables to get them out but what if the vbscript function accepts and requires parameters? I tried: vb.variable := "blah" before executing vb.exec(code) but that didn't work Relayer
- 15 Jan 2015, 10:33
- Forum: Ask for Help (v1)
- Topic: Objects as functions - question.
- Replies: 11
- Views: 3867
Re: Objects as functions - question.
OMG... I love objects and classes but I have to say that this thread hurts my brain. I don't even know where to begin to understand or follow what you guys are debating. I like to understand everything but for now I guess I'll have to be satisfied with using what works for me in my scripts and avoid...
- 21 Nov 2014, 14:08
- Forum: Ask for Help (v1)
- Topic: How to discover the hwnd of a tooltip?
- Replies: 5
- Views: 2964
Re: How to discover the hwnd of a tooltip?
Thanks just me!
I don't see how your method will segregate a specific tooltip if there are multiple visible at once. That's why the text contained in the tooltip is useful to specify. Again, what I have been using works, as mentioned above, but I'm not comfortable with it.
Relayer
I don't see how your method will segregate a specific tooltip if there are multiple visible at once. That's why the text contained in the tooltip is useful to specify. Again, what I have been using works, as mentioned above, but I'm not comfortable with it.
Relayer
- 21 Nov 2014, 11:44
- Forum: Ask for Help (v1)
- Topic: How to discover the hwnd of a tooltip?
- Replies: 5
- Views: 2964
How to discover the hwnd of a tooltip?
Hi, What is the best way to discover the hwnd of a tooltip that was just created? I have been using the following and it's been working: ToolTip, %text%, %x%, %y%, % this.TTindex hwnd := WinExist(text ahk_class tooltips_class32) The docs for WinExist show WinExist("WinTitle", "WinText", "ExcludeTitl...
- 06 Nov 2014, 15:02
- Forum: Scripts and Functions (v1)
- Topic: [Library] GuiVar - Use Gui as Variable Between AHK Scripts
- Replies: 45
- Views: 19223
Re: [Library] GuiVar - Use Gui as Variable Between AHK Scrip
I have been fascinated by classes and look for every opportunity to put another one together. I was intrigued by FG's use of a hidden Gui for cross communication between scripts. Well, here is the functionality in the form of a class. It may or may not be useful, but the more I worked with it, the m...
- 24 Oct 2014, 15:42
- Forum: Scripts and Functions (v1)
- Topic: MCode4GCC -- C/C++ to MCode Generator
- Replies: 121
- Views: 54314
Re: MCode4GCC -- C/C++ to MCode Generator
Is there a repository of MCode functions with docs? I'd be interested in previous work since I'm not that proficient at writing my own C code.
Relayer
Relayer
- 19 Oct 2014, 08:51
- Forum: Scripts and Functions (v1)
- Topic: AHKhttp - HTTP Server
- Replies: 60
- Views: 43911
Re: AHKhttp - HTTP Server
ahk7,
I tried your script and get "unable to connect". I'm using Firefox and AutoHotKey v1.1.16.05
I'm a complete noob when it comes to http server stuff.
Relayer
I tried your script and get "unable to connect". I'm using Firefox and AutoHotKey v1.1.16.05
I'm a complete noob when it comes to http server stuff.
Relayer
- 18 Oct 2014, 08:47
- Forum: Scripts and Functions (v1)
- Topic: AHKhttp - HTTP Server
- Replies: 60
- Views: 43911
Re: AHKhttp - HTTP Server
This looks very interesting but I would like to ask someone to explain a little more how one would use this. It would be very helpful.
Relayer
Relayer
- 14 Oct 2014, 10:32
- Forum: Bug Reports
- Topic: Object index question / bug?
- Replies: 9
- Views: 3165
Re: Object index question / bug?
nnnik, Perhaps English is not your first language, but the use of the word "stupid" in this context can be offensive to some especially when used in a forum/email where we cannot gauge your intent. Lexikos is a very reasonable person and will listen to any well meaning, constructive input. He has my...
- 13 Oct 2014, 13:48
- Forum: Bug Reports
- Topic: Object index question / bug?
- Replies: 9
- Views: 3165
Re: Object index question / bug?
Thanks Coco, I understand the Remove method. It is the last Insert that has me confused. I edited my initial text to clarify slightly.
Relayer
Relayer
- 13 Oct 2014, 09:20
- Forum: Bug Reports
- Topic: Object index question / bug?
- Replies: 9
- Views: 3165
Object index question / bug?
Hi, Object.Insert() documentation states: "... automatically adjusting existing keys if appropriate" I take this to mean that it will increment the index of existing members if it was being directed to fill a slot that was currently occupied. Perhaps I don't understand. Consider the following exampl...
- 09 Oct 2014, 08:32
- Forum: Scripts and Functions (v1)
- Topic: ToolTipFont / ToolTipColor - options for the ToolTip command
- Replies: 92
- Views: 52879
Re: ToolTipFont / ToolTipColor - options for the ToolTip com
Thank you lexikos!
You have my utmost respect. What you've done with AutoHotKey has been truly amazing and has enabled me to be so much more productive and have way more fun than I could have without your work. I can only hope you maintain your energy to stick with it.
Relayer
You have my utmost respect. What you've done with AutoHotKey has been truly amazing and has enabled me to be so much more productive and have way more fun than I could have without your work. I can only hope you maintain your energy to stick with it.
Relayer
- 06 Oct 2014, 12:37
- Forum: Scripts and Functions (v1)
- Topic: ToolTipFont / ToolTipColor - options for the ToolTip command
- Replies: 92
- Views: 52879
Re: ToolTipFont / ToolTipColor - options for the ToolTip com
For some reason I get the plain old TT while running the example. I'm using AutoHotkey v1.1.14.04
Relayer
Relayer
- 01 Oct 2014, 13:30
- Forum: Ask for Help (v1)
- Topic: Capture keypress in a function
- Replies: 3
- Views: 1628
Re: Capture keypress in a function
Thank you Ronins! I had considered that but my function is part of a class library. I want to do this in a way that the host script doesn't need to know anything about what the class function is doing. Your solution requires the host script to set the global variable as part of the hotkey routine. T...