DropIt

If you are currently developing portable freeware or planning to do so, use this forum to discuss technical implementation, seek out like-minded developers for partnership, or solicit interested users for beta testing.
Message
Author
User avatar
guinness
Posts: 4118
Joined: Mon Aug 27, 2007 2:00 am
Contact:

Re: DropIt

#541 Post by guinness » Mon Jul 25, 2011 7:57 am

Brilliant! Download again.
Added 179 Applications: Portable

User avatar
Lupo73
Posts: 1011
Joined: Mon Mar 19, 2007 8:55 am
Location: Italy
Contact:

Re: DropIt

#542 Post by Lupo73 » Mon Jul 25, 2011 10:41 am

Perfect! Thanks.. obviously I'll reference you as the designer also in DropIt :wink:

User avatar
Lupo73
Posts: 1011
Joined: Mon Mar 19, 2007 8:55 am
Location: Italy
Contact:

Re: DropIt

#543 Post by Lupo73 » Tue Jul 26, 2011 12:33 am

New day, new beta release:
http://www.lupopensuite.com/files/dropi ... rtable.zip

It includes the amazing tproli theme for html lists:
http://www.lupopensuite.com/files/dropi ... _List.html

And now it automatically creates new lists of files each drop (I added a new style of numeration for lists, not the classic "_04" but " (04)", write me eventual ideas or requests to improve it).

Given the new major improvement, it may includes new bugs.. but given that it's near to the next stable release, I ask your collaboration to test and fix it. Thanks!

User avatar
tproli
Posts: 1172
Joined: Sat Sep 09, 2006 10:14 am
Location: Hungary
Contact:

Re: DropIt

#544 Post by tproli » Tue Jul 26, 2011 12:47 am

Great, the html output is simply amazing :)

I've mailed you but apparently you haven't read it, there's a simply updated version of the html, I think it's worth updating:

http://dl.dropbox.com/u/17407690/DropIt ... st_01.html

No changes made in the markup except the "updated" div plus the CSS part of course. Just updated the html a few seconds ago so download again if you have already did before.

No more updates, I swear! :)

User avatar
Lupo73
Posts: 1011
Joined: Mon Mar 19, 2007 8:55 am
Location: Italy
Contact:

Re: DropIt

#545 Post by Lupo73 » Tue Jul 26, 2011 3:42 am

It is great too! I adapted it a little and updated the official theme:
http://www.lupopensuite.com/files/dropi ... _List.html

User avatar
guinness
Posts: 4118
Joined: Mon Aug 27, 2007 2:00 am
Contact:

Re: DropIt

#546 Post by guinness » Tue Jul 26, 2011 5:08 am

Nice updates Lupo & tproli!
Added 179 Applications: Portable

User avatar
Lupo73
Posts: 1011
Joined: Mon Mar 19, 2007 8:55 am
Location: Italy
Contact:

Re: DropIt

#547 Post by Lupo73 » Tue Jul 26, 2011 10:38 am

Good! I think the stable release is getting close.. this time it will includes few but important features!

As usually, I sent an email to all translators for this update.. and the plan is to publish it in the weekend, after the last tests.

ps: CHIP.de contacted me to request the authorization for publication :D

User avatar
tproli
Posts: 1172
Joined: Sat Sep 09, 2006 10:14 am
Location: Hungary
Contact:

Re: DropIt

#548 Post by tproli » Tue Jul 26, 2011 12:37 pm

The encoding of the html file is ANSI. Properties in non-English languages contain non-ansi characters and filenames/paths/etc may also, so probably a UTF-8 encoding would be better. I know it's my fault, sorry :)

If I set the target file to XXX.html, then clicking on the browse button again and selecting xml from the lower listbox and click on Save, DropIt doesn't change the extension. I think this is the progress an average user would follow but seems broken here.

User avatar
Lupo73
Posts: 1011
Joined: Mon Mar 19, 2007 8:55 am
Location: Italy
Contact:

Re: DropIt

#549 Post by Lupo73 » Tue Jul 26, 2011 11:37 pm

tproli wrote:The encoding of the html file is ANSI. Properties in non-English languages contain non-ansi characters and filenames/paths/etc may also, so probably a UTF-8 encoding would be better. I know it's my fault, sorry :)
I know about this limitation.. the idea is to use UTF-8 encoding by default (as indicated in html and xml headers), but there are some problems during the file creation.. I'm working to resolve them..
tproli wrote:If I set the target file to XXX.html, then clicking on the browse button again and selecting xml from the lower listbox and click on Save, DropIt doesn't change the extension. I think this is the progress an average user would follow but seems broken here.
Could you make me a video example like the previous issue? I cannot replicate it, but I fear it is a problem of XP..

User avatar
tproli
Posts: 1172
Joined: Sat Sep 09, 2006 10:14 am
Location: Hungary
Contact:

Re: DropIt

#550 Post by tproli » Wed Jul 27, 2011 12:04 am

Now tried that extension thing on another PC (XP SP3) and I couldn't reproduce. So probably it's an XP SP2 related problem.

User avatar
guinness
Posts: 4118
Joined: Mon Aug 27, 2007 2:00 am
Contact:

