Freebox Jukebox

E-Touch General Category => General Discussion => Topic started by: Hitbig on December 27, 2009, 11:24:08 PM

Title: Browse Destination Folder Pop Up for Downloaded Tracks
Post by: Hitbig on December 27, 2009, 11:24:08 PM
Hello
I finally made it work.
MOVE DOWNLOADED TRACKS AND ALBUMS USING "BROWSE FOR FOLDER" windows dialog box (POP UP)
(choose the destination preference of downloaded tracks)

YOU ONLY NEED THREE BAT FILES AND ONE VBS FILE (SEE BELOW) AND SET "BROWSE FOR FOLDER" WINDOWS MENU TO "ALWAYS ON TOP"

***Note : Destination means : USB Sticks, Ipod, Mp3 Device,etc and/or any directory or subdirectory in your PC.
I took this (browse for folder vbs script) from a forum named  Tech Support Forums, user Squashman and adapted in E-Touch doing the necessary testing.

Try it and if you like use it.
1) I am using Demo 5.0.28 demo Windows XP home
2) When first time running NOT IN FULL SCREEN make sure that "browse for folder" dialog box (pop up) is set to
   "ALWAYS ON TOP"
   If you don't get the option to change in the windows menu, you can use SHELLENHANCER, this freeware program works excellent, since I tested a bunch of freeware and shareware and none of them work for this purpose. Find the links below.
http://www.nuonsoft.net/shellenhancer/downloads.php#product_downloads      
a) Install SHELLENHANCER & Set it to START/ALLPROGRAMS/STARTUP with Windows (shorcut drag &drop  or pin it to startup with mouse right click)
b) Set pop up menu as "always on top" :
  b1) ONLY ONCE : In Full screen hit in E-Touch download button and then ALT-TAB to bring the
   "BROWSE FOR FOLDER" pop up to the front. Then right click and hit automanage and change to "always
    on top". In the future you do not need to do this anymore.
OR if you get in trouble with b1) then:
   b2) ONLY ONCE : Hit "download" button in E-touch" then BROWSE FOR FOLDER pops up. Use automanage (right Click) option to set to "always on top").  This step running E-Touch NOT IN FULLSCREEN (just once) then you can run in FULLSCREEN mode always.
c) Disable an annoying request for registration to receive updates using Run MSCONFIG startup options named "startuphelper".

    Above three steps to be performed only ONCE, then just open E-touch every time in full screen and works OK.(If you repeat the steps several times does not hurt but is not necessary).

       
3) You need three bat files and one vbs file (use notepad to do this) with the below data:

a) C:\program files\E-touch Jukebox\Download\download.bat
b) C:\program files\E-touch Jukebox\Download_B.bat
c) C:\program files\E-touch Jukebox\Download_C.bat
d) C:\program files\E-touch Jukebox\BrowseForFolder.vbs

Where :

a) DOWNLOAD.BAT
call "C:\program files\E-touch Jukebox\download_B.bat"
   
b) DOWNLOAD_B.BAT
@echo off
erase "C:\program files\e-touch jukebox\download\download.bat"
For /F "Tokens=1 Delims=" %%I In ('cscript //nologo BrowseFolder.vbs') Do Set _FolderName=%%I
pushd %_FolderName%
xcopy /Y "C:\program files\e-touch jukebox\download\*.*" /S /E
pushd C:\program files\e-touch jukebox\
del /q download /S
rd /q download /S
md Download
copy "Download_C.bat" "C:\program files\e-touch jukebox\download\Download.bat"

c) DOWNLOAD_C.BAT
call "C:\program files\E-touch Jukebox\download_B.bat"

d) BROWSEFOLDER.VBS
Const MY_COMPUTER = &H11&
Const WINDOW_HANDLE = 0
Const OPTIONS = 0

Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.Namespace(MY_COMPUTER)
Set objFolderItem = objFolder.Self
strPath = objFolderItem.Path

Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.BrowseForFolder _
(WINDOW_HANDLE, "Select a folder:", OPTIONS, strPath)
   
If objFolder Is Nothing Then
Wscript.Quit
End If

Set objFolderItem = objFolder.Self
objPath = objFolderItem.Path

Wscript.Echo objPath


                                                                                                good luck!!!!

Title: Re: Browse Folder Pop Up for Downloaded Tracks
Post by: fordman on December 27, 2009, 11:49:41 PM
Maybe I dont understand what exactlly this is for?  ??? ??? ???

Could you be more specific what or why anyone would need this?

???

Fordman
Title: Re: Browse Folder Pop Up for Downloaded Tracks
Post by: Hitbig on December 28, 2009, 12:05:38 AM
For example you have your mp3 device in g:\ drive and a USB in h:\ drive at the same time
This bat file permits you choose where to save , but not only external devices, anywhere
in your pc.

