[Printable]
Share

Autohotkey, Launch Vivaldi or bring to front.

Posted: Thu 21st January 2016 in Blog

Vivaldi browser sets the title of the window to the open tab website, which makes is slightly harder to write an Autohotkey script that launches it if not open, or switches too it if it is. Since I've gone to the effort of working out how to find the pid and do it that way here's the code.

;Ctrl alt V vivaldi
^!v:: 

Process, Exist, vivaldi.exe
vivaldiPID=%Errorlevel%
if vivaldiPID
    WinActivate ahk_pid %vivaldiPID%
else
    run vivaldi

Just put this in your auto hotkey scrip and pressing CTRL + ALT + V will:

Too Easy!

[Printable]
Share

Autohotkey, Launch Vivaldi or bring to front.

Posted: Thu 21st January 2016 in Blog

Autohotkey, Launch Vivaldi or bring to front.

Vivaldi browser sets the title of the window to the open tab website, which makes is slightly harder to write an Autohotkey script that launches it if not open, or switches too it if it is. Since I've gone to the effort of working out how to find the pid and do it that way here's the code.

;Ctrl alt V vivaldi
^!v:: 

Process, Exist, vivaldi.exe
vivaldiPID=%Errorlevel%
if vivaldiPID
    WinActivate ahk_pid %vivaldiPID%
else
    run vivaldi

Just put this in your auto hotkey scrip and pressing CTRL + ALT + V will:

  • If Vivaldi is running it will switch too it.
  • If Vivaldi is not running start it.

Too Easy!