Skip to content

Commit

Permalink
#81 [v2.0] "Copy Full Path to Clipboard" missing at Mac OS X
Browse files Browse the repository at this point in the history
- moved Windows preset with quotes \"Full Path\" to all OS presets
- added \"Qualified Name\" to all OS presets (reused UUID: was MAC OS X
clipboard before)

Signed-off-by: Andre Bossert <anb0s@anbos.de>
  • Loading branch information
anb0s committed Sep 5, 2016
1 parent 4482550 commit 7a45329
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,6 @@ private void addWindowsCommands() {
// Windows TotalCommander
list.add(new CommandData("e487327c-dfdb-42e7-bf16-3b81a34e5703", PresetType.presetPlugin, OS.osWindows, "TotalCommander", ResourceType.resourceTypeFileOrDirectory, Category.categoryExplore, CommandType.commandTypeExecute,
"cmd.exe /C totalcmd64.exe /O /T ${easyshell:container_loc}"));
// Windows Clipboard - Full Path
list.add(new CommandData("67aa9dff-6bbb-4b47-8b43-8a82a7a279fa", PresetType.presetPlugin, OS.osWindows, "Full Path", ResourceType.resourceTypeFileOrDirectory, Category.categoryClipboard, CommandType.commandTypeClipboard,
"\"${easyshell:resource_loc}\"${easyshell:line_separator}"));
}

private void addLinuxCommands() {
Expand Down Expand Up @@ -175,11 +172,17 @@ private void addMacOSXCommands() {

private void addAllOSCommands() {
// Clipboard - Full Path
list.add(new CommandData("33043fe3-1a5f-46d7-b94e-9a02ef204e7d", PresetType.presetPlugin, OS.osLinux, "Full Path", ResourceType.resourceTypeFileOrDirectory, Category.categoryClipboard, CommandType.commandTypeClipboard,
list.add(new CommandData("33043fe3-1a5f-46d7-b94e-9a02ef204e7d", PresetType.presetPlugin, Utils.getOS(), "Full Path", ResourceType.resourceTypeFileOrDirectory, Category.categoryClipboard, CommandType.commandTypeClipboard,
"${easyshell:resource_loc}${easyshell:line_separator}"));
// Clipboard - Qualified name
// Clipboard - Full Path with quotes
list.add(new CommandData("67aa9dff-6bbb-4b47-8b43-8a82a7a279fa", PresetType.presetPlugin, Utils.getOS(), "\"Full Path\"", ResourceType.resourceTypeFileOrDirectory, Category.categoryClipboard, CommandType.commandTypeClipboard,
"\"${easyshell:resource_loc}\"${easyshell:line_separator}"));
// Clipboard - Qualified Name
list.add(new CommandData("88989d78-cf17-4750-91fc-6260055743ae", PresetType.presetPlugin, Utils.getOS(), "Qualified Name", ResourceType.resourceTypeFileOrDirectory, Category.categoryClipboard, CommandType.commandTypeClipboard,
"${easyshell:qualified_name}${easyshell:line_separator}"));
// Clipboard - Qualified Name with quotes
list.add(new CommandData("cd32fa5a-34d7-4551-8bd0-3aae0dc444d0", PresetType.presetPlugin, Utils.getOS(), "\"Qualified Name\"", ResourceType.resourceTypeFileOrDirectory, Category.categoryClipboard, CommandType.commandTypeClipboard,
"\"${easyshell:qualified_name}\"${easyshell:line_separator}"));
// Clipboard - Variables Test
String varTestString = "";
for(int i=1;i<Variable.values().length;i++) {
Expand Down
15 changes: 8 additions & 7 deletions uuids.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ UUIDs V4 generated by https://www.uuidgenerator.net/

EasyShell Defaults 2.0

Windows
Windows:
cd361a40-bb37-4fa2-9d2e-b62794294a59
f740984b-e9d5-4ebc-b9b5-c6b8527f886c
ae0e5b6e-0b20-4c52-9708-ba7e317d1dee
Expand All @@ -20,9 +20,9 @@ d2726c3f-6da3-46b5-8029-1c63d0ff6bd2
c2b73077-ffd9-4fb7-9793-189be9f13ebb
c57a5d9f-491a-4b21-8a8b-9941b01cc049
e487327c-dfdb-42e7-bf16-3b81a34e5703
67aa9dff-6bbb-4b47-8b43-8a82a7a279fa

Linux

Linux:
51ed300a-35d0-4e67-a5f8-6ebd7012a564
c2b1612b-9037-484a-a763-d013679bdbe7
e634b20a-cf57-47f0-aa27-b8fc95917f35
Expand All @@ -44,21 +44,22 @@ cb9a8c00-89bc-453c-aeff-ae94c0d9e44a
8e14d26d-2981-4b81-b8e5-6a942c6f2c59
cf8d4d60-10f4-4a31-a423-676d02d974e0

MacOSX
MacOSX:
e6918fe0-38b8-450b-a4be-d9eecc0dc0b4
db61d61e-8bf4-41d0-a1d8-00379e4d1db1
f6bcdd71-4687-46d8-bf34-2780bafd762a

All
All:
33043fe3-1a5f-46d7-b94e-9a02ef204e7d
67aa9dff-6bbb-4b47-8b43-8a82a7a279fa
88989d78-cf17-4750-91fc-6260055743ae
cd32fa5a-34d7-4551-8bd0-3aae0dc444d0 // reused: was MAC OS X clipboard before
e6de32cc-342a-46a0-a766-ac74e7e4000d

Do not use
cd32fa5a-34d7-4551-8bd0-3aae0dc444d0 // was MAC OS X clipboard before
-

Free

95cacf98-9dfc-473f-b5d3-fe4961e66ae1
771c0bac-cdb2-47fe-a030-6b830d366da1
61c4fef4-470a-45b1-98df-ccf9d7d91143
Expand Down

0 comments on commit 7a45329

Please sign in to comment.