Welcome to the new FlexRadio Community! Please review the new Community Rules and other important new Community information on the Message Board.
If you are having a problem, please refer to the product documentation or check the Help Center for known solutions.
Need technical support from FlexRadio? It's as simple as Creating a HelpDesk ticket.

PGXL Bypass Connect Dialog and just connect?

Wayne Westfield
Wayne Westfield Member ✭✭
Is there a way to start the PGXL Utility that bypasses the connect dialog and connects to the AMP?  Maybe a command line.   I am trying to script the start up of the applications I use to operate.

Kind regards,
Wayne
KG5MGN

Answers

  • Craig_KØCF
    Craig_KØCF Member ✭✭✭
    edited May 2020
    You could use AutoHotKey and write a hotkey macro to simulate clicking a mouse on the required button. It works really slick and even comes with a utility to read the mouse position to set it up. You can generate the necessary hotkey with a SendKeys command in your script.
    I have been using it for quite a while and really like it.

  • W5AP
    W5AP Member
    edited May 2020
    Please post exactly your script if you find one that works

    Tnx
  • Greg N8GD
    Greg N8GD Member ✭✭
    edited May 2020
    +1 for AutoHotkey, Craig.  I use it as my main scripting tool.  I've automated lots of tasks on my Windows 10 PC, including SSDR, previously.  I had it set up to start DAX and CAT and shut them when exiting SSDR (before they implemented that into SSDR).
  • Craig_KØCF
    Craig_KØCF Member ✭✭✭
    edited May 2020
    Here is a script that I wrote for AutoHotKey to activate buttons on the KPA1500 Remote program. You could modify this with the correct window title and button position to do what you want. Note: use the WindowSpy utility that comes with AutoHotKey to find the position of the button in the PGXL window.

    =========

    #SingleInstance force

    ^+c::                        ;Connect KPA1500 Remote  Ctrl-Shift-C
    prev:=WinActive("A")
    WinActivate, KPA1500 Remote
    Click, 60, 40                ;Click mouse on Local Connect
    Sleep, 500                   ;Wait a half-second
    Click, 210, 293              ;Click mouse on Connect
    if prev
      WinActivate, ahk_id %prev%
    return

    ^+t::                        ;Click "Tune" button on KPA1500 Remote  Ctrl-Shift-T
    prev:=WinActive("A")
    WinActivate, KPA1500 Remote
    Click, 100, 70               ;Click "Standby"
    Sleep, 500
    Click, 290, 325              ;Click "Tune" at postion 290 325
    if prev
      WinActivate, ahk_id %prev%
    return

    ^+u::                        ;Untune: Click "Standby" button on KPA1500 Remote  Ctrl-Shift-U
    prev:=WinActive("A")
    WinActivate, KPA1500 Remote
    Click, 100, 70               ;Click "Standby"
    if prev
      WinActivate, ahk_id %prev%
    return

    ^+k::                        ;Exit this script  Ctrl-Shift-K
    ExitApp
    return


    ============

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.