Welcome Guest.   Make a donation to an author on the site August 28, 2014, 02:13:45 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Your Support Funds this Site: View the Supporter Yearbook.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1] 2 Next   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: DONE: Sync Network Folder Contents as Shortcuts  (Read 25590 times)
gsull
Supporting Member
**
Posts: 26


View Profile Give some DonationCredits to this forum member
« on: July 07, 2006, 11:55:14 AM »

I have all of my mp3s on a server, and I have tried to have FARR search for my mp3s, but the fact that it's on a not-cutting-edge wireless network means that the search is a bit slow as it works its way through the files.  (There's a lot of them). 

What I'd like to do is sync folders (I realize there are tons of apps that do this),
BUT only sync the files as SHORTCUTS.  That way, when I'm looking for a song (or any file) that's elsewhere, I can find it in shortcut form locally, and deal with the network after the fact.

I know there might be apps that do this already, but a quick look around didn't turn any up.

Thanks,
GSull
« Last Edit: July 07, 2006, 12:02:41 PM by gsull » Logged
gsull
Supporting Member
**
Posts: 26


View Profile Give some DonationCredits to this forum member
« Reply #1 on: July 07, 2006, 12:01:04 PM »

Just to clarify, I want it this way so that I can still use FARR, so it doesn't help to use other indexing search apps that create their own databases, and I'd like it to sync so I can add mp3s to my server, and automatically have a shortcut to them without having to keep track of new files myself.
Logged
mouser
First Author
Administrator
*****
Posts: 33,279



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #2 on: July 08, 2006, 04:01:54 AM »

this is actually a really cool idea.. i wonder if any programs exist for this already..
Logged
brett
Charter Member
***
Posts: 125



Australia

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #3 on: July 08, 2006, 10:14:28 AM »

Gsull

This is a AHK script that might do what you want, but I dont have a network to test here.

'Make a Shortcut'



To Use:
Create a folder where you want to keep all these Shortcuts
ie, My Documents\My Music Shortcuts\
Put this file in the folder.
Execute

Just Drag and drop the selected MP3 files onto the GUI and it will create shortcuts in the folder it was executed from.

I dont use FARR, so feedback/suggestions/bugs welcome.

Hint* create a ICON for this so I can include.

dB

PS. will work on dropping a folder, auto syncing, etc. but getting late. are we on the right track.

* Make a Shortcut.ahk (0.7 KB - downloaded 528 times.)
* Make a Shortcut.exe (189.09 KB - downloaded 532 times.)
« Last Edit: July 08, 2006, 10:18:15 AM by dB » Logged
gsull
Supporting Member
**
Posts: 26


View Profile Give some DonationCredits to this forum member
« Reply #4 on: July 08, 2006, 04:44:29 PM »

sorry I'm not around my computer today to test it, looks like it's on the right track.  I'll try it tonight and let you know what I find.  Thanks.
Logged
brett
Charter Member
***
Posts: 125



Australia

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #5 on: July 09, 2006, 05:11:07 AM »

Take 2, after some sleep smiley

Shortcut Maker
creates around 80 shortcuts per second on my PC.



v1a
Added
- Select a folder.  Target and Destination
- Delete All short-cuts in Destination Folder
- Drag and Drop auto creates in the Destination Directory
- Status bar informs how many Shortcuts created.
- Filter for *.* *.mp3 *.doc *.pdf *.jpg

and still learning as I go, so any other suggestions welcome.


Thanks
dB

* Shortcut Maker 1a.exe (193.21 KB - downloaded 554 times.)
* Shortcut Maker v1a.ahk (2.75 KB - downloaded 504 times.)
« Last Edit: July 09, 2006, 05:13:19 AM by dB » Logged
kimmchii
Honorary Member
**
Posts: 360


View Profile Give some DonationCredits to this forum member
« Reply #6 on: July 09, 2006, 05:22:42 AM »

great job dB thumbs up

