|
apfel
|
 |
« on: October 11, 2008, 03:32:13 PM » |
|
Had a nice Idea, while cleaning my Desktop from old files/Downloads etc.
A floating Icon for droping Files/Folders, which opens a menu with configured Move/Copy(while holding Ctrl+drop) Paths. - with Window Levels: Normal, OnTop, Desktop - lock/unlock position of icon - png skin support/Transparency Slider/Icon Size Slider
Would make move/copy actions much more easier.
apfel
|
|
|
|
|
Logged
|
|
|
|
|
skrommel
|
 |
« Reply #1 on: October 13, 2008, 03:32:21 AM » |
|
 Here's an early draft. DropFolder - Drop files on a floating icon to move or copy files to user defined folders. Press Ctrl while dropping to copy files Skrommel [ copy or print] ;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 #NoEnv #SingleInstance,Force SetWindelay,0 paths=C:\Archive\Work,C:\Archive\Games,C:\Archive\Photos picture=C:\Windows\Web\Wallpaper\Wind.jpg transparency=150 x=100 y=100 w=32 h= location=AlwaysOnTop 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 MENU: Loop,Parse,paths,`, Menu,menu,Add,% A_LoopField,COPY Menu,menu,Add Menu,menu,Add,&Browse...,BROWSE Menu,menu,Add,&Cancel,CANCEL 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
|
|
|
|
|
Logged
|
|
|
|
|
nudone
|
 |
« Reply #2 on: October 13, 2008, 04:08:55 AM » |
|
what a brilliant idea. 
|
|
|
|
|
Logged
|
|
|
|
|
|
VideoInPicture
|
 |
« Reply #3 on: October 13, 2008, 04:18:54 AM » |
|
http://customdesktoplogo.wikidot.com/This seems like it could be an extension of Custom Desktop Logo so I added in drop folder capability into Custom Desktop Logo V2.0. Screenshots below:  1  2  3  4  5  6 With the drop folder option enabled in the tray icon or the settings panel, you can move the logos around as well as still have them animated or static. Custom Desktop Logo uses PNG images so it does alpha blending on the graphics to make them look smooth when displayed on the desktop. Multi-monitor support should also work. Hold down CTRL while drag and dropping to copy instead of moving. Change the paths of the target folders in the "Drop Folder" tab of the settings panel. You can specify an alternate name for the folders or leave the name field blank to tell Custom Desktop Logo to display the folder path. Click on the logo itself to get a list of your target folders that you can simply open. All the file copying and moving operations are done in a multi-threaded fashion so you can perform multiple copy/move operations at the same time. There are a couple of limitations with the drop folder capability right now. (1) I hard coded the program to limit it to 20 drop folders in the list. (2) I would like to have a copy/move status indicator for large operations. Download Custom Desktop Logo 2.0 at http://customdesktoplogo.wikidot.com/. Source code is included on the source code download page (written in C#). Requires .Net 2.0 Framework or later to run it.
|
|
|
|
« Last Edit: October 13, 2008, 04:42:24 AM by VideoInPicture »
|
Logged
|
|
|
|
|
CleverCat
|
 |
« Reply #4 on: October 13, 2008, 06:43:26 AM » |
|
I get an unhandled exception error when loading?
|
|
|
« Last Edit: October 13, 2008, 06:51:14 AM by CleverCat »
|
Logged
|
If you need help - JUST ASK!
|
|
|
|
CleverCat
|
 |
« Reply #5 on: October 13, 2008, 06:55:25 AM » |
|
BTW I have net framework 2 & 3 with all the latest service packs. 
|
|
|
|
|
Logged
|
If you need help - JUST ASK!
|
|
|
|
VideoInPicture
|
 |
« Reply #6 on: October 13, 2008, 06:56:17 AM » |
|
That is weird. Are you on XP or Vista?
|
|
|
|
|
Logged
|
|
|
|
|
VideoInPicture
|
 |
« Reply #7 on: October 13, 2008, 06:58:55 AM » |
|
I just tested on XP & Vista. Seems for some reason it runs on Vista but not XP. I'll try debugging it.
|
|
|
|
|
Logged
|
|
|
|
|
CleverCat
|
 |
« Reply #8 on: October 13, 2008, 07:05:34 AM » |
|
Nix that - I had it on my External Drive with my non-install apps - now it's in the programme folder on C and working! i guess it needs to be with system... 
|
|
|
|
|
Logged
|
If you need help - JUST ASK!
|
|
|
|
VideoInPicture
|
 |
« Reply #9 on: October 13, 2008, 07:07:36 AM » |
|
Hmm, I don't think it should matter where it's placed. I have taken down version 2.0 while I try to find out what's wrong since I know version 1.0 works fine on XP and Vista. I've recently switched over to Microsoft Visual Studio 2008 Pro from Express and I think it mucked up some of the compilation settings.
|
|
|
|
|
Logged
|
|
|
|
|
CleverCat
|
 |
« Reply #10 on: October 13, 2008, 07:14:28 AM » |
|
Keeps disappearing after I close settings!  Update - stays when I bring it back and leave settings..  What fun.... 
|
|
|
|
|
Logged
|
If you need help - JUST ASK!
|
|
|
|
CleverCat
|
 |
« Reply #11 on: October 13, 2008, 07:15:27 AM » |
|
Hmm, I don't think it should matter where it's placed. I have taken down version 2.0 while I try to find out what's wrong since I know version 1.0 works fine on XP and Vista. I've recently switched over to Microsoft Visual Studio 2008 Pro from Express and I think it mucked up some of the compilation settings.
No problem - gotta move those apps anyway!
|
|
|
|
|
Logged
|
If you need help - JUST ASK!
|
|
|
|
VideoInPicture
|
 |
