Search found 50 matches

by Chef
17 Dec 2013, 12:46
Forum: Ask For Help
Topic: Re-engineering the script
Replies: 3
Views: 999

Re: Re-engineering the script

Sounds suspicious.
Did you write the script? And which program?
by Chef
14 Dec 2013, 14:28
Forum: Scripts and Functions
Topic: Simulate Aero Snap of windows 7 for windows XP OS
Replies: 1
Views: 836

Re: Simulate Aero Snap of windows 7 for windows XP OS

Hello anhnhoktvn,

Lately I needed to work with taskbar and had to make a couple of functions to get taskbar position and monitor working area.
You might find that useful for your function.
and monitorWorkingArea

Image
by Chef
14 Dec 2013, 12:50
Forum: Scripts and Functions
Topic: GetSysImgLstIcon()
Replies: 6
Views: 2295

Re: GetSysImgLstIcon()

The chopping issue can also be seen in your test GUI...

Image
by Chef
14 Dec 2013, 11:10
Forum: Scripts and Functions
Topic: GetSysImgLstIcon()
Replies: 6
Views: 2295

Re: GetSysImgLstIcon()

A better testing GUI... #NoEnv #Persistent #SingleInstance force SetWorkingDir %A_ScriptDir% SetBatchLines, -1 test_folder := "C:\Windows" SHIL := {LARGE: 0x00, SMALL: 0x01, EXTRALARGE: 0x02, SYSSMALL: 0x03, JUMBO: 0x04} gui, +lastFound For Size, Value in SHIL gui, add, radio, xm y+10 vCtrl_%size% g...
by Chef
14 Dec 2013, 06:15
Forum: Scripts and Functions
Topic: GetSysImgLstIcon()
Replies: 6
Views: 2295

Re: GetSysImgLstIcon()

Hello just me,

Great function Image

How about shortcuts (.lnk) and folders (and their associated icons, if any)?
by Chef
13 Dec 2013, 14:11
Forum: Ask For Help
Topic: [Solved] MonitorWorkArea fails
Replies: 5
Views: 1070

Re: MonitorWorkArea fails

Solved to get AutoHide state using ABM_GETSTATE
Thanks MilesAhead Image
by Chef
13 Dec 2013, 12:18
Forum: Ask For Help
Topic: [Solved] MonitorWorkArea fails
Replies: 5
Views: 1070

Re: MonitorWorkArea fails

Well, I still this think this command is broken and needs some work. But because I need this for my current project I started writing my own function to get the working area by getting the size and position of the taskbar. Everything was Ok until I couldn't find a way to get if AutoHide is on or off...
by Chef
13 Dec 2013, 11:40
Forum: Ask For Help
Topic: [Solved] MonitorWorkArea fails
Replies: 5
Views: 1070

[Solved] MonitorWorkArea fails

Run this and move the taskbar around and resize it, it doesn't always detect position changes, and even when it does the measurement isn't always accurate. Any alternative? #NoEnv #Persistent #SingleInstance force setTimer, MonitorWorkArea, 500 return MonitorWorkArea: sysGet, mwa, MonitorWorkArea mw...
by Chef
13 Dec 2013, 10:58
Forum: Ask For Help
Topic: Hotkey chosen by user and saved in ini file
Replies: 5
Views: 1237

Re: Hotkey chosen by user and saved in ini file

Found this one time on GitHub and saved it, don't have the link anymore, so credit to whoever wrote it... hotkeyGUI( p_Owner="",p_Hotkey="",p_Limit="",p_OptionalAttrib=False,p_Title="" ) { static s_Gui := 0 ,s_StartGUI := 53 ,s_PopupXY_Function := "PopupXY" If s_Gui { Errorlevel := "FAIL" OutputDebu...
by Chef
12 Dec 2013, 12:55
Forum: Scripts and Functions
Topic: Show Menu tips with modeless menu
Replies: 6
Views: 3878

Re: Show Menu tips with modeless menu

How come its not working here then http://l.yimg.com/us.yimg.com/i/mesg/emoticons7/7.gif #SingleInstance, Force If IsLabel( "OnMenuHilite" ) OnMessage( 0x11F, "WM_MENUSELECT" ), OnMessage( 0x211, "WM_ENTERMENULOOP" ) Menu, Tray, MainWindow menu, view, add, Big, view menu, view, add, Small, view Menu...
by Chef
12 Dec 2013, 12:31
Forum: Scripts and Functions
Topic: Show Menu tips with modeless menu
Replies: 6
Views: 3878

Re: Show Menu tips with modeless menu

Hello SKAN,
This seems to work with all menuBar items and subItems, can it also work with non-menuBar menus?
by Chef
12 Dec 2013, 11:46
Forum: Ask For Help
Topic: Get minimized window state and position
Replies: 4
Views: 1069

Re: Get minimized window state and position

Hello nimda,
Yes ofcourse I tried, but WinRestore will restore and show the the window, and that's what I'm trying to avoid.
by Chef
12 Dec 2013, 09:14
Forum: Scripts and Functions
Topic: StrReplace(string, chars)
Replies: 18
Views: 5744

Re: StrReplace(string, chars)

Your welcome, and thanks for posting these useful functions Image
by Chef
12 Dec 2013, 08:14
Forum: Scripts and Functions
Topic: StrReplace(string, chars)
Replies: 18
Views: 5744

Re: StrReplace(string, chars)

Author not Autor.
by Chef
12 Dec 2013, 06:30
Forum: Ask For Help
Topic: Get minimized window state and position
Replies: 4
Views: 1069

Get minimized window state and position

Is it possible to restore a minimized window in a hidden state? I need because I want to know its state and position before it was minimized and whether it was maximized or had a normal size (including snap to edge). The only way to check that is if I restore it since WinGetPos doesn't work on minim...
by Chef
08 Dec 2013, 11:18
Forum: Ask For Help
Topic: HOW to remove all extra blank spaces at the end of sentence?
Replies: 3
Views: 820

Re: HOW to remove all extra blank spaces at the end of sente

You should read the manual.
There are many ways to do that, here is one...

Code: Select all

var := "  jdhf sdhfj hsdjfh        	"
msgBox, % var := """" RegexReplace(var, "^\s+|\s+$") """"
by Chef
07 Dec 2013, 10:35
Forum: Scripts and Functions
Topic: RestartExplorer()
Replies: 13
Views: 4775

Re: RestartExplorer()

This seems to also preserve desktop icons position.
thank you SKAN Image
by Chef
06 Dec 2013, 13:37
Forum: Scripts and Functions
Topic: [Function] win_pos (save and restore)
Replies: 0
Views: 1527

[Function] win_pos (save and restore)

#NoEnv #Persistent #SingleInstance force SetWorkingDir %A_ScriptDir% onexit, exitSub /* author : Chef link : http://ahkscript.org/boards/viewtopic.php?f=6&t=894 date : 14 December 2013 description save and restore window state and position, with a workaround to save snap on windows Vista+. credit t...

Go to advanced search