Can I consolidate code and reference a spreadsheet?

Get help with using AutoHotkey (v2 or newer) and its commands and hotkeys
-Garfle-
Posts: 26
Joined: 07 Feb 2024, 07:46

Can I consolidate code and reference a spreadsheet?

Post by -Garfle- » 24 Apr 2024, 03:13

I use a bit of code to run and switch to an instance of the Vivaldi web browser that presents Google Keep as an app:

Code: Select all

    #Requires AutoHotkey 2.0+
    #SingleInstance Force  
    windowTitle := 'Keep'
    program     := 'vivaldi.exe'
    SetTitleMatchMode 2 ; Matching window's case-sensitive title starts with specified WinTitle
    GroupAdd 'Keep', windowTitle ' ahk_exe ' program
    If WinExist(group := 'ahk_group Keep')
           WinActivate
        else
            Run 'C:\Program Files\Vivaldi\Application\vivaldi_proxy.exe --app=https://keep.google.com --w560 --h780 --custom-identifier="Keep"'
I am struggling with some elements.

1 - I want to do something similar for ChatGPT, Google Bard, BBC Radio 4 and LBC Radio.

Do I need to run separate scripts for each, or can someone help or give me pointers towards how I could possibly reference a spreadsheet of websites I want to be able to run as apps.

2 - I can't get the window sizing to work.

Any help greatly appreciated.

Return to “Ask for Help (v2)”