AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ChalaDock
Goto page 1, 2  Next
 
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
ChalamiuS



Joined: 04 Jun 2006
Posts: 176
Location: ::1

PostPosted: Mon May 05, 2008 2:50 pm    Post subject: ChalaDock Reply with quote

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 Laughing

Please report any bugs you find Wink


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 Rolling Eyes (Thanks to some people for pointing them out Wink )
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
View user's profile Send private message
infogulch



Joined: 27 Mar 2008
Posts: 649

PostPosted: Mon May 05, 2008 3:57 pm    Post subject: Reply with quote

I found a bug: the link takes you to the File Manager web page instead of the script itself.
Wink Wink
_________________
Scripts - License


Last edited by infogulch on Mon May 05, 2008 4:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
ChalamiuS



Joined: 04 Jun 2006
Posts: 176
Location: ::1

PostPosted: Mon May 05, 2008 4:30 pm    Post subject: Reply with quote

Sorry im a bit tired Laughing
Gonna Edit the first post Wink

EDIT:
Now it should work
Back to top
View user's profile Send private message
wygd



Joined: 04 Nov 2007
Posts: 10

PostPosted: Tue May 06, 2008 1:24 am    Post subject: Reply with quote

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
View user's profile Send private message
ChalamiuS



Joined: 04 Jun 2006
Posts: 176
Location: ::1

PostPosted: Tue May 06, 2008 8:30 am    Post subject: Reply with quote

Seems like I accidentally uploaded the wrong one Laughing

My bad Wink Fixed now
Back to top
View user's profile Send private message
ChalamiuS



Joined: 04 Jun 2006
Posts: 176
Location: ::1

PostPosted: Tue May 06, 2008 2:51 pm    Post subject: Reply with quote

Those who use this script (if any please redownload the script as I fixed lots of smaller errors)
Back to top
View user's profile Send private message
infogulch



Joined: 27 Mar 2008
Posts: 649

PostPosted: Tue May 06, 2008 3:12 pm    Post subject: Reply with quote

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. Very Happy
_________________
Scripts - License
Back to top
View user's profile Send private message
ChalamiuS



Joined: 04 Jun 2006
Posts: 176
Location: ::1

PostPosted: Tue May 06, 2008 3:14 pm    Post subject: Reply with quote

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 Wink
Back to top
View user's profile Send private message
infogulch



Joined: 27 Mar 2008
Posts: 649

PostPosted: Tue May 06, 2008 7:24 pm    Post subject: Reply with quote

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 Cool Rolling Eyes
Hope you like it Smile
_________________
Scripts - License


Last edited by infogulch on Fri Dec 12, 2008 9:34 pm; edited 1 time in total
Back to top
View user's profile Send private message
ChalamiuS



Joined: 04 Jun 2006
Posts: 176
Location: ::1

PostPosted: Tue May 06, 2008 7:30 pm    Post subject: Reply with quote

Shocked are you trying to alter whole my script ? Laughing

I'll take look at it anyway infogulch Wink
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 Very Happy
Back to top
View user's profile Send private message
infogulch



Joined: 27 Mar 2008
Posts: 649

PostPosted: Tue May 06, 2008 8:19 pm    Post subject: Reply with quote

Sorry Embarassed . . . Wink Razz Laughing
Thnx for looking tho. Smile
Well imo, fading out and appearing when you want it sounds pretty flashy to me Wink Very Happy

Feature idea: right click context menu to remove an item or to move an item right or left. (I'll tell you this time Razz) and maybe a separator (like a menu separator, except vertical)
Thanks again for making this, it's really cool. Very Happy
_________________
Scripts - License
Back to top
View user's profile Send private message
Guest






PostPosted: Fri Dec 12, 2008 9:17 pm    Post subject: Reply with quote

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

PostPosted: Fri Dec 12, 2008 9:28 pm    Post subject: Reply with quote

Well I can always modify it a bit so it fits your needs Smile
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 Wink
Back to top
View user's profile Send private message
Guest






PostPosted: Thu Jun 04, 2009 5:50 pm    Post subject: Reply with quote

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

PostPosted: Thu Jun 04, 2009 6:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group