We will be doing maintenance work on Vivaldi Translate on the 11th of May starting at 03:00 (UTC) (see the time in your time zone).
Some downtime and service disruptions may be experienced.
Thanks in advance for your patience.
Command Chain Recipes
-
@kyu3a by export i mean: you dont have that import-export-command-chains.js mod? Cuz that is what i was trying to say. Export it using this. I tried installing something manually and it didn't work. When i imported using the mod, it worked how it should work
-
{"category":"CATEGORY_COMMAND_CHAIN","chain":[{"key":"2c2057eb-ec79-4d9e-a8de-5bbb0c2a6249","label":"Capture Area to Clipboard","name":"COMMAND_CAPTURE_AREA_TO_CLIPBOARD"},{"defaultValue":1000,"key":"2eb81004-6703-46db-9933-6afcfde924e4","label":"Delay","name":"COMMAND_CHAINED_SLEEP","param":8000},{"defaultValue":"https://vivaldi.com","key":"0b01337b-4c13-4197-90c8-179c5c91cfff","label":"Open Link in Current Tab","name":"COMMAND_OPEN_LINK_CURRENT","param":"javascript:window.open(\"https://social.vivaldi.net/share?text=\"+encodeURI(document.title)+\"&url=\"+location.href);"},{"defaultValue":1000,"key":"2eb81004-6703-46db-9933-6afcfde924e4","label":"Delay","name":"COMMAND_CHAINED_SLEEP","param":8000},{"key":"aa12b05a-94cf-4660-8272-37da19294192","label":"Paste","name":"COMMAND_CLIPBOARD_PASTE"}],"key":"d8f27a23-c5b7-40df-9d59-f70b211ca70b","label":"Capture and Toot","name":"COMMAND_d8f27a23-c5b7-40df-9d59-f70b211ca70b"}
But there is no reason to believe that importing a chain works better than writing it yourself. All chains have been written by someone. If anything, you could have typed it out yourself, exported, and then imported it.
-
@luetage oooh thanks. and yes i do believe cuz i manually typed the embed youtube chain, and it didn't work. after i imported it, it worked fine
-
@Andrecon I have been proven. it works
-
Is it possible to make a command chain to run the shortcut ALT+w?
-
@barbudo2005 No, don’t think so. Simulating key presses isn’t possible from a bookmarklet.
-
Thank you.
-
@barbudo2005 What do you want to achieve?
-
I use the shortcut ALT+w to "Turn all styles off" for Stylus:
I would like to have it on a button.
-
Does anyone know how to move all tabs to a new window using a command chain?
-
@tam710562 There are currently no commands that can be used in Command Chains to open new windows but you can move selected tabs to workspaces.
-
@tam710562 First navigate to the top tab with the mouse by holding down the CTRL key and then navigate to the bottom tab with the mouse while holding down the Shift key:
-
Thanks to all of you for this collection! I didn't think I would be using command chains when they first came out. But with all the examples here, and the possibility to use them to execute JS like in the old bookmarklets, I have changed my mind. Also, big thanks to @tam710562 for their import/export mod, it really helps a lot to not have to re-create everything step by step!
-
@luetage said in Command Chain Recipes:
Close Stack
- Select Current Tab
- Close Tab
There is no keyboard shortcut to close a tab stack, this simple command chain creates it. Works only if your active tab is part of the stack.
In the meantime the ability to add a keyboard shortcut to close tab groups has been added, so this one's probably not needed any more.
-
@legobuilder26 said in Command Chain Recipes:
Save Tab Stack as session:
Command 1: Deselect Tabs
Command 2: Select Current Tab
Command 3: Save Selected Tabs as SessionHm, this is also integrated into Vivaldi now, isn't it? I can save a tab stack as session by right-click menu, on the tab bar or in the window panel.
ETA: With the tab bar, it kind of does not work reliably. First it worked fine, but only with the group that contains the active tab. On a later try I got a session with two tab groups instead of one. Weird, maybe it has to do with some hibernating tabs?
In the window panel, you can save a session out of any group, active or not. Independent of using tab bar or window panel, the session does save all the workspaces, because it thinks there are pinned tabs even when there aren't.