AutoHotkey Community

It is currently May 26th, 2012, 10:44 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: [module] Appbar 0.91
PostPosted: September 9th, 2009, 2:20 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade

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.

_________________
Image


Last edited by majkinetor on January 5th, 2010, 2:09 pm, edited 10 times in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 11th, 2009, 9:15 am 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
v091

- Removed dependency on Win.ahk
- Taskbar sample updated with latest Tray module to allow tray icon clicking.
- Screenshot added.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 12th, 2009, 11:11 pm 
Offline

Joined: May 17th, 2007, 6:03 pm
Posts: 391
Location: Titan
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).

Image

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 March 13th, 2011, 7:44 am, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 13th, 2009, 9:01 am 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
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.

_________________
Image


Last edited by majkinetor on September 16th, 2009, 10:44 am, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject: Wow!
PostPosted: September 14th, 2009, 12:47 pm 
Offline

Joined: September 15th, 2006, 10:25 am
Posts: 567
Wow!! wonderful!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 16th, 2009, 2:55 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
- 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.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 5th, 2010, 2:07 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
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.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: jrav and 15 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