hi firends~
sorry many ask ~
i wondering some still
i am seeking max grid hide ,
that is not "max grid toggle commnad "
i want to hide grid not using grid toogle
i can;t see that function
sorry many ask ~
Forum topic · General Scripting
By dussla · 2018-07-05
hi firends~
sorry many ask ~
i wondering some still
i am seeking max grid hide ,
that is not "max grid toggle commnad "
i want to hide grid not using grid toogle
i can;t see that function
sorry many ask ~
wow wow thank you
dussla · 2018-07-16
wow very very good tut
thank you ~
.
jahman · 2018-07-05
thank you jahman , one more question
dussla · 2018-07-05
thank you ~ well done
pls 1 more questinon
there is not "adaptive degradation off function " in the manual ~
pls help me again
`
pixamoon · 2018-07-12
I'm not sure if there is a function in max to do it but you can sendMessage to change checkbutton state
(
-- 1. find a hwnd of this button:
local hwnd
local fSPBottomContainer = false
for o in windows.getChildrenhwnd #max where hwnd == undefined do (
if not fSPBottomContainer and o[4] == "CustToolbar" and o[5] == "StatusPanelBottomContainer" do fSPBottomContainer = true
if fSPBottomContainer and o[4] == "CustButton" and o[5] == "" do hwnd = o[1]
)
-- 2. sendMesage to change state:
local VK_RETURN = 0x000D
local WM_SETFOCUS = 0x007
local WM_CHAR = 0x0102
windows.sendMessage hwnd WM_SETFOCUS 0 0
windows.sendMessage hwnd WM_CHAR VK_RETURN 0
ok
)
Hope it helps,
Pixamoon