Wickerman Posted December 29, 2010 Posted December 29, 2010 At Devcon somebody made a clever offhand suggestion about using a Script Trigger to sort of hijack the built-oin ListView button on the status bar to take the user to a custom-made List View layout. I've tried this out, and it works well for its purpose - - - but I've discovered that it appears I have to sacrifice the ability to use Table View on the original layout as a result -- since the script trigger is "OnViewChange" -- not, specifically, "OnLISTViewChange." It seems I have to disable Table View for the layout in order to avoid being whsked off to the other layout when a user clicks on it. Is there an angle I'm not quite getting here? It seems it should be do-able. If there is a little artivle on using this or related strategies, I'd appreciate a pointer. Thanks again!
David Jondreau Posted December 29, 2010 Posted December 29, 2010 You need an to use the Get ( LayoutView ) function inside an If[] statement. The script runs after the view is changed, something along the lines of... If [ Get ( LayoutView ) = 1 ] Go to Layout[list view] Else If [Get ( LayoutView ) = 2 ] Exit Script[] End If 2
Wickerman Posted December 30, 2010 Author Posted December 30, 2010 Thanks Very much -- just what I needed!
Recommended Posts
This topic is 5351 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now