Sign in to follow this  
Followers 0
dexto

Folder I Play

14 posts in this topic

I hope you guys that like it improve it so we all can enjoy it.

Basically its turning a folder into a music player.

Supports: mp3, wma, wav, wmv.

Shortcuts:

Multimedia keyboard: Stop, Back, Forward, Play.

PageDown - play random song.

[End] - Exit

I hope you can help me improve it.

Posted Image

Code and everything:

http://tort.selfip.com:8/FolderIPlay.zip

Try it:

http://tort.selfip.com:8/FolderIPlay.exe

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

It looks interesting but when running the source it complains about missing mylib.au3

Edit: But the exe looks good, it needs some ironing out but it is a good start.

Edited by AdmiralAlkex

Share this post


Link to post
Share on other sites

It looks interesting but when running the source it complains about missing mylib.au3

yeah its missing from the zip.

#include "P:\Desktop\Projects\!AU3\mylib.au3"

Share this post


Link to post
Share on other sites

oki, updated :)

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

Everytime I cliked on a folder I get the message "Not a folder" ??

Win vista 64 Bit

Edited by nend

Share this post


Link to post
Share on other sites

I have no way to test Vista more so 64. My guess is that the more complex dll calls that return the address of the folder window focused are not working on vista (not surprised).

The part that is not working for vista is "getexplorerpath.au3" (most probably)

Share this post


Link to post
Share on other sites

so, what do you think guys?

Share this post


Link to post
Share on other sites

It looks good :) Only thing is, that the GUI shows up above my minimize button (using Vista-Style for XP) and i think, there should be an option to exit the Player without the explorer.


*GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes

Share this post


Link to post
Share on other sites

Anyone know if it would be possible to inject toolbar or buttons into explorer GUI?

@ProgAndy

As far a GUI i want to replace it entirely, so it will be using GUI of the explorer to handle controls. (dono how that will work yet)

Its hard otherwise to predict all positions and styles for windows GUI.

Exiting can be done without the closing the folder with hotkey: [END]

@Godly

To tell the truth i dono how to minimize whole folder to tray... :S

Share this post


Link to post
Share on other sites

#11 ·  Posted (edited)

@dexto - this is not a bad concept, though I don't have much time to check it out properly at the moment.

A few suggestions come to mind though -

1) I really think that all buttons should be on the menu line (i.e. where you currently have the slider), as window titles can be quite long. You could also have an option to make it a floating toolbar (especially if the window is very small, and which should occur automatically if shrunk). EDIT: Actually it is a pity, that Microsoft didn't implement simple controls like yours in the 'Music Tasks' pane of a folder (XP) - that would be the ideal spot for them ... with maybe a link/button to show a media detail folder view like yours.

2) I personally think that the track title, rather than filename, should be displayed in the 'Name' column. Maybe have another column to display filename &/or filetype.

I suggest you search the forum for minimize to tray code ... I've certainly seen it posted a few times.

Edited by TheSaint

AutoIt.4.Life Clubrooms - Life is like a Donut (secret key)

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

Spoiler

What is the Secret Key? Life is like a Donut

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

Share this post


Link to post
Share on other sites

@TheSaint

That is exactly what i was thinking about Explorer... :-/

So.. I'm trying to rewrite the GUI. Hopefully it can fully integrate into the folders GUI as a ToolBar! :)

so far I got:

;[CLASS:ToolbarWindow32; INSTANCE:3]
$hReBar = ControlGetHandle($hwnd, '', '[CLASS:ReBarWindow32; INSTANCE:1]')

$hToolbar = _GUICtrlToolbar_Create($hwnd, BitOR($BTNS_BUTTON, $TBSTYLE_FLAT, $CCS_NORESIZE));, $CCS_NOPARENTALIGN

$b_play = _GDIPlus_BitmapCreateFromFile($p_play)
$b_stop = _GDIPlus_BitmapCreateFromFile($p_stop)


_GUICtrlToolbar_AddBitmap($hToolbar, 1, -1, $IDB_VIEW_SMALL_COLOR)
_GUICtrlToolbar_AddButton($hToolbar, 1000, $b_play, 0, $BTNS_BUTTON)
_GUICtrlToolbar_AddButton($hToolbar, 1001, $b_stop)


_GUICtrlRebar_AddToolBarBand($hReBar, $hToolbar, '', 1)

_GUICtrlRebar_SetBandLength($hReBar, 1, 250)
_GUICtrlRebar_SetBandLength($hReBar, 0, 250)

The problems am stuck at right now is:

-bitmap Buttons from .bmp file?

-get the tool bar background standard color

Posted Image

Share this post


Link to post
Share on other sites

dexto thanks you for prog. this program ,to put the volume button ,how is it ,but good program

good job

Share this post


Link to post
Share on other sites

I'm glad you liked it.

I'll try to put some volume control in old GUI when I get frustrated enough with making tool bar work.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0