
'--------------------------------------------------------------------
' process refresh if applicable
'--------------------------------------------------------------------
' Note: avoid surprise disappearance on node currently being worked
'--------------------------------------------------------------------
If ((sessionStatus = kSessionStatus_Normal) AND _
(option_refresh_EvenCurrentNodeManuallyOrDynamically OR _
(SDB.MainTree.CurrentNode Is Nothing) OR _
(node.CustomData <> SDB.MainTree.CurrentNode.CustomData)) AND _
(params(iRefresh) <> "")) Then '--------------------------------------------------------------------
' process refresh if applicable
'--------------------------------------------------------------------
' Note: avoid surprise disappearance on node currently being worked
'--------------------------------------------------------------------
Dim refresh : refresh=False
If Not SDB.MainTree.CurrentNode Is Nothing Then
If ((sessionStatus = kSessionStatus_Normal) AND _
(option_refresh_EvenCurrentNodeManuallyOrDynamically OR _
(node.CustomData <> SDB.MainTree.CurrentNode.CustomData)) AND _
(params(iRefresh) <> "")) Then refresh=True
Else
If ((sessionStatus = kSessionStatus_Normal) AND _
(option_refresh_EvenCurrentNodeManuallyOrDynamically OR _
(SDB.MainTree.CurrentNode Is Nothing)) AND _
(params(iRefresh) <> "")) Then refresh=True
End If
If refresh ThenVyper wrote:Hey Nyn! I see you referred to this script in another thread .... are you still using it and does this one work okay with the latest version of MM?
toolbarnynaevelan wrote:Which menu icon are you referring to?
refresh_ManuallyWithUpdatedINIFile_AddToolbarItem=1Thy!nynaevelan wrote:Yes, you have to open the MyCustomNodes.ini in the \Scripts\Auto folder and set this line to 0:
- Code: Select all
refresh_ManuallyWithUpdatedINIFile_AddToolbarItem=1
Nyn
Users browsing this forum: No registered users and 25 guests