Search found 56 matches

by kdaube
22 Jan 2021, 11:16
Forum: Ask For Help
Topic: MousClick location not as expected Topic is solved
Replies: 5
Views: 122

Re: MousClick location not as expected Topic is solved

Seemingly the vertical 'toolbar' window right at the bottom of the FrameMaker window is active. After careful inspection I see that you are right! And yes, If !WinExist("ahk_class FrameFamily15.MdiFrame") { Did the trick. I end up with a variable ... fmVersion := "15" ; 10 … 16 If !WinExist("ahk_cl...
by kdaube
22 Jan 2021, 08:45
Forum: Ask For Help
Topic: MousClick location not as expected Topic is solved
Replies: 5
Views: 122

MousClick location not as expected Topic is solved

Dear helpers, To send keystrokes to the application FrameMaker (version > 8) I need to add a mouseclick after the window activation to be able to input anything into that application. In a script which shall send keystrokes I have these statements If WinExist("ahk_exe FrameMaker.exe") WinActivate, a...
by kdaube
15 Nov 2020, 12:12
Forum: Ask For Help
Topic: Can not extract with RegExMatch Topic is solved
Replies: 1
Views: 34

Re: Can not extract with RegExMatch Topic is solved

Well - I found it myself: Thou must not have blanks between function name and opening parantheses!

Code: Select all

iFound    := RegExMatch (newText, re_02, outVar)
must be written

Code: Select all

iFound    := RegExMatch(newText, re_02, outVar)
and all is OK...
by kdaube
15 Nov 2020, 12:05
Forum: Ask For Help
Topic: Can not extract with RegExMatch Topic is solved
Replies: 1
Views: 34

Can not extract with RegExMatch Topic is solved

Dear all, There must be a knot in my breain (yes, it is a little bit old). oldText = Message ("E", "Settings file «01» Read error:\n02", "getXMLdata" newText = <msg_02>Settings file «01» Read error:\n, 02</msg_02> ; WIN+n Replace the still selected string with the message from the xml file ; newText...
by kdaube
10 Sep 2020, 01:31
Forum: Ask For Help
Topic: Script not working after wakeup from hibernation
Replies: 4
Views: 512

Re: Script not working after wakeup from hibernation

... seems to help only for resume 10, but not resume 7 PBT_APMRESUMESUSPEND 0x0007 resuming from a low-power state PBT_APMPOWERSTATUSCHANGE 0x000A e.g. switch from battery to A/C; low b attery In my case 7 is after 'self-hibernation' (sleeping according to power settings), 10 is after 'forced hibern...
by kdaube
09 Jun 2020, 04:10
Forum: Ask For Help
Topic: Windows Defender reports troyan in Shadow Volume for a compiled AHK script
Replies: 8
Views: 368

Re: Windows Defender reports troyan in Shadow Volume for a compiled AHK script

Thank You all for the discussion of the issue To Joe Wograd and others: Probably not an issue, but I wonder if kdaube got an infected download from somewhere other than the TAC109 GitHub page I have downloaded from an autohotkey page (but not https://www.autohotkey.com/download/2.0/ where now the al...
by kdaube
08 Jun 2020, 08:43
Forum: Ask For Help
Topic: Windows Defender reports troyan in Shadow Volume for a compiled AHK script
Replies: 8
Views: 368

Windows Defender reports troyan in Shadow Volume for a compiled AHK script

Dear all, I haven't noticed this before, but starting May 29 nearly every day I get report from Windows Defendor (now 12 reports) about a troyan found on a volume shadow copy. The time is always in the early afternoon (12 … 15 pm): https://daube.ch/zz_tests/2020-06-08-WindowsDefender.png I have noti...
by kdaube
08 May 2020, 03:06
Forum: Ask For Help
Topic: Hotkey WIN+Left dos not behave any more
Replies: 1
Views: 205

Re: Hotkey WIN+Left dos not behave any more

The problem is gone, Probably due to the change in my hotstring script https://www.autohotkey.com/boards/viewtopic.php?f=76&t=74682 , introducing it with the sequence to raise privileges: #SingleInstance Force if !A_IsAdmin { ; see H:\Utilities\DDDutils\Test-ahks\Run-as-admin.ahk try Run *RunAs "%A_...
by kdaube
08 May 2020, 03:02
Forum: Ask For Help
Topic: Script not working after wakeup from hibernation
Replies: 4
Views: 512

Re: Script not working after wakeup from hibernation

I have now introduced the script with this code: #SingleInstance Force if !A_IsAdmin { ; must be first in script ; see *verb in AHK help --- here the context-menu Run as Administrator try Run *RunAs "%A_ScriptFullPath%" catch MsgBox, You clicked Cancel when asked to elevate the script`nPlease Run th...
by kdaube
07 May 2020, 02:38
Forum: Ask For Help
Topic: Hotkey WIN+Left dos not behave any more
Replies: 1
Views: 205

Hotkey WIN+Left dos not behave any more

Dear experts, Since short time hottkey WIN+Left does not behave any more in Windows 10 Pro, OSbuild 10.0.18363.778; Monitor size 3440 x 1440 Using WIN+Left arrow the 1. use moves the current app window to the left half of the screen, the other windows are in the right half in reduced size klicking o...
by kdaube
25 Apr 2020, 11:42
Forum: Ask For Help
Topic: Edit field does not accept hotstrings
Replies: 1
Views: 143

Re: Edit field does not accept hotstrings

With a lot of experiments I have found the problem: a + in the GUI title text. This works correctly ShowDialogue: Gui, font, s10 Gui, Add, Text, x005 y005 w065 h20, Comment Gui, Add, Edit, x005 y025 w485 h20 r3 vComment, Gui, Show, x500 y410 h90 w500, DDD WinExit Return Escape: Cancel: GuiClose: Exi...
by kdaube
25 Apr 2020, 10:22
Forum: Ask For Help
Topic: Edit field does not accept hotstrings
Replies: 1
Views: 143

Edit field does not accept hotstrings

Dear experts, In a script i have a multiline edit field. It turns out that entering hotstrings does not work, they are not 'executed'. In another script I also have a multiline edit field - and in this script the entered hostrings are 'executed'. The difference in the GUI statement is only the name ...
by kdaube
15 Apr 2020, 10:46
Forum: Ask For Help
Topic: Script not working after wakeup from hibernation
Replies: 4
Views: 512

Re: Script not working after wakeup from hibernation

I think it is not in admin mode - because it has not introction such as the following #SingleInstance Force if !A_IsAdmin ; must be first in script (see H:\Utilities\DDDutils\Test-ahks\Run-as-admin.ahk) { ; see *verb in AHK help --- here the context-menu Run as Administrator try Run *RunAs "%A_Scrip...
by kdaube
15 Apr 2020, 08:12
Forum: Ask For Help
Topic: Script not working after wakeup from hibernation
Replies: 4
Views: 512

Script not working after wakeup from hibernation

Dear all, Since recent times (hidden Win 10 update?) a script does not work after wakeup from hibernation. The scipt sets up a large number of hot strings, which all are invokes via a 'trigger character'. Since this happens I need to reload the script (which is in storage and the icon is in the tray...
by kdaube
08 Apr 2020, 13:09
Forum: Ask For Help
Topic: AHK2EXE error C2 Topic is solved
Replies: 5
Views: 470

Re: AHK2EXE error C2 Topic is solved

Thanks TAK109!
I have now set exception rules in Windows Defender - and at least the recent compiles worked.
by kdaube
26 Mar 2020, 05:26
Forum: Ask For Help
Topic: AHK2EXE error C2 Topic is solved
Replies: 5
Views: 470

Re: AHK2EXE error C2 Topic is solved

Now I did some editing in the script to be compiled - and AHK2EXE compiles without error. BTW the edits are just text edits in messages...

I still wonder, what can cause such an error.
by kdaube
26 Mar 2020, 04:50
Forum: Ask For Help
Topic: AHK2EXE error C2 Topic is solved
Replies: 5
Views: 470

Re: AHK2EXE error C2 Topic is solved

The failing script is not very different to another one for which the compiler never failed. In the comparation )https://daube.ch/zz_tests/Script_comparison.pdf) the failing is red. Both scripts are UTF-8.
by kdaube
26 Mar 2020, 04:26
Forum: Ask For Help
Topic: AHK2EXE error C2 Topic is solved
Replies: 5
Views: 470

AHK2EXE error C2 Topic is solved

Dear all, Yesterday I got this error with the 'current' AHK2EXE: Error: Error opening destination file With the beta version 9 (november 2019) the error disappeared. But today I also get the error with beta 9. It just adds an error code to the message: Error: Error opening the destination file. (C2)...
by kdaube
16 Mar 2020, 03:03
Forum: Ask For Help
Topic: Where does A_Language get it's information from?
Replies: 4
Views: 505

Re: Where does A_Language get it's information from?

@just me: On my system this function provides 1033 - 8192. One needs to consult a table to get the meaning of this - as with the A_Language information. Hence I have now settled to this: GetUserUIlang() { ; --- Get current user's UI language ----- ; Returns 'en' | 'de' ... ISO 639-1 language codes ;...
by kdaube
15 Mar 2020, 12:28
Forum: Ask For Help
Topic: Where does A_Language get it's information from?
Replies: 4
Views: 505

Where does A_Language get it's information from?

Dear experts, The PC of my wife came along with an English language system. I installed fro both established accounts (Klaus, Inge) the German Language Pack. Windows reports for both accounts at HCU\Control Panel\International: Locale 0807 LocaleName de-CH A simple AHK script however reports for A_L...

Go to advanced search