i get this error with .ahk version, exe is ok.

and can you add *.exe to the list? thanks.

[copy or print]
Shortcut Maker v1a.ahk
========================

  Error: Parameter #2 invalid

Specifically: Statusbar

Line#
013: Gui,add,edit,xs w430 vdestchoice,%A_ScriptDIR%
014: Gui,Add,GroupBox,xm w450 r2.3,Actions
015: Gui,add,button,xp+10 yp+15 w220 gmakeshortcuts section,&Make All Shortcuts
016: Gui,add,button,x+5 gdeleteshortcuts,&Delete Shortcuts
017: Gui,add,button,x+5 gGuiclose,&Quit && Exit
018: Gui,Add,GroupBox,xm w450 r3.3,Commands
019: Gui,Add,Text,xp+10 yp+15 r4 w430 CENTER Section vlog ReadOnly,Drag && Drop files right here onto the GUI
This will to Auto create shortcuts to the destination folder.

F11=Show          F12=Hide           ESC=Quit
---> 020: Gui,Add,Statusbar,

The program will exit.
« Last Edit: July 09, 2006, 05:27:03 AM by kimmchii » Logged

If you find a good solution and become attached to it, the solution may become your next problem.
~Robert Anthony
brett
Charter Member
***
Posts: 125



Australia

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #7 on: July 09, 2006, 05:42:59 AM »

Hi Kimmchii

- error with AHK is caused by old version of AHK. Latest version allows for Status bar and Treeviews.
May 14, 2006   Version 1.0.44 introduces two new GUI controls: TreeView and StatusBar.
Update and all will be good.

Shortcut Maker V1b
- added *.exe

Thanks
dB


* Shortcut Maker 1b.exe (193.21 KB - downloaded 537 times.)
* Shortcut Maker v1b.ahk (2.76 KB - downloaded 497 times.)
Logged
kimmchii
Honorary Member
**
Posts: 360


View Profile Give some DonationCredits to this forum member
« Reply #8 on: July 09, 2006, 06:27:26 AM »

thanks dB, Shortcut Maker works great now, and very fast too.

one small problem, if there are 2 files with the same name, ie.

F:\ttt\1.wma
F:\ttt\ddd\1.wma

it will overwrite the shortcut and end up with only one shortcut, is there a solution to this ? may be name the second shortcut 1(1).wma and so on? thanks again.
« Last Edit: July 09, 2006, 06:29:57 AM by kimmchii » Logged

If you find a good solution and become attached to it, the solution may become your next problem.
~Robert Anthony
gsull
Supporting Member
**
Posts: 26


View Profile Give some DonationCredits to this forum member
« Reply #9 on: July 09, 2006, 07:05:03 PM »

I'm having trouble running any of the exe's.  Are there any required libraries or anything?  I don't have ahk installed, I'll try that now.

The first exe says "memory allocation error, system halted."

The v1a and b ones get me this:
Logged
gsull
Supporting Member
**
Posts: 26


View Profile Give some DonationCredits to this forum member
« Reply #10 on: July 09, 2006, 07:08:26 PM »

also, one thing I was hoping would be possible is to recreate the folder/subfolder structure.  That would also solve the duplicate filenames issue if it's possible.

In case you want to know, my subfolders are all 4 or less levels deep.

I continue to be amazed with how fast people can turn around working models for ideas on this site.  thanks for the great work so far!
Logged
brett
Charter Member
***
Posts: 125



Australia

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #11 on: July 09, 2006, 07:14:10 PM »

Sub Folders' yes that would work, that had me for a while. will do more tonight.


Could you give me details of your system setup.
Operating system, etc

I dont have a answer but will lokk into it.

Thanks
 dB
« Last Edit: July 09, 2006, 07:19:09 PM by dB » Logged
gsull
Supporting Member
**
Posts: 26


View Profile Give some DonationCredits to this forum member
« Reply #12 on: July 09, 2006, 07:36:24 PM »

