How to switch to the window of the book

Dear friends and experts,

After completing a certain number of actions on the files in a book, the last document is open and active.

Now I should re - activate the address book window to perform another series of actions (running through the components of the book).

I have not found a method to switch/turn on to book window in a script.

if (app.FirstOpenBook.ObjectValid()){
  alert ("We have a book") };
else { alert ("There is no book in this session")};

With that, I can assure that there is a book, but how to make it active?

Hi Klaus,

You can store the book object in a variable, then you can refer to it later. So, you could do this:

if (app.FirstOpenBook.ObjectValid ()) {
    var book = app.FirstOpenBook;
}
else {
    alert ("There is no open book in this session.");
}

or if the book is active during startup:

if (app.ActiveBook.ObjectValid ()) {
    var book = app.ActiveBook;
}
else {
    alert ("There is no active book.");
}

Now when you need to reference the book in the code later, just use the variable book line 02.

-Rick

Tags: Adobe FrameMaker

Similar Questions

  • I got a new computer and I have a plan of photoshop, how to switch to the new computer?

    I got a new computer and I have a plan of photoshop, how to switch to the new computer?

    Hello

    First of all, disconnect, then back into creative cloud, using adobe id to pay for your subscription.

    https://helpx.Adobe.com/creative-cloud/help/sign-in-out-activate-apps.html

    Then, if you launch any product of CC 2015 and the pop up still shows a trial message window, please check this link for the resolution:

    https://helpx.Adobe.com/manage-account-membership/CC-reverts-to-trial.html

  • in iBooks author, how can I change the book ID?  I update often books and hand but ID remains the same, so it caused problems when others discover.  I wish it were as if it were a new book with a new code.

    in iBooks author, how can I change the book ID?  I update often books and hand but ID remains the same, so it caused problems when others discover.  I wish it were as if it were a new book with a new code.

    From the link 'related items' below, see:

    Give your book a new internal ID.

  • How to switch between multiple windows in the same application?

    Hello

    I use OS X Capitan version 10.11.13 and I'm trying to find an easy way to switch between multiple windows in the same application by using CTRL + alt or different keys.

    Here is what I feel...

    Let's say I have Outlook, Google Chrome, Safari, iTunes and apps 'about this Mac' open.

    I open the new message window in Outlook and another Chrome window. I have therefore 2 separate windows in Outlook and Chrome.

    With that, I'm unable to move the composition and the window main outlook which is so annoying. Let's say I want to read the emails by the prospect main window and transfer of the content of the compose window! The command + tab doesn't take me to the main window of Microsoft outlook! Even if there were the last visited / applications window. This constraint is not intuitive, unless it can be configured in the settings?

    Strangely, I can't switch to the "about this Mac" window.

    The work around is to use the function (F3) mission button and click on the window, that I want to use or click the "Outlook" application on the dock icon and choose the window in the list.

    Does anyone know how switch between different windows in the same application by using a key combination or one another method other than listed above?

    Thank you

    Avinash

    In general, an Application that can open multiple windows provides a "Windows menu" you can choose the window you want.

  • Does not work on Tecra A2 - FN or key how to switch to the external display?

    Hello

    Tomorrow (Saturday 6) I have to show a little presentation my Tecra A2 on an external display or projector.
    After that I have to install my laptop for the second time last month, the Fn or function keys do not work.
    With this problem I don't know how to work with the external display.

    Please can you advice?
    Sorry for my English at low altitude.

    Buist huh
    The Netherlands

    @J.Verberk
    Sounds you're a newbie and you're talking nonsence
    You comment is simply not qualified.

    @Hein
    You said that you have installed you mobile again. Did you use the Tosh recovery CD?
    If this isn't the case, I think this might be a reason for the FN key anomaly.
    After recovery use the laptop must switch with FN + F5 external peripheral connected to the laptop.
    If you use try beamer to turn the trap settings.

  • How to switch on the system restore? Repeat me domain administrator contact

    I need to turn the system restore, but I get the message administrator contact field

    Hi pietbotha,

    1. is the computer connected to any domain environment?

    2. did you of recent changes on the computer?

    If the computer belongs to any domain environment, then you need to contact the network administrator for assistance.

    Try the steps below if the computer is not connected to any domain environment and check if it helps.

    Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    How to back up and restore the registry in Windows: http://support.microsoft.com/kb/322756

    (a) click Start, run and type regedit.exe, and then press enter

    (b) navigate to the following key:

    HKEY_LOCAL_MACHINE-Software-policies-Microsoft-Windows NT------SystemRestore

    In the right pane:

    a. delete the value DisableConfig

    b. delete the value DisableSR

    c. exit the registry editor.

    d. restart.

    In Windows XP Professional, you can accomplish the above by using Group Policy Editor.

    (a) click Start, run and type GPEDIT. MSC

    (b) access this location:

    Computer configuration-> administrative templates-> system-> system restore

    (c) define disable unconfigured system restore

    (d) disable Configuration value not configured

    (e) to exit the Group Policy Editor

    (f) restart.

  • How to switch between the 2 monitors?

    This is probably a stupid question, but... I managed to install a monitor HP W2072a for my Toshiba laptop (Windows 7).  I see the same content on both monitors.  I would like to see material different on the separate HP monitor.  How to configure the 2nd screen to see different content? Thank you.

    Hello

    Please follow the instructions below:

    http://support.Microsoft.com/kb/976064

    Good luck.

  • How to switch to the student membership

    I have the plan of photography at the moment, but I just noticed that there is a plan of all applications for students only $19.99 / month. When I try to upgrade through my account, the price of the student once is not there. How do him?

    The student version requires several steps to PROVE you are a student

    Adobe in education... Start here https://creative.adobe.com/join/edu

    Educational https://creative.adobe.com/plans?plan=edu

    When you purchase a subscription to education, the terms you "click to accept" should be clear about the first/last years

    -Intro price http://forums.adobe.com/thread/1448933?tstart=0 one can help

    http://www.Adobe.com/products/creativecloud/students.edu.html

    http://www.Adobe.com/education/students/student-eligibility-Guide.edu.html

    Redemption Code https://creative.adobe.com/educard

    Proof of ID http://www.adobe.com/store/au_edu/academic_id.html

  • How to switch to the default library of a HTML link view

    Hello

    I created a HTML content to a new tab in the navigation options.

    I created buttons (link) in the HTML files and I'd like to link to the library view (no HTML).

    I used what was stated in the manual and the information related to this issue:

    Goto://ApplicationViewState/library

    But it does not work.

    I saw all the other discussions when it is appropriate to use the API of DPS

    https://forums.Adobe.com/thread/1484170

    But it is not useful because I do not understand how to integrate it in HTML.

    Could someone tell what is the code needed to add the link in html to display the library?

    It is necessary to link the API in HTML code?

    Thank you

    Andrea

    A workaround is to create a link using the custom URL schema. For example, if I create a hyperlink to "com.bringhurst.dpstips://" listen to this link will launch the library DPS tips on iOS devices.

  • How to switch between the brushes from a set of brush I downloaded from the market active CC?

    I downloaded a few sets of brush of active market cc. a couple of brushes are sets with several brushes and I can't understand how to use more than one of the brushes. For example, one of the games has all the letters of the alphabet and I cannot use the

    help, thanks!

    Right-click on the icon at the top right in the predefined form Panel to bring up the menu drop down.  You select the view to the predefined settings. Can reset the load and add presets to change the brush sets that are currently available in Photoshop.

  • How to switch to the display of the audio waveform in the source Panel

    I use 8.1.0 (81) first Pro CC 20141 on a PC.

    I am a tutorial on Lynda.com and the version used in the video is not quite as up-to-date as mine.

    They recommend clicking on the list of options in the tab of the Panel from the Source to switch to more specifically audio waveform display Insert and to the point-based dialogue in the audio.

    Problem is, the list of options on the Panel of my Source does not include something audio waveform.

    Am I missing something? They did it move? Or maybe I have the wrong tool selected (is that a context menu which changes according to what the tool is selected?)?

    Two other options:

    -Right-click in the Source monitor, select view > Audio Waveform

    -In the Source monitor, click the settings... key icon (on the bottom right) and choose the Audio waveform.

  • Is it possible to display an image full screen; in other words, how to switch all the toolbars - including the status bar and the task bar?

    I found a few larger images (986 x 1024 and 2420 x 2514) I'd like to see on the entire screen. Is there a way to do this by enabling / disabling (then restore it later) of all toolbars - including the status bar and the task bar? Or is there an FF extension that will make perhaps even easier?

    Press F11 or select "full screen" in the menu. (If there is still floating toolbars around after that, do a right-click on the toolbar and remove the checkbox.)

  • How to switch on the insertion bar?

    It looks like the screenshot, but I don't see in my DW.

    insert_bar.jpg

    This extension does not work on the JS or CSS files, because DW disables the Insert panel/bar when these files have the focus. This is noticed by the developer of the extension, the third sentence: jQuery utilities Toolset with utility Code

    However, you can use this extension to insert the code JS in an HTML document, as seen in the demo video of the developer: DreamWeaver CS5: jQuery utilities Toolset v1.0.1 (Extention)

  • First items 10 & 10 installed items in folder (users) wrong how to switch to the default folded

    Due to the fact that I have misunderstood some of the instructions, my 2 programs are installed in the "users" folder instead of the folder "applications" on my Mac. 10.7.4 OS is possible to MOVE/DRAG these applications in the folder (applications) correct by default? If so, is there a safe procedure to do. I installed the program but have not launched their still. Any advice would be appreciated.

    You must uninstall the software and then reinstall in the appropriate folder. Any attempt to move the folder won't work and might mess up the system.

  • How to switch between two keyboards (Japanese keyboards have the double function of "direct entry"

    I have a laptop with keys 'English' and 'Japanese' on the same key board.  For example "A" key is also 'CHI' in Japanese, 'B' is also "KO" in Japanese.  How to switch between the two.  It changes itself.  This seems to happen after the mail in Hotmail changed in Outlook.

    Thank you

    Tomoko

    Hello

    Please go to the Microsoft Community Forums.

    From the description of the question, we understand that you want to switch between two keyboards entries.

    Let me go ahead and help you with the issue.

    Here are some steps you can follow to resolve the problem:

    Step 1:

    To change the default language, follow these steps:

    a. Click Start and then click Control Panel.
    b. double-click regional and Language Options.
    c. click on the languages tab, click details and then click Add.
    d. under input language, add the language that you want to use.
    e. under Configuration keyboard/IME, click the keyboard layout that you want, and then click OK.
    Note: Only users who have permissions on the local computer can configure the following options on the languages tab in the regional and Language Options.

    Step 2:

    To resolve this problem, change the hot key settings in your computer system. To do this, follow these steps:

    a. right click on the language bar and then click settings.
    b. in the Text Services and input languages window, click the Advanced Settings button select an action and then click Change Key Sequence.
    c. set keys and then save the settings.

    Hope that answers your query. You can write back to us for other queries/problems related to windows and we will be happy to help you further.

Maybe you are looking for

  • email will not be printed

    Running Windows 7 64-bit and yahoo mail.When I try to print an e-mail, it works fine if I simply click OK in the dialog box. However, if I open properties and change to duplex, levels of grey or other settings, nothing happens when I try to print. If

  • How to convert the string to a full decimal point and left shift

    Hey guys I tried to convert gps string to an integer, like this A string that is 2467.8976 and I need to convert it to a similar integer as point of this 2467.8979 so that I can shift the decimal point to the left (24.678979) which i coudnt do it wit

  • Compiler of CVI 2013: increment / decrement operator assessment

    Trying to pull an old project forward to 2013 CVI, I met a challenge, which is documented as follows: «In the summons, the value of the right operand is evaluated before indexing table is made in the left operand.» Expressions, such as a[i] = i++; wi

  • How can I change the print in grayscale settings?

    How can I change the printer (3050 J611) of colour printing for printing in grayscale print fast by default?

  • never set up account-need help administrator to install the program

    I am trying to install a program that I downloaded, but it says that I need administrative rights to do. I have two user accounts on my system (me, comments). My personal account has Admin rights, but it is not letting me start the download. I've bee