It is currently Tue May 21, 2013 3:30 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 1091 posts ]  Go to page Previous  1 ... 34, 35, 36, 37, 38, 39, 40 ... 73  Next
Author Message
 Post subject: Re: DropIt
PostPosted: Tue Jul 26, 2011 3:42 am 
Offline
User avatar

Joined: Mon Mar 19, 2007 8:55 am
Posts: 899
Location: Italy
It is great too! I adapted it a little and updated the official theme:
http://www.lupopensuite.com/files/dropi ... _List.html

_________________
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: Tue Jul 26, 2011 5:08 am 
Offline
User avatar

Joined: Mon Aug 27, 2007 2:00 am
Posts: 3726
Nice updates Lupo & tproli!

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


Top
 Profile  
 
 Post subject: Re: DropIt
PostPosted: Tue Jul 26, 2011 10:38 am 
Offline
User avatar

Joined: Mon Mar 19, 2007 8:55 am
Posts: 899
Location: Italy
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

_________________
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: Tue Jul 26, 2011 12:37 pm 
Offline
User avatar

Joined: Sat Sep 09, 2006 10:14 am
Posts: 673
Location: Hungary
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.


Top
 Profile  
 
 Post subject: Re: DropIt
PostPosted: Tue Jul 26, 2011 11:37 pm 
Offline
User avatar

Joined: Mon Mar 19, 2007 8:55 am
Posts: 899
Location: Italy
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..

_________________
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 Jul 27, 2011 12:04 am 
Offline
User avatar

Joined: Sat Sep 09, 2006 10:14 am
Posts: 673
Location: Hungary
Now tried that extension thing on another PC (XP SP3) and I couldn't reproduce. So probably it's an XP SP2 related problem.


Top
 Profile  
 
 Post subject: Re: DropIt
PostPosted: Thu Jul 28, 2011 3:50 pm 
Offline
User avatar

Joined: Mon Aug 27, 2007 2:00 am
Posts: 3726
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:
#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 177 Applications: Portable and an AutoIt MVP
SoftwareSpot - Portable Apps


Top
 Profile  
 
 Post subject: Re: DropIt
PostPosted: Thu Jul 28, 2011 3:56 pm 
Offline
User avatar

Joined: Mon Aug 27, 2007 2:00 am
Posts: 3726
OK, so I added multiple filetype support because I had time :mrgreen: >>

Code:
#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 177 Applications: Portable and an AutoIt MVP
SoftwareSpot - Portable Apps


Top
 Profile  
 
 Post subject: Re: DropIt
PostPosted: Fri Jul 29, 2011 12:05 am 
Offline
User avatar

Joined: Mon Aug 27, 2007 2:00 am
Posts: 3726
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 177 Applications: Portable and an AutoIt MVP
SoftwareSpot - Portable Apps


Top
 Profile  
 
 Post subject: Re: DropIt
PostPosted: Fri Jul 29, 2011 12:40 am 
Offline
User avatar

Joined: Mon Mar 19, 2007 8:55 am
Posts: 899
Location: Italy
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..

_________________
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: Fri Jul 29, 2011 12:49 am 
Offline
User avatar

Joined: Mon Aug 27, 2007 2:00 am
Posts: 3726
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 177 Applications: Portable and an AutoIt MVP
SoftwareSpot - Portable Apps


Top
 Profile  
 
 Post subject: Re: DropIt
PostPosted: Fri Jul 29, 2011 1:41 am 
Offline
User avatar

Joined: Sat Sep 09, 2006 10:14 am
Posts: 673
Location: Hungary
An easy workaround could be using TEMP as the ini location. So if the ini paralell to DropIt.exe is read-only, use TEMP dir instead. Remove the ini on close.


Top
 Profile  
 
 Post subject: Re: DropIt
PostPosted: Fri Jul 29, 2011 2:19 am 
Offline
User avatar

Joined: Mon Aug 27, 2007 2:00 am
Posts: 3726
It wouldn't be necessary to move to a temporary directory, I don't do that for ProEject (only when Ejecting from the same drive ProEject was started from.) I have a Function that checks if the Folder or Drive is writable and then if so write the settings and log file. This would be easy to implement instead of moving files to the temp folder, trust me :)

Code:
Func _IsWritable()
   Return (_WinAPI_IsWritable(StringLeft(@ScriptFullPath, 1) & ":") = 1 And StringInStr(FileGetAttrib(@ScriptDir & "\"), "R") = 0)
EndFunc   ;==>_IsWritable

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


Top
 Profile  
 
 Post subject: Re: DropIt
PostPosted: Sat Jul 30, 2011 12:19 am 
Offline
User avatar

Joined: Mon Mar 19, 2007 8:55 am
Posts: 899
Location: Italy
It could be a feature for next release :wink:

Now I'm uploading the stable version 3.5

_________________
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: Sat Jul 30, 2011 12:52 am 
Offline
User avatar

Joined: Mon Mar 19, 2007 8:55 am
Posts: 899
Location: Italy
Version updated.. this is the official list example if you want to link it in software description:
http://dropit.sourceforge.net/Page/DropIt_List.html

_________________
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  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1091 posts ]  Go to page Previous  1 ... 34, 35, 36, 37, 38, 39, 40 ... 73  Next

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


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