windows xp pro (sp2, all updates)
p4/3.2 (prescott, hyperthreading is turned on)
2gigs ram dual-channel 3200

can't think of anything else that would be relevant.  I'm just looking at AHK in person for the first time now.  I'll let you know if the script works on my machine.
Logged
gsull
Supporting Member
**
Posts: 26


View Profile Give some DonationCredits to this forum member
« Reply #13 on: July 09, 2006, 08:06:58 PM »

The .ahk worked great.  I'll try compiling it and see if that works as well.  So subfolders and syncing are the only things left out of what I would suggest.

As I said, I've never used AHK before, but if there's anything I can do to help, let me know.
Logged
gsull
Supporting Member
**
Posts: 26


View Profile Give some DonationCredits to this forum member
« Reply #14 on: July 09, 2006, 08:12:42 PM »

The .exe compiled on my machine worked.

One thing I noticed is that the "drag and drop" feature doesn't seem to do what it says, unless I misread it.  It seems to make a single shortcut to whatever is dropped onto it, and not in the destination directory, but the directory that Shortcut maker is in.
Logged
brett
Charter Member
***
Posts: 125



Australia

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #15 on: July 10, 2006, 09:56:54 AM »

Hi Gsull,
if the Drag and Drop did not work on your machine, after you compiled it from your AHK, you will need to re-install AHK and when the first prompt comes to screen, make sure that 'Enable Drag and Drop' is selected in 'components to install', by default it is off.

The .ahk worked great.  I'll try compiling it and see if that works as well.  So subfolders and syncing are the only things left out of what I would suggest.

As I said, I've never used AHK before, but if there's anything I can do to help, let me know.
I started to use AHK only a few months ago, so I am fairly raw, and my code might be a bit scratchy, but I am having a blast learning. (a midlife crisis)

ShortCut Maker v1c
- added sub folders. now ALL shortcuts are added to sub folders of the destination.
- reworked create code
- delete shortcuts, deletes all shortcuts from destination folder and all sub folders, be careful.
- ext choice now allows your own choice plus dropdowns


syncing tommorow, maybe, lots of real work on at the moment

windows xp pro (sp2, all updates)
p4/3.2 (prescott, hyperthreading is turned on)
2gigs ram dual-channel 3200
can't think of anything else that would be relevant.  I'm just looking at AHK in person for the first time now.  I'll let you know if the script works on my machine.
envious,  Cool , its not a machine problem

thanks
dB

* Shortcut Maker 1c.exe (193.28 KB - downloaded 550 times.)
* Shortcut Maker v1c.ahk (5.03 KB - downloaded 480 times.)
« Last Edit: July 10, 2006, 10:02:46 AM by dB » Logged
gsull
Supporting Member
**
Posts: 26


View Profile Give some DonationCredits to this forum member
« Reply #16 on: July 10, 2006, 01:21:44 PM »

Worked perfectly, and amazingly fast.  I did 27,000 files in the time it took for me to go microwave some popcorn.

At this point, FARR is up and running as my music searching app, and syncing would be an added, and quite awesome, bonus.
Logged
skrommel
Fastest code in the west
Developer
***
Posts: 882



View Profile WWW Give some DonationCredits to this forum member
« Reply #17 on: July 11, 2006, 07:44:14 AM »

 smiley Here's a command line version.

ShortcutSync - Command line tool to place shortcuts to files in a different folder, preserving the tree structure, and removing missing files.

Example: ShortcutSync.exe C:\Music D:\MusicLinks mp3 wav TrayTip

Syntax: ShortcutSync.exe <fromfolder> <tofolder> <extentions> [TrayTip]
<fromfolder> is the folder where the files are located
<tofolder> is the folder where the links should be created
<extensions> is the file types to make links to
TrayTip is added for visual feedback

You'll find the downloads and more info at 1 Hour Software by Skrommel.

Skrommel
Logged

