View Single Post
Old 01-05-2013, 07:56 AM   #1162
Jeffos
Mortal
 
Jeffos's Avatar
 
Join Date: Dec 2008
Location: France
Posts: 1,969
Default

Thanks for the feedback Anton9!
Quote:
Originally Posted by Anton9 View Post
WOW..., using loops within cycle actions is fun.
I did however find one little niggle.., ! ---Step--- commands don't seem to behave as expected when inside a loop.

Example:
LOOP 2
40841 Move edit cursor forward one beat
! ---Step---
40759 Item: Split items at edit cursor(select right)
ENDLOOP
Well, no, this IS expected! You can't make loops accross action steps: your ENDLOOP will be ignored and your !Step will act as ENDLOOP
Quote:
Originally Posted by Anton9 View Post
SNM_SelectResourceBookmark works really well.., but I could not get SNM_TieResourceSlotActions to work. Here is what I tried.
Code:
from sws_python import *

SNM_TieResourceSlotActions(1)
I did however learn not to pass (-1) to that function.., completely wiped-out my custom bookmarks.
I hardened things like SNM_TieResourceSlotActions(-1) however it works here: SNM_TieResourceSlotActions(1) will tie slots actions to the 2nd (0-based) bookmark ofthe dropdown box (ie track templates) - SNM_TieResourceSlotActions(7)will tie slots actions to the 8th bookmark ofthe dropdown box (ie >5 => user bookmark), if it is a custom track template bookmark, all related slot actions will be attached to this bookmark.
HTH!
Jeffos is offline   Reply With Quote