mantasjasikenas / flow-launcher-shortcuts-plugin Goto Github PK
View Code? Open in Web Editor NEWA powerful Flow Launcher plugin for quickly opening users defined shortcuts.
A powerful Flow Launcher plugin for quickly opening users defined shortcuts.
Is it possible to define single keys in a group?
For example lets say I have a group key to search on image sites (freepik, unsplash etc) but I also use these sites separately as well. Is it possible somehow or I must duplicate those for single usage?
[
{
"Type": "Group",
"Shortcuts":
[
{
"Type": "Url",
"Url": "freepik.com/search?q=${q}",
/* can I set a key here? */
},
{
"Type": "Url",
"Url": "www.unsplash.com/search?q=${q}"
/* can I set a key here? */
}
],
"Key": "search"
}
]
Feature Request: "Dynamic Variables" (URL)
Description:
Instead of just static variables that are pre-defined before a call to _**q list ShortcutName ** [choose your URL], allow the user to select a URL from q list and then type in an optional search string, then perform the URL load.
Example URL:
https://www.google.com/search?q=**_coding+games_**&sca_esv=5854313 ("coding games" is the "Dynamic Variable (Var)".)
"coding games would be typed after the q list [choose an entry here] coding games.
Use-Case:
This would be helpful for forums, general search engines, etc. I want it for searching online help documents I use for development applications I use.
Description:
It looks like the plugin has trouble handling paths with spaces. For example, when I try to set up a shortcut for the Startup directory (C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp
), it throws an "invalid command arguments" error. This happens with both Directory and File shortcuts.
Steps to Reproduce:
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp
.Expected Behavior:
The plugin should handle paths with spaces correctly.
Actual Behavior:
It fails and shows an error message, making the plugin unusable for paths with spaces. This is happens with both 'File' and 'Directory' shortcuts.
Request:
Would appreciate it if you could look into this! I'll also be posting a few other minor issues I've noticed.
I just updated from 1.1.4
to 1.1.5
via pm update
and my shortcuts.json
was lost/destroyed. Fortunately I had a backup that I could manually restore. :)
Also, within Flow Plugin Settings, Shortcuts file path
and Variables file path
both still reference ...Plugins\Shortcuts-1.1.4\Config\'... instead of updating to
1.1.5'. So I manually updated both.
Description:
The result suggestions change too quickly while creating shortcuts.
Observed Behavior:
When I type the first letter of the keyword, the suggestion immediately changes to "enter path or directory."
Expected Behavior:
The result suggestion should change to "add path/directory" only after the keyword is fully typed.
Request:
I request you to fix or improve this, as it would enhance the overall user experience. However, this should be the least of your priorities, as it has little to no impact on the functionality of the plugin.
Hey great plugin.
Wondering if you plan to
q add shopping_urls https://www.google.com/search?q={q}
, where user can pass in the arg q shopping_urls -q something
Reason for this suggestion is I feel this plugin is a suitable one for solving a popular requested feature in the WebSearch plugin
When I type the name of a group, it currently displays open group <group_name>
, which opens all the shortcuts within that group. I have numerous shell commands within a group that I do not wish to execute simultaneously, although they are related and function with a specific program. Ideally, there should be a feature to toggle the group launch on or off during the initial setup of the group (similar to setting silent to "true" or "false" in the add shell command).
When searching for the group name in the shortcut plugin (before the group name is completely typed), it should display the option open group <group_name>
which would lists all the shortcuts. Moreover, typing the full name of the group should not show the result "open group <group_name>
", only lists all the shortcuts alone. If the group launch is enabled, the behavior should remain as is, except for the addition of a launch group <group_name>
option when selecting the "open group <group_name>," or when the name of the group is fully typed, allowing all shortcuts to be executed simultaneously.
Would love for the URL icons to also be displayed:
I assume itβs a lower priority, but it might be simpler to specify a path for .ico files, like this:
[
{
"Type": "IconDirectory",
"Directory" : "C:/icons/"
},
{
"Type": "Url",
"Url": "calculator:///",
"Key": "calculator",
}
]
Icons labelled with the corresponding key, such as C:/icons/calculator.ico, could override the default.
Thanks for the updates! This plugin has made my life so much easier!
It would be nice to have the file Url type. For example...
{
"Type": "Url",
"Path": "vscode://file/c:/programming/code/my_code/vscode/emerald-sky/",
"Key": "vsc_emerald-sky"
},
I can add this without error to the shortcuts config file, but nothing happens.
Greetings! I am appreciating your plugin, but am running into a curious issue. I am on a new, fast desktop computer with a NVMe M.2 SSD. I have defined a shortcut group comprising of 3 files (two Excel spreadsheets and one Access database), all stored on the SSD. When I execute this group via keyword it can take >10 seconds for anything visually to happen on the screen, which has at times led me to mistakenly interpret that the plugin had not executed my command (and so I hit Enter again, which results in files being opened twice eventually).
I have done some testing the and the delay has nothing to do with the plugin, but rather is the result of the Microsoft Access database being slow to open (and it was originally first in the Group). If I change the Group order so that the Excel files are first then I do see both of them open rapidly (and the Access database follows eventually after).
Since the Shortcuts plugin has no way of knowing how long a file will take to load, it seems it could be helpful if there were some sort of visual indication that the executed command was received (so that the user doesn't just keep hitting Enter, errantly). Or is this perhaps something that would be more appropriate to add to Flow Launcher core? Either way, some kind of UI visual feedback that the command was received might be good (if possible). This is not a pressing need for me since I've changed my Group order so that the faster loading Excel files are first, but it seemed worth posting about this since it might come up for other users at some point.
Thanks for reading and considering my suggestion! :)
Is it possible to set a specific application for a file or a URL to open in instead of the default application? I could see it reverting to the default app if there is not one manually specified, but personally would find it very useful to set specific apps for different files or particularly URLS.
Thanks for the great plugin!
When I press enter while a suggestion such as "Enter the shortcut/group/variable/etc. name" or "Enter shell type" is displayed, it simply replicates the same in the FL's search bar. This should not be the standard behavior. Ideally, pressing enter while a suggestion is visible starting with "Enter something" should result in no action.
I've noticed that the latest update includes a preview feature within Flow Launcher. I have enabled the QuickLook Plugin, but any file or folder I preview through the shortcuts plugin only triggers the default FL preview. This might be an issue with the QL plugin. I'm not entirely certain. However, if it's feasible to integrate this feature, I would urge the developer to implement it as soon as possible. Also, the new version is quite impressive!
Description:
It looks like the plugin can't automatically fill in the search bar when any one of the results is clicked.
Steps to Reproduce:
Observed Behavior:
It does nothing and quits the launcher.
Expected Behavior:
When any of the results is clicked, it should automatically fill in that query followed by a space in the search bar, similar to the Plugins Manager plugin.
Request:
I would highly appreciate it if you could look into this and other such queries which have the same issue and provide a fix.
I tried to run Android Studio with a parameter using the Shortcut Plugin. The command looks like this:
"C:\Program Files\Android\Android Studio\bin\studio64.exe" "C:\Users\Laurin\AndroidStudioProjects\Todos"
If I use the command
q add shell cmd "Todos" true "C:\Program Files\Android\Android Studio\bin\studio64.exe" "C:\Users\Laurin\AndroidStudioProjects\Todos"
It properly generates the JSON:
[
{
"Type": "Shell",
"ShellType": "Cmd",
"Arguments": "\u0022C:\\Program Files\\Android\\Android Studio\\bin\\studio64.exe\u0022 \u0022C:\\Users\\Laurin\\AndroidStudioProjects\\Todos\u0022",
"Silent": false,
"Key": "Todos"
}
]
(U+0022
is "
in Unicode it doesn't work with \"
either)
Which looks pretty good, but if i run
q Todos
I get a command prompt with (whole output)
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\Laurin\AppData\Local\FlowLauncher\app-1.18.0>
If i use echo like this:
[
{
"Type": "Shell",
"ShellType": "Cmd",
"Arguments": "echo \u0022C:\\Program Files\\Android\\Android Studio\\bin\\studio64.exe\u0022 \u0022C:\\Users\\Laurin\\AndroidStudioProjects\\Todos\u0022",
"Silent": false,
"Key": "Todos"
}
]
It will output (whole output)):
"C:\Program Files\Android\Android Studio\bin\studio64.exe" "C:\Users\Laurin\AndroidStudioProjects\Todos"
C:\Users\Laurin\AppData\Local\FlowLauncher\app-1.18.0>
Which looks pretty good to me. So how is this supposed to work?
Also there isnt much documentation about the shell cmd e.x spaces in the commands or single and double quotes like
'"C:\Program Files\Android\Android Studio\bin\studio64.exe" "C:\Users\Laurin\AndroidStudioProjects\Todos"'
which would be nice to have to better understand the command
If this is my mistake, just blame me and edit the readme to better describe what the shell command really does.
Have a great day!
Pressing CTRL+Tab on a shortcut result, such as a directory, replaces the query with the directory path, but retains the plugin's keyword ("q" by default) at the start. Instead the keybinding should replace the entire query with the directory path, enabling continued browsing with the Flow Launcher's explorer plugin.
As the title says.. I have a shortcuts.json with hundreds of shortcuts generated from a script and whenever I try to launch one, if I don't type the case exactly as it is in the shortcuts.json then it won't match the shortcut. I would really like to make the search case insensitive. Is that possible or planned?
Thanks!
Is it possible to use url shortcut like this and get search results: https://www.google.com/search?q=%s ?
Thanks for great plugin.
I wanna do search flow launcher
intead of q search -q "flow launcher"
skipping plugin keyword can be achievable by setting the keyword as *
but i also want to skip -q
.
it would be good if the argument value is assigned to the argument name in url automatically, when there is only one argument.
thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.