Skip to content

Instantly share code, notes, and snippets.

@jedie
Created April 19, 2012 17:12
Show Gist options
  • Save jedie/2422374 to your computer and use it in GitHub Desktop.
Save jedie/2422374 to your computer and use it in GitHub Desktop.
actionMan.executeAction 0 "40472" -- MAX Script: MAXScript Listener
clearListener()
trackIndex = 1
m = trackViewNodes[trackIndex]
while (m != undefined) do
(
print trackIndex
windows.processPostedMessages()
ct = numNoteTracks m
id = ct
for i = 1 to ct do
(
tr = getNoteTrack m id
deleteNoteTrack m tr
id = id - 1
ith = mod i 200
if ith < 1 then (
Print id
windows.processPostedMessages()
)
)
trackIndex = trackIndex + 1
m = trackViewNodes[trackIndex]
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment