topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday April 25, 2024, 3:52 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Etanoder [ switch to compact view ]

Pages: [1]
1
Do you really want this as a PowerShell script? It seems like a GUI to allow you to mark the area would be better than guesstimating the area to block off, IMO.

that's true but i must see the code involved :(

You didn't put that as a qualification in the first post. Though many voluntarily write, fewer open source their code. And to ask this so you can see the code- is there another reason behind this?

You can see examples of how to call a win api in powershell here- https://devblogs.mic...-windows-api-part-1/

You might be able to scrape it up yourself from that.

I completely understand, I was so buffled by this, it's new ground for me, I know powershell, I'll try getting it done myself

Thanks wraith!

2
You could also try my Desktop Coral app:
https://www.donation...ws-apps/desktopcoral

"DesktopCoral is an unusual program designed to "reserve" some portion of your desktop which is shielded from maximized applications..

Essentially, it acts like an invisible resizeable docking bar, which can be docked to any side of your desktop. This invisible dock acts as a barrier to maximized applications and essentially shields this area of your desktop from other applications.

Within this shielded area you might put certain application windows that you want to be always visible, or you might put one of the many desktop tools like a calendar or system information component.

Why would you need a tool like DesktopCoral?

DesktopCoral was requested by someone who uses the Samurize desktop system information utility. This fun utility and others like it draw text and graphics on top of your desktop. But when working with other programs, this information can be covered by these other windows. DesktopCoral solves this problem by reserving an area of your desktop where normal programs will not be expanded into."


thanks but like i said i must see the code involved and be able to run in windows 10

3
re welcome
thanks you very for chiming in, then I will use it with taskbar visible and locked if I must, is it possible to see the code for your freeware?

4
Do you really want this as a PowerShell script? It seems like a GUI to allow you to mark the area would be better than guesstimating the area to block off, IMO.

that's true but i must see the code involved :(

5
Hi,
I would like to have a code in powershell that will use the "SystemParametersInfoW" function in user32.dll from windows 10 and will set an area of the screen as a work area using the method
SPI_SETWORKAREA
0x002F

as explained here https://docs.microso...ystemparametersinfow

Thanks!

Pages: [1]