Re: DropIt

#551 Post by guinness » Thu Jul 28, 2011 3:50 pm

You might find this Function useful (created in 5 minutes) >> It searches a specific filetype e.g. .au3 with a particular keyword. So in the Example below I've set recursion to True and I'm looking for DropIt in .au3 files located in the @ScriptDir. Multiple filetypes aren't supported, but it's easy to add.

Hint: StringSplit() using ';' e.g. *.au3;*.txt

Code: Select all

#include <Array.au3>

Global $aArray

$aArray = _FindInFile("DropIt", @ScriptDir, "*.au3") ; by guinness 2011
_ArrayDisplay($aArray)

Func _FindInFile($sSearch, $sFolder, $sMask = "*", $iRecursive = 1, $iCaseSensitive = 0, $iDetail = 0)
	Local $iPID, $sCaseSensitive = "/i", $sCommand, $sDetail = "/m", $sRecursive = "", $sStdOut_Read = ""

	If $iCaseSensitive Then
		$sCaseSensitive = ""
	EndIf
	If $iDetail Then
		$sDetail = "/n"
	EndIf
	If $iRecursive Then
		$sRecursive = "/s"
	EndIf
	$sFolder = StringRegExpReplace($sFolder, "[\\/]+\z", "") & "\"

	$sCommand = 'findstr ' & $sCaseSensitive & ' ' & $sDetail & ' ' & $sRecursive & ' "' & $sSearch & '" "' & $sFolder & $sMask & '"'
	ConsoleWrite($sCommand & @CRLF)

	$iPID = Run(@ComSpec & ' /c ' & $sCommand, @SystemDir, @SW_HIDE, 4 + 2)
	$sStdOut_Read = ""

	While ProcessExists($iPID)
		$sStdOut_Read &= StdoutRead($iPID)
	WEnd
	Return StringSplit(StringTrimRight(StringStripCR($sStdOut_Read), 1), @LF)
EndFunc   ;==>_FindInFile
Added 179 Applications: Portable

User avatar
guinness
Posts: 4118
Joined: Mon Aug 27, 2007 2:00 am
Contact:

Re: DropIt

#552 Post by guinness » Thu Jul 28, 2011 3:56 pm

OK, so I added multiple filetype support because I had time :mrgreen: >>

Code: Select all

#include <Array.au3>

Global $aArray

$aArray = _FindInFile("DropIt", @ScriptDir, "*.au3;*.txt") ; by guinness 2011
_ArrayDisplay($aArray)

Func _FindInFile($sSearch, $sFolder, $sMask = "*", $iRecursive = 1, $iCaseSensitive = 0, $iDetail = 0)
	Local $aStringSplit, $iPID, $sCaseSensitive = "/i", $sCommand, $sDetail = "/m", $sRecursive = "", $sStdOut_Read = ""

	If $iCaseSensitive Then
		$sCaseSensitive = ""
	EndIf
	If $iDetail Then
		$sDetail = "/n"
	EndIf
	If $iRecursive Then
		$sRecursive = "/s"
	EndIf
	$sFolder = StringRegExpReplace($sFolder, "[\\/]+\z", "") & "\"
	$aStringSplit = StringSplit($sMask, ";")

	For $A = 1 To $aStringSplit[0]
		$sMask = $aStringSplit[$A]
		$sCommand = 'findstr ' & $sCaseSensitive & ' ' & $sDetail & ' ' & $sRecursive & ' "' & $sSearch & '" "' & $sFolder & $sMask & '"'
		ConsoleWrite($sCommand & @CRLF)

		$iPID = Run(@ComSpec & ' /c ' & $sCommand, @SystemDir, @SW_HIDE, 4 + 2)

		While ProcessExists($iPID)
			$sStdOut_Read &= StdoutRead($iPID)
		WEnd
	Next
	Return StringSplit(StringTrimRi
Added 179 Applications: Portable

User avatar
guinness
Posts: 4118
Joined: Mon Aug 27, 2007 2:00 am
Contact:

Re: DropIt

#553 Post by guinness » Fri Jul 29, 2011 12:05 am

What if I was to add support for CDROM drives? So when DropIt is run from a CD or ReadOnly folder it won't write any log file or setting files.
Added 179 Applications: Portable

User avatar
Lupo73
Posts: 1011
Joined: Mon Mar 19, 2007 8:55 am
Location: Italy
Contact:

Re: DropIt

#554 Post by Lupo73 » Fri Jul 29, 2011 12:40 am

It could be interesting.. but is the idea to ReadOnly settings and profiles that already exist or use it totally on-the-fly?

Because a fully on-the-fly is quite hard to be implemented.. it may needs special windows to select actions on the fly..

User avatar
guinness
Posts: 4118
Joined: Mon Aug 27, 2007 2:00 am
Contact:

Re: DropIt

#555 Post by guinness » Fri Jul 29, 2011 12:49 am

It's aimed at those that are happy with their profiles and just want to burn their DropIt (compete with Profiles) onto a CDROM, because at the moment DropIt is always writing the disk, including the Log file. Of course it's just an idea for those that still use CD's :lol:
Added 179 Applications: Portable

Post Reply