Can you hide and position windows through scripts?
Moderators: Víctor Paredes, Belgarath, slowtiger
- strider2000
- Posts: 506
- Joined: Sat Mar 07, 2015 5:14 pm
- Contact:
Can you hide and position windows through scripts?
Does anyone know a way to hide/show windows (ie the layers, tools, timeline, style) via scripts? Alternatively can short cut keys be called from a script (ie Ctrl+Shift+E hides/shows the Tools window, so if I can't hide/show the window directly can I call the short cut key). I'd also like to be able to dock/undock a window and position it relative to a position within the Anime Studio window. Unfortunately I haven't been able to find a way to do any of these yet. Thanks for any help
- synthsin75
- Posts: 9972
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: Can you hide and position windows through scripts?
No, scripts cannot hide/show windows, but Win+` (don't know the Mac equivalent) hides everything but the main window. And no, shortcuts cannot be called from a script. Use the Window>Docking menu to dock/undock. There are no custom docking positions in AS.
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
- strider2000
- Posts: 506
- Joined: Sat Mar 07, 2015 5:14 pm
- Contact:
Re: Can you hide and position windows through scripts?
Thanks synthsin, that's what I was afraid of. I was going to try to write a script to access custom layouts, especially for tablet usage, but... I guess not.
The Win+ didn't seem to work on my Surface Pro (brings up a zoom interface), but I did a search, based on your idea and found that back tic (`) does clear the workspace. Super cool!!! Also, I finally realized that the entries at the bottom of the Window menu simply raise the panel. That's helpful, because on the Surface I can undock, move all the vertical panels to the right, then just raise the panel I want (It would be great if I could add a shortcut for raising a panel to the top, but it doesn't look like I can ).
Thanks for the info
The Win+ didn't seem to work on my Surface Pro (brings up a zoom interface), but I did a search, based on your idea and found that back tic (`) does clear the workspace. Super cool!!! Also, I finally realized that the entries at the bottom of the Window menu simply raise the panel. That's helpful, because on the Surface I can undock, move all the vertical panels to the right, then just raise the panel I want (It would be great if I could add a shortcut for raising a panel to the top, but it doesn't look like I can ).
Thanks for the info