AutoHotkey Community

It is currently May 26th, 2012, 7:21 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 19 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: ChalaDock
PostPosted: May 5th, 2008, 3:50 pm 
Offline

Joined: June 4th, 2006, 2:04 pm
Posts: 176
Location: ::1
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 :lol:

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 :roll: (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 July 1st, 2009, 11:59 pm, edited 22 times in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 5th, 2008, 4:57 pm 
Online

Joined: March 27th, 2008, 2:14 pm
Posts: 700
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 May 5th, 2008, 5:41 pm, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 5th, 2008, 5:30 pm 
Offline

Joined: June 4th, 2006, 2:04 pm
Posts: 176
Location: ::1
Sorry im a bit tired :lol:
Gonna Edit the first post :wink:

EDIT:
Now it should work


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 6th, 2008, 2:24 am 
Offline

Joined: November 4th, 2007, 5:48 pm
Posts: 10
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 6th, 2008, 9:30 am 
Offline

Joined: June 4th, 2006, 2:04 pm
Posts: 176
Location: ::1
Seems like I accidentally uploaded the wrong one :lol:

My bad :wink: Fixed now


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 6th, 2008, 3:51 pm 
Offline

Joined: June 4th, 2006, 2:04 pm
Posts: 176
Location: ::1
Those who use this script (if any please redownload the script as I fixed lots of smaller errors)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 6th, 2008, 4:12 pm 
Online

Joined: March 27th, 2008, 2:14 pm
Posts: 700
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. :D

_________________
Scripts - License


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 6th, 2008, 4:14 pm 
Offline

Joined: June 4th, 2006, 2:04 pm
Posts: 176
Location: ::1
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:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 6th, 2008, 8:24 pm 
Online

Joined: March 27th, 2008, 2:14 pm
Posts: 700
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 8) :roll:
Hope you like it :)

_________________
Scripts - License


Last edited by infogulch on December 12th, 2008, 10:34 pm, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 6th, 2008, 8:30 pm 
Offline

Joined: June 4th, 2006, 2:04 pm
Posts: 176
Location: ::1
:shock: are you trying to alter whole my script ? :lol:

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 :D


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 6th, 2008, 9:19 pm 
Online

Joined: March 27th, 2008, 2:14 pm
Posts: 700
Sorry :oops: . . . ;) :P :lol:
Thnx for looking tho. :)
Well imo, fading out and appearing when you want it sounds pretty flashy to me ;) :D

Feature idea: right click context menu to remove an item or to move an item right or left. (I'll tell you this time :P) and maybe a separator (like a menu separator, except vertical)
Thanks again for making this, it's really cool. :D

_________________
Scripts - License


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 12th, 2008, 10:17 pm 
Can you:
# make it dock above the taskbar
# aute-hide downward (instead of upward)


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: December 12th, 2008, 10:28 pm 
Offline

Joined: June 4th, 2006, 2:04 pm
Posts: 176
Location: ::1
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 :wink:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 4th, 2009, 6:50 pm 
when the Count between 10-19, the last icon right menu is error.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: June 4th, 2009, 7:08 pm 
Offline

Joined: June 4th, 2006, 2:04 pm
Posts: 176
Location: ::1
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.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ]  Go to page 1, 2  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Scratch, Xx7 and 18 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group