kolt_050

Untitled

May 30th, 2022
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. macroScript UV_Editor
  2. ButtonText:"UV_Editor"
  3. Category:"# Toggle"
  4. Tooltip:"(Alt+E) UV_Editor"
  5.  
  6. (
  7. ChildWindows = UIAccessor.GetChildWindows (DialogMonitorOPS.GetWindowHandle())
  8. for i in ChildWindows where (UIAccessor.GetWindowText i)=="Edit UVWs" do
  9. (
  10. ::ns_uvtools.Unw_CloseEditor()
  11. return()
  12. )
  13. if actionMan.executeAction 2077580866 "40005" == false then
  14. (
  15. modPanel.addModToSelection (Unwrap_UVW ()) ui:on
  16. actionMan.executeAction 2077580866 "40005"
  17. actionMan.executeAction 2077580866 "40122" -- Unwrap UVW: Always Bring Up The Edit Window
  18. )
  19. else actionMan.executeAction 2077580866 "40122" -- Unwrap UVW: Always Bring Up The Edit Window
  20. )
Advertisement
Add Comment
Please, Sign In to add comment