"Run In Rectangle" is broken and dont work anymore. - Forum

Forum Navigation
You need to log in to create posts and topics.

"Run In Rectangle" is broken and dont work anymore.

Hello all, the action/command "Run in Rectangle" dont work anymore.

It worked perfectly years ago when I tested it, before the last version I suppose, but now dont work anymore, I tried lots of different apps inside it, and none worked, tried Notepad, old apps, anything, nothing works.

So I think its broken. How to fix it or it will be fixed in the next version ?

alangonzalez91 has reacted to this post.
alangonzalez91

@john123

I checked on applications created in VisualNEO Win, and on SumatraPDF application, they work fine. But the Notepad application didn't work either. Maybe there are some settings at the operating system level that need to be changed to make system applications open as well as non-installable applications. Try it on portable applications first to make sure the command works on your computer.

luishp has reacted to this post.
luishp

Try moving the code hosted in Startup, to a subroutine, and only execute a single subroutine in Startup. From the child app.

 

Uploaded files:
  • You need to login to have access to uploads.
luishp has reacted to this post.
luishp

They  changed Windows Notepad (they added tabs to it) so it won't run in a rectangle anymore. We have to find another text editor for that....

,

Quote from fkapnist on November 16, 2023, 5:29 pm

They  changed Windows Notepad (they added tabs to it) so it won't run in a rectangle anymore. ,

That's correct ..But I was able to get it to run in a rectangle tabs and all..

Uploaded files:
  • You need to login to have access to uploads.

It does have some strange behaviors, if app not in foreground, it will not show it, not correctly lined up in rectangle too.  It's almost as if the old window is behind the new window, really strange, ya have to look closely around the edges.

Here's what worked for me..

RunInRectangle "Rectangle1" "notepad.exe" "[PubDir]HelloWorld!.txt" "HideMenu+HideSizeBox" "" "[NotepadId]"

It's definitely not ready for prime time anymore.

Maybe use Notepad2 by Florian Balmer if you need something.

Vadim has reacted to this post.
Vadim
Quote from Darbdenral on November 17, 2023, 3:18 am

It does have some strange behaviors, if app not in foreground, it will not show it, not correctly lined up in rectangle too.  It's almost as if the old window is behind the new window, really strange, ya have to look closely around the edges.

Here's what worked for me..

RunInRectangle "Rectangle1" "notepad.exe" "[PubDir]HelloWorld!.txt" "HideMenu+HideSizeBox" "" "[NotepadId]"

RunInRectangle "Rectangle1" "notepad.exe" "[PubDir]HelloWorld!.txt" "HideMenu+HideSizeBox" "" "[NotepadId]"It's definitely not ready for prime time anymore.

Maybe use Notepad2 by Florian Balmer if you need something.

That works okay  in Windows 10. But not in Windows 11. It crashes and hangs......

Pretty soon Microsoft will no longer support Windows (lol)....

.

 

I understand, it's probably luck I guess, it's pretty unstable ;)

Tested on
Windows 11
Version 22H2
OS build 22621.2715

I found this article, it's interesting.

https://devblogs.microsoft.com/math-in-office/windows-11-notepad/

 

luishp has reacted to this post.
luishp

Some programs just won't run in rectangles. But you can simulate that by floating the program in a top window that is sized and positioned exactly where you want it. Try these actions:

 

hpwAutoItWinMove "[AppDataPath]" "externalApp" "[xApp]" "0" "0" "550" "500"
Delay "500"

SendKeys "[xApp]" "{CtrlDn}{ShiftDn}U{ShiftUp}{CtrlUp}"

 

.

Works on Windows 10x64 with "[WindowsDir]system32\notepad.exe", just tried it and it works

 

Uploaded files:
  • You need to login to have access to uploads.

I think Google Chrome works very well in a rectangle.

 

RunInRectangle "Rectangle1" "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" "--kiosk --disable-features=TranslateUI --disable-notifications --app=C:\yourFiles\index.html" "" "" ""

 

Just as good as WebView2Loader (without any download fuss, if the user already has Chrome on their PC)

.

 

 

luishp has reacted to this post.
luishp
Open chat
1
Do you need more info?
Hi, do you have any doubt?