![]() Felix Vejdegren55995 2 discussion posts
|
Hi!
I'm trying to write a scripted function that moves a window to a specific monitor and resizes it. Why I need it as a scripted function and not as a normal one is because I need an if statement that checks what profile I'm running. I can't get it to work however. I have tried with MoveToMonitor (works) and then SetSizeAndLocation (doesnt work). I have also tried the MoveToMonitorResized function which should be the obvious choice I think but I don't understand the parameters that function should take. Any help is appreciated.
13 days ago
• #1
|
|
Hi Felix,
Could you send me over the script you're working with? Thanks!
13 days ago
• #2
|
![]() Felix Vejdegren55995 2 discussion posts
|
The problem I have is in the if statement if the profile is "Home". This function currently just moves my window to the left and sets my desired size, but it doesn't move monitor. What I would like to happen is, move to monitor 1, you can see the commented line in the code, and then set size and location. But as soon as I remove the comment the set size and location stops working. It only takes the first line.
13 days ago
• #3
|
|
Could you send me a copy of your troubleshooting info? Here are the steps:
Thanks!
13 days ago
• #4
|
Was this helpful? | |