It is currently Thu May 23, 2013 4:30 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 1091 posts ]  Go to page Previous  1 ... 44, 45, 46, 47, 48, 49, 50 ... 73  Next
Author Message
 Post subject: Re: DropIt
PostPosted: Thu Dec 29, 2011 7:22 am 
Offline
User avatar

Joined: Mon Mar 19, 2007 8:55 am
Posts: 899
Location: Italy
Yes, it seems to be quite stable.. I'll update the udf, thanks!

My idea now is to work on version 4.0 with FTP support and special actions absorbed as normal actions.. and tproli started to help me with a completely restyled website! You will love it :wink:

_________________
Lupo PenSuite: all-in-one and completely free selection of portable programs and games.
DropIt: application to process your files with a drop.
ArcThemALL!: application to multi-archive your files and folders.


Top
 Profile  
 
 Post subject: Re: DropIt
PostPosted: Thu Dec 29, 2011 10:51 am 
Offline
User avatar

Joined: Sat Sep 09, 2006 10:14 am
Posts: 673
Location: Hungary
Well, this is new to me :)


Top
 Profile  
 
 Post subject: Re: DropIt
PostPosted: Thu Dec 29, 2011 12:18 pm 
Offline
User avatar

Joined: Fri Jun 17, 2011 10:26 pm
Posts: 70
Location: netherlands
Seems to me that DropIt has become something of a pet project of the entire TPFC community. Awesome!
Started playing around with this a week ago and well, I don't understand how I ever got around without it. It's already playing a central role in my daily computer work. A brilliant and simple concept that's well executed. FTP support would be awesome!
The source also gave me the insight on how to implement drag-and-drop in AutoIt3. Something I couldn't find a good example of. The implementation of language files also inspires, so I hope you don't mind me 'borrowing' some of that stuff to use in a gettext-like UDF I've been working on lately :)
Oh, also nice to mention: At my job they use Citrix XenApp and DropIt works reasonably fine on my virtualized desktop. Some issues with security restrictions (they're blocking my beloved cmd :evil: ) but otherwise it goes like a breeze. I mention this because I've found that some of my portable apps don't even start. Because of security restrictions obviously, but quite annoying at times...

_________________
GFA/P/S/SS$/O d- s: a>? C++ UL++++ P++@ L++ !E W+++ N++@ o K+ w O M V- PS+++ PE Y+ PGP++>+++ t++ 5+ X++@ R !tv b+>++ DI++ D+ G e+++ h-->- r% y+


Top
 Profile  
 
 Post subject: Re: DropIt
PostPosted: Thu Dec 29, 2011 12:34 pm 
Offline
User avatar

Joined: Mon Aug 27, 2007 2:00 am
Posts: 3727
Quote:
gettext-like UDF
Come again? :?

Edit: Basically what does the UDF do? Don't forgot to take variable scope into consideration when creating a good UDF and also make sure you include error checking (SetError) too.

_________________
Added 177 Applications: Portable and an AutoIt MVP
SoftwareSpot - Portable Apps


Top
 Profile  
 
 Post subject: Re: DropIt
PostPosted: Fri Dec 30, 2011 3:14 am 
Offline
User avatar

Joined: Fri Jun 17, 2011 10:26 pm
Posts: 70
Location: netherlands
guinness wrote:
Basically what does the UDF do? Don't forgot to take variable scope into consideration when creating a good UDF and also make sure you include error checking (SetError) too.


Well, I wanted something gettext-like like this:
Code:
_BindTextDomain('package', 'nl') ; load language files for this app.
_('translate this') ; translate function.

I've got something like this now that loads a ini-file with translated strings. Handling actual .po files would be a real hassle and this works just fine. So now it works like this:
Code:
_BindTextDomain('package', 'nl') ; load language files for this app, resolves to lang/my_script.nl.lng (portable), package is an ini section.
_('MSGID', 'translate this') ; Use string in the MSGID key.

I have to clean the code a little and write some tests. It only superficially mimicks gettext and misses a lot of it's functionality, but sofar it gets the job done.

_________________
GFA/P/S/SS$/O d- s: a>? C++ UL++++ P++@ L++ !E W+++ N++@ o K+ w O M V- PS+++ PE Y+ PGP++>+++ t++ 5+ X++@ R !tv b+>++ DI++ D+ G e+++ h-->- r% y+


Top
 Profile  
 
 Post subject: Re: DropIt
PostPosted: Fri Dec 30, 2011 3:56 am 
Offline

Joined: Fri Feb 25, 2011 5:51 pm
Posts: 22
I've noticed a little problem with DropIt on my system - if I highlight 3 or more items in my file manager (it has to be at least 3, the problem does not show with 1 or 2), and then send them to DropIt, the third DropIt 'this file already exists do you want to overwrite it' dialog box is always behind the DropIt progress bar (rather than on top as the other dialogs are). I then have to minimise the progress bar DropIt window to click 'overwrite' on the other window.

PS: A feature request while I am here - can we have an option for each profile (association I think they are called) to 'always overwrite'? All the files I use with DropIt already exist in the destination, and I get tired of clicking 'yes' to overwrite all the time.

Thanks!

_________________
Supporting PortableFreeware since...wait, what year is it again?

Zoom Player (customisable and flexible media player for Windows): http://www.inmatrix.com/


Top
 Profile  
 
 Post subject: Re: DropIt
PostPosted: Fri Dec 30, 2011 4:10 am 
Offline
User avatar

Joined: Mon Aug 27, 2007 2:00 am
Posts: 3727
Now I understand what you're talking about. I think writing a parser for a PO file would be possible, but performance might be reduced when using AutoIt, so for now an INI file structure seems like a good choice that you've made.

When I wrote the 'GetLanguage' functions I tested different options, one of which was simply reading a text file into an Array and using the index as reference, but this wasn't great for a project that would be updated frequently.
I also had a UDF in which the INI file was stored in memory and was accessed using a Global variable with some SRE pattern to parse the string, this was great as it wasn't constantly reading the INI file, but at the time memory consumption was a concern so I abandoned this option very quickly.

_________________
Added 177 Applications: Portable and an AutoIt MVP
SoftwareSpot - Portable Apps


Top
 Profile  
 
 Post subject: Re: DropIt
PostPosted: Fri Dec 30, 2011 4:30 am 
Offline
User avatar

Joined: Fri Jun 17, 2011 10:26 pm
Posts: 70
Location: netherlands
guinness wrote:
Now I understand what you're talking about. I think writing a parser for a PO file would be possible, but performance might be reduced when using AutoIt, so for now an INI file structure seems like a good choice that you've made.

Yea, I figured the same thing. I wrote parsers before and although doable, they usually reduce performance significally.

guinness wrote:
I also had a UDF in which the INI file was stored in memory and was accessed using a Global variable with some SRE pattern to parse the string, this was great as it wasn't constantly reading the INI file, but at the time memory consumption was a concern so I abandoned this option very quickly.

I have the messages stored in a global array for now as well, but haven't benchmarked anything yet. For small arrays it shouldn't be a problem but for larger applications... yea I see what you mean, but I'm still undecided what would be best. An alternative I've been thinking about is caching the strings on the fly after IniRead(), but that doesn't really negate the problem either.
Anyway, it's still a work in progress and no worries, error handling is one of the first chapters I read when learning a new script language because I love code that can tell me every little detail as to how and why I screwed up ;)

_________________
GFA/P/S/SS$/O d- s: a>? C++ UL++++ P++@ L++ !E W+++ N++@ o K+ w O M V- PS+++ PE Y+ PGP++>+++ t++ 5+ X++@ R !tv b+>++ DI++ D+ G e+++ h-->- r% y+


Top
 Profile  
 
 Post subject: Re: DropIt
PostPosted: Fri Dec 30, 2011 3:44 pm 
Offline

Joined: Thu Dec 29, 2011 10:00 pm
Posts: 33
Just found out about this app yesterday and I want to say thank you. I've been wanting this for a long time. Actually as part of the Rainmeter team I've been trying to find a dev to add the functionality to Rainmeter itself. It seems to be a huge project and I haven't found a volunteer yet. I think I will be able to use this great app to simulate my dream.

I was curious what Safely Delete meant (I was hoping for Eraser functionality) so I decided to test it. The result was very unexpected.

System Info
Win XP SP3

I set up a profile to Safely Delete with an association of *;** which I assume means"everything"

I dropped a png file on it.
The png did not delete but it did become unreadable.
Now the more interesting bit. Nine new files were created in the source folder. They files were named B**.tmp.

So I threw some more files and folders at it and each operation resulted in an additional nine B**.tmp files. I assume the tmp files are the rewrites that should be "shredding" but they are being copied as new files... Maybe?

Just wanted to make you aware of this.

Thanks again for an awesome app!


Top
 Profile  
 
 Post subject: Re: DropIt
PostPosted: Fri Dec 30, 2011 4:27 pm 
Offline

Joined: Sat Dec 17, 2011 11:35 am
Posts: 4
Update is broken?
It always tells me "3.9 is available", when I choose "Yes" it downloads something but is still v3.8 afterwards?


Top
 Profile  
 
 Post subject: Re: DropIt
PostPosted: Fri Dec 30, 2011 9:05 pm 
Offline
User avatar

Joined: Sat Feb 09, 2008 9:57 am
Posts: 1995
Location: Romania
@tux.:
Quote:
What's new: >>
Version 3.9 [29-12-2011]
- improved automatic update (manually update this version to start with the new method)

_________________
The Venus Project - Imagine Our world with No Laws, No Crime, No Wars, No Prisons


Top
 Profile  
 
 Post subject: Re: DropIt
PostPosted: Sat Dec 31, 2011 11:50 am 
Offline

Joined: Thu Dec 29, 2011 10:00 pm
Posts: 33
I mentioned in my previous post that I intend to use DropIt in conjunction with Rainmeter. I have a proof of concept skin done that will position Dropit to line up correctly over top the Rainmeter skin, so long as DropIt is not running when the skin is loaded. The skin will also popover DropIt if the skin is refreshed, making it impossible to access DropIt without closing the skin.

Now to my point. I'd like to request a way to "restart" DropIt by commandline. I accomplish the positioning of DropIt to the skin by getting the current position of the skin adding the amount I need DropIt offset inside the skins area and writing the values to PosX= and PosY= to DropIt's settings.ini. I then have the skin run DropIt. If a skin is refreshed or moved that's were the trouble comes in, I have no way to tell DropIt that it should reload itself in the new position.

If you can add a commandline option to have it reload from the changed settings.ini that would be great. If you could also allow a commandline option to set a new position it would be even better.

I also would like to ask for user configurable mouse actions on the main window. Left, Middle, and Right both single and double clicks. Scroll wheel settings would be appreciated to, as I have a feeling that for most of my purposes I would prefer not to have it switch profiles.


Top
 Profile  
 
 Post subject: Re: DropIt
PostPosted: Tue Jan 03, 2012 3:39 am 
Offline
User avatar

Joined: Mon Aug 27, 2007 2:00 am
Posts: 3727
Copy UDF is updated >> http://www.autoitscript.com/forum/topic ... _p__951562

_________________
Added 177 Applications: Portable and an AutoIt MVP
SoftwareSpot - Portable Apps


Top
 Profile  
 
 Post subject: Re: DropIt
PostPosted: Tue Jan 03, 2012 2:25 pm 
Offline
User avatar

Joined: Mon Mar 19, 2007 8:55 am
Posts: 899
Location: Italy
@romulous: I'm going to check the issue of the message behind the dialog box.. anyway note that from Options you can select the method to automatic manage duplicates..

@dragonmage: I'm glad to know that you and your team like DropIt.. and thanks for the report about the deletion issue, I'll check it and maybe guinness could help me to find a solution.. in the meanwhile you could help us doing few more tests (using different associations, changing rules to filter files, etc.).. About requests of your second post, I'll study them in these days..

@tux: as reported by joby_toss, the new version starts to use a different update method and needs to be manually updated.. I added also a report on DropIt website to alert for it..

@guinness: thanks for the udf update report :wink:

_________________
Lupo PenSuite: all-in-one and completely free selection of portable programs and games.
DropIt: application to process your files with a drop.
ArcThemALL!: application to multi-archive your files and folders.


Top
 Profile  
 
 Post subject: Re: DropIt
PostPosted: Wed Jan 04, 2012 11:43 am 
Offline

Joined: Thu Dec 29, 2011 10:00 pm
Posts: 33
Rules: *.txt;*.bmp;*.pdf

Drop: 2kb txt
Result: 33kb txt filled with "hhhhhhhhhhhhhhhhhhh..." and nine 0kb "**.tmp" files

Drop: 42kb bmp
Result: 64kb bmp (unreadable) and nine 0kb "**.tmp" files (opened the bmp in Notepad++ and it shows "ëëëëëëëëëëëëëëëëëëëëë...")

Drop: 524kb pdf
Result: 544kb pdf (unreadable) and nine 0kb "**.tmp" files (opened the pdf in Notepad++ and it shows "ëëëëëëëëëëëëëëëëëëëëë...")

Drop: 42kb bmp and 524kb pdf
Result: 64kb bmp (unreadable) 524kb pdf (readable) and nine 0kb "**.tmp" files (opened the bmp in Notepad++ and it shows "ëëëëëëëëëëëëëëëëëëëëë...")

Only attempting to wipe the first file maybe?

If you need anymore tests let me know.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1091 posts ]  Go to page Previous  1 ... 44, 45, 46, 47, 48, 49, 50 ... 73  Next

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group