Vivaldi

  • Browser
  • Mail
  • News
  • Community
  • About

Navigation

    • Browser
    • Mail
    • News
    • Community
    • About
    • Register
    • Login
    • Search
    HomeBlogsForumHelpThemes
    • Home
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Desktop
    3. Desktop Feature Requests
    4. Done
    5. Concatenate Commands

    Concatenate Commands

    Done
    shortcuts done
    11
    14
    2310
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Pesala
      Pesala - Ambassador - last edited by jane.n

      Difficult to do perhaps, with the existing GUI, but in Opera 12.18 keyboard shortcuts and mouse gestures can be assigned to perform more than one command, or to perform conditional commands. For example:

      • GestureUp = Open link in new page | Stop | Go to start | Close page
      • GestureDown = Open link in background page | Go to end | New page

      Blog • Vivaldi Review • Server Status • AMD Ryzen 5 3400G, 8 Gb • Win 10 64-bit build 19045.2486 • Snapshot 5.8.2955.3 (64-bit)

      Pesala 1 Reply Last reply Reply Quote 52
      • Guilimote
        Guilimote last edited by

        For those who ask what could be the benefit of this, here is an other example I also used on Opera 12:

        • Different commands depending on the context, as Pesala explained (using "|")
        • Multiple actions on a single gesture, using "&". Example:
          • ↓ → Close tab & Next Tab (by order) to close current tab AND display the one immediately on the right
          • ↓ ← Close tab & Previous Tab (by order) to close current tab AND display the one immediately on the left
        1 Reply Last reply Reply Quote 4
        • ukanuk
          ukanuk - Ambassador - last edited by

          Thinking of the mnemonic shortcuts suggestion, a more general solution is the ability to make many-to-many relationships between commands and actions, using combinations of OR, SEQUENTIAL AND, and SIMULTANEOUS AND operators. So for example, we could have:

          , (comma) = SEQUENTIAL AND
          Example: Press "g" twice to scroll to top of page:
          g,g = Scroll Page to Top

          + = SIMULTANEOUS AND
          Example: Press "t" and "p" together to paste and go in a new tab
          t+p = New Tab, Paste and Go

          | = OR
          Example: Press "t" or "CTRL+T" to open a new tab
          t | (CTRL+N) = New Tab

          Super Fancy Example, probably not useful but just to illustrate the power: Hold CTRL and make a down-left mouse gesture to close the current tab, open the previous tab by order, and paste and go
          CTRL + (↓ ,←) = Close Tab + Previous Tab (by Order) , Paste and Go

          1 Reply Last reply Reply Quote 0
          • ukanuk
            ukanuk - Ambassador - last edited by

            I forgot to mention, the g,g example is from https://forum.vivaldi.net/topic/2024/vim-like-keyboard-interface

            1 Reply Last reply Reply Quote 0
            • QuHno
              QuHno last edited by QuHno

              Not to forget the toggle commands for stuff that allows multiple states ...

              VB-18247 btw.

              bug logging monkey
              How to write good bug reports

              1 Reply Last reply Reply Quote 0
              • R
                rojaviv last edited by

                Is this analagous to macros ?

                1 Reply Last reply Reply Quote 0
                • sgunhouse
                  sgunhouse last edited by

                  Sort of. Opera 12.18 (and earlier) had a few ways of combining commands for use with custom buttons or shortcuts. You could use "&" to chain commands (to execute all of them in order) or "|" for alternatives (If the first command is not applicable, then do the second command.) No loops and no conditionals, so not much of a language.

                  1 Reply Last reply Reply Quote 0
                  • killchain
                    killchain last edited by

                    I was going to post about the same thing, not a big surprise that it's already requested, good thing I searched first...

                    I vote for that as well. It's ridiculous how many requests for specific features it can save, i.e. the other day I was thinking how convenient it would be to open a new tab and tile it next to the active one, all in one command.

                    Ryzen 9 5900X | 32 GiB 3600C14 | RTX 3070
                    Windows 11 Pro Dev + Pop!_OS 21.10
                    Pixel 4a 5G, stock rooted Android 13

                    1 Reply Last reply Reply Quote 0
                    • jumpsq
                      jumpsq last edited by

                      I guess that there could just be a section for advanced options.

                      What I would really wish for was a rich set of options that was well documented and where we could choose our features from.

                      arch linux. swaywm. vivaldi-snapshot. m3.

                      1 Reply Last reply Reply Quote 1
                      • bimlas
                        bimlas last edited by bimlas

                        @Pesala

                        What do you think about this? Execute quick commands by Javascript

                        My modifications

                        1 Reply Last reply Reply Quote 0
                        • legobuilder26
                          legobuilder26 last edited by

                          This idea is similar to smart assistant "Routines" with smart assistants, IMO. Maybe it could be its own section in settings for keyboard shortcuts, mouse gestures, and maybe automatically do something at a certain time?

                          1 Reply Last reply Reply Quote 0
                          • Pesala
                            Pesala - Ambassador - last edited by Pesala

                            This is now available in Snapshot 4.1.2350.3, so is In Progress.

                            Blog • Vivaldi Review • Server Status • AMD Ryzen 5 3400G, 8 Gb • Win 10 64-bit build 19045.2486 • Snapshot 5.8.2955.3 (64-bit)

                            1 Reply Last reply Reply Quote 1
                            • Pesala
                              Pesala - Ambassador - @Pesala last edited by Pesala

                              @pesala said in Concatenate Commands:

                              Difficult to do perhaps, with the existing GUI

                              I think the developers have done a great job with integrating this feature into the GUI. Once a new Command Chain has been defined, it can be assigned a keyboard shortcut or mouse gesture.

                              Perhaps later Command chains are also available for Menu customisation.

                              Vivaldi Settings Chain Commands.png

                              Blog • Vivaldi Review • Server Status • AMD Ryzen 5 3400G, 8 Gb • Win 10 64-bit build 19045.2486 • Snapshot 5.8.2955.3 (64-bit)

                              1 Reply Last reply Reply Quote 2
                              • jane.n
                                jane.n Vivaldi Team last edited by

                                And now this feature is also available in the stable version of Vivaldi. Take a look at Vivaldi 4.1 release blog here: https://vivaldi.com/blog/vivaldi-introduces-accordion-tabs-and-command-chains/ and update your browser. 🙂

                                1 Reply Last reply Reply Quote 2
                                Loading More Posts
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes
                                • Reply as topic
                                Log in to reply
                                • 1 / 1
                                • First post
                                  Last post

                                Looks like your connection to Vivaldi Forum was lost, please wait while we try to reconnect.

                                Copyright © Vivaldi Technologies™ — All rights reserved. Privacy Policy | Code of conduct | Terms of use | Vivaldi Status