If you're on a Mac, and you want to make it so Maschine JAM no longer changes the focused group when you select a pattern, then (after making a backup) change the section starting line 182 of
/Applications/Native Instruments/Maschine 2/Maschine 2.app/Contents/Resources/Scripts/Maschine/Helper/PatternHelper.lua
to read:
function PatternHelper.focusPatternByGroupAndByIndex(GroupIndex, PatternIndex, CreateIfEmpty)
if PatternIndex == nil or PatternIndex < 0 or GroupIndex == nil or GroupIndex < 0 then
return
end
local FocusGroup = NI.DATA.StateHelper.getFocusGroupIndex(App)
local Group = MaschineHelper.getGroupAtIndex(GroupIndex)
if Group then
local Pattern = Group:getPatterns():find(PatternIndex)
if Pattern then
local FocusSection = NI.DATA.StateHelper.getFocusSection(App)
local FocusScene = NI.DATA.StateHelper.getFocusScene(App)
local FocusScenePattern = FocusScene and NI.DATA.SceneAccess.getPattern(FocusScene, Group)
local HasFocus = Pattern == FocusScenePattern
if HasFocus then
if FocusSection then
NI.DATA.SectionAccess.removePattern(App, FocusSection, Group)
else -- In Idea Space we work on Scenes directly.
NI.DATA.SceneAccess.removePattern(App, FocusScene, Group)
end
else
NI.DATA.GroupAccess.insertPatternAndFocus(App, Group, Pattern)
end
if FocusGroup ~= GroupIndex then
MaschineHelper.setFocusGroup(FocusGroup + 1, false)
end
elseif CreateIfEmpty == true then
-- note: AudioPatterns can't currently be empty, so CreateIfEmpty is n/a
PatternHelper.insertNewPattern(PatternIndex, Group)
end
end
end