If you understand Browse for destination folder that will do the explanation.
Title: Re: Browse Destination Folder Pop Up for Downloaded Tracks
Post by: fordman on December 28, 2009, 12:25:31 AM
I guess I'm just clueless!  ??? ??? ???

???

Fordman
Title: Re: Browse Destination Folder Pop Up for Downloaded Tracks
Post by: Hitbig on December 28, 2009, 01:32:48 AM
Maybe I made a mistake.
Maybe I needed Barry's opinion before posting this topic.
Title: Re: Browse Destination Folder Pop Up for Downloaded Tracks
Post by: Barcrest on December 28, 2009, 01:41:04 AM
I see what your saying. When using the download.bat you version brings up a windows dialogue to allow you to specify the destination. Personally i think it could quite useful for some folks, thanks for sharing dude.
Title: Re: Browse Destination Folder Pop Up for Downloaded Tracks
Post by: fordman on December 28, 2009, 02:38:22 AM
So a box pops up asking for a directory to download your files? Is the box a windows box? If so, then I dont want it as I'm trying to hide the windows enviroment on my jukebox. Now if the box was from E-Touch asking me for a download location, then I would have a use for it.

Fordman
Title: Re: Browse Destination Folder Pop Up for Downloaded Tracks
Post by: Rob_Hendley on December 29, 2009, 06:02:58 PM
You could change the windows appearance and fonts to look like an e-touch popup window?
Title: Re: Browse Destination Folder Pop Up for Downloaded Tracks
Post by: Barcrest on December 29, 2009, 07:15:50 PM
Quote from: Rob_Hendley on December 29, 2009, 06:02:58 PM
You could change the windows appearance and fonts to look like an e-touch popup window?

Issue is it doesn't work in full screen. I didn't want a browser in E-touch due to the damage users might be able to do.
Title: Re: Browse Destination Folder Pop Up for Downloaded Tracks
Post by: Hitbig on December 29, 2009, 07:19:35 PM
That's really true



Maybe in V6 ;D
Things change.
You never know.
Never say never.
Title: Re: Browse Destination Folder Pop Up for Downloaded Tracks
Post by: Hitbig on December 31, 2009, 08:27:58 AM
I found a way.
When the windows dialog pop ups, changing the properties to "always on top" will make it. Only once, and works in IN FULL SCREEN too.


Still being a WINDOWS dialog...... :tommy  :tommy

Since I don't know how to upload jpg's I will send a mail.
Title: Re: Browse Destination Folder Pop Up for Downloaded Tracks
Post by: Shaggydo on January 02, 2010, 08:55:51 PM
Quote from: Hitbig on December 31, 2009, 08:27:58 AM
I found a way.
When the windows dialog pop ups, changing the properties to "always on top" will make it. Only once, and works in IN FULL SCREEN too.


Still being a WINDOWS dialog...... :tommy  :tommy

Since I don't know how to upload jpg's I will send a mail.

so what would be the final download bat?
Title: Re: Browse Destination Folder Pop Up for Downloaded Tracks
Post by: fordman on January 03, 2010, 02:28:15 AM
Quote from: abispac on January 02, 2010, 08:55:51 PM
Quote from: Hitbig on December 31, 2009, 08:27:58 AM
I found a way.
When the windows dialog pop ups, changing the properties to "always on top" will make it. Only once, and works in IN FULL SCREEN too.


Still being a WINDOWS dialog...... :tommy  :tommy

Since I don't know how to upload jpg's I will send a mail.

so what would be the final download bat?

See this thread: http://www.freeboxjukebox.com/Forum/index.php?topic=2035.0 (http://www.freeboxjukebox.com/Forum/index.php?topic=2035.0)

:beer

Fordman
Title: Re: Browse Destination Folder Pop Up for Downloaded Tracks
Post by: Hitbig on January 03, 2010, 08:27:17 AM
FINAL BAT FILES TO MOVE DOWLOADED TRACKS :

1) Like Fordman said, use thread below to move downloaded tracks and albums  when "your drive" (destination) is always the same e.g "g:\"
  http://www.freeboxjukebox.com/Forum/index.php?topic=2035.0
but anyways here's the (3) bat files for "your drive" always the same :

C:\program files\E-touch Jukebox\Download\download.bat
C:\program files\E-touch Jukebox\Download_B.bat
C:\program files\E-touch Jukebox\Download_C.bat

where :
Download.bat is :
call "C:\program files\E-touch Jukebox\download_B.bat"

Download_B.bat is :
@echo off
erase "C:\program files\e-touch jukebox\download\download.bat"
xcopy /Y "C:\program files\e-touch jukebox\download\*.*" /S /E "YourDrive:\"
pushd C:\program files\e-touch jukebox\
del /q download /S
rd /q download /S
md Download
copy "Download_C.bat" "C:\program files\e-touch jukebox\download\Download.bat"

