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 

Search found 24 matches
AutoHotkey Community Forum Index
Author Message
  Topic: Problem with variables(?) - Works only outside a function
blehmeco

Replies: 27
Views: 742

PostForum: Ask for Help   Posted: Sat Dec 05, 2009 7:08 pm   Subject: Problem with variables(?) - Works only outside a function
Well, don't ask me why, but if i don't add that 2nd "WinHide" it fails 2 hide the taskbar&Start Button on 1st execution, it just "auto-hides" both instead... if i execute it 4 ...
  Topic: Problem with variables(?) - Works only outside a function
blehmeco

Replies: 27
Views: 742

PostForum: Ask for Help   Posted: Fri Dec 04, 2009 2:45 am   Subject: Problem with variables(?) - Works only outside a function
LOL! i did cross my fingers!Wink

your code addressed the "Always on top" problem very well, but it wouldn't hide the start button.
However by adding the following simplest of changes 2 ...
  Topic: Problem with variables(?) - Works only outside a function
blehmeco

Replies: 27
Views: 742

PostForum: Ask for Help   Posted: Wed Dec 02, 2009 3:12 pm   Subject: Problem with variables(?) - Works only outside a function
That is 100% correct!
  Topic: Problem with variables(?) - Works only outside a function
blehmeco

Replies: 27
Views: 742

PostForum: Ask for Help   Posted: Tue Dec 01, 2009 6:39 pm   Subject: Problem with variables(?) - Works only outside a function
Tried your code but it does not hide the start button, and it does not work after executing the file once...

this works:

#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%

#NoTrayIcon
#Sing ...
  Topic: Problem with variables(?) - Works only outside a function
blehmeco

Replies: 27
Views: 742

PostForum: Ask for Help   Posted: Tue Dec 01, 2009 4:29 am   Subject: Problem with variables(?) - Works only outside a function
I see the stuff you posted do work 4 me 2! (the other way of getting the state of the taskbar)

With your help i got the script hiding the taskbar the 1st time it was executed, but not the next time ...
  Topic: Problem with variables(?) - Works only outside a function
blehmeco

Replies: 27
Views: 742

PostForum: Ask for Help   Posted: Tue Dec 01, 2009 3:29 am   Subject: Problem with variables(?) - Works only outside a function
i'm using Windows Vista Home Premium SP2...
  Topic: Problem with variables(?) - Works only outside a function
blehmeco

Replies: 27
Views: 742

PostForum: Ask for Help   Posted: Mon Nov 30, 2009 12:30 pm   Subject: Problem with variables(?) - Works only outside a function
Hey a_h_k!
i know you said you already tried this and all, but, hey!just trying 2 retribute something here!Very Happy
Hope i'm not misunderstanding what you want 2 do, but, are sure this doesn't work?:

...
  Topic: Problem with variables(?) - Works only outside a function
blehmeco

Replies: 27
Views: 742

PostForum: Ask for Help   Posted: Sat Nov 28, 2009 6:34 am   Subject: Problem with variables(?) - Works only outside a function
Hey!sorry i took soooo long replying...

Anyways, yup! both of your code examples work seamlessly which is great! thanks a_h_k !

Later i've come up with this somewhat simpler solution (do let me ...
  Topic: Problem with variables(?) - Works only outside a function
blehmeco

Replies: 27
Views: 742

PostForum: Ask for Help   Posted: Sat Nov 21, 2009 11:47 pm   Subject: Problem with variables(?) - Works only outside a function
Hey guys!

Just 2 more questions...

1 - say i wana use the code by a_h_k and compile it 2 create an executable file that whenever executed Hides the taskbar, then, when executed a 2nd time shows ...
  Topic: Problem with variables(?) - Works only outside a function
blehmeco

Replies: 27
Views: 742

PostForum: Ask for Help   Posted: Sat Nov 21, 2009 9:02 pm   Subject: Problem with variables(?) - Works only outside a function
Now that's exactly what I was talking about b4!
That is fantastic a_h_k ! Really is!

Already tried that idea and it surely works as it should... flawlessly!

Seems I still have a long way 2 go 2 ...
  Topic: Problem with variables(?) - Works only outside a function
blehmeco

Replies: 27
Views: 742

PostForum: Ask for Help   Posted: Sat Nov 21, 2009 6:31 am   Subject: Problem with variables(?) - Works only outside a function
Thanks again!

What i meant 2 ask was if there was a way of including th "x=1" 1st line in script after the "+<::", not split it into 1 hotkey 2 hide it and another hotkey 2 s ...
  Topic: Need postmessage for Windows Media Player buttons.
blehmeco

Replies: 13
Views: 344

PostForum: Ask for Help   Posted: Sat Nov 21, 2009 6:10 am   Subject: Need postmessage for Windows Media Player buttons.
Glad that helped! Wink


Cheers!
  Topic: Problem with variables(?) - Works only outside a function
blehmeco

Replies: 27
Views: 742

PostForum: Ask for Help   Posted: Sat Nov 21, 2009 6:07 am   Subject: Problem with variables(?) - Works only outside a function
Absolutely!! It does work! Very Happy

Only now did i realize that everything that is placed b4 the hotkey is performed only once, when you start the *.ahk file, and, never again, even if you press the hotk ...
  Topic: Need postmessage for Windows Media Player buttons.
blehmeco

Replies: 13
Views: 344

PostForum: Ask for Help   Posted: Sat Nov 21, 2009 5:41 am   Subject: Need postmessage for Windows Media Player buttons.
Ok, don't want 2 b 2 basic here, but, have you tried this:

SendInput, {Media_Play_Pause}


Or if you that's not want that, you could check this fantastic thread by jballi and try some ...
  Topic: Problem with variables(?) - Works only outside a function
blehmeco

Replies: 27
Views: 742

PostForum: Ask for Help   Posted: Sat Nov 21, 2009 5:28 am   Subject: Problem with variables(?) - Works only outside a function
Hey there!

So, can anybody explain to me:

#1 - why this next bit of script works if you press the hotkey repeatedly (what it does: effectively hides the taskbar on 1st and press and on 2nd press ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group