Simple function..Struggling for hours. Please help

Get help with using AutoHotkey and its commands and hotkeys
onenessboy
Posts: 1
Joined: 30 Oct 2019, 05:27

Simple function..Struggling for hours. Please help

30 Oct 2019, 05:52

Hi
I am very new much bee for autohotkey.

I am simply want to simulate Win Key + Up arrow which mean it will maximize window.

But its not working..did so many examples on this forum. Nothing seems to be working... weird.

Code: Select all

Run, C:\ImageGlass\ImageGlass.exe
Send, {LWin Up}
I am trying because when it open the that exe application opens up in minimized state(not into taskbar) but on screen minizmized. so I am trying to maximize that using win + up arrow key..

any idea please..
Rohwedder
Posts: 2698
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: Simple function..Struggling for hours. Please help

30 Oct 2019, 06:10

Hallo,
only a try:

Code: Select all

Run, C:\ImageGlass\ImageGlass.exe,, Max
User avatar
Bugz000
Posts: 62
Joined: 30 Sep 2013, 10:01

Re: Simple function..Struggling for hours. Please help

30 Oct 2019, 06:27

should above fail, you could try;

Code: Select all

Run, C:\ImageGlass\ImageGlass.exe
WinMaximize, imageglasswindowtitle
literally hundreds of ways of doing this haha
Image
Image

[14/10/2019][03:06:09] <@tidbit> so, 8 years old. thats way too young for a human centipede.
[29/10/2019][01:48:42] <@tidbit> it should be a cloaca
[6/12/2019][01:53:34] <+Budgii> tidbit: how did you come up with your name?
[6/12/2019][01:53:59] <@tidbit> Budgii: I slapped a goat and phonetically spelt the sound it made
[15/1/2020][17:51:08] <@tidbit> b-b-b-bbaka!
[15/1/2020][17:59:42] <@tidbit> bugz knows his otakunese guys!
[28/2/2020][21:09:36] <@tidbit> find an eagle with some damn self control?
[07/3/2020][00:28:48] <@tidbit> maybe someone was fapping too close to heaven, so god sent a warning
gregster
Posts: 3892
Joined: 30 Sep 2013, 06:48

Re: Simple function..Struggling for hours. Please help

30 Oct 2019, 08:10

onenessboy wrote:
30 Oct 2019, 05:52
I am simply want to simulate Win Key + Up arrow which mean it will maximize window.

Code: Select all

Run, C:\ImageGlass\ImageGlass.exe
Send, {LWin Up}
This is not the right syntax for Win & Up (up arrow). You are just sending an up (key release) event for LWin.

Try send #{Up} instead.

Return to “Ask For Help”

Who is online

Users browsing this forum: Albireo, Bing [Bot], gibbons6546, Google [Bot], new_learner, Scr1pter, scriptor2016, SonGokuBg, teadrinker, theninja583, vsub, Yakshongas and 128 guests