« Reply #12 on: October 13, 2008, 07:32:11 AM » |
|
It is definitely something funky with Visual Studio 2008 Pro. Still figuring this one out.
As for the settings panel, click the minimize button to make it go away instead of the X button, which will close the program.
|
|
|
|
|
Logged
|
|
|
|
|
CleverCat
|
 |
« Reply #13 on: October 13, 2008, 07:35:00 AM » |
|
Ah thanks....  I also modified the cat.png to have transparent surround on desktop - lost some whiskers in process  Will have to work on it! 
|
|
|
|
« Last Edit: October 13, 2008, 07:37:48 AM by CleverCat »
|
Logged
|
If you need help - JUST ASK!
|
|
|
|
VideoInPicture
|
 |
« Reply #14 on: October 13, 2008, 08:05:35 AM » |
|
Alright, I've reuploaded Custom Desktop Logo V2.0 to the website: http://customdesktoplogo.wikidot.com/downloadI've tested it on XP & Vista and looks to be running fine now. For some reason Visual Studio Pro is compiling the program differently than with Express so I compiled this as a release edition. Tell me if there is any other problems getting it to start up.
|
|
|
|
|
Logged
|
|
|
|
|
CleverCat
|
 |
« Reply #15 on: October 13, 2008, 08:19:30 AM » |
|
|
If you need help - JUST ASK!
|
|
|
|
VideoInPicture
|
 |
« Reply #16 on: October 13, 2008, 08:29:58 AM » |
|
Glad it works now.  I think you may have posted the wrong image of the Cat because the one you attached doesn't have a transparent background. I'm seeing white.
|
|
|
|
|
Logged
|
|
|
|
|
CleverCat
|
 |
« Reply #17 on: October 13, 2008, 08:45:01 AM » |
|
I haven't changed it after reinstalling the new one!  Will 'play' tomorrow......  Can u get it to make toast?
|
|
|
|
Logged
|
If you need help - JUST ASK!
|
|
|
|
apfel
|
 |
« Reply #18 on: October 14, 2008, 10:21:52 AM » |
|
@skrommel NICE! a spartan way to setting up, but it works. improvements: -small gui with Transparency Slider/Icon Size Slider, -right-click-menu for icon to change the icon and del/add Folders and maybe recently used Folders, Window Level setting, Lock/UNlock position -alpha blending for png files -Ctrl+Shift+Drop a Folder to add Folder to the List - a way to chose a Folder Path and name the menu item diffrently. exmpl. C:\privat\blah\temp, Menu Namen= Temp Folder - save last position/change position for start
@VideoInPicture Very good implementation of the Idea, but with .Net Framework 2.0 anyway, great work. Looks more userfriendly to me.
Edit: worked first time, now crashing while right-click on trayicon and sometime at the start. Edit2: How to close Configuration Window without closing the program? O_o Edit3: Crash appears after starting the program but in a diffrent location. )Edit4: Possible png alpha-transperancy with gdi+ [http://www.autohotkey.net/~tic/Gdip.Tutorial.3-Create.Gui.From.Image.ahk])
|
|
|
|
« Last Edit: October 14, 2008, 01:13:23 PM by apfel »
|
Logged
|
|
|
|
|
|
|
apfel
|
 |
« Reply #20 on: October 15, 2008, 09:26:59 AM » |
|
Nope the problems are gone! thx. suggestions: -Lock/Unlock Position right-click-menu item -Ctrl+Shift+Drop Folder to add FolderPath as one new Location (maybe with Folder-Name prompt)
Edit: When the file is already in the Move-Location, the program should warn you about Overwritting the file/files/folders.. etc.
|
|
|
|
« Last Edit: October 15, 2008, 10:18:27 AM by apfel »
|
Logged
|
|
|
|
|
wetsmellydog
|
 |
« Reply #21 on: October 15, 2008, 10:13:53 PM » |
|
There are two programs from http://www.codesector.com/ that I use everyday that do just about everything you are talking about. TeraCopy Free utility designed to copy/move files faster and more secure. Can resume broken file transfers. Direct Folders Quick access to your favorite folders and files. Jump to any deeply nested folder in a single mouse click. Both are available anytime, anywhere in your system when you are working on files, not just on the desktop. Great time savers.
|
|
|
|
|
Logged
|
|
|
|
|
CleverCat
|
 |
« Reply #22 on: October 16, 2008, 01:33:06 AM » |
|
Tera Copy is good and fast for big jobs.... 
|
|
|
|
|
Logged
|
If you need help - JUST ASK!
|
|
|
|
apfel
|
 |
« Reply #23 on: October 16, 2008, 10:39:32 AM » |
|
There are two programs from http://www.codesector.com/ that I use everyday that do just about everything you are talking about. TeraCopy Free utility designed to copy/move files faster and more secure. Can resume broken file transfers. Direct Folders Quick access to your favorite folders and files. Jump to any deeply nested folder in a single mouse click. Both are available anytime, anywhere in your system when you are working on files, not just on the desktop. Great time savers. Dropfolder by VideoInPicture/or skrommel simplify the whole process with just 2 clicks and without using 2 different program's.
|
|
|
|
|
Logged
|
|
|
|
|
wetsmellydog
|
 |
« Reply #24 on: October 16, 2008, 06:55:56 PM » |
|
Dropfolder by VideoInPicture/or skrommel simplify the whole process with just 2 clicks and without using 2 different program's.
Actually Teracopy does what the others do in 2 clicks or less also. Directfolders complements the program by allowing you to find or make a directory quickly if you are not sure where you want to put the files.
|
|
|
|
|
Logged
|
|
|
|
|