Search found 1736 matches
- 20 Jan 2024, 17:08
- Forum: Ask for Help (v2)
- Topic: Create new empty.docx (or copy empty.docx saved somewhere on my computer) in(to) current folder with shortcut? Topic is solved
- Replies: 10
- Views: 3374
Re: Create new empty.docx (or copy empty.docx saved somewhere on my computer) in(to) current folder with shortcut? Topic is solved
You might try this to add XYPlorer : If WinActive("ahk_class CabinetWClass") OR WinActive("ahk_class Progman") OR WinActive("ahk_class WorkerW") OR WinActive("ahk_exe XYplorer.exe) { ; Do stuff } I don't have XYPlorer installed anymore, so I can't check the 'ahk_class'. (Volgens mij moet dat 'ahk_cl...
- 20 Jan 2024, 16:26
- Forum: Ask for Help (v2)
- Topic: Create new empty.docx (or copy empty.docx saved somewhere on my computer) in(to) current folder with shortcut? Topic is solved
- Replies: 10
- Views: 3374
Re: Create new empty.docx (or copy empty.docx saved somewhere on my computer) in(to) current folder with shortcut? Topic is solved
Hi, @michaelbeijer, I have something for v1 that I got from the forum, still looking for the link. In the meantime, this may give you some ideas.
The script I was looking for is at this page.
The script I was looking for is at this page.
- 15 Jan 2024, 11:56
- Forum: About This Community
- Topic: New subforum for Keysharp
- Replies: 26
- Views: 4327
Re: New subforum for Keysharp
Thanks, @joedf!
- 07 Jan 2024, 18:04
- Forum: Scripts and Functions (v2)
- Topic: COM: Format fractions in MS Word.
- Replies: 0
- Views: 695
COM: Format fractions in MS Word.
G. Mayor has VBA code to do this here. The animation should show what it does. I'm going to post two versions of this, since ComObjActive() only works _sometimes_ for me. One version uses it, and it often works. But sometimes something goes haywire. For that reason the second version uses flyingDman...
- 08 Dec 2023, 13:37
- Forum: Scripts and Functions (v2)
- Topic: PicSwitch - Switch, Checkbox controls with picture
- Replies: 5
- Views: 1007
Re: PicSwitch - Switch, Checkbox controls with picture
@tranht17, thanks very much for this. Works great, easy to modify.
Regards,
burque505
Regards,
burque505
- 01 Dec 2023, 08:57
- Forum: Scripts and Functions (v2)
- Topic: V2-Beta.1 COM - Word find/replace incl. headers/footers/text boxes
- Replies: 2
- Views: 1514
Re: V2-Beta.1 COM - Word find/replace incl. headers/footers/text boxes
Datapoint , thanks for the update. It prompted me to update my own code so it'll work with the v2.0.10 that I have installed, at least with Word 2021 (desktop version). All instances of [A_Index] were changed to (A_Index), and the newish requirement for ".Item" has been incorporated, as in your lin...
- 22 Nov 2023, 14:07
- Forum: Scripts and Functions (v2)
- Topic: Portable Python: Create a portable installation of Python on a USB
- Replies: 3
- Views: 737
Re: Portable Python: Create a portable installation of Python on a USB
@iseahound, thanks very much for this. Bound to come in handy.
- 29 Sep 2023, 14:12
- Forum: RPA
- Topic: Techforce.ai - Native AHK support, DOM access
- Replies: 3
- Views: 7750
Re: Techforce.ai - Native AHK support, DOM access
Frosti , the last time I tried this framework was in December 2020 - since then the name has changed to Supervity, and my free account looks totally unfamiliar and is now totally non-functional, so I can't answer your question about which approach is better. Obviously ChatGPT post-dates the version...
- 29 Aug 2023, 10:14
- Forum: Ask for Help (v2)
- Topic: Sending keystrokes directly to an application when controlSend does not work
- Replies: 4
- Views: 501
Re: Sending keystrokes directly to an application when controlSend does not work
Spitzi , sorry, I didn't realize that. Perhaps this (with your code in the 'else' block)? #Requires AutoHotkey v2.0 !^r:: { if (!WinActive("ahk_class OpusApp")) { Send("{LControl down}{RAlt down}{space}{LControl up}{RAlt up}") } else { ; Do other things here ; MsgBox("Word running, can't send it.")...
- 29 Aug 2023, 07:28
- Forum: Ask for Help (v2)
- Topic: Sending keystrokes directly to an application when controlSend does not work
- Replies: 4
- Views: 501
Re: Sending keystrokes directly to an application when controlSend does not work
Spitzi , maybe there's something else going on. I just tried this code with Word 2021 (desktop version), AHK v2.05, and it works for me. It requires that Word be running, as you can see. The text in the document is read aloud. #Requires AutoHotkey v2.0 if WinExist("ahk_class OpusApp") { WinActivate...
- 19 Jul 2023, 13:05
- Forum: Scripts and Functions (v2)
- Topic: [Classic function]all elements on the web + Special character input
- Replies: 1
- Views: 622
Re: [Classic function]all elements on the web + Special character input
:bravo: jinok , I really the "Symbol table" script. For my own use I've added 3 extra rows, filled with various European letters and symbols that are not present on my US keyboard. I took out the width and height args for MyGui so the GUI will autosize, so far so good. I have it start out always on ...
- 14 Jul 2023, 16:01
- Forum: Ask for Help (v2)
- Topic: ComObjGet/ComObjActive for Office apps Topic is solved
- Replies: 27
- Views: 2211
Re: ComObjGet/ComObjActive for Office apps Topic is solved
No, I didn't do anything like that when installing. It varies from machine to machine. Works on some, not on others. I install the same way everywhere.
- 14 Jul 2023, 14:19
- Forum: Ask for Help (v2)
- Topic: ComObjGet/ComObjActive for Office apps Topic is solved
- Replies: 27
- Views: 2211
Re: ComObjGet/ComObjActive for Office apps Topic is solved
Maybe check if the CLSID stored in the registry key for Word.Application matches the one store for the version of Word you are using. ; On my machine, Office 365, these two registry keys contain the CLSID below ; Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.Application\CLSID ; Computer\HKEY_LO...
- 14 Jul 2023, 13:50
- Forum: Ask for Help (v2)
- Topic: ComObjGet/ComObjActive for Office apps Topic is solved
- Replies: 27
- Views: 2211
Re: ComObjGet/ComObjActive for Office apps Topic is solved
@Datapoint, no, unfortunately. It happens regardless of switching windows, delay before calling, et cetera.
Regards,
burque505
Regards,
burque505
- 14 Jul 2023, 12:45
- Forum: Ask for Help (v2)
- Topic: ComObjGet/ComObjActive for Office apps Topic is solved
- Replies: 27
- Views: 2211
Re: ComObjGet/ComObjActive for Office apps Topic is solved
@Datapoint, that's the same on my machine, so I'll give it a try.
Edit: Still get the "Operation unavailable", which happens for me on some machines and not on others, and definitely does on my home desktop.
Regards,
burque505
Edit: Still get the "Operation unavailable", which happens for me on some machines and not on others, and definitely does on my home desktop.
Regards,
burque505
- 14 Jul 2023, 12:16
- Forum: Ask for Help (v2)
- Topic: ComObjGet/ComObjActive for Office apps Topic is solved
- Replies: 27
- Views: 2211
Re: ComObjGet/ComObjActive for Office apps Topic is solved
@Datapoint, thank you, I'll give it a try.
Edit: Works great! Posted a copy here.
Regards,
burque505
Edit: Works great! Posted a copy here.
Regards,
burque505
- 14 Jul 2023, 06:33
- Forum: Ask for Help (v2)
- Topic: ComObjGet/ComObjActive for Office apps Topic is solved
- Replies: 27
- Views: 2211
Re: ComObjGet/ComObjActive for Office apps Topic is solved
@flyingDman, your version works fine and is much shorter than what I have. Both work for me, Win10 Pro latest, Office 2021.
Thank you!
Regards,
burque505
Thank you!
Regards,
burque505
- 13 Jul 2023, 17:45
- Forum: Scripts and Functions (v2)
- Topic: Word_Get() for v2
- Replies: 0
- Views: 517
Word_Get() for v2
You might try this case you have trouble with ComObjActive() and Office apps on your machine (in may case, ComObjActive works with Word on my laptop with Office 2016, but not on my desktop with Office 2021. This works on the latter). This is totally based on AHK_user 's post here. Thanks to sean , j...
- 13 Jul 2023, 17:35
- Forum: Ask for Help (v2)
- Topic: ComObjGet/ComObjActive for Office apps Topic is solved
- Replies: 27
- Views: 2211
Re: ComObjGet/ComObjActive for Office apps Topic is solved
Here's Word_Get.ahk for v2, thanks to AHK_user for the function to modify, and to Sean, Jethrow and Learning one! ; Modified from AHK_user's Excel_Get code here: https://www.autohotkey.com/boards/viewtopic.php?f=83&t=107319&hilit=excel_get ; Uncomment to test /* #Requires AutoHotKey v2.0 #SingleInst...
- 13 Jul 2023, 17:14
- Forum: Ask for Help (v2)
- Topic: ComObjGet/ComObjActive for Office apps Topic is solved
- Replies: 27
- Views: 2211
Re: ComObjGet/ComObjActive for Office apps Topic is solved
@boiler, I'll revisit this if I can ever figure it out. I'll try to port Word_Get to v2 (might take a while) and see if I can use that instead. Not sure that would help you either if COM isn't working at all, for whatever reason.
Regards,
burque505
Regards,
burque505