 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
ChalamiuS
Joined: 04 Jun 2006 Posts: 176 Location: ::1
|
Posted: Mon May 05, 2008 2:50 pm Post subject: ChalaDock |
|
|
Well I started this project because I was bored and finished it while being bored.
Anyway Download it, just take a look at the Screenshot or both
Please report any bugs you find
Changelog:
V 1.0.0.0 was never released.
V 1.0.0.1 Initial release
V 1.0.0.1 Fixed a few bugs in the gui system
V 1.0.0.2 Fixed the error and eliminated the need a reload
V 1.0.0.3 small and large bug fixes (Thanks to some people for pointing them out )
V 1.0.0.4 (Thanks to infogulch for helping me with the tooltip)
V 1.0.0.5 Added some features
V 1.0.0.6-1.0.0.8 Bugfixes...
V 1.1.0.0 BIIIIG Update fixed most of the bugs and I'm working on adding more features
Last edited by ChalamiuS on Wed Jul 01, 2009 10:59 pm; edited 22 times in total |
|
| Back to top |
|
 |
infogulch
Joined: 27 Mar 2008 Posts: 649
|
Posted: Mon May 05, 2008 3:57 pm Post subject: |
|
|
I found a bug: the link takes you to the File Manager web page instead of the script itself.
 _________________ Scripts - License
Last edited by infogulch on Mon May 05, 2008 4:41 pm; edited 1 time in total |
|
| Back to top |
|
 |
ChalamiuS
Joined: 04 Jun 2006 Posts: 176 Location: ::1
|
Posted: Mon May 05, 2008 4:30 pm Post subject: |
|
|
Sorry im a bit tired
Gonna Edit the first post
EDIT:
Now it should work |
|
| Back to top |
|
 |
wygd
Joined: 04 Nov 2007 Posts: 10
|
Posted: Tue May 06, 2008 1:24 am Post subject: |
|
|
When I drag the lnk to the Gui,It can work.But I use the button to slect the file,It can't work.
| Code: |
Browse:
FileSelectFile,FTA
GuiControl,, Path, %FTA%
Return
|
2.After I click the close button,I click again "add an Application".It will have a Error. |
|
| Back to top |
|
 |
ChalamiuS
Joined: 04 Jun 2006 Posts: 176 Location: ::1
|
Posted: Tue May 06, 2008 8:30 am Post subject: |
|
|
Seems like I accidentally uploaded the wrong one
My bad Fixed now |
|
| Back to top |
|
 |
ChalamiuS
Joined: 04 Jun 2006 Posts: 176 Location: ::1
|
Posted: Tue May 06, 2008 2:51 pm Post subject: |
|
|
| Those who use this script (if any please redownload the script as I fixed lots of smaller errors) |
|
| Back to top |
|
 |
infogulch
Joined: 27 Mar 2008 Posts: 649
|
Posted: Tue May 06, 2008 3:12 pm Post subject: |
|
|
This is cool! Thnx!
I had trouble with the ToolTip flashing though. May I suggest?: | Code: | GetMouseStats:
MouseGetPos, X,Y,W,C ;This is used to show the ToolTip
If (sX = X) AND (sY = Y)
return
IfInString, C, Static
{
If (X >= %GuiA% or X <= %GuiB%)
{
If (Y < 48)
{
StringTrimLeft,C,C,6
Msg := AppPath%C%
ToolTip, %Msg%
sX := X
sY := Y
}
}
}
Else
ToolTip
Return | It returns if the mouse hasn't moved, and turns off the tooltip using else instead of another timer.  _________________ Scripts - License |
|
| Back to top |
|
 |
ChalamiuS
Joined: 04 Jun 2006 Posts: 176 Location: ::1
|
Posted: Tue May 06, 2008 3:14 pm Post subject: |
|
|
Hmm That I didn't figure that one out by myself...
Might have something to do with me not paying attention to the tooltip
Anyway once again infogulch  |
|
| Back to top |
|
 |
