topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday November 12, 2024, 11:27 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: IDEA: DropFolder  (Read 41362 times)

VideoInPicture

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 467
    • View Profile
    • Circle Dock
    • Donate to Member
Re: IDEA: DropFolder
« Reply #25 on: October 17, 2008, 08:36 AM »
I will post an update soon to Custom Desktop Logo that will use the default Windows file copy/move status dialogs that should give you the option of not copying over files. I will also add in the Ctrl-Shift+Click option to add a folder. It will bring up the the settings panel with the new folder added in.
Author of Circle Dock: http://circledock.wikidot.com
Author of Video In Picture: http://videoinpicture.wikidot.com
Author of Webcam Signature: http://webcamsignature.wikidot.com
Author of Easy Unicode Paster: http://easyunicodepaster.wikidot.com

VideoInPicture

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 467
    • View Profile
    • Circle Dock
    • Donate to Member
Re: IDEA: DropFolder
« Reply #26 on: October 20, 2008, 06:43 PM »
Version 2.2 of Custom Desktop Logo is released: http://customdesktop...wikidot.com/download

In this version, I have made Custom Desktop Logo use the default Windows move/copy dialogs when using the logos as drop folders as well as added a disable movement option to the context menu. The drop folder target folders list is now easier to edit because the cells will automatically select the text in the cell when clicked on.

In version 2.1 there was a bug with the multi-threaded move/copy file operation in that if one operation was started and another one started, the first operation wouldn't complete. This has been fixed in version 2.2.

I recommend all users upgrade to version 2.2.
Author of Circle Dock: http://circledock.wikidot.com
Author of Video In Picture: http://videoinpicture.wikidot.com
Author of Webcam Signature: http://webcamsignature.wikidot.com
Author of Easy Unicode Paster: http://easyunicodepaster.wikidot.com

apfel

  • Participant
  • Joined in 2006
  • *
  • Posts: 63
    • View Profile
    • Donate to Member
Re: IDEA: DropFolder
« Reply #27 on: October 21, 2008, 05:22 PM »
GREAT WORK, a perfect realization of the idea. thx!  :Thmbsup:

justice

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • View Profile
    • Donate to Member
Re: IDEA: DropFolder
« Reply #28 on: January 29, 2009, 10:29 AM »
I'm using Skrommels script from this thread and I have to say it's absolutely fantastic. Would it be possible to click on the floating icon and get the locations menu to open an explorer window to there? would ease navigation.

apfel

  • Participant
  • Joined in 2006
  • *
  • Posts: 63
    • View Profile
    • Donate to Member
Re: IDEA: DropFolder
« Reply #29 on: February 06, 2009, 06:11 AM »
Would be great if skrommel updates his script with this feature and a png support.
.Net less applications are better

justice

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • View Profile
    • Donate to Member
Re: IDEA: DropFolder
« Reply #30 on: February 06, 2009, 06:18 AM »
Would be great if skrommel updates his script with this feature and a png support.
.Net less applications are better
All operating systems support GIF, JPG, BMP, ICO, CUR, and ANI images. On Windows XP or later, additional image formats such as PNG, TIF, Exif, WMF, and EMF are supported. Operating systems older than XP can be given support by copying Microsoft's free GDI+ DLL into the AutoHotkey.exe folder (but in the case of a compiled script, copy the DLL into the script's folder). To download the DLL, search for the following phrase at www.microsoft.com: gdi redistributable

Due to an OS bug, animated cursors scaled to a size greater than 90x90 on Windows 95/98/Me might crash the script
-autohotkey help

justice

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • View Profile
    • Donate to Member
Re: IDEA: DropFolder
« Reply #31 on: February 06, 2009, 06:25 AM »
Added the option to quickly navigate to the folder using the context menu on the icon, also made the icon abit bigger.
;DropFolder.ahk
; Drop files on a floating icon to move or copy files to user defined folders
; Press Ctrl while dropping to copy files
;Skrommel+Justice

#NoEnv
#SingleInstance,Force
SetWindelay,0

paths=C:\temp,C:
picture=icon.jpg
transparency=150
x=100
y=100
w=64
h=64
location=AlwaysOnTop

Gosub,EXPLOREMENU
Gosub,MENU
OnMessage(0x112,"WM_SYSCOMMAND")
If location=AlwaysOnTop
  guioptions:="+" location
If w<>
  pictureoptions:="H-1 W" w
Else
  pictureoptions:="W-1 H" h
Gui,Margin,0,0
Gui,% "-Caption +ToolWindow +LastFound -Resize " guioptions
guiid:=WinExist()
Gui,Add,Picture,% pictureoptions " GMOVEWINDOW",% picture
Gui,Show,% "X" x " Y" y
WinSet,Transparent,% transparency
Return


