AutoHotkey Community

It is currently May 27th, 2012, 4:02 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 13 posts ] 
Author Message
PostPosted: October 26th, 2008, 3:47 am 
I am trying to get the program RocketDock http://rocketdock.com/ to run on top of vista's taskbar. http://img395.imageshack.us/my.php?image=taskbarsampleen7.jpg I have done this by going into the taskbar properties and telling it not to keep itself on top of other applications and having RocketDock set to stay on top. This method works fine until I maximize a window then the window covers the entire screen. I want to be able to see the taskbar and RocketDock while an window is maximized. Any suggestions? (I've tried DesktopCoral but I'm sure there is a much easier method)


Report this post
Top
  
Reply with quote  
 Post subject: If it helps
PostPosted: October 26th, 2008, 3:53 am 
I used
Code:
WinGetPos X, Y, W, H, ahk_class Shell_TrayWnd
MsgBox [%X%], [%Y%], [%W%], [%H%]
to find out my taskbar's size: [0], [740], [1280], [60]


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: May 6th, 2009, 9:54 am 
Offline

Joined: January 17th, 2009, 9:36 am
Posts: 2
Hey. i do have the same problem now: rocketdock on top of taskbar

back in windows xp i was able to achieve this effect using the following script:

Code:
Process, Exist
WinGet, hw_gui, ID, ahk_class ROCKETDOCK

hw_tray := DllCall( "FindWindowEx", "uint", 0, "uint", 0, "str", "Shell_TrayWnd", "uint", 0 )
DllCall( "SetParent", "uint", hw_gui, "uint", hw_tray )

return


it was working very well until i moved to Windows 7 yesterday.
the script still makes a difference. if i execute it, rocketdock still reacts, but is behind the taskbar. if i don't execute it, it doesn't react at all and is behind the taskbar.

any ideas?

thx


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 16th, 2009, 1:46 am 
Offline

Joined: January 21st, 2009, 5:49 pm
Posts: 176
Since there are RocketDock users on this thread can I poke in a question? Anyone know how to reverse the icon order on RocketDock? If I change RocketDock position from Top/Bottom to Left/Right, the order of icons is the exact opposite of what I want. The leftmost icon when it's horizontal, is the topmost when vertical. This makes me mouse way up the screen to click on the most used icons. It would be great if there was an icon flipper or some way to set the icon order the opposite way when changing orientation. Some way other than manually rearranging I mean.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: rocketdock
PostPosted: April 18th, 2011, 11:25 pm 
ok: hello everybody, i'm 100% new to scripting and i've just ran into this script that allows you to put rocketdock into the taskbar, but i dont know where to write it .. i'm also new to this site, and dont quite have the time now to search for a tutorial, could you please link it to me, or explain it here?
thx a lot :D and hope this is a great site in which i can learn something new .. cheers
p.s. do i have to present my self? My name is Sebastian


Report this post
Top
  
Reply with quote  
 Post subject: Re: rocketdock
PostPosted: April 19th, 2011, 12:29 am 
Offline
User avatar

Joined: May 18th, 2010, 3:10 pm
Posts: 1179
Location: Sweden
NewBoy wrote:
ok: hello everybody, i'm 100% new to scripting and i've just ran into this script that allows you to put rocketdock into the taskbar, but i dont know where to write it .. i'm also new to this site, and dont quite have the time now to search for a tutorial, could you please link it to me, or explain it here?
thx a lot :D and hope this is a great site in which i can learn something new .. cheers
p.s. do i have to present my self? My name is Sebastian


Download AHK_L: [Downloads]

Create a file with the ending .ahk.

You can now run that file (or compile it). As long as the script is running, the effect should be achieved. When the script exits, I don't know what happens.

Are you using the script linked in this thread? I must say that RocketDock ontop of taskbar sounds like an interesting thing to use. <3 RocketDock.

Oh, and "Hi Sebastian", glad you introduced yourself too :)

_________________
~sumon Appifyer AHK Nova halted Recommended: AHK_L (Why?)


Report this post
Top
 Profile  
Reply with quote  
 Post subject: O.O
PostPosted: April 19th, 2011, 1:51 pm 
OK, thx sumon :D i've download the program and looking at it, it reply once more if i understand how to use it or not.. wish me good luck :D
:( nothing, i don't understand a c'+p of this ... is there any tutorial for this script? or a video?
i'll try again to understand this .. thx again sumon for replying after 3 years from this post ( HOLLY CRAP 3 YEARS!!! xDXDXD)


Report this post
Top
  
Reply with quote  
 Post subject: :(
PostPosted: April 20th, 2011, 9:53 am 
ok, i've maneged (srry for the spelling xD) to create the new file, and write the script, i've runned it, and i've copiled it too, and still nothing, the rocketdock is in the same place as usual, even after reboot ... could you try the script and tell if it's wrong, or i'm doing something wrong? thx a lot


Report this post
Top
  
Reply with quote  
 Post subject: HURRAI!!
PostPosted: April 20th, 2011, 10:00 am 
i've did it .. ok, the result dont look like in the screenshot, but, it work .. thx a lot autohotkey <3 ... i'll look around for other cool scripts :P


Report this post
Top
  
Reply with quote  
 Post subject: other approaches
PostPosted: May 30th, 2011, 10:56 pm 
Offline

Joined: January 21st, 2009, 5:49 pm
Posts: 176
I've been toying with several other approaches as I use RocketDock also. One is avoiding Maximize by instead using a utility I wrote called Toggle2.

http://www.favessoft.com/hotkeys.html

Basically you set 2 different non-maximized screen positions and sizes for an application window. The Toggle2 hotkey switches between them. Scripting.Dictionary is used and serialized to save the application window info between runs.

Another approach is DesktopCoral. Although I'm not sure if it works with RocketDock specifically but the idea is to prevent window maximize from covering a portion of the screen. (This is not mine but written by Mouser of DonationCoder.com. Even though it says "donation" you can get a 6 month license key for free just by clicking a button on the site.)

http://www.donationcoder.com/forum/index.php?board=28.0

Also I have a couple of other hotkey utilities that open Explorer windows and tile them leaving a margin next to the task bar. The margin can be up to 25% of the width or height of the screen. It's automatically set next to the task bar(task bar must be set to StayOnTop or get work area API won't return the correct info, just desktop resolution.) This utility is called Fold and also can be downloaded here:

http://www.favessoft.com/hotkeys.html

It's a command line to open a file with a set of folders. It works great with QTTabBar on Windows Seven.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: MaxaMiser 1.0
PostPosted: June 2nd, 2011, 3:42 am 
Offline

Joined: January 21st, 2009, 5:49 pm
Posts: 176
I stopped using Toggle2 myself since it's a bit complicated. I just wrote a simpler hotkey. It's called MaxaMiser.

It works with the active window. If the active window is truly maximized, it does nothing. This is to avoid confusing the window state tracked by the OS. Otherwise it saves the current position and size. Then it "MaxaMises" the window, meaning it leaves a gap by the TaskBar.

The gap is adjustable via .ini file.
Only supports single monitor setups.
But it is a solution to a thorny problem without being intrusive.

The window sizes and positions are saved in an array while the app is running in the Tray. The info is discarded on exit.

If you have a zillion window positions saved and notice TM saying it's eating all the ram then just kill and restart. It uses Scripting.Dictionary.

You should be able to save quite a few window positions without using all that much memory.

On certain functions it calls EmptyWorkingSet() API to dump what it doesn't need just sitting in the tray.

You can download from my hotkeys page. Note that I'm on an Apache server and Linux filenames and paths are case sesitive. "maxamiser.zip" won't work. Has to be "MaxaMiser.zip" etc..

I got too into it too deep to change all the stuff to lower case before I realized I was dealing with a Linux host. Oh well. :)

Just search for the link on this page:

http://www.favessoft.com/hotkeys.html

If you find a bug there's a contact button on the site.

Note that for applications it gets the exe path then uses the base name, notepad for notepad.exe etc.. as the key in the array. For Explorer windows it tacks the Title onto "Explorer_" so C:\ would yield something like "Explorer_C:\" as the key. If you have multiple views of "C:\" then the position will be overwritten. It's just a little hack after all. Also if it's not saving Explorer positions try enabling the option "show full path in title bar" for Explorer view options.

Free for you to use at your own risk. I hope you enjoy being able to MaxaMise windows without covering RocketDock. :)

Edit: Version 1.1 For those who hate to take their hands off the mouse, I added a "Use Alt Middle Mouse Click" option to the tray menu.

Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject: MaxaMiser 1.3
PostPosted: June 2nd, 2011, 8:59 pm 
Offline

Joined: January 21st, 2009, 5:49 pm
Posts: 176
Yet another update. V. 1.3

Now Restores a truly maximized window. Also if active window position happens to be the same as the "MaxaMised" position, with no previous position or size info, it is centered at about 70% desktop size.


Report this post
Top
 Profile  
Reply with quote  
PostPosted: June 5th, 2011, 2:06 am 
Offline

Joined: January 21st, 2009, 5:49 pm
Posts: 176
I updated FolderCache utility to accommodate RocketDock or other ToolBar next to TaskBar. Here's a screen shot of 8 folders opened Side By Side with FolderCache:

http://www.favessoft.com/DesktopSmall.png

You can download from my page here:
http://www.favessoft.com/hotkeys.html

It's free for you to use at your own risk. Should work on XP or later. The glass effects require Vista or later.

_________________
"I don't want to belong to any club that would have me as a member."
- Groucho Marx


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: Leef_me, rbrtryn, Yahoo [Bot] and 52 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