Rank: Member
Groups: Approved
Joined: 11/17/2023(UTC) Posts: 15 ![United Kingdom United Kingdom](/Content/images/flags/GB.png) Thanks: 4 times
|
All right, I normally use it in a different software, but I used MS Word for this example. The hot key I use is Win + Shift + Z and then a text expansion with automation triggered with "da" for date. There's certainly a lot of repetition for a particular instruction ![Blink](/Images/Emoticons/msp_blink.gif) . Code:22/07/2024 16:05:55: frmSurface.cs::.ctor(): Adding traces for ServerStateGeneralEvents and frmLoadingEvents until settings are loaded and checked for saved trace selections
22/07/2024 16:05:55: frmLoading.cs::.ctor(): Initialize
22/07/2024 16:05:57: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:05:58: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:05:58: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:05:58: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:05:58: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:05:58: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:05:58: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:05:58: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:05:58: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:05:58: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:05:58: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:05:58: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:05:58: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:05:58: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:05:58: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:06:00: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:06:00: KeyboardHook.cs::KeyboardProc(): Delete, clearing token:
22/07/2024 16:06:00: KeyboardHook.cs::KeyboardProc(): Character added to token: Z
22/07/2024 16:06:00: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token (Z)
22/07/2024 16:06:00: KeyboardHook.cs::KeyboardProc(): Character added to token: d
22/07/2024 16:06:01: KeyboardHook.cs::KeyboardProc(): Character added to token: da
22/07/2024 16:06:01: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token (da)
22/07/2024 16:06:01: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:06:01: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:06:01: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:06:01: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:06:01: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:06:01: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:06:01: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:06:01: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:06:01: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:06:01: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:06:01: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:06:01: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:06:01: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:06:02: KeyboardHook.cs::KeyboardProc(): Decrementing token:
22/07/2024 16:06:02: KeyboardHook.cs::KeyboardProc(): Character added to token: d
22/07/2024 16:06:02: KeyboardHook.cs::KeyboardProc(): Character added to token: da
22/07/2024 16:06:03: KeyboardHook.cs::KeyboardProc(): Possible trigger, test token here, token: da
22/07/2024 16:06:03: KeyboardHook.cs::KeyboardProc(): Trigger match, token: da
22/07/2024 16:06:03: KeyboardHook.cs::KeyboardProc(): Setting application
22/07/2024 16:06:03: KeyboardHook.cs::KeyboardProc(): HWnd: 69968 - Text: WindowsForms10.Window.8.app.0.1f1986c_r3_ad1
22/07/2024 16:06:03: KeyboardHook.cs::KeyboardProc(): Error setting application: Access is denied - Inner:
22/07/2024 16:06:03: KeyboardHook.cs::KeyboardProc(): Application match: Date
22/07/2024 16:06:03: [1] HookState.cs::TextExpansionComplete(): Enter function:
22/07/2024 16:06:03: [5] HookState.cs::FireTextExpansionThread(): Entering function
22/07/2024 16:06:03: [5] HookState.cs::FireTextExpansionThread(): Sending backspaces
22/07/2024 16:06:03: [5] HookState.cs::FireTextExpansionThread(): Name: Date - TextExpansionType: Script
22/07/2024 16:06:03: [5] HookState.cs::FireTextExpansionThread(): Script: sp.SendVKey(vk.F2); sp.SendKeys('SD'); sp.SendString(DateTime.Now.ToString("ddMMyy")); sp.SendVKey(vk.SPACE);
22/07/2024 16:06:05: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:06:06: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:06:06: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:06:06: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:06:06: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:06:06: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:06:06: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:06:06: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:06:06: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:06:06: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:06:06: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:06:06: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:06:06: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:06:06: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
22/07/2024 16:06:06: [1] HookState.cs::WinEventProc(): Foreground Window Changed, clear current token ()
|