Please stop by my site at  1 Hour Software by skrommel  for downloads and more info.
kimmchii
Honorary Member
**
Posts: 360


View Profile Give some DonationCredits to this forum member
« Reply #18 on: July 11, 2006, 08:30:50 AM »

smiley Here's a command line version.

ShortcutSync
OMG, this is so unbelievable.
this small prog can really sync.
640links and with 200 folders shortcuts created in 8 seconds. Thmbsup


* Clipboard01.jpg (37.9 KB, 319x168 - viewed 931 times.)

* Clipboard02.jpg (30.9 KB, 228x165 - viewed 935 times.)
Logged

If you find a good solution and become attached to it, the solution may become your next problem.
~Robert Anthony
gsull
Supporting Member
**
Posts: 26


View Profile Give some DonationCredits to this forum member
« Reply #19 on: July 11, 2006, 04:34:51 PM »

If only the two could meet.  ShortcutMaker is friendlier, and saves me the trouble of finding/typing long paths, and Shortcut Sync syncs so quickly and neatly with no clutter. 

Is there an easy way to run ShortcutMaker, and hit a checkbox "sync" so that when ShortcutMaker is done, it makes a shortcut to ShortcutSync on my desktop that will sync the folders that I chose in ShortcutMaker at any later date?

Just happy to see all the functionality/usability I was looking for, but trying to figure out how to use the benefits of both apps.
Logged
brett
Charter Member
***
Posts: 125



Australia

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #20 on: July 11, 2006, 04:59:01 PM »

with Skrommel permission, I would love to combine both scripts and see what comes out.

but I am also sure that skrommel can design a great gui.

I will sit down later and learn from his script anyway  smiley

dB
Logged
skrommel
Fastest code in the west
Developer
***
Posts: 882



View Profile WWW Give some DonationCredits to this forum member
« Reply #21 on: July 11, 2006, 05:09:28 PM »

 smiley Please do!

Skrommel
Logged

Please stop by my site at  1 Hour Software by skrommel  for downloads and more info.
kimmchii
Honorary Member
**
Posts: 360


View Profile Give some DonationCredits to this forum member
« Reply #22 on: July 11, 2006, 07:14:19 PM »

If only the two could meet.  ShortcutMaker is friendlier, and saves me the trouble of finding/typing long paths, and Shortcut Sync syncs so quickly and neatly with no clutter. 
the beauty of Shortcut Sync is the command line approach, that enable us to use a batch file, it can even carry out several commands at once.

to create a batch file, create a new text file, write down the commands, ie.

Example: ShortcutSync.exe C:\Music D:\MusicLinks mp3 wav TrayTip

then save the text file and change the extension to .bat
« Last Edit: July 11, 2006, 10:17:43 PM by kimmchii » Logged

If you find a good solution and become attached to it, the solution may become your next problem.
~Robert Anthony
gsull
Supporting Member
**
Posts: 26


View Profile Give some DonationCredits to this forum member
« Reply #23 on: July 12, 2006, 03:46:38 PM »

What I was suggesting was that ShortcutMaker makes it much easier to find the folders you want to use, and that possibly by checking a box, it could create something like the batch file you're talking about after it is done using the folders that were selected. That ould makeit very easy to sync the same folders in the future, without running ShortcutMaker and choosing everything again.
« Last Edit: July 12, 2006, 03:48:21 PM by gsull » Logged
wyrwolf
Supporting Member
**
Posts: 30


It is what it is.

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #24 on: July 19, 2006, 04:59:43 PM »

That ShortcutMaker beats the snot out of doing Search-Select-SendToDesktop-Select(off Desktop)-Cut&Paste.
Going to be especially useful to create menus for groups of Flash Games - or for any other pull-everything-off-of-website type of directory
I give it...
 thumbs up  thumbs up
Logged

It is what it is.
Pages: [1] 2 Next   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.044s | Server load: 0.04 ]