• Tabbles.net       
  • Chat |
  • Blog |
  • Wiki |
  • Move files with Tabbles instead of Explorer

    F#, C#, WPF and more.
    This is the place to discuss the technology behind Tabbles.

    Move files with Tabbles instead of Explorer

    Postby nefycee » Wed Mar 03, 2010 1:50 pm

    If you move files with Tabbles instead of Explorer, the files' tags will be preserved and you will not see this window.

    Also, if you delete files with Tabbles instead of Explorer, the files will disappear instead of showing with a "no entry" sign.


    I found this in the new resx, and I'm not sure if I understand it. I'm using 3 different kinds of filemanagers (Cubic, TotalCom, Win) to explore and move my files. But all my files are tabbled.

    So these lines tell me that moving files with one of this 3 Explorers will cause a "no entry" shadow?
    And when I move a file into a tabble-ruled-folder, is it twice in tabbles? One categorized and one shadow? :?
    Image
    User avatar
    nefycee
    Tabble necromancer
    Tabble necromancer
     
    Posts: 146
    Joined: Sat Sep 12, 2009 3:18 pm
    Location: between door and screen

    Re: Move files with Tabbles instead of Explorer

    Postby Andrea » Thu Mar 04, 2010 12:03 pm

    Hello my friend,

    did you read the update on this post? :mrgreen:

    have a look....

    A.
    User avatar
    Andrea
    Tabble baker
    Tabble baker
     
    Posts: 734
    Joined: Sat Jun 20, 2009 9:07 pm
    Location: Copenhagen, Denmark

    Re: Move files with Tabbles instead of Explorer

    Postby Maurizio » Thu Mar 04, 2010 12:24 pm

    I'm using 3 different kinds of filemanagers (Cubic, TotalCom, Win) to explore and move my files.


    Sorry, Tabbles does not allow it. You have to move your files with Tabbles, otherwise they will show up with the "no entry" sign.

    So you have to give up something, but at least it works. Previously, Tabbles was always loosing tags when you moved files. Now it is 100% reliable.
    User avatar
    Maurizio
    Tabble baker
    Tabble baker
     
    Posts: 196
    Joined: Fri Mar 20, 2009 3:53 pm
    Location: Pescara, Italy

    Re: Move files with Tabbles instead of Explorer

    Postby nefycee » Thu Mar 04, 2010 1:56 pm

    did you read the update on this post? :mrgreen:

    SURE :lol:


    Sorry, Tabbles does not allow it. You have to move your files with Tabbles, otherwise they will show up with the "no entry" sign.

    So you have to give up something, but at least it works. Previously, Tabbles was always loosing tags when you moved files. Now it is 100% reliable


    I'm not sure if I always will be able to use tabbles for moving. There is no dual window, batch rename, etc.
    With auto-tagging rules this isn't the problem.

    But I think I'll have to use the "remove-all-shadow-files" very often. Will there be a problem in the future with the Portable Version?
    Image
    User avatar
    nefycee
    Tabble necromancer
    Tabble necromancer
     
    Posts: 146
    Joined: Sat Sep 12, 2009 3:18 pm
    Location: between door and screen

    Re: Move files with Tabbles instead of Explorer

    Postby Maurizio » Thu Mar 04, 2010 2:12 pm

    I'm not sure if I always will be able to use tabbles for moving. There is no dual window, batch rename, etc.


    I see. Unfortunately there's no solution to this. (What we had previously, as I said, did not work)

    With auto-tagging rules this isn't the problem.


    You're right: if you use auto-tagging rules on filenames, loosing tags is not a problem. This means you would

    1) create a rule on the file name for each tabble (for example "if the file name contains "%john" then put the file in tabble "john" ". And repeat this for all tabbles.). And then

    2) pay attention when you name your files. (if a file must be in tabble "john", then its name must contain "%john").

    If you're willing to do that, it's true that loosing tags is not a problem, because you can regain the lost tags at any time, by running the "auto-tag" function on the root folder.

    But it's a lot of work.


    But I think I'll have to use the "remove-all-shadow-files" very often. Will there be a problem in the future with the Portable Version?



    not at all. no problem.
    User avatar
    Maurizio
    Tabble baker
    Tabble baker
     
    Posts: 196
    Joined: Fri Mar 20, 2009 3:53 pm
    Location: Pescara, Italy

    Re: Move files with Tabbles instead of Explorer

    Postby Leandro » Wed Jul 21, 2010 3:53 pm

    First of all, how's the Portuguese - Brazilian translation?
    I can do this as well, if needed...

    I have been thinking about the "no keep tracking of files moved by windows explorer" problem... :idea:
    Actually, I had an unfinished similar project like yours, and that problem isn't just on windows explorer, but on every software that perfoms files operations.
    So, one of my ideas was intercepting any file operation directly, and thus, integrate all theses operations with "Tabbles" needs.
    This can be done by DLL injection on Windows' APIs, like Microsoft Detours does.
    Detours costs $ 10,000, but, based on some studies, I think it's not that dificult to make something similar. :geek:
    You just need to develop an installation that finds the files operations functions in Windows APIs and rewrite their calls to redirect them to your own dll.
    But this injected dll will just store the information to test later because at this time you don't know if the file operation will be successful.
    After this storage, you redirect the flow back to the original function, to have the file operation performed properly.
    Or, once in your function, maybe you could make it call the original function before, and then integrate the operation directly to "Tabbles", without the "log-storage and post-testing".
    It requires some low-level skills, but I couldn't find any most effective and guaranteed way of keep tracking of all the files at real time...
    What do you think?

    Sorry any bad english... :mrgreen:
    Leandro Sá Barreto
    User avatar
    Leandro
    Tabble monkey
    Tabble monkey
     
    Posts: 19
    Joined: Wed Jul 21, 2010 2:28 pm
    Location: Rio de Janeiro, Brazil

    Re: Move files with Tabbles instead of Explorer

    Postby Andrea » Wed Jul 21, 2010 6:06 pm

    Leandro -

    thanks A LOT for your input, we didn't know about Detours, and we were thinking about DLL injection but post-poned it as we have little experience with this kind of stuff...

    A question for you: would you be interested in providing some help with this? :-)
    (the Portuguese version is there already... :-D )

    THANKS again,

    Andrea & Maurizio
    User avatar
    Andrea
    Tabble baker
    Tabble baker
     
    Posts: 734
    Joined: Sat Jun 20, 2009 9:07 pm
    Location: Copenhagen, Denmark

    Re: Move files with Tabbles instead of Explorer

    Postby Leandro » Thu Jul 22, 2010 5:34 pm

    Sure! xD
    But I don't know if I know more than you... ^^"

    What kind of help you need?
    And who are going to develop the injection, you or me?

    Oh, I have pretty good news for you!
    I found something better than Detours!
    http://easyhook.codeplex.com/
    http://code.google.com/p/easyhook-continuing-detours/

    Check out the license:

    1. You are granted to sell any software that uses EasyHook over DLL, NET bindings or EasyHookQueryInterface(). This is covered by the native API and the managed interface.
    2. You are NOT granted to sell any software that includes parts of the EasyHook source code or any modification! If you want to modify EasyHook, you are forced to release your work under the LGPL or GPL... Of course this only applies to the library itself. For example you could release a modification of EasyHook under LGPL, while still being able to release software, which takes advantage of this modification over DLL or NET bindings, under a proprietary license!
    3. You shall include a visible hint in your software that EasyHook is used as module and also point out, that this module in particular is released under the terms of the LGPL and NOT under the terms of your software (assuming that your software has another license than LGPL or GPL).


    I'm giving a look right now! *o*
    I'll come back after some tests!
    Leandro Sá Barreto
    User avatar
    Leandro
    Tabble monkey
    Tabble monkey
     
    Posts: 19
    Joined: Wed Jul 21, 2010 2:28 pm
    Location: Rio de Janeiro, Brazil

    Re: Move files with Tabbles instead of Explorer

    Postby Andrea » Thu Jul 22, 2010 8:22 pm

    Hey there,

    Leandro wrote:Sure! xD
    But I don't know if I know more than you... ^^"

    What kind of help you need?
    And who are going to develop the injection, you or me?


    Well, maybe we can talk about this? :)

    Leandro wrote:Oh, I have pretty good news for you!
    I found something better than Detours!
    http://easyhook.codeplex.com/
    http://code.google.com/p/easyhook-continuing-detours/


    I found those too... there is a nice list here


    Leandro wrote:Check out the license:

    1. You are granted to sell any software that uses EasyHook over DLL, NET bindings or EasyHookQueryInterface(). This is covered by the native API and the managed interface.
    2. You are NOT granted to sell any software that includes parts of the EasyHook source code or any modification! If you want to modify EasyHook, you are forced to release your work under the LGPL or GPL... Of course this only applies to the library itself. For example you could release a modification of EasyHook under LGPL, while still being able to release software, which takes advantage of this modification over DLL or NET bindings, under a proprietary license!
    3. You shall include a visible hint in your software that EasyHook is used as module and also point out, that this module in particular is released under the terms of the LGPL and NOT under the terms of your software (assuming that your software has another license than LGPL or GPL).



    Yes, it looks good - we have nothing against releasing the source code in case we need to modify it a bit...

    Leandro wrote:I'm giving a look right now! *o*
    I'll come back after some tests!


    EXCELLENT!!!! :D :D
    Looking forward to see what happens here :mrgreen: :ugeek:

    (Thanks!!!)

    Andrea (and Maurizio)
    User avatar
    Andrea
    Tabble baker
    Tabble baker
     
    Posts: 734
    Joined: Sat Jun 20, 2009 9:07 pm
    Location: Copenhagen, Denmark

    Re: Move files with Tabbles instead of Explorer

    Postby Leandro » Fri Jul 23, 2010 5:59 pm

    It works!! :D

    Andrea wrote:Well, maybe we can talk about this? :)


    Well, the first step is already done! hehe :)

    Thanks for the list!
    I'll check them later.
    Fortunately, EasyHook seems to be perfect!
    Only one thing is boring me: EasyHook only injects in a given process.
    Detours is capable of save the modified dll for every processes calling...
    But managed code is so easier, and Windows Explorer is our primary target, right? :mrgreen:

    Andrea wrote:Yes, it looks good - we have nothing against releasing the source code in case we need to modify it a bit...


    But I don't think you'll need it! I only used the EasyHook's compiled DLL, as told in "clausule" 1:
    1. You are granted to sell any software that uses EasyHook over DLL, NET bindings or EasyHookQueryInterface(). This is covered by the native API and the managed interface.


    So you won't need to release your code. ;)
    Leandro Sá Barreto
    User avatar
    Leandro
    Tabble monkey
    Tabble monkey
     
    Posts: 19
    Joined: Wed Jul 21, 2010 2:28 pm
    Location: Rio de Janeiro, Brazil

    Next

    • Similar topics
      Replies
      Views
      Author

    Return to Development

    Who is online

    Users browsing this forum: No registered users and 1 guest

    cron