infogulch
Joined: 27 Mar 2008 Posts: 649
|
Posted: Tue May 06, 2008 7:24 pm Post subject: |
|
|
Hi,
I made it so it fades out in 3 seconds if you don't have your mouse over it, and to pull it back up, move the mouse to the top 5 pixels of where the dock lies underneath.
| Code: | ;For the fade out of the dock, you'll need to comment or remove this line at the top:
;#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
;I suggest using the window id instead of the title in case of the rare instance where there
; are 2 windows of the same title. Add this after the loop that puts pictures in the gui:
; (~line 57 for me. I don't think I changed any lines above that)
Gui, 3: +LastFoundExist
WID := "ahk_id " . WinExist()
OverGui := A_TickCount
Faded = 0
;Instead of refrencing %W% use %WID%. This includes the "ahk_id" part, so no need to add it yourself
;Since it returns if the mouse hasn't moved you need to change the StartApp a tiny bit: (just noticed this :P)
StartApp:
Loop, Parse, AppPath%CRun%, |," ;"
Run := A_LoopField
Run,%Run%
Return
;The meat:
;Notice that the tooltips are all some weird number so it doesn't prevent all regular tooltips :P
GetMouseStats:
MouseGetPos, X,Y,W,C ;This is used to show the ToolTip
If (sX = X) AND (sY = Y) ;Cancel if the mouse hasn't moved
return
If Y < 48 ;I had to reorder all of the ifs
{
If X between %GuiA% and %GuiB% ;If var between is easier
{
OverGui := A_TickCount ;save the current time
If Y < 5 ;activate the gui if it's within 5px of the top
{
WinSet, AlwaysOnTop, On, %WID% ;move it to the top
Faded = 0
}
IfInString, C, Static
{
StringTrimLeft, CRun, C, 6
Msg := AppPath%CRun%
ToolTip, %Msg%,,, 11
sX := X
sY := Y
}
Else
ToolTip ,,,, 11
}
Else
ToolTip, ,,,11
}
Else
ToolTip, ,,,11
If (Faded = 0) AND (A_TickCount-OverGui > 3000)
{
FadeOut(WID, Alpha)
WinSet, AlwaysOnTop, Off, %WID%
WinSet, Bottom,, %WID%
WinSet, Transparent, %Alpha%, %WID%
Faded = 1
}
Return |
Sry ChalamiuS, I just can't help myself
Hope you like it  _________________ Scripts - License
Last edited by infogulch on Fri Dec 12, 2008 9:34 pm; edited 1 time in total |
|
| Back to top |
|
 |
ChalamiuS
Joined: 04 Jun 2006 Posts: 176 Location: ::1
|
Posted: Tue May 06, 2008 7:30 pm Post subject: |
|
|
are you trying to alter whole my script ?
I'll take look at it anyway infogulch
But I don't know if It'll be of use to me since im trying to make it use GDI+ because I want flashy effects  |
|
| Back to top |
|
 |
infogulch
Joined: 27 Mar 2008 Posts: 649
|
Posted: Tue May 06, 2008 8:19 pm Post subject: |
|
|
Sorry . . .
Thnx for looking tho.
Well imo, fading out and appearing when you want it sounds pretty flashy to me
Feature idea: right click context menu to remove an item or to move an item right or left. (I'll tell you this time ) and maybe a separator (like a menu separator, except vertical)
Thanks again for making this, it's really cool.  _________________ Scripts - License |
|
| Back to top |
|
 |
Guest
|
Posted: Fri Dec 12, 2008 9:17 pm Post subject: |
|
|
Can you:
# make it dock above the taskbar
# aute-hide downward (instead of upward) |
|
| Back to top |
|
 |
ChalamiuS
Joined: 04 Jun 2006 Posts: 176 Location: ::1
|
Posted: Fri Dec 12, 2008 9:28 pm Post subject: |
|
|
Well I can always modify it a bit so it fits your needs
However that's not likely to be done this weekend since I got some stuff I must do, anyway I'll try to get to it  |
|
| Back to top |
|
 |
Guest
|
Posted: Thu Jun 04, 2009 5:50 pm Post subject: |
|
|
| when the Count between 10-19, the last icon right menu is error. |
|
| Back to top |
|
 |
ChalamiuS
Joined: 04 Jun 2006 Posts: 176 Location: ::1
|
Posted: Thu Jun 04, 2009 6:08 pm Post subject: |
|
|
| Anonymous wrote: | | when the Count between 10-19, the last icon right menu is error. |
The issue has been resolved, now leave this project to die. |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|