Page 1 of 1

[UDT] add arguments to external applications

Posted: Tue Jan 21, 2025 8:51 pm
by majid
Hi,
I've just got familiar with the great option of UDT. However, I think the documentation for this great feature is no sufficient.
I'm trying to create a tool to open an external software called "obsidian". In this software we can search by hashtag, "tag: #custom_word". Is it possible to create a UDT so that open obsidian (I did it) and search for a custom hashtag. for instant when I click on it, it open obsidian while tag:#custom_word is automatically typed there, and the results are already shown.

Also, please tell me how I can change theme (not dark mode). i saw lots of themes in theme folder. But how can I switch between them ? Also is there any webpage to download other themes?

Thanks

Re: [UDT] add arguments to external applications

Posted: Tue Jan 21, 2025 10:02 pm
by Ryan
majid wrote:
Tue Jan 21, 2025 8:51 pm
I'm trying to create a tool to open an external software called "obsidian".
Hi majid,
If you only want to be able to launch Obsidian from ToDoList, all you have to do is insert a link to the Obsidian .exe file in a comment.

For example

Code: Select all

C:\MyPrograms\Obsidian\Obsidian.exe
Then you can launch Obsidian from that link (Press the 'Ctrl' key and click the link).
majid wrote:
Tue Jan 21, 2025 8:51 pm
Also, please tell me how I can change theme (not dark mode). i saw lots of themes in theme folder. But how can I switch between them ? Also is there any webpage to download other themes?
On the main menu:

Code: Select all

Tools>Preferences>User Interface>General>Use the following color theme
Image

Other than the Dark Mode theme, which is easy to toggle on or off from the toolbar, I am not sure if there are any others already created other than those that are already in the folder. But you can create your own themes or modify the existing themes by editing the theme files.

Re: [UDT] add arguments to external applications

Posted: Wed Jan 22, 2025 6:11 am
by abstr
Hib@majid

If you want to write a UDT that will accept runtime parameters check out the help section on User Placeholders and search this forum for examples.