Hi There,
Could somebody help me please?
I need to copy just the MD5 value of the selected file to the Clipboard.
how can this be done
Thanks in advance
Desmond
Copy MD5 Vale to Clipboard
Re: Copy MD5 Vale to Clipboard
You need a script to do this:
Code: Select all
copytext hash(, , 1+2);
One of my scripts helped you out? Please donate via Paypal
Re: Copy MD5 Vale to Clipboard
Well, there's an option at Menu > Files > To Clipboard that copies file md5 and a handful of other info.
You wan to copy only the MD5. Create a User-Defined Command aka UDC.
1. Click Menu > User > Manage Commands. The UDC editor window opens.
2. Select "Run Script" from the category pane at left.
3. Then press the INS/Insert key on the keyboard. Or, click the "New..." button at right, and select "Add New Command"
Now, look at the bottom half of the window.
5. At the "Caption" field, type
6. At the "Script" field, type this:
The command is saved. You can assign it a keyboard shortcut too with the relevant button below.
7. Press "OK" to save and close.
Now select a file, then pick Menu > User > Run Script > Copy MD5. Or press the keyboard shortcut you've assigned to the command.
This will only work with files obviously, folders cannot have MD5. If multiple items are selected, only the first item's hash will be copied.
Alternatively, when you have multiple items selected, enter this in the addressbar:
You wan to copy only the MD5. Create a User-Defined Command aka UDC.
1. Click Menu > User > Manage Commands. The UDC editor window opens.
2. Select "Run Script" from the category pane at left.
3. Then press the INS/Insert key on the keyboard. Or, click the "New..." button at right, and select "Add New Command"
Now, look at the bottom half of the window.
5. At the "Caption" field, type
Copy MD5
6. At the "Script" field, type this:
if (exists(<curitem>) == 1) { copytext hash('MD5',,1); }
The command is saved. You can assign it a keyboard shortcut too with the relevant button below.
7. Press "OK" to save and close.
Now select a file, then pick Menu > User > Run Script > Copy MD5. Or press the keyboard shortcut you've assigned to the command.
This will only work with files obviously, folders cannot have MD5. If multiple items are selected, only the first item's hash will be copied.
Alternatively, when you have multiple items selected, enter this in the addressbar:
hashlist 'md5';
. This will pop up a text block of md5 hashes and item full paths, that you can copy.Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
Re: Copy MD5 Vale to Clipboard
Thanks Guys you help much appreciated
Re: Copy MD5 Vale to Clipboard
Hi HighEndhighend wrote: ↑27 Jun 2019 07:22 You need a script to do this:Code: Select all
copytext hash(, , 1+2);
Could I kindly ask for the script to copy ONLY the files name to the clipboard.
Kind Regards
Desmond
Re: Copy MD5 Vale to Clipboard
Only the file name(s) without path?
or including paths?
Both variants have a keyboard shortcut
ctrl+shift+p / ctrl+p
copytext <get SelectedItemsNames <crlf>>;
or including paths?
copytext <get SelectedItemsPathNames <crlf>>;
Both variants have a keyboard shortcut
ctrl+shift+p / ctrl+p
One of my scripts helped you out? Please donate via Paypal