Download_C.bat is :
call "C:\program files\E-touch Jukebox\download_B.bat"


2) If you want to have a dialog box (windows pop up) asking you for "destination"
   use bat files in my first post of this thread.


Just to avoid misunderstandings, from my side, there are  above two options only.  
Title: Re: Browse Destination Folder Pop Up for Downloaded Tracks
Post by: Shaggydo on January 04, 2010, 10:06:04 PM
one last question, how do you set the windows properties to always on top? i have tried on mine and i dont see an option for that... thanks
Title: Re: Browse Destination Folder Pop Up for Downloaded Tracks
Post by: Hitbig on January 04, 2010, 10:21:49 PM
did you try NOT IN FULL SCREEN first ????? is it working for you that way?????? just curios.
Title: Re: Browse Destination Folder Pop Up for Downloaded Tracks
Post by: Shaggydo on January 05, 2010, 08:50:44 PM
Quote from: Hitbig on January 04, 2010, 10:21:49 PM
did you try NOT IN FULL SCREEN first ????? is it working for you that way?????? just curios.
yeap, it works just wonder how do i put always on top for properties i dont see an option if i click on properties for the always on top...
Title: Re: Browse Destination Folder Pop Up for Downloaded Tracks
Post by: Rob_Hendley on January 05, 2010, 10:39:24 PM
To limit access you could setup the juke as a user account that only has access to folders such as d: or f: wherever the mp3 player will appear?

There is an entry in the windows registry for autologin which you can find by googling
Title: Re: Browse Destination Folder Pop Up for Downloaded Tracks
Post by: Hitbig on January 06, 2010, 09:03:18 PM
I think what Rob stated is unrelated to this topic. Sorry Rob.

for ABISPAC :
    I already modified my first post giving you an option to get "ALWAYS ON TOP" FEATURE.

Cheers.
Title: Re: Browse Destination Folder Pop Up for Downloaded Tracks
Post by: Rob_Hendley on January 07, 2010, 06:49:27 PM
Nah it's in response to the comments from 29th Dec commenting that users with browser access could do damage to the system.  However, you can setup a user account on windows "jukebox" for example and change the permissions so the user can only browser the directory of the MP3 player that has been attached.  You can then set up an autologin entry in the registry for seemless login to this account.

This topic is intended to give you a browse window when using the download function to transfer files to an MP3 player is it not?  Restricting access to drives would result in the user only being able to do damage to their own attached devices
Title: Re: Browse Destination Folder Pop Up for Downloaded Tracks
Post by: Hitbig on January 07, 2010, 06:56:51 PM
That's a good point!!!

I misunderstood at first.

Thanks.
Title: Re: Browse Destination Folder Pop Up for Downloaded Tracks
Post by: Hitbig on December 22, 2010, 06:25:32 AM
Quote from: fordman on December 28, 2009, 02:38:22 AM
So a box pops up asking for a directory to download your files? Is the box a windows box? If so, then I dont want it as I'm trying to hide the windows enviroment on my jukebox. Now if the box was from E-Touch asking me for a download location, then I would have a use for it.

Fordman

Fordman :
Have you ever tried windows blind?? They have thousands of masks. I've been trying some.
Windows Blind can be open and close thru the bat files anyways.
Title: Re: Browse Destination Folder Pop Up for Downloaded Tracks
Post by: Barcrest on December 22, 2010, 10:12:56 AM
Quote from: Hitbig on December 22, 2010, 06:25:32 AM
Quote from: fordman on December 28, 2009, 02:38:22 AM
So a box pops up asking for a directory to download your files? Is the box a windows box? If so, then I dont want it as I'm trying to hide the windows enviroment on my jukebox. Now if the box was from E-Touch asking me for a download location, then I would have a use for it.

Fordman

Fordman :
Have you ever try windows blind?? They have thousands of masks. I've been trying some.
Windows Blind can be open and close thru the bat files anyways.

Problem is it's a lot of code to add a box to freebox for a download location.
Title: Re: Browse Destination Folder Pop Up for Downloaded Tracks
Post by: Hitbig on December 22, 2010, 05:46:05 PM
Barry :
You don't need to code it.

It is just a suggestion if somebody do not like windows pop ups like Fordman, a way to change their appearance. Also there is a dialogs skin changer that I'm planning to use to create an E-Touch background, of course for personal use, and share if somebody is interested.

This can be applied at user criteria, sort of a plugin, and does not consume memory.

:o
Title: Re: Browse Destination Folder Pop Up for Downloaded Tracks
Post by: Hitbig on December 22, 2010, 06:19:38 PM
Here's a sample

(http://www.ppcomponents.com/hitbig/we%20no%20speak%20americano.JPG)