Search found 90 matches

by LeFunk
08 Jun 2024, 05:09
Forum: Ask for Help (v2)
Topic: Closing a pop up in Acrobat Pro Topic is solved
Replies: 6
Views: 255

Re: Closing a pop up in Acrobat Pro Topic is solved

Thanks a lot, it’s eloquent and works fine!
by LeFunk
07 Jun 2024, 11:05
Forum: Ask for Help (v2)
Topic: Closing a pop up in Acrobat Pro Topic is solved
Replies: 6
Views: 255

Re: Closing a pop up in Acrobat Pro Topic is solved

Thank you very much, it works great!  Not tested. #HotIf isActiveWindowWithMatchMode("Adobe Acrobat", 3) Esc::send("{Enter}") #HotIf isActiveWindowWithMatchMode(".pdf - Adobe Acrobat Pro (64-bit", 2) ~Esc::return F12::sendText("Some text") #HotIf isActiveWindowWithMatchMode(winTitle, matchMode := A_...
by LeFunk
07 Jun 2024, 10:43
Forum: Ask for Help (v2)
Topic: Closing a pop up in Acrobat Pro Topic is solved
Replies: 6
Views: 255

Re: Closing a pop up in Acrobat Pro Topic is solved

I see, thank you. But I’d like Esc to have a different behaviour in Acrobat’s main window than in its prompt’s window, also use other hotkeys in Acrobat’s main window.. Is that possible or should I split it to different scripts? SetTitleMatchMode 3 #HotIf WinActive("Adobe Acrobat", ) Esc:: SendInput...
by LeFunk
07 Jun 2024, 07:51
Forum: Ask for Help (v2)
Topic: Closing a pop up in Acrobat Pro Topic is solved
Replies: 6
Views: 255

Closing a pop up in Acrobat Pro Topic is solved

Hi! I’d like Esc to send enter if pop up message window titled "Adobe Acrobat" is active. I’d also like Esc to send just Esc if it is not. I have created the following code, but form some reason Esc always sends an enter: SetTitleMatchMode 3 #HotIf WinActive("Adobe Acrobat", ) Esc:: SendInput("{Ente...
by LeFunk
16 Sep 2023, 07:59
Forum: Ask for Help (v2)
Topic: WIN+C hotkey to send CTRL+SHIFT+F12 Topic is solved
Replies: 1
Views: 278

WIN+C hotkey to send CTRL+SHIFT+F12 Topic is solved

Hello!

I can't understand why I'm getting a syntax error for a simple hotkey:

Code: Select all

#c:: Send ^+{F12}
What's missing?
by LeFunk
22 Jul 2023, 10:11
Forum: Ask for Help (v2)
Topic: Accessing program element without sending tabs Topic is solved
Replies: 3
Views: 225

Re: Accessing program element without sending tabs Topic is solved

I'm basically trying to create a script that would click on the Copy button on Deepl desktop app. I would use ControlFocus with ClassNN, but it seems that the app is built differently because I can't get the button's value with WIndow Spy. I'm using ImageSearch for now, but it works 50%.
by LeFunk
22 Jul 2023, 07:55
Forum: Ask for Help (v2)
Topic: Accessing program element without sending tabs Topic is solved
Replies: 3
Views: 225

Accessing program element without sending tabs Topic is solved

Hello! I'd like to select a program element – it requires sending 5 times {tab} and then {enter}. The problem with this solution is that when I run the script again, it sends 5 more tabs and selects 10th element in the tab order. Is it possible to select a program element by its place in tab order? ...
by LeFunk
11 Jun 2023, 10:23
Forum: Ask for Help (v2)
Topic: Minimize program to task tray toggle Topic is solved
Replies: 6
Views: 493

Re: Minimize program to task tray toggle Topic is solved

I closed all the other apps/scripts and ran just this code, and it works!
Turns out that a screen dimmer program was interfering with it.

Thank you very much for your help, @mikeyww !
by LeFunk
11 Jun 2023, 09:15
Forum: Ask for Help (v2)
Topic: Minimize program to task tray toggle Topic is solved
Replies: 6
Views: 493

Re: Minimize program to task tray toggle Topic is solved

I'm just completely puzzled by this. For some reason, the Vueminder shortcut opens the window, but doesn't close it. When I assign a script to close it: #Requires AutoHotkey v2.0 #HotIf WinActive('ahk_exe VueMinder.exe') #o:: { WinMinimize("VueMinder Pro") } #HotIf It does close the Vueminder window...
by LeFunk
10 Jun 2023, 10:41
Forum: Ask for Help (v2)
Topic: Minimize program to task tray toggle Topic is solved
Replies: 6
Views: 493

Re: Minimize program to task tray toggle Topic is solved

