Page 1 of 1

Catalog-entry with multiple options

Posted: 17 Oct 2024 11:05
by f00b4r
I tried to search the answer, but obviously I didn't use the right query :)
I want to add a VSC-Bookmark to my catalog that opens a window such as the Getting Started one where the first entry opens directory m:, the second o: and so on.


I tried:

Code: Select all

"VSC-> M:" "C:\Users\myusername\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe" "m:"
"VSC-> N:" "C:\Users\myusername\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe" "N:"
...
I also tried this:

Code: Select all

"VSC-> M:" "C:\Users\myusername\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe" "m:"
But I get dubious syntax...

This works:

Code: Select all

"VSC-> M:" C:\Users\myusername\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe

Re: Catalog-entry with multiple options

Posted: 17 Oct 2024 11:27
by highend

Code: Select all

"VSC-> M:"
    run lax("%LOCALAPPDATA%\Programs\Microsoft VS Code Insiders\Code - Insiders.exe" "M:");

"VSC-> N:"
    run lax("%LOCALAPPDATA%\Programs\Microsoft VS Code Insiders\Code - Insiders.exe" "N:");


Re: Catalog-entry with multiple options

Posted: 17 Oct 2024 11:30
by f00b4r
YES! Thank you so much! :tup: