Search found 61 matches

by poetofpiano
07 Feb 2024, 01:21
Forum: Ask for Help (v1)
Topic: Are AHK COM functions not available in Outlook anymore?
Replies: 7
Views: 517

Re: Are AHK COM functions not available in Outlook anymore?

You came to the same solution of using AccessibleObjectFromWindow as a workaround. I see. Is it possible to write a version that allows COM automation in Outlook? (I found the GetWord() function online and don’t understand how it works. I tried replacing ahk_class OpusApp with ahk_class rctrl_renwn...
by poetofpiano
06 Feb 2024, 02:08
Forum: Ask for Help (v1)
Topic: Are AHK COM functions not available in Outlook anymore?
Replies: 7
Views: 517

Re: Are AHK COM functions not available in Outlook anymore?

Strange, I tried your code and it didn’t notify me of any active COM objects, not even in Microsoft Word or Excel. I tried running my AHK script as administrator and that didn’t do the trick either. For what it’s worth, the following code does work to run a macro I’ve defined in Microsoft Word. Why ...
by poetofpiano
05 Feb 2024, 23:27
Forum: Ask for Help (v1)
Topic: Are AHK COM functions not available in Outlook anymore?
Replies: 7
Views: 517

Re: Are AHK COM functions not available in Outlook anymore?

COM won't work in the new Outlook. Good news is that, from what I can tell, new Outlook will not replace Outlook. It's similar to other email programs in the past and present; like if you remember Outlook Express. Thank you for your reply @Datapoint! I was mistaken as to what the "new Outlook." I g...
by poetofpiano
03 Feb 2024, 22:54
Forum: Ask for Help (v1)
Topic: Are AHK COM functions not available in Outlook anymore?
Replies: 7
Views: 517

Are AHK COM functions not available in Outlook anymore?

My understanding from https://stackoverflow.com/questions/76364711/new-outlook-design-2023-comobjactiveoutlook-application-not-working-anymore is that COM objects are no longer supported in the "new" Outlook. I’ve tried several simple legacy AHK-Outlook functions that always generate an error in AHK...
by poetofpiano
10 Jan 2023, 10:10
Forum: Ask for Help (v1)
Topic: Completion System Topic is solved
Replies: 4
Views: 338

Re: Completion System Topic is solved

You are simply amazing. :superhappy: :bravo: :dance:
by poetofpiano
10 Jan 2023, 10:09
Forum: Ask for Help (v1)
Topic: Autohotkey Command Picker Topic is solved
Replies: 7
Views: 1105

Re: Autohotkey Command Picker Topic is solved

You are simply amazing. :bravo: :superhappy:
by poetofpiano
09 Jan 2023, 22:21
Forum: Ask for Help (v1)
Topic: Completion System Topic is solved
Replies: 4
Views: 338

Re: Completion System Topic is solved

Brilliant! The only feature on my wish list now is to successively narrow down the candidates based on substrings separated by spaces. For example, if the candidates are cloud|louder|prouder|orange , I’d love to type ou to exclude "orange", then a space, then pr to narrow down the last three candida...
by poetofpiano
09 Jan 2023, 21:42
Forum: Ask for Help (v1)
Topic: Completion System Topic is solved
Replies: 4
Views: 338

Completion System Topic is solved

I’m wondering if anyone has built a progressive completion system to narrow down completion candidates in Autohotkey. The functionality I refer to can be seen at https://github.com/doomemacs/themes/issues/652#issuecomment-904564344 . (You see that as .el is typed, the list is filtered down to only t...
by poetofpiano
02 Dec 2022, 01:46
Forum: Ask for Help (v1)
Topic: Make key trigger hotstring or perform other function Topic is solved
Replies: 3
Views: 264

Re: Make key trigger hotstring or perform other function Topic is solved

[quote=mikeyww post_id=494049 time=1669948667 user_id=59977] ::btw::by the way #InputLevel 1 / Up::Send / #InputLevel 0 [/quote] This didn’t work for me to trigger the expansion by typing "btw/". This did: ::btw::by the way #InputLevel 1 /::Sendevent / #InputLevel 0 I just wish that could coexist w...
by poetofpiano
01 Dec 2022, 21:21
Forum: Ask for Help (v1)
Topic: Make key trigger hotstring or perform other function Topic is solved
Replies: 3
Views: 264

Make key trigger hotstring or perform other function Topic is solved

I want the below hotkey to work while still allowing the / key to trigger the end of a hotstring like usual: $/:: KeyWait, / If A_PriorKey != / return send / return The advantage of the above is that I can use / as the base for other hotkeys, e.g., / & w . But like I said, it prevents / from trigger...
by poetofpiano
01 Dec 2022, 17:27
Forum: Ask for Help (v1)
Topic: How to get characters typed in last hotstring? Topic is solved
Replies: 7
Views: 471

Re: How to get characters typed in last hotstring? Topic is solved

I certainly wouldn’t, but I have had this experience with hotstrings that I do logically use.
by poetofpiano
30 Nov 2022, 10:15
Forum: Ask for Help (v1)
Topic: How to get characters typed in last hotstring? Topic is solved
Replies: 7
Views: 471

Re: How to get characters typed in last hotstring? Topic is solved

You’re right, I gave a bad example. Here is what I meant to illustrate: ::e::early ::app::app ::appe::apple Now if I follow the steps I outlined above, I will get the unwanted behavior I described, where I get an expansion of the ::e:: hotstring when I was actually trying to expand ::appe:: . This i...
by poetofpiano
29 Nov 2022, 21:23
Forum: Ask for Help (v1)
Topic: How to get characters typed in last hotstring? Topic is solved
Replies: 7
Views: 471

Re: How to get characters typed in last hotstring? Topic is solved

Thank you for the reply. I am most interested in somehow duplicating a functionality in PhraseExpress where, after completing a word, you can backspace back into the completed word and edit it without triggering another hotstring when you next press space. Say I have the following hotstrings defined...
by poetofpiano
29 Nov 2022, 19:53
Forum: Ask for Help (v1)
Topic: How to get characters typed in last hotstring? Topic is solved
Replies: 7
Views: 471

How to get characters typed in last hotstring? Topic is solved

I am a heavy user of hotstrings, and one thing that would be useful to me is know what characters I typed that were auto-deleted and then expanded. I know that the variable A_PriorHotkey will contain the name of the last hotkey I typed, e.g., ::btw:: , but if I for example typed "BTW", that variable...
by poetofpiano
31 Jul 2022, 12:58
Forum: Ask for Help (v1)
Topic: AHK doesn’t see linefeed character? Topic is solved
Replies: 3
Views: 599

Re: AHK doesn’t see linefeed character? Topic is solved

Thank you both, that helped me resolve my issue.
by poetofpiano
30 Jul 2022, 23:22
Forum: Ask for Help (v1)
Topic: AHK doesn’t see linefeed character? Topic is solved
Replies: 3
Views: 599

AHK doesn’t see linefeed character? Topic is solved

I use an OCR tool to capture text from screenshots, and the text that the program sends to the clipboard uses line feed characters rather than carriage returns. When I paste this text into a word doc, I can see the line feed characters, but when I paste it into Word "without formatting", it actually...
by poetofpiano
23 Feb 2022, 12:20
Forum: Ask for Help (v1)
Topic: Prevent !f hotkey from zooming on SumatraPDF Topic is solved
Replies: 2
Views: 275

Prevent !f hotkey from zooming on SumatraPDF Topic is solved

I like to use the following hotkey to scroll when in sumatraPDF: !f::Send {Click WheelDown, , , 1} This will sometimes work, but other times it will fail to scroll and instead have the same effect as zooming in on the PDF by pressing ctrl + wheeldown. Modding the hotkey as follows to wait for alt to...
by poetofpiano
19 Feb 2021, 03:04
Forum: Ask for Help (v1)
Topic: Hotkey works differently in AHK Version 1.1.33 than in Version 1.1.26
Replies: 4
Views: 566

Re: Hotkey works differently in AHK Version 1.1.33 than in Version 1.1.26

I don't know. I don't have Emacs and your code works as-is for me on v1.1.33.02. Yes, the code has worked in every Windows app I’ve ever used except Emacs (and it only doesn’t work on the computers that have v1.1.33.02 installed, for whatever reason). When I ran the script with admin privileges, th...
by poetofpiano
16 Feb 2021, 14:02
Forum: Ask for Help (v1)
Topic: Hotkey works differently in AHK Version 1.1.33 than in Version 1.1.26
Replies: 4
Views: 566

Hotkey works differently in AHK Version 1.1.33 than in Version 1.1.26

Hi there, I’ve noticed an inconsistency in hotkey performance between AHK Version 1.1.33.02 and Version 1.1.26.01 that I cannot explain. The difference only occurs in the context of two hotkeys I use in Emacs: sc027::send {bs} ; semicolon key lwin & sc027:: ; lwin and semi-colon to move mouse right ...

Go to advanced search