Search found 14 matches

by miracle
08 Aug 2022, 15:15
Forum: Ask for Help (v1)
Topic: VBA in AHK to create enclosing Bookmark with some text
Replies: 1
Views: 286

Re: VBA in AHK to create enclosing Bookmark with some text

i didn't understand the question well. do you want something like this? obj_word := ComObjActive("word.application") obj_bookmark := obj_word.activedocument.bookmarks.add("myBookmarkName", obj_word.selection.range) obj_range := obj_bookmark.range obj_range.text := "TestText" obj_bookmark := obj_word...
by miracle
06 Nov 2021, 02:57
Forum: Ask for Help (v1)
Topic: False positive?
Replies: 12
Views: 5000

Re: False positive?

it's 99% not ahk/the compiled file. It is windows defender. I had many struggle on work when i tried to give an compiled exe to collegues. first defender didn't flag the file, then flagged it. adding contents to the ahk script before compiling, changing content etc. worked sometime than again not. A...
by miracle
01 Nov 2021, 11:38
Forum: Ask for Help (v1)
Topic: Switch to a different tab SeleniumBasic Topic is solved
Replies: 2
Views: 732

Re: Switch to a different tab SeleniumBasic Topic is solved

where did you get "GetCurrentWindowHandle()"?? i don't think this exists.

CurrentWindowHandle is a property, readonly. So no round brackets.
by miracle
25 Oct 2021, 16:04
Forum: Ask for Help (v1)
Topic: VBE GetSelection Error: this lin does not contain a recognized action
Replies: 15
Views: 1749

Re: VBE GetSelection Error: this lin does not contain a recognized action

Good find @miracle! :bravo: . Thanks!! But ever if i see an vba question in this ahk forum i think immediately of @flyingDman and can't wait for your answers. ;) I still can not find the post where you found this. got it here: https://www.autohotkey.com/boards/viewtopic.php?t=76934&p=334068 and of ...
by miracle
24 Oct 2021, 23:23
Forum: Ask for Help (v1)
Topic: VBE GetSelection Error: this lin does not contain a recognized action
Replies: 15
Views: 1749

Re: VBE GetSelection Error: this lin does not contain a recognized action

Optional ByVal rngFix As String _ , Optional ByVal CloneType As Integer = -1 thank you!!! To be honest i didn't truly understand your code. But both args aren't used. What does rngFix stand for?? I guess you are still waiting for the last piece to convert all vba to AHK. Or did you mange to port a ...
by miracle
23 Oct 2021, 14:44
Forum: Ask for Help (v1)
Topic: VBE GetSelection Error: this lin does not contain a recognized action
Replies: 15
Views: 1749

Re: VBE GetSelection Error: this lin does not contain a recognized action

The purpose is:
Ctrl+d, clone the current selection.
Ctrl+t, switch between up and down
Ctrl+q, turn to comment
`Automatic completion if then endif, for next and the like
how will you implement this actions? I don't see how that would be possible with vba/ahk.
by miracle
15 Jul 2021, 07:09
Forum: Ask for Help (v1)
Topic: Send outlook email with hyperlink
Replies: 4
Views: 890

Re: Send outlook email with hyperlink

you need an antivirus or windows defender to disable the message
by miracle
02 Apr 2021, 04:34
Forum: Ask for Help (v1)
Topic: Open color editor in excel
Replies: 10
Views: 911

Re: Open color editor in excel

FanaticGuru Which kind of undo do you suggest in this case? Using a custom one provided by ahk through a hotkey or supplying a callback address to the undo function of excel itself? Just asking because i never received a reply to my question in this forum long ago (https://www.autohotkey.com/boards...
by miracle
19 Jan 2021, 00:10
Forum: Ask for Help (v1)
Topic: Variant
Replies: 1
Views: 183

Variant

Hi all together, i don't know how to read a variant type. I tried many hours reading the forum and the www but nothing worked out and i don't understand it :( Can anyone help me reading the newValue from this structure? >> https://docs.microsoft.com/en-us/windows/win32/api/uiautomationclient/nf-uiau...
by miracle
21 Jun 2020, 08:02
Forum: Ask for Help (v1)
Topic: AccViewer not returning all information Topic is solved
Replies: 5
Views: 2004

Re: AccViewer not returning all information Topic is solved

you might tell us how you used wm_getobject to fix the problem? thank you.
by miracle
25 Jan 2020, 07:06
Forum: Ask for Help (v1)
Topic: Outlook Inspector HWND
Replies: 0
Views: 622

Outlook Inspector HWND

Hello again, beside working with Excel COM automation i try it also with outlook. Currently i am trying to get the hwnd of the active inspector, which is an open email window. Outlook doesn't expose the hwnd for the currently open and active email window (received mail or a draft mail window). I rea...
by miracle
25 Jan 2020, 06:56
Forum: Ask for Help (v1)
Topic: Excel Undo Method
Replies: 2
Views: 703

Excel Undo Method

Hello there, i found autohotkey a little while ago and since i am really suprised what all is possible. I still didn't manage to work with classes, call backs or other advanced methods, but i am happy with what i have accomplished so far. I am currently trying to automate Excel. And since i don't wa...
by miracle
25 Jan 2020, 06:49
Forum: Ask for Help (v1)
Topic: Function in external file with try/catch/Com Interface MUCH SLOWER
Replies: 22
Views: 3339

Re: Function in external file with try/catch/Com Interface MUCH SLOWER

too be honest. I don't think that error has something to do with calling the COM methods to fast. Look at https://stackoverflow.com/questions/20514548/how-to-solve-exceptioncall-was-rejected-by-callee-exception-from-hresult-0x8 I use Excel COM daily and sometimes there are errors but i never encount...

Go to advanced search