Flow.Launcher icon indicating copy to clipboard operation
Flow.Launcher copied to clipboard

Add open target for program shortcuts

Open flooxo opened this issue 1 year ago • 3 comments

This PR closes #2390.

Description

I added a new result in the context menu for programs to open the destination folder. Only in win32 this new result is added, because UWP work differently and have no links, so "open containing folder" already opens the correct location automatically

Changes

Add open target folder option for programs

flooxo avatar Jan 25 '24 21:01 flooxo

@check-spelling-bot Report

:red_circle: Please review

See the :open_file_folder: files view, the :scroll:action log, or :memo: job summary for details.

Unrecognized words (45)
applicableplugins
Appwrite
Caculator
CETYU
checkupdate
cxfksword
dlgtext
dlgtitle
duckduckgo
emptyrecyclebin
EWX
facebook
findicon
flowlauncher
Fody
gmail
hotkeys
indexoption
inputing
Ioannis
IPlugin
IPublic
lnk
localappdata
mainwindow
mscorlib
Mvvm
nbsp
openrecyclebin
pluginsmanager
Prioritise
qianlifeng
recyclebin
runas
Segoe
Sekan
Softpedia
srchadmin
stackoverflow
userdata
viewupdate
winget
Wnd
wolframalpha
youtube
To accept these unrecognized words as correct, you could run the following commands

... in a clone of the [email protected]:flooxo/Flow.Launcher.git repository on the open_target branch (:information_source: how do I use this?):

curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/prerelease/apply.pl' |
perl - 'https://github.com/Flow-Launcher/Flow.Launcher/actions/runs/7660928267/attempts/2'
Warnings (1)

See the :open_file_folder: files view, the :scroll:action log, or :memo: job summary for details.

:information_source: Warnings Count
:information_source: non-alpha-in-dictionary 10

See :information_source: Event descriptions for more information.

If the flagged items are :exploding_head: false positives

If items relate to a ...

  • binary file (or some other file you wouldn't want to check at all).

    Please add a file path to the excludes.txt file matching the containing file.

    File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.

    ^ refers to the file's path from the root of the repository, so ^README\.md$ would exclude README.md (on whichever branch you're using).

  • well-formed pattern.

    If you can write a pattern that would match it, try adding it to the patterns.txt file.

    Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.

    Note that patterns can't match multiline strings.

github-actions[bot] avatar Feb 04 '24 06:02 github-actions[bot]

mind putting up a screenshot for the result?

taooceros avatar Feb 11 '24 23:02 taooceros

I wonder how many options are in context menu.

VictoriousRaptor avatar Feb 12 '24 02:02 VictoriousRaptor

mind putting up a screenshot for the result?

image Sure! Thanks for the hint, I totally forgot

flooxo avatar Feb 20 '24 13:02 flooxo

There are the following options:

  • Run As Different User
  • Run As Administrator
  • Open Containing Folder
  • Open Target Folder
  • Disable this program from displaying
  • Set as topmost in this query
  • Plugin: Program

flooxo avatar Feb 20 '24 13:02 flooxo

@check-spelling-bot Report

:red_circle: Please review

See the :open_file_folder: files view, the :scroll:action log, or :memo: job summary for details.

Unrecognized words (7)

flowlauncher inputing IPublic lnk mscorlib runas Segoe

To accept these unrecognized words as correct, you could run the following commands

... in a clone of the [email protected]:flooxo/Flow.Launcher.git repository on the open_target branch (:information_source: how do I use this?):

curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/prerelease/apply.pl' |
perl - 'https://github.com/Flow-Launcher/Flow.Launcher/actions/runs/8495324059/attempts/1'

Warnings (1)

See the :open_file_folder: files view, the :scroll:action log, or :memo: job summary for details.

:information_source: Warnings Count
:information_source: non-alpha-in-dictionary 10

See :information_source: Event descriptions for more information.

If the flagged items are :exploding_head: false positives

If items relate to a ...

  • binary file (or some other file you wouldn't want to check at all).

    Please add a file path to the excludes.txt file matching the containing file.

    File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.

    ^ refers to the file's path from the root of the repository, so ^README\.md$ would exclude README.md (on whichever branch you're using).

  • well-formed pattern.

    If you can write a pattern that would match it, try adding it to the patterns.txt file.

    Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.

    Note that patterns can't match multiline strings.

github-actions[bot] avatar Mar 31 '24 03:03 github-actions[bot]

I've made some changes:

  • Add Args property so ExecutablePath and LnkResolvedPath no longer contains args.
  • Only show target folder context menu for .lnk files

VictoriousRaptor avatar Mar 31 '24 03:03 VictoriousRaptor

Looks like Win32.cache can't be loaded after updating and users need to manually reindex the programs.

VictoriousRaptor avatar Mar 31 '24 04:03 VictoriousRaptor

Looks like Win32.cache can't be loaded after updating and users need to manually reindex the programs.

Will it throw the error? If so I guess the reindex will happen automatically. You might try the release build?

taooceros avatar Mar 31 '24 06:03 taooceros