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

Re: DropIt

#556 Post by tproli »

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.

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

Re: DropIt

#557 Post by guinness »

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: Select all

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

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

Re: DropIt

#558 Post by Lupo73 »

It could be a feature for next release :wink:

Now I'm uploading the stable version 3.5

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

Re: DropIt

#559 Post by Lupo73 »

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

User avatar
Kranor
Posts: 120
Joined: Sun Jan 14, 2007 7:15 am
Location: uk

Re: DropIt

#560 Post by Kranor »

Great software!!
1st a request - Would love to have a folder monitor, coupled with a print function....
2nd some help - I have a user who prints a large amount of PDF's without the need to read them. (A folder monitor would be great for this) So I am trying to setup a pattern to print PDF silently. the first attempt is just a standard non Silent print

Code: Select all

"C:\Program Files\Adobe\Reader 9.0\Reader\AcroRd32.exe" -p "%File%" 
When I drop a PDF on the target the PDF opens with the following message -

There was an error opening this document. This file could not be found. After clicking OK the file opens but no print command comes up.

The next option I am going to try is Readers Silent print

Code: Select all

AcroRd32.exe /t path "printername" "drivername" "portname"
If anyone has a better idea on how to do what I want please tell me

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

Re: DropIt

#561 Post by tproli »

That should work but there's a bug in this release as I came across with this issue yesterday.

User avatar
SYSTEM
Posts: 2043
Joined: Sat Jul 31, 2010 1:19 am
Location: Helsinki, Finland

Re: DropIt

#562 Post by SYSTEM »

My YouTube channel | Release date of my 13th playlist: August 24, 2020

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

Re: DropIt

#563 Post by guinness »

Well done!

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

Re: DropIt

#564 Post by guinness »

Something I've been adding into my applications recently is retrieving the language of the OS and displaying the available translation. This supports 19 of the most popular languages in the world and I checked to see if the DropIt translations were included and they are. I was going to add to Dropit in the SVN, but I didn't know if you would want it added.

Code: Select all

MsgBox(64, "Language File", "The default language translation will be " & _GetOSLanguage() & ".lng")

; #FUNCTION# =========================================================================================================
; Name...........: _GetOSLanguage()
; Description ...: Retrieves the language of the OS, this supports 19 of the most popular languages.
; Syntax.........: _GetOSLanguage()
; Parameters ....: none
; Requirement(s).: v3.3.2.0 or higher
; Return values .: Success - Returns the language name. Default is English.
; Author ........: guinness
; Example........; Yes
; Remarks........; none
;=====================================================================================================================
Func _GetOSLanguage()
	Local $aString[20] = [19, "0409 0809 0c09 1009 1409 1809 1c09 2009 2409 2809 2c09 3009 3409", "0404 0804 0c04 1004 0406", "0406", "0413 0813", "0425", _
			"040b", "040c 080c 0c0c 100c 140c 180c", "0407 0807 0c07 1007 1407", "040e", "0410 0810", _
			"0411", "0414 0814", "0415", "0416 0816", "0418", _
			"0419", "081a 0c1a", "040a 080a 0c0a 100a 140a 180a 1c0a 200a 240a 280a 2c0a 300a 340a 380a 3c0a 400a 440a 480a 4c0a 500a", "041d 081d"]

	Local $aLanguage[20] = [19, "English", "Chinese", "Danish", "Dutch", "Estonian", "Finnish", "French", "German", "Hungarian", "Italian", _
			"Japanese", "Norwegian", "Polish", "Portuguese", "Romanian", "Russian", "Serbian", "Spanish", "Swedish"]
	For $A = 1 To $aString[0]
		If StringInStr($aString[$A], @OSLang) Then
			Return $aLanguage[$A]
		EndIf
	Next
	Return $aLanguage[1]
EndFunc   ;==>_GetOSLanguage

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

Re: DropIt

#565 Post by Lupo73 »

Kranor wrote:2nd some help ...
As reported by tproli, the second problem may be caused by a bug.. I'll post a new test version next week that may solve this and few other issues..
Great!
guinness wrote:_GetOSLanguage()
Thanks! language auto-detection added :wink:

fra diavolo
Posts: 3
Joined: Tue Aug 23, 2011 11:03 am
Location: Italy

Re: DropIt

#566 Post by fra diavolo »

Really a masterpiece!

A suggestion: it would be great to be able to switch/cycle profiles using mouse scroll wheel on the floating DropIt image.

Thx for your work

FD

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

Re: DropIt

#567 Post by Lupo73 »

fra diavolo wrote:A suggestion: it would be great to be able to switch/cycle profiles using mouse scroll wheel on the floating DropIt image.
Interesting idea.. added in my ToDo list :wink:

fra diavolo
Posts: 3
Joined: Tue Aug 23, 2011 11:03 am
Location: Italy

Re: DropIt

#568 Post by fra diavolo »

I compiled revision 97.....you did it... worderfull!

thx
FD

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

Re: DropIt

#569 Post by Lupo73 »

Yes :wink: ..but I recommend to use only official releases, because SVN updates may include several bugs..

This is the first beta version 3.6 available for download:
http://www.lupopensuite.com/files/dropi ... rtable.zip

Current changes:
- improved interface
- improved support to Unicode for patterns
- added auto-detection of OS language
- added support to add paths of dropped files in clipboard (hold Ctrl+P at drop)
- added support to copy dropped files in a selected folder (hold Ctrl+C at drop)
- added support to create shortcuts of dropped files in a selected folder (hold Ctrl+S at drop)
- added support to move dropped files in a selected folder (hold Ctrl+X at drop)
- added support to switch profiles with mouse scroll wheel
- fixed minor bugs

fra diavolo
Posts: 3
Joined: Tue Aug 23, 2011 11:03 am
Location: Italy

Re: DropIt

#570 Post by fra diavolo »

I'm unable to override general settings with profiles > customize> context menu > options

I want to list all the files in a dir (and subdir) I got general settings "enable associations also for folders"= true and when I tried to override it only for the profile I've created... it didn't work as expected... (I mean profiles > customize > context menu > options > "enable associations also for folders" > disable for this profile...
...did I make something wrong?

Thx
FD

Post Reply