|
1
|
DonationCoder.com Software / Post New Requests Here / Re: IDEA: Create folder structure or path
|
on: April 27, 2009, 03:28:56 PM
|
Thanks for the suggestion! This, however, is not what I want to achieve. I found this free sw to do what I think you suggest to do with xplorer2: TreeCopyBut both of these two programs will create a whole tree of branches, when I only want one single branch! If I want the branch \Documents and Settings\All Users\Documents\My Pictures\ (like in my first post) I would have to copy the 'Documents and Settings' level. That would give me a copy that looks something like this: D: | temp | Documents and Settings | Administrator | Everything below here | All Users | Application Data | Everything below here | Desktop | Everything below here | Documents | My Pictures | Favorites | Everything below here | Start Menu | Everything below here | Default User | Everything below here | User1 | Everything below here | User2 | Everything below here When all I really want is this: D: | temp | Documents and Settings | All Users | Documents | My Pictures Sure, I could use this method to create the complete empty structure, then copy my file to the desired destination, and finally use the convenient little DelEmpty-app by Skrommel. But that's kind of an uggly solution... So, suggestions please..?  Is there maybe an easy way to do this already? Otherwise, I'm thinking a program that adds options to the context menu in Windows Explorer. When right-clicking a folder, the context menu would offer "Copy folder path" (implies from root to here), and when right clicking another folder, the menu would offer "Paste folder path" if one is present in the clipboard. If you do not want the complete path from the root, you could manually copy just a selection of it from the Address-bar, which places it in the clipboard, and thus makes it possible to paste with "Paste folder path". Now, that'd be great!  /Håkan
|
|
|
|
|
2
|
DonationCoder.com Software / Post New Requests Here / IDEA: Create folder structure or path
|
on: April 22, 2009, 05:24:06 AM
|
|
I would like to be able to create a 'copy' of a path.
For example, let's say I have a file in this folder: C:\Documents and Settings\All Users\Documents\My Pictures\
I would like to copy this file to D:\temp so that the path becomes like this: D:\temp\Documents and Settings\All Users\Documents\My Pictures\
Now, I would have to go to D:\temp, create the first folder Documents and Settings, then enter that folder to create the next All Users folder, and so on, before I can copy my file to that location.
If possible, I'd like a right click option in Windows Explorer to select 'Copy with path' and then 'Paste and create path'.
I hope I have managed to explain myself?
Thanks!
/Håkan, Sweden
|
|
|
|
|
3
|
Main Area and Open Discussion / Living Room / Re: World's worst pop-up dialogs
|
on: May 20, 2006, 05:31:38 PM
|
Here's a few: When I inserted a (fried, as it turned out) USB memory stick. Probably made in China, eh?  I started to move a file a couple of years ago. I suppose it's still on the move: almost 3 million minutes is more than 5 years, isn't it?  Don't remember what file I wanted to play, but it couldn't have been a good one...  And finally, the new and all-improved Paint Shop Pro X as a new Corel product:  I really appreciate the option to not have them asking this anymore!  /IrmaIsfot
|
|
|
|
|
4
|
DonationCoder.com Software / Finished Programs / Re: DONE: IdleMute - Tray utility to mute speaker when you are away from the PC!
|
on: April 28, 2006, 03:42:00 AM
|
@brotherS Hmpfr! Insulted!  I have 256MB of RAM! Ha! Seriously, though, it is my work computer, where I normally use only Office apps. I'd have a hard time motivating my IT support I need more power... At home, where I have a more up to date system, there is no noticable flickering. Still, the method proposed above feels... I don't know... Optimized?  Doing that update even when it's not necessary, just because it makes no noticable difference is the first step towards bloating, don't you think? I was around in the middle of the 80's and the first home computers. They could run incredible games and apps on just a couple of MHz of 8-bit processing, using a few kb of memory! Then you really had to optimize the usage of the limited available resources! Today, you need 512 mb of memory to feel comfortable... Anyways, this little comment is - of course - in no way meant as criticism towards Skrommel, who makes a fantastic job with all these little amazing gadgets! After all, we are working with a 'simple' scripting tool that probably isn't that focused on optimization in the first place. Or is it? Many thanks to Skrommel for his work and inspiration to fiddle around with this myself!  /IrmaIsfot
|
|
|
|
|
5
|
DonationCoder.com Software / Finished Programs / Re: DONE: IdleMute - Tray utility to mute speaker when you are away from the PC!
|
on: April 27, 2006, 04:03:06 AM
|
Hey! On my Win2000, the tray icon flickers irregularly. Maybe because it is an old PIII 700MHz office machine..?  Anyways, I made some modifications to stop this: [ copy or print] ;somewhere in the beginning, where other variables are initialized currentIcon := 0 ;in the CHECKMUTE-routine If mute=On { If currentIcon <> 5 { Menu,Tray,Icon,IdleMute.exe,5,5 currentIcon := 5 } Menu,Tray,Check,&Mute } Else { If (active="1" And enabled="1" And running="0") { If currentIcon <> 3 { Menu,Tray,Icon,IdleMute.exe,3,3 currentIcon := 3 } } Else { If currentIcon <> 4 { Menu,Tray,Icon,IdleMute.exe,4,4 currentIcon := 4 } } Menu,Tray,UnCheck,&Mute } This only replaces the icon when it actually changes, eliminating the flickering. Maybe this is completelly unnecessary on all the Tera-Hz super mega machines out there, but it works for me...  /IrmaIsfot
|
|
|
|
|
7
|
DonationCoder.com Software / Finished Programs / Re: DONE: RecentRun command line?
|
on: April 25, 2006, 05:34:12 PM
|
Hey, great! Works like a charm!  Thanks a bunch! I don't know how the file sorting works in XP, though. On my Win2000, if 'Sort by date' is set, it lists the files like this: 1 - Notepad 10 - Calc 11 - Word 2 - Excel 3 - Outlook ...and so on. Therefore, I added the following lines: [ copy or print] If sortbydate=1 -> If counter<10 -> FileCreateShortcut,%Target%,%recentmenu%\0%counter% - %A_LoopField%,%Dir%,%Args%,%Description%,%Icon%,,%IconNumber%,%RunState% -> Else FileCreateShortcut,%Target%,%recentmenu%\%counter% - %A_LoopField%,%Dir%,%Args%,%Description%,%Icon%,,%IconNumber%,%RunState% Else FileCreateShortcut,%Target%,%recentmenu%\%A_LoopField%,%Dir%,%Args%,%Description%,%Icon%,,%IconNumber%,%RunState% I wonder, how do you compile your code? The Ahk2Exe application only supports one icon file, but you have two icons in your about-box! /IrmaIsfot
|
|
|
|
|
8
|
DonationCoder.com Software / Finished Programs / Re: IDEA: RecentRun command line?
|
on: April 24, 2006, 05:36:26 PM
|
Ahh, nice to find the correct source! Doesn't make it work, though...  The contents of my registry here at home is pretty much the same as what I posted above. I inserted a msgbox inside the loop in the GETPROGRAMS routine, right before the IfInString,A_LoopRegName,%path% -line, to get a readout of the important variables. My line goes like this: msgbox, %path%`n %program%`n %pid%`n %A_LoopRegName% The first box says: C:\WINNT\Explorer.EXE explorer.exe 1040 @C:\Program files\MultiMedia\iTunes\iTunes.Resources\iTunesRegistry.dll,-16 The next box goes the same, except the last line is: @C:\Program files\Shared files\Ahead\lib\MediaLibraryNSE.dll,-11111 And so on... (The A_LoopRegName isn't exactly taken from my previous post, since I appearently have different 'whatever-it-is' here than in my office computer.) There are a lot of entries in this key, more than three full screens. The loop never finds a match, and therefore the 'programs' variable never gets any contents. What does your regstry hold in this particular key? And howcome there is a difference??? Hang on, I just checked the registry of an XP machine. And there they are, lots of 'path-like' entries right after all the @-entries. These just don't exist in my Win 2000 machines... Ok, so it's an XP feature that is not present in Win 2000. But what does this check actually do? And could it be found elsewhere in the registry, if necessary? Sorry for asking supposedly silly questions, but the hour is too late to try and figure out the purpose of the code...  Thanks for taking the time to look at this! /IrmaIsfot
|
|
|
|
|
9
|
DonationCoder.com Software / Finished Programs / Re: IDEA: RecentRun command line?
|
on: April 24, 2006, 08:34:48 AM
|
Well this sounded really good, but somehow it does not work for me...  Since the sourcecode is not available as with all the other neat tools, I used Exe2Ahk to try to make sense of whats going on, or not. From what I can find in the de-compiled code, the GETPROGRAMS loop tries to match the path of all current windows to a list held in the registry at HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache In my registry, that key holds something like this: [ copy or print] (Default) REG_SZ (value not set) @browselc.dll,-13137 REG_SZ &Address @browselc.dll,-13138 REG_SZ &Links @C:\WINNT\inf\unregmp2.exe,-9902 REG_SZ Movie Clip @C:\WINNT\inf\unregmp2.exe,-9903 REG_SZ AIFF Format Sound @C:\WINNT\inf\unregmp2.exe,-9904 REG_SZ AU Format Sound @C:\WINNT\inf\unregmp2.exe,-9905 REG_SZ Video Clip @C:\WINNT\inf\unregmp2.exe,-9907 REG_SZ MIDI Sequence @C:\WINNT\inf\unregmp2.exe,-9909 REG_SZ Windows Media Audio/Video file @C:\WINNT\inf\unregmp2.exe,-9910 REG_SZ Windows Media Audio/Video playlist @C:\WINNT\inf\unregmp2.exe,-9911 REG_SZ Windows Media Audio shortcut @C:\WINNT\inf\unregmp2.exe,-9915 REG_SZ Windows Media Player Skin File @C:\WINNT\inf\unregmp2.exe,-9920 REG_SZ Windows Media Player Download Package @C:\WINNT\inf\unregmp2.exe,-9924 REG_SZ Windows Media Library @C:\WINNT\System32\cdfview.dll,-4610 REG_SZ Channel File @C:\WINNT\System32\msi.dll,-34 REG_SZ Windows Installer Package @C:\WINNT\System32\msi.dll,-35 REG_SZ Windows Installer Patch @C:\WINNT\system32\shell32.dll,-8964 REG_SZ Recycle Bin @C:\WINNT\system32\shell32.dll,-9216 REG_SZ My Computer @C:\WINNT\system32\shell32.dll,-9217 REG_SZ My Network Places @C:\WINNT\system32\shell32.dll,-9227 REG_SZ My Documents @inetcplc.dll,-4731 REG_SZ Always expand ALT text for images @inetcplc.dll,-4732 REG_SZ Move system caret with focus/selection changes @inetcplc.dll,-4735 REG_SZ Use smooth scrolling @inetcplc.dll,-4736 REG_SZ Enable offline items to be synchronized on a schedule This goes on for quite a bit, making a long list. There are no references to file paths at all in this key?!?! So, is the Exe2Ahk wrong in de-compiling the code, or is my registry different from every body elses..? I'm running an english Win2000. I would be greatful for any thoughts on this matter... And it would be really great if the correct source code could be published at http://www.donationcoder.com/Software/Skrommel/  Thanks! /IrmaIsfot
|
|
|
|
|