The problem with Options -> Hotkeys -> Show/hide main VueMinder window shortcut is that although it opens the Vueminder window, it doesn't close/minimize it (at least on my PC). I also noticed now that my code works perfectly IF there's another program's window on my desktop (activated or not). It w...
by LeFunk
09 Jun 2023, 10:11
Forum: Ask for Help (v2)
Topic: Minimize program to task tray toggle Topic is solved
Replies: 6
Views: 493

Minimize program to task tray toggle Topic is solved

Hello! I'm trying to create a toggle that minimizes a program to task tray if its window is open, but opens its window if it's currently on task tray: #o:: { DetectHiddenWindows(true) if WinActive("VueMinder Pro") { WinMinimize("VueMinder Pro") Return } Else { if WinExist("VueMinder Pro") { winid :=...
by LeFunk
03 Dec 2022, 10:03
Forum: Ask for Help (v1)
Topic: Detecting specific word repetition over several words
Replies: 9
Views: 642

Re: Detecting specific word repetition over several words

your example makes me curious about the language and the specific words. It's Estonian and there are two words that both mean "and" (exactly, 100% the same meaning): they are "ja" and "ning". But because there are two words that both mean "and", it is considered a bad style to repeatedly use just o...
by LeFunk
03 Dec 2022, 06:31
Forum: Ask for Help (v1)
Topic: Detecting specific word repetition over several words
Replies: 9
Views: 642

Re: Detecting specific word repetition over several words

It's a bit more complicated. Basically, in my native language it is considered a bad style to use the same conjunctive word repeatedly. For example: "this thing AND that thing AND more things" is not good, it has to be "this thing AND that thing OR more things". I am trying to write a rule that woul...
by LeFunk
02 Dec 2022, 07:00
Forum: Ask for Help (v1)
Topic: Detecting specific word repetition over several words
Replies: 9
Views: 642

Detecting specific word repetition over several words

Hello! I'm trying to create a script that detects if a word has been repeated. So that "and, or. And or. And... or?" would be fine, but: "and, or. And and. Or... or?" would be marked as erroneous. What makes things harder is that there may be other words between the words "one" and "two": "And a bea...
by LeFunk
19 Nov 2022, 06:33
Forum: Ask for Help (v1)
Topic: Replacing colon with full stop in time formats in text Topic is solved
Replies: 1
Views: 206

Replacing colon with full stop in time formats in text Topic is solved

Hello! I'm trying to write a regex that replaces a colon with a full stop when it finds a colon in time format. So for example, a text like: We woke up at 7:00. Switched on TV at 07:15, then watched it until 23:56 or maybe even later. Would become: We woke up at 7.00. Switched on TV at 07.15, then w...
by LeFunk
23 Jun 2022, 18:14
Forum: Ask for Help (v1)
Topic: Clicking on a file name in a Save As window Topic is solved
Replies: 2
Views: 383

Re: Clicking on a file name in a Save As window Topic is solved

Thank you!

I thought it could be something much more dificcult.
by LeFunk
23 Jun 2022, 16:25
Forum: Ask for Help (v1)
Topic: Clicking on a file name in a Save As window Topic is solved
Replies: 2
Views: 383

Clicking on a file name in a Save As window Topic is solved

Hello! I'm trying to write a script that clicks on a specific file name in the "Save As" window. For example, the script clicks on file 123.txt in that window (and sends Enter). Is there a good way to do this with autohotkey? I have googled phrases that might help, but haven't found anything reasona...
by LeFunk
23 May 2022, 06:37
Forum: Ask for Help (v1)
Topic: Sending hotkeys to Adobe Acrobat Topic is solved
Replies: 3
Views: 495

Re: Sending hotkeys to Adobe Acrobat Topic is solved

Thank you! I had it other #IfWinActive instances in the same script, I guess something causes the interference.
by LeFunk
22 May 2022, 14:49
Forum: Ask for Help (v1)
Topic: Sending hotkeys to Adobe Acrobat Topic is solved
Replies: 3
Views: 495

Sending hotkeys to Adobe Acrobat Topic is solved

Hello!

I'm trying to use hotkeys in Adobe Acrobat, but so far nothing works.
For example:

Code: Select all

SetTitleMatchMode 2
#IfWinActive, Adobe Acrobat
c::
MsgBox, Test
#IfWinActive
Does nothing. I wonder what's missing?

Thanks in advance!
by LeFunk
20 May 2022, 05:46
Forum: Ask for Help (v1)
Topic: Selecting a column in word Topic is solved
Replies: 3
Views: 428

Re: Selecting a column in word Topic is solved

I'm not sure that's the case, I can still send text to the word document, for example: F12:: Send aaaa oword := ComObjActive("Word.Application") oword.ActiveDocument.Tables(4).Columns(4).Select oword.Column.Copy Send bbbb "aaaa" gets inserted into the word document, and after error messages about li...

Go to advanced search