GuiDropFiles:
GetKeyState,ctrl,Control,P
where:=A_GuiControl
filecount:=A_EventInfo
guix:=A_GuiX
guiy:=A_GuiY
files:=A_GuiEvent
Menu,menu,Show
Return

GuiContextMenu:
where:=A_GuiControl
filecount:=A_EventInfo
guix:=A_GuiX
guiy:=A_GuiY
files:=A_GuiEvent
Menu,Explore,Show
Return

EXPLOREMENU:
Loop,Parse,paths,`,
Menu,Explore,Add,% A_LoopField,EXPLORE
Menu,Explore,Add
Menu,Explore,Add,&Browse...,EXPLOREBROWSE
Menu,Explore,Add,&Cancel,CANCEL
return

MENU:
Loop,Parse,paths,`,
  Menu,menu,Add,% A_LoopField,COPY
Menu,menu,Add
Menu,menu,Add,&Browse...,BROWSE
Menu,menu,Add,&Cancel,CANCEL
Return

EXPLORE:
run,%A_ThisMenuItem%
return

EXPLOREBROWSE:
FileSelectFolder,target,,3
If target=
  Return
Run,%target%
return

COPY:
FileCreateDir,%A_ThisMenuItem%
If ctrl=D
  Loop,Parse,files,`n
    FileCopy,%A_LoopField%,%A_ThisMenuItem%
Else
  Loop,Parse,files,`n
    FileMove,%A_LoopField%,%A_ThisMenuItem%
Return


BROWSE:
FileSelectFolder,target,,3
If target=
  Return
FileCreateDir,%target%
If ctrl=D
  Loop,Parse,files,`n
    FileCopy,%A_LoopField%,%target%
Else
  Loop,Parse,files,`n
    FileMove,%A_LoopField%,%target%
Return


CANCEL:
Return


;Stolen from SKAN at http://www.autohotkey.com/forum/topic32768.html
MOVEWINDOW:
  PostMessage,0xA1,2,,,A   ;WM_NCLBUTTONDOWN=0x00A1 HTCAPTION=2
Return


;Stolen from Lexicos at http://www.autohotkey.com/forum/topic18260.html
WM_SYSCOMMAND(wParam)
{
  Global guiid
  If (A_Gui && wParam = 0xF020) ; SC_MINIMIZE
    WinRestore,ahk_id %guiid%
}


GuiClose:
  ExitApp
edit: fixed seperator
« Last Edit: February 06, 2009, 07:44 AM by justice »

apfel

  • Participant
  • Joined in 2006
  • *
  • Posts: 63
    • View Profile
    • Donate to Member
Re: IDEA: DropFolder
« Reply #32 on: February 06, 2009, 06:38 AM »
I meant alpha-transparency support for the png's.

(How to add a seperator to the new menu?)
« Last Edit: February 06, 2009, 06:43 AM by apfel »

justice

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • View Profile
    • Donate to Member
Re: IDEA: DropFolder
« Reply #33 on: February 06, 2009, 07:42 AM »
sorry I see what the problem is, I'll fix the code. Don't know about transparent pngs I think AHK scripts are limited by support from AHK
« Last Edit: February 06, 2009, 07:44 AM by justice »

apfel

  • Participant
  • Joined in 2006
  • *
  • Posts: 63
    • View Profile
    • Donate to Member
Re: IDEA: DropFolder
« Reply #34 on: February 06, 2009, 08:23 AM »
Hm, small false behavior. When I drop a Folder on the icon only the content of the folder is moved, but not the folder to the new destination.

justice

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • View Profile
    • Donate to Member
Re: IDEA: DropFolder
« Reply #35 on: March 03, 2009, 03:43 AM »
I'd like to see that fixed too, I use it daily.

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
Re: IDEA: DropFolder
« Reply #36 on: March 03, 2009, 02:05 PM »
Hmmmmm, how 'bout a variation on the theme where you can drop explorer locked files/folders and get them to delete without restorting to an admin prompt?

(I was using TeraCopy because it didn't tend to leave folders and files locked like explorer and was way faster on big files anyway, but I just upgraded to a gigabit network and Vista64 explorer is so much faster on drag & drop copy that I have to use it.)

chashnniel

  • Member
  • Joined in 2018
  • **
  • default avatar
  • Posts: 127
    • View Profile
    • Donate to Member
Re: IDEA: DropFolder
« Reply #37 on: November 14, 2018, 05:06 AM »
just change the paths and picture, but nothing happened when i drop a file into the float pic
it seems doesn't work on windows 10

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,964
    • View Profile
    • Donate to Member
Re: IDEA: DropFolder
« Reply #38 on: November 20, 2018, 04:27 AM »
just change the paths and picture, but nothing happened when i drop a file into the float pic
it seems doesn't work on windows 10
hi chashnniel
there appears to be two different apps for download in this thread -- along with some modifications.
What did you use?
Tom