AutoHotkey Community

It is currently May 26th, 2012, 11:58 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: September 30th, 2009, 11:39 pm 
Offline

Joined: May 1st, 2009, 10:49 pm
Posts: 1
Hi.

ich habe einsehr kurzes Script geschrieben, dass aber seine Aufgabe erfüllt. Einzig die Tatsache, dass ich die GUI in der Taskleiste habe, nervt mich total. Wie kann ich das abschalten, sodass ich nur auf Minimieren drücken brauch, damit sich das Fenster in als SysTray-Icon minimiert.

Also nochmal mein Anliegen in Kurzformat: "Bei GUI Taskbar-Button ausblenden...".

Ich habs bereits mit
Code:
gui, +taskbar
versucht, aber das ging nicht.

Code:
Gui, Add, CheckBox, x26 y30 w100 h40, Allow Fritz to ShutDown 
Gui, Add, CheckBox, x186 y30 w100 h40, Allow Franz to ShutDown
Gui, Add, GroupBox, x16 y10 w120 h70 , Franz
Gui, Add, GroupBox, x176 y10 w120 h70 , Fritz
Gui, Show, x131 y91 h117 w324, New GUI Window
;Gui, +Taskbar ; Geht nicht:-(
Return


[Moved from Scripts & Functions forum. ~jaco0646]


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 1st, 2009, 12:11 am 
Mod, please move to ask for help


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 1st, 2009, 1:16 am 
Offline

Joined: June 8th, 2006, 9:38 pm
Posts: 307
Geht leider nur etwas umstaendlich ueber das GuiSize label:

Code:
Menu, Tray, noStandard        ; optional
; add tray menu item to restore GUI
Menu, Tray, Add, Show, Show
; make it the default, so the GUI is restored
; when user double-clicks the tray icon
Menu, Tray, default, Show

Gui, Add, CheckBox, x26 y30 w100 h40, Allow Fritz to ShutDown
Gui, Add, CheckBox, x186 y30 w100 h40, Allow Franz to ShutDown
Gui, Add, GroupBox, x16 y10 w120 h70 , Franz
Gui, Add, GroupBox, x176 y10 w120 h70 , Fritz
Gui, Show, x131 y91 h117 w324, New GUI Window
;Gui, +Taskbar ; Geht nicht:-(
Return

GuiSize:
; a_eventInfo = 1 -> GUI is being minimized
ifEqual, a_eventInfo, 1, {
    Gui, hide
    return      ; avoid doing any resizing
  }
return

; show the GUI
Show:
Gui, Show
return


Es giebt uebrigens auch ein Deutsches Forum :)


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: [VxE], Bing [Bot], BrandonHotkey, hyper_, Leef_me, Pulover, RaptorX, rbrtryn, XstatyK and 16 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