Skip to content
New 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

What could cause drag and drop from EssentailPIM to Tablacus to fail? #366

Closed
duarteframos opened this issue Jan 29, 2021 · 10 comments
Closed

Comments

@duarteframos
Copy link

I'm trying to use the email client Essential PIM (free version available for download) to drag and drop an email message in .eml format from the application directly into Tablacus.

It works well for Windows explorer but always fails for TE. The message is temporarily saved into a temp folder under EssentialPIM\Temp and then moved to the desired destination.

When I drag into windows explorer I can see the file being created and moved correctly, but when I drag into Tablacu, the file is briefly created as normal, but then prematurely erased before the move process is completed.
I then get an error box saying the file can no longer be found which is actually true).

Is this something that can be fixed on Tablacus end, or is it actually an issue with EssentialPIM?

@tablacus
Copy link
Owner

I have adjusted it in Tablacus Explorer 21.1.30.

https://github.com/tablacus/TablacusExplorer/releases/tag/21.1.30

If that doesn't work, Please try to stop the add-ons "Multi thread" and "Multi process".

Regards,

@duarteframos
Copy link
Author

The 21.1.30 version still showed the same issue, but Disabling the Multi Thread addon did fix the issue.
Too bad we have to disable Multi Thread, but thanks for the solution, seems to be working.

@tablacus
Copy link
Owner

OK, please turn off "Temporary Burn Folder" in "Multi thread".

image

Regards,

@duarteframos
Copy link
Author

OK, please turn off "Temporary Burn Folder" in "Multi thread".

Sadly doesn't seem to work, I still get the missing file error, only fully disabling the Multithread addon seems to fix the issue.
Don't worry about it too much, I can live without Multithread. Thanks for trying to help

Unrelated questions

I've been looking at several of your posts around here and trying to adapt the scripts, but my I am not versed enough in Javascript to modify them

1 Copy all selected items name to clipboard

I'm trying to change the following code to copy just the names with extensions of all selected items without path

var FV = GetFolderView(Ctrl, pt);
var Selected = FV.SelectedItems();
if (Selected) {
	clipboardData.setData("text", Selected.Name);
}

Obviously I'm missing some for loop here, but I'm not sure how to go about doing it.

2 Script to navigate to different drive letters in other pane

I often navigate similar folder structures in different drives. How can I write a script to open a new tab in the other pane for the same folder in some other drive?

Say I'm currently navigating D:\User\Documents. What I'd like the script to do is to open a new tab in the other pane for say F:\User\Documents or if I'm currently at G:\Files\Projects it would open a new tab on the other pane for X:\Files\Projects.

The drive letter can be hardcoded in the script, I'll change it as necessary.

3 Script to pass single file name to 7Zip, otherwise pass current path.

I already set up a context menu for portable 7Zip to add selected items to a new archive files as described here

%X-Finder%\7Zip\7zG.exe a "%Current%\%FocusedName%" %Selected% -ad

It works well but I'm trying to improve the passed archive name to replicate the default behavior.
What I'd like to achieve is if only one item is selected pass the selected item name, otherwise if multiple are selected, pass the current folder name instead. Is this possible to achieve without breaking relative paths?

@tablacus
Copy link
Owner

I have downloaded EssentailPIM and install it.
Drag and drop from EssentailPIM to Tablacus Explorer(with add-on Multi-thread) is working without any problems.

@tablacus
Copy link
Owner

tablacus commented Jan 31, 2021

1 Copy all selected items name to clipboard

Please install an add-on "X-Finder" and use the following command.

Type
X-Finder

Options

ClipPath:12

image

@tablacus
Copy link
Owner

2 Script to navigate to different drive letters(X:) in other pane

Type
JScript

Options

const FV = GetFolderView();
const path = FV.FolderItem.Path.replace(/^[A-Z]:(.*)/i, "X:$1");
Sync.SwitchPane.NextFV().Navigate(path, SBSP_NEWBROWSER);

@tablacus
Copy link
Owner

3 Script to pass single file name to 7Zip, otherwise pass current path.

You need to write it in a script.

@duarteframos
Copy link
Author

I have downloaded EssentailPIM and install it.
Drag and drop from EssentailPIM to Tablacus Explorer(with add-on Multi-thread) is working without any problems.

Sadly I couldn't get it to work on my end. I tried with both MultiProcess and Multithread addon, disabling Temporary Burn Folder and it doesn't work as long as any of the addons are enabled. Maybe it is because I'm using the portable version not fully installed, though I'm not sure that would make a difference.

I now tried disabling Drag and Drop from Multi Process addon and it does work that may. Maybe I'll keep it like this, dont worry too much about it.

@duarteframos
Copy link
Author

ClipPath:12

const FV = GetFolderView();
const path = FV.FolderItem.Path.replace(/^[A-Z]:(.*)/i, "X:$1");
Sync.SwitchPane.NextFV().Navigate(path, SBSP_NEWBROWSER);

These work great, I have Tablacus almost all set up as I want it.
Many thanks for the patience, in solving these, I'll add them to the wiki as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants