HIDE / SHOW active panels

hallo another tweak to my tiny script...
I know its a little foolish to be tweaking such a little nonsense script BUT hey everybody has to start somewhere and THAT'S what a forum is about :)
I got this problem:
Iam trying to hide all panels i have currentlly visible and later show them again as they were before... i can do it in two separate scripts (scriptHIDE, scriptSHOW) thats fine with me...
i just need to script an exact functionality of pressing TAB key (show/hide panels)
when i use "app.panels.everyItem().visible = false" all the panels dissapear BUT there is no way to show them back :) they are gone
when i in contrary use "app.panels.everyItem().visible = true" InDesign shows EVERY panel possible...
isnt there some smarter and cleaner way to toggle ON / OFF panels but only those which are currentlly visible (including Tools and Control)...

Hi Rosta,
My idea is to save "visible" property of every panel in an array, and then after making every panel invisible you can restore the visible state of the panels:
// remember which panels visible and invisible in array
var arr = app.panels.everyItem().visible;
// make every panel invisible
app.panels.everyItem().visible = false;
// restore settings from the array
for (i=app.panels.length -1; i>=0; i--){
app.panels[i].visible = arr[i];
Kasyan

Similar Messages

  • [Shortcuts] Hide/Show standart panel

    Hello.
    Default in Dreamweaver used Ctrl+Shift shortcut for Hide/Show
    standart panel.
    But I use this shortcut for the keyboard layout switching.
    And I need standart panel.
    So when I press Ctrl+Shift for swith keyboard layout standart
    panel hidding.
    How can I change this setting?
    I can't found setting for this shortcut in Edit->Keyboard
    Shortcuts...
    With toolbars.xml the same result.
    Please help me to decide this problem, becouse I have
    discomfort.

    Please help me to decide this problem, or say that it's
    unsoluble.

  • Hide/Show a Panel group or Panel Box with a command link

    I need to show and hide a panel group/box that has a lot of components inside ..with a command link ...I need to do this with partial submit ....please advise.
    <af:commandLink >
    hide the panel box with all the comps inside it ..change commandlink text ....
    use the same command link to show the panel box and change the command link
    text back
    </af:commandLink>
    <af:panelGroup layout="vertical">
    <af:panelBox>
         <af:panelGroup>
    ALOT of components .......
         </af:panelGroup>
    </af:panelBox>
    </af:panelGroup>
    I tried with partial trigger ..I tried everything i know ..it did not work .....it only worked I do a I full submit and setting some processScope(session) variables ..
    Thanks.

    Hi,
    - have a managed bean in session scope
    - define a boolean variable that is set to true
    - expose the variable through a public method
    - use EL on the panelBox rendered property to link to this boolean method
    - define an action listener on the command link and set the autosubmit property to true
    - use the action listener to set the boolean value
    - define a value for the ID property of the command link
    - set the ID vaule to the PartialTrigger property of the panelGroup component
    Frank

  • Hide and show Control Panel Items in 2008 R1

    Hi,
    we have Windows Server 2008 DC's and Terminalservers. I try to hide the control panel items from Users via GPO.
    Using GPO: Show only specified Control Panel items
    First I tried: main.cpl,@2 for showing Printers -> didn't work! Then I saw there are new canonical names for control panel items.
    Microsoft.Printers -> Didn't work
    Microsoft.DevicesAndPrinters -> Didn't work.
    What can be wrong with it. I tested it where only this policy is set. If I use only main.cpl I get the mouse and keyboard, so the policy ist definitly used and read.
    Any Help here? We don't have 2008 R2 .(

    This GPO feature seems extremely unreliable.
    See these docs:
    http://msdn.microsoft.com/en-us/library/ee330741(v=VS.85).aspx
    http://msdn.microsoft.com/en-us/library/cc144191(v=VS.85).aspx#CommunityContent
    The following have worked for me, WITHOUT the Microsoft prefix...
    Keyboard
    Personalization
    Mouse
    Fonts
    Printers
    The following do not seem to work under any condition!
    FolderOptions
    Microsoft.FolderOptions
    DateAndTime
    Microsoft.DateAndTime
    AudioDevicesAndSoundThemes
    Microsoft.AudioDevicesAndSoundThemes
    EaseOfAccessCenter
    Microsoft.EaseOfAccessCenter
    MobilityCenter
    Microsoft.MobilityCenter
    SpeechRecognition
    Microsoft.SpeechRecognition
    ColorManagement
    Microsoft.ColorManagement

  • "Show doc panel" on two monitors

    Hi,
    JDev 11.1.2 offers super behavior "Show doc panel" on "Completion insight" menu.
    Unfortunately with two monitors (JDev active on right one)
    is display of doc panel ruptured between left and right monitor and in practice useless.
    Is there any chance to disabled rupture of "show doc panel" between two monitors?
    Or, maybe, forced displaying of "show doc panel" on the right to "Completion insight" menu?
    Thanks very much vor help,
    Jara

    I figured this was assumed, but if not: Yeah, you need an extra display card. If you only have one monitor, you'd need two more of those as well.
    I'd say you could get some real cheap-o LCD's for the QT displays as having QT playback on a large screen isn't visually needed --and less pixel pushing equals a faster Mac overall.
    I dunno. I think it would work easily enough.

  • Hide / show grid in a graph programmaticly

    I would like to hide / show the grid (minor / major) progammaticly. I try to create a property node, but I don't find the way to access the 'hide' property... Thanks.

    I might need corrected, but I don't believe you can change the 'minor' grid color, but yes on the 'major'.
    Its a Write-to property node called Grid colors, and you can have the X & Y grids as separate or Clustered together elements. You'll need to add 2 color boxes [Controls > Numeric palette] to your front panel (X & Y). The user's selection is a numeric value sent to the property node(s) you wired.
    Good Luck with it, Doug

  • Disabling hide/show in finder sidebar

    Is there anyway to disable the hide/show feature in the sidebar of Mountain Lion. 

    HI Peter,
    Try repairing disk permissions on the 2nd MacBook.
    Quit any open applications/programs. Launch Disk Utility. (Applications/Utilities) Select MacintoshHD in the panel on the left, select the FirstAid tab. Click: Repair Disk Permissions. When it's finished from the Menu Bar, Quit Disk Utility and restart your Mac. If you see a long list of "messages" in the permissions window, it's ok. That can be ignored. As long as you see, "Permissions Repair Complete" when it's finished... you're done. Quit Disk Utility and restart your Mac.
    See if that helps.
    Carolyn

  • How can I view my app purchases when it keeps sending me to iTunes which does not work on my iPad and yet shows activity?

    I Just received a receipt from the App Store. It was for opening one section of a game when I had already bought the full game. I went to the bottom to check on my purchases. It took me to the App Store for view history. I entered my Apple ID and then it switched me to ITune which doesn't work on my iPad! And yet it showed activity in ITunes. A few months ago I had a purchase show up that I didn't make. I contacted the developers because I love their new products so much and wanted to see if it might be a bug in their system because the confusion was within their games only. I would REALLY like to view my APP STORE history but it only lets me get to the part where you can open the apps that are showing. Is their a way to view my full APP history, with dates, money spent etc? I would love to know how to get there. Thank you, Diane Maya

    Pay attention to the numerous posts on this tonight.....try again tomorrow.
    GB

  • HT1414 C apple i need to know few things,first of all i shall tell my scenario. I got an iphone 3gs from my uncle in US. I m at india k. well , in that iphone it showing activation screen and trying to activate. not more than that..plz help!

    C Apple, i need to know few things,first of all i shall tell my scenario. I got an iphone 3gs from my uncle in US..after long waiting. I m from south india, living at God's country called Kerala k. well , in that iphone it showing activation screen and trying to activate. not more than that..plz help!
    means.. in simple words, it is trying to activate and all( searching wifi,, taking few minutes..again searching...if it couldnt find any wifi - telling .. try connect using itunes an all)...well any way. finally I try connect to a wifi network, with full speed...3mbps..from Ravi's internet cafe in downtown.
    All after Im getting the below message from that white candy box!( thats all I can use now, because, in my dreams iPhone is something great,  that mankind ever seen....but this really disappointed me......im simpling blinking!!(same with itunes too)
    ""Your iphone could not be activated because the activation server is temporarily unavailable. try connecting your iphone to itunes to activate it, or try again in a couple of minutes.
    If this problem persists, contact apple support at apple.com/support""
    EVERYDAY .EVERTIME.. I C this message and sleep....no use.....and i use to charge that 'white candy box' to c this message!
    I try searching internet and all for solutn...but no one knw about it..but there are...some one me abt method called jailbreaking ..rednw..white snw ..ultrasnw and all...I dnt knw why it is so complicated to troublesht...apple is suppose to be simple and friendly.
    C why u manufacturing these stuffz like this, if does'nt serve the any of its purpose ....or useable to any of its features atleast....C i wont be that disapppointed, if u put an option to playbck music or video during activation and all...
    If you are responsible for manfacturing such unuseable thing, then its ur responsible to destroy it too.....
    anyway now everyone knws that ..I have an apple iphone with me, but that doest make me proud at all...
    Finally I have only few questions to ask...
    1 will it work with my vodafone sim in kerala?
    2 is any way , i can hear any music out frm it?
    3 will i become a proud iPhone user?
    I am already fedup with asking questions..begging for an solution.....
    I hope so you can help to figure it out, without any complications....thank u!

    It was not legitimately unlocked by the carrier it was originally locked to. ONLY the carrier it is locked to can authorize unlocking it.
    In order to allow it to be used on a different carrier, the phone was hacked or jailbroken. An unauthorized modification was made to the phone. That modification has damaged the phone. You can not get support for it here or from Apple.

  • Problem in Hide/Show in a Table Row

    Hi,
    i have to create 4 pages and each page has a table region with displaying records and a column "LINK" to go to the next page with the parameters from that record. Every link has a batchId and one another Id as parameter to next page. The next page reads the parameters and queries the corresponding table for details of that results table region contained in that page.
    Thus i have 4 pages with 4 table regions and each table region is associated with a view object which is based on an EO connected with a database table. (4 VO's).
    Now in every table i have a detail region (hide/show) which shows error records for a row ....
    thus there are 4 ViewLinks for all 4 VO to a single ERROR VO.
    I have 4 instances of ERRORVO in AM like ERRORVO1, ERRORVO2, ERRORVO3, ERRORVO4.
    Now, the hide/show region is working properly on the first 3 pages with proper navigation to pages.
    Then, i created the 4th page and created the table region in the 4th page.
    From the 3rd page i have passed 2 parameters through the link and also retainAM=Y.
    i have captured both parametres and call a method to populate data in table of 4th page.
    Successfully done..running properly....
    Now i added the detail region which is a table as previous pages in the 4th page with ERRORVO4...
    Then when i run the page i get the 1st page and thrugh link i move to 2nd and to 3rd page. But when i click on the link on 3rd page to move to 4th page i m getting "NullPointerException" with "check Inner table properties"
    Now i removed the detail region (Hide/show) only from the 4th page and again run the page . its working properly for all 4 pages with proper navigation but i am not able to see errors with hide/show on 4th page and it is required.
    i m not getting what could be the reason...
    do i need to remove retainAM=Y from the page navigation links.?????
    and is there anything like we cant create more no. of instances (4) of a single VO in an AM.....????
    Any alternative for showing the errors on 4th page with Hide/Show or without Hide/Show????

    Thiago,
    Thanks for the quick reply.
    I am now getting the following error below:
    Am I suppose to add another field to my VO select?
    oracle.apps.fnd.framework.OAException: Detail View Attribute Name is not set for the table even though a detail named child has been specified. Please specify a Boolean or String ("Y" or "N") view attribute for this table property.
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1146)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1794)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
         at OA.jspService(OA.jsp:40)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)

  • How to hide/show and move screenelements at runtime

    Hi Guys
        Currently, i have a requirment that, in the same screen, when user choose different different option in the dropdown list, there should be different screenelements and table control with different columns showing below it.
    Now, i have two plans below:
    1), hide/show and move position of screen elements and table control at runtime
    2), call different subscreen
    I hope i can take the first way since the second way will modify structure of program ( As it is infotype screen ), any one knows how to implement the first solution?

    Hi,
    I would suggest you to call different subscreens and load them dynamically based on your parameters.Since different subscreen are called your coding and functionality could also be seperated by writing in the PAI and PBO of the correspondiong Screens.
    if you have decided to go by your first method then try the below code.
    a) if it is normal UI elements like text box etc
    LOOP AT SCREEN.
        IF <var> = ' value '.
            screen-invisible = '0'.
            MODIFY SCREEN.
      endif
    ENDLOOP.
    Here <var> refers to the screen field name and value refers to its value.
    b) To hide columns in a Table control.
    DATA cols LIKE LINE OF tc-cols.
      LOOP AT tc-cols INTO cols.
        IF cols-screen-group1 = 'G1'.
          cols-invisible = 'X'. "HIDE THIS COLUMN
          MODIFY tc-cols
          FROM cols
          TRANSPORTING invisible.
        ENDIF.
        CLEAR cols.
      ENDLOOP.
    PS: here TC refers to the name of the table control.
    Lemme know if you face any problems.
    Cheers,
    RK

  • SharePoint 2013: Hide/Show Column fields while uploading document in Document Library

    Dear all,
    I have created a document Library LIB001 and I have created One Column of type Choice, drop down list, (CCHOICE) and I have created 3 other columns, (Column1, Column2, Column3).
    What I want is while uploading a file in the document library, when I choose a certain value from CCHOICE, i want to show/hide and/or make the column mandatory.
    Can anyone help/guide me how to achieve this?
    Many Thanks
    Vinay

    Dear all, I am trying the following code, but it's not entering the onchange of drop down list event. <script> $(document).ready(function () { var countryField = SPUtility.GetSPField('Document Type'); var countryFieldValue = countryField.GetValue(); alert
    (countryFieldValue); // ----- Hide/Show the field based on new selected value. var id = SPUtility.GetSPField('Document Type').Dropdown.id; alert ('field ID: '+id); $('#' + id).on('change', function () { alert ('Inside on Change:'+countryFieldValue); if (countryFieldValue
    == 'Type1') { SPUtility.GetSPField('Column1').Hide(); } else if (countryFieldValue == 'Type2') { SPUtility.GetSPField('Column2').Hide(); } }); }); </script> Can anyone help me please. Many Thanks & Regards Vinay

  • Error while trying to search in advanced table with hide/show region

    Hi
    I have search region and a results table with a hide.show in it.I did a search initially and got the results.I clicked on the hide/show region to see the details.
    I put another search criteria in the search region and tried to do a search.
    I am getting the following error
    The search cannot be executed because the table has pending changes that would be lost...
    Can anybody help me on this please....
    Message was edited by:
    user580745

    Any setter/getter method being used on hide/show action? How are you enabling the details? Is there a transient column in your VO?
    --Shiv                                                                                                                                                                                                                                                                                       

  • Adding logic to the hide/show

    Hi Guys
    I am pretty new at this so please excuse my ignorance. I have added hide/show regions into a cell of an advanced table. In the VO I also coded in the boolean decode.
    So now when I run my page I get the the following: where there is details for the cell the cell is in Hide status, when the details are null its in show status.
    The decode is as follows: decode(contact_details.contact_name,Null,'0','1'). The attribute is set to Boolean.
    My issue is when I click on the hide/show link on the page it does not "work". ie: if I click on the show status it does not toggle to hide status and visa versa.
    Am I meant to add logic to the controller?
    Thanks

    Is your page embedded in a workflow page or notification? If so, then you cann't have hide/show action rather any action on your page as per workflow standards. They require you to embed a region and not a page.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Drill down hide/show report on same page

    Hi,
    Is it possible to create a drill down report where instead of linking to new pages, the details can be displayed using hide/show buttons on the relevant columns? For example, if you have the following fields:
    Region
    Country
    Division
    Account
    Order
    Product ID
    Product Price
    Would it be possible to ,by default, have the report only show distinct regions. By clicking an expand button on a particular region, it's countries are displayed. By clicking an expand button on a country, its divisions are displayed,etc., eventually being able to drill down to order details.
    This seems similar to a tree to me, although I have not used trees before. However, from the way I understand the structure of hierarchy in trees, the way this data is structured it would not be possible through a tree.
    Any ideas? If not I can just settle on a standard drill down report with links to new pages, but if the above is possible it would work much better for my users.
    Thanks

    FJW,
    Yes, it's possible. We typically refer people to this demo from Carl to get an idea of how it can be accomplished:
    http://htmldb.oracle.com/pls/otn/f?p=11933:13
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen

Maybe you are looking for