AutoHotkey Community

It is currently May 26th, 2012, 12:18 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: September 7th, 2008, 11:25 pm 
Offline

Joined: December 19th, 2006, 2:17 pm
Posts: 164
When I press #d I go to the desktop - and the active window is the WorkerW.
If I use a hotkey like :

^f::Send #d

the last active window stays active (most of the time) (Why ?)

So, how can I send a #d ?
Is there a way to use SendMessage ?

WinActivate ahk_class WorkerW ;activates Shell_TrayWnd
WinActivate ahk_class Progman ;doesn't actually show the desktop which does nevertheless get keyboard focus

I used
Send, {RWin down}d{RWin up}

and it works (but why ?)

NB : I have no WinKey on my (laptop) keypad but I don't think it matters. I use either a utility that came with my laptop to set RAlt::Rwin or autohotkey itself and it's the same.

_________________
XP SP3 Pro x32 / 7 x64 Pro - AHK 1.0.48.05


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 12th, 2008, 2:20 am 
Offline

Joined: December 19th, 2006, 2:17 pm
Posts: 164
Another one :

#f:: PostMessage, 0x111, 41525, 0, , ahk_class ExploreWClass

This toggles folder view in ExploreWClass, and as an added bonus flashes open the Start menu (which stays open). Why ?

_________________
XP SP3 Pro x32 / 7 x64 Pro - AHK 1.0.48.05


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 12th, 2008, 3:21 am 
Offline

Joined: May 28th, 2008, 2:11 am
Posts: 739
Location: Minnesota, USA
don't have either of these problems on win2k

_________________
Unless otherwise stated, all code is untested

(\__/) This is Bunny.
(='.'=) Cut, copy, and paste bunny onto your sig.
(")_(") Help Bunny gain World Domination.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 15th, 2008, 7:31 am 
Offline

Joined: February 17th, 2008, 3:27 am
Posts: 24
Location: CHINA
Quote:
^f::Send #d

the last active window stays active (most of the time) (Why ?)


:shock: mine is XpSp3

I have Win key in my keyboard.

And Seems OK...

_________________
喜欢看中文的可以来 AutoHotkey 爱好者论坛 : forum.ahkbbs.cn | ahk.5d6d.com


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: BrandonHotkey, kkkddd1, Morpheus, RUBn, SKAN, sks, StepO and 20 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