Taitava / obsidian-shellcommands Public
generated from obsidianmd/obsidian-sample-pluginNew issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] A Question About {{Variables}} #14
Comments
|
Hi again @FelipeRearden ! Variables in this plugin are made by me, so yes, I can add new variables or change the behavior of current ones. So feature requests about variables can be made!
Todo:
|
|
This is amazing @Taitava !!! I'm so excited about this plug-in. We can do everything :)
Workspaces are a big deal in my Obsidian workflow. As you start to use, you gonna see that its a great idea but needs a lot of improve yet. Now that I know that is feasible, let me deep dive to see if we can bring some new {{variables}} to our friends. My idea is to use Shell Commands to input predefined text into other plug-ins to automate plug-ins that needs users decision. We talk soon. Thanks again and have a great day! |
Great! I just notice myself sometimes creating ideas and new features just because it's fun to create them, but it has a downside too: sometimes I develop a feature that is not actually never used or needed. These are ideas that did not arise while I was actually using the sofware in a real, practical situation, but that came to my mind when developing the software, which is a situation where I might be blind to what an actual user might need. For example, my feature idea #13 is something that came to my mind as "hey we could have this", but now that time has passed, I've come to think about maybe we will not need it. (Maybe the same holds true for #12 too). TL;DR: Good ideas develop over a long period of time. Be careful what you wish for - you might get it.
Can you elaborate more on this? I didn't quite get what you mean by "to automate plug-ins that needs users decision". I have been thinking about a variable like |
|
I 100% agree with you @Taitava. That’s why is so important the relationship between developer and testers and users. In my country we have a say that “two heads thinks better than one”:
Classic Example: I could use Shell Commands to create the expressions to:
Using the QuickAdd plug-in in can stack all commands in a MACRO and use a single hotkey to start the automation.
That’s why I love your plug-in so much. Now I can do things that Obsidian can’t
If you want I can bring more real examples to you. —- The {{input}} idea is fantastic and could fit into many workflows.
Let me think about it and I get back to you.. It’s always a pleasure talking to you. I always learn something when we talk. |
Thats true! We have a similar saying, it goes something like "Two pairs of eyes sees better than one pair".
That plugin sounds interesting. I don't have much time to check it now, but maybe later. I just wanted to note that you can also chain multiple shell commands into one. For example in Linux you can use
I think I understood this example quite well, it's a good one P.S.
Same with you! |
|
Different words and the same meaning :) I think you gonna like QuickAdd . It’s a great companion to Shell Commands. Wow ‘&&’ looks amazing. I didn’t know and I’m gonna try
Yes it’s amazing.didn’t know about Apple script since 2 months ago. I’m almost sure that there is something for Windows too. Thank you very much for the new {{variable}} !!!!!!! As I can see we will have many talks about this amazing plug-in in the next few days and weeks ! So, we talk soon @Taitava ! Have a great day! |
|
Thank you! I'm thinking about opening a Discussions section here in GitHub. Then we can better separate idea discussions from already decided, to be implemented features (= issues). I haven't used Discussions before in my own repositories, but I've used it just a little bit in Dataview's GitHub repo. Some general principles:
I'll close this issue now, as the two variable related things are now done and waiting for a release. Have a great day too! |
|
And when you talked about workflow ideas earlier, in the Discussion section there is a "Show and tell" category where you can post ideas about use cases for this plugin. |
|
It's a fantastic idea @Taitava !!!! 100% agree with you ! Now we can have a place to brainstorm our ideas, help wanted, and share experiences and workflow. 100% agree with you about the general principles!
:) |
|
By the way...
Thank you for the help :) |
|
You are welcome! I think I'm gonna release I'd just like to know if you think that this situation is a problem? In theory, I could change the variable to just return an empty text when there is no active workspace, but I don't feel that would be a correct way to go. I think that the user should be informed and the command cancelled. P.S. There's no rush testing this after the release. Edit: I just tested the |
|
And I forgot to ask you @FelipeRearden can you please provide an example command that uses |
|
Now |
|
Hello @Taitava !!!!!
After reading your message and start to use the new variable I figured out something interesting that I didn't realize:
I don't know what happens if I delete all my workspaces, but I think the message is a good way to alert!
You are right. It's the type of thing that we have to start using to see if something happen :) |
Copy to Clipboard an internal link alias with related workspace : |
Works perfect on MacOS ! Thank you very much! |
Thank you! I added the Mac test to README.md, using the same Obsidian version and OS version information as earlier. |
Is this just so that you simply want to add the workspace name to the link alias? Can you give an example of what the final link might look like, please? Thanks. |
|
Sure! I have one workspace for each book I'm reading:
Shell Command: [[LN | LN -> How to Take Smart Notes]] Since I have LN for others books, I have to know with one is from each book :) This is as work in progress: I'm thinking about creating Dashboard Notes to use as quick links to areas of my vault. I don't yet what I want and I'm trying different approaches to see if it is something useful or not :) Let me know if you want more info! Have a great day! |
|
Thanks!
I added something like this to README.md. |
Hello again @Taitava !!!
I'd like to ask you about
Variables:I'm thinking about a workflow that could need new variables as
{{workspace}}and{{file_name}}without the.mdin the endHave a great day !!!!
The text was updated successfully, but these errors were encountered: