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 

[module] Appbar 0.91

 
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
majkinetor



Joined: 24 May 2006
Posts: 4511
Location: Belgrade

PostPosted: Wed Sep 09, 2009 1:20 pm    Post subject: [module] Appbar 0.91 Reply with quote



Notes

  • Taskbar.ahk recreates WIndows Taskbar in pure AHK. It uses number of other modules and shows how everything can work together nicely. Some of the modules are Tray, Rebar, Toolbar, Win, Shell, COM etc... Everything is done in less then 200 lines of code.
  • Known bug: With multiple ontop appbars, the shell will overlap some of them and that depends on the creation order. See _TestMultiple.ahk sample for demonstration. Change the order of creation to see this in effect. I didn't yet implement shell notifications to the appbar. This is, however, concern only if you are using several pinned bars.
  • Known bug: When using 3td party windows as Appbars, animation may be jurky deppending on your system and its settings. This is limitation of WinAnimate function. In the future, this function might be replaced with custom AHK solution.

_________________


Last edited by majkinetor on Tue Jan 05, 2010 1:09 pm; edited 10 times in total
Back to top
View user's profile Send private message
majkinetor



Joined: 24 May 2006
Posts: 4511
Location: Belgrade

PostPosted: Fri Sep 11, 2009 8:15 am    Post subject: Reply with quote

v091

- Removed dependency on Win.ahk
- Taskbar sample updated with latest Tray module to allow tray icon clicking.
- Screenshot added.
_________________
Back to top
View user's profile Send private message
lilalurl.T32



Joined: 17 May 2007
Posts: 391
Location: Titan

PostPosted: Sat Sep 12, 2009 10:11 pm    Post subject: Reply with quote

Interesting idea.

Quickly tested it and have one issue with the quicklaunch area: icons are misplaced (a bit as if it was on a +1 index).



The first button (which is the Desktop button in the Windows taskbar) here has the Firefox icon. However, it is the correct button (it shows the desktop) and the tooltip when hovering above it is correct.

The second button has no icon, but it launches Firefox correctly (and has a correct tooltip).

XP SP3, French version.
________
Iolite Portable Vaporizer


Last edited by lilalurl.T32 on Sun Mar 13, 2011 6:44 am; edited 1 time in total
Back to top
View user's profile Send private message
majkinetor



Joined: 24 May 2006
Posts: 4511
Location: Belgrade

PostPosted: Sun Sep 13, 2009 8:01 am    Post subject: Reply with quote

The most definitely grabbing the icon for the desktop shortcut failed so icon isn't added into IL, and thats why its moved by 1. Its the problem of the sample, not Appbar itself.

Keep in mind tha Taskbar was only funny way to show what Appbar is. I realised I have all necessary modules to quickly write it, plus that was s good test of all of them.

Appbar itself is simply a blank window (see other example) that you can make look like anything you like.

This module should replace all so called ahk docks with solution that is system preferred way to do such thing.
_________________


Last edited by majkinetor on Wed Sep 16, 2009 9:44 am; edited 1 time in total
Back to top
View user's profile Send private message
shajul



Joined: 15 Sep 2006
Posts: 564

PostPosted: Mon Sep 14, 2009 11:47 am    Post subject: Wow! Reply with quote

Wow!! wonderful!
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
majkinetor



Joined: 24 May 2006
Posts: 4511
Location: Belgrade

PostPosted: Wed Sep 16, 2009 1:55 pm    Post subject: Reply with quote

- Added _DebugView.ahk sample which shows how to set up DebugView on the right side of the screen with AutoHide parameter. When you need it, you can position mouse in its hot area to show it. Activate it to keep it from autohiding. You can change parameters the way you want inside the script. It even makes sense to remove AutoHide when you want to always show DebugView without it overlapping with other windows , or other windows going in the back of it. If you have problem with autohide animation let me know. AnimateWindow function is not designed to be used with 3td party windows.
_________________
Back to top
View user's profile Send private message
majkinetor



Joined: 24 May 2006
Posts: 4511
Location: Belgrade

PostPosted: Tue Jan 05, 2010 1:07 pm    Post subject: Reply with quote

Due to the interest in that topic I updated the documentation of SetTaskBar to include hotkey that changes the state of the taskbar (enable/disable, autohide etc...) in reliable manner.
_________________
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
Page 1 of 1

 
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