Page Counter Variable & Captivate 4

Hello - I can't get a simple page counter variable to work that I snagged from Captain Captivate. When I click to preview, the project will not show. I’ve tried F4 and F12, it will not preview the project. When I click F3, it shows the variable text. I’ve downloaded his sample file, this will not preview either. When I delete the variable the previews work. Any ideas on how to solve this problem or is there another option for creating a simple page counter?
Thanks!!

Hello,
You are talking about a slide number? There is a system variable cpInfoCurrentSlide that gives you that number. To have it on all the slides:
insert a Text Caption on the first slide, in which you insert this system variable, you can add other text as well
change the timing of this Text caption to 'for rest of project'
preview: you will have the slide number on each slide.
If you want to know more about variables, I posted something for starters. The link is in this blog post:
Curious about variables in Captivate (4 & 5)?
And if you want to know more, can recommend a Goober guide by the moderator of this CP-forum, Captiv8r:
Variables and advanced actions
Lilybiri

Similar Messages

  • Adusting a dynamic page counter

    I'm having a real headache getting a page counter to work in a module. It is a long course - 120 slides - and it features a dynamic menu and a sidebar menu that allows navigation to different sections from anywhere. It also has a glossary, available from anywhere in the course, which has a Back button that goes to the last slide visited.
    I need to change the cpinfocurrentslide variable by -2, to account for two screens before the menu (one of which is the glossary). I've created a variable, display_currentslide, which is in a text caption timed for the rest of the project. I have an Enter action on the menu which has an expression display_currentslide = cpinfocurrentslide. The result is that it shows Slide 1 of 120 on every slide. I can see that the issue is that this action does not happen on every single screen - only on the menu. So one solution would be to add this as an action to every screen, on top of whatever other actions are already there. This is feasible but would take ages. I've also seen a method of adding one or subtracting one for the cpinfocurrentslide using the forward and back buttons, which would work fine for me, except that there is a glossary which you can jump to from any screen in the course. Is there any method of making it work that doesn't involve adding a new action to every single one of 120 screens?
    Many thanks in advance for any advice or tips! I'm using Captivate 8.1, fully updated.

    I suspect you are using 8.0.1.242, because there is no 8.1 available AFAIK.
    If you want to have the variable v_CurSlide (sorry for my translation, this is my labeling way) updated on each slide, you'll have to run an action on each slide of course. Since that action never changes you can attach it to all the slides in one work flow: select all the slides in the Filmstrip (CTRL-A on Win), and enter the action name in the Actions tab, On Enter.
    However I would recommend to use a shared action (better for file size), same work flow because you'll not need to turn anything into a parameter.
    Another tip: why not display the Glossary interaction for the rest of the project as well, and use a toggle button to turn it on/off. Lot less navigation which will speed up the experience for the user since you have a long course.

  • How to get the  page count in XML Publisher Report

    Hi Team,
    I am generating one xml report. I want to get the total Page count in XML publisher report. This page count is depends on the input Parameters at runtime. How to get this total page count on the runtime dynamically.
    Best Regards
    Sri

    there is some seeded variable available please read xml publisher developer user guide

  • Page count  dynamically in adobe forms

    Hi,
    There is one requirement where they need to print number of pages based on data flow in internal table. to understand better the requirement here is one example as below:
    for ex; there is one internal table in one page which has 1000 records, the internal table is designed on body page (Design view), on the same page there is one footer which say the current page number based on internal table data. say for ex:  the internal table filled with 100 records in the first [page then it should print page count 1 then the remaining 900 records it fills the second page then it should print on the footer page count 2. similarly for last page  it should print page count 10.
    Note: 1  there is other master pages also but the counting of pages should be for dynamic data in the internal table.
    Note: 2 the actually counting should start with value 2 initialization . means first page count should be 2, 3, 4, ... 11.
    solution: do we need to write some code in the script. If yes please provide the code or is there any way to set the page count for that variable from that point onward with +1 page.
    Please advise. Your answer will be highly appreciated.
    Thanks,

    Hi,
    Could you please explain me where I need to write this piece of code in script editor on design view or in master page. I had already written a code on for that variable on master page layout:ready
    data.#pageSet[0].NEG_PROD_FLOW.LINES.Subform6.PAGES_TEXT.GV_PAGE_COUNT2::ready:layout - (FormCalc, client)
    form.NEG_PROD_FLOW.LINES.PAGES_TEXT
    this.rawValue =  xfa.layout.page(this);
    this.rawValue =  (xfa.layout.pageCount() - xfa.layout.pageSpan(form.NEG_PROD_FLOW.LINES.PAGES_TEXT));
    but i need to start page count initialization with value 2. the first page should display 2
    is that possible to do that.
    please advise.
    Thanks,

  • Resetting Page count

    I have a document that explains step by step procedures for a software program. It's all contained within one indd file. First half is for employees, second half is for managers. I have setup on my master page a page x out of x using variable text. The problem that I am having is that I need to reset the page counts for the manager section to begin at 1 instead of a continuation from the employee section since when I export it to PDF I create two separate documents.
    Any help would be greatly appreciated.
    Regards,
    Fernando

    Someone will jump in and correct me if I'm wrong, but I don't believe there is a variable available for section page counts. Why not do this as two documents? If necessary you can combine them in a book.
    Peter

  • Question about printing by page count

    Hi
    I'm new to this and I have a question about printing our invoices by page count.
    We generate our invoice using Crystal 2008 we have invoices that can range from a single page to as many as 6 pages. I would like Crystal to preview/print the reports in order of how many pages are in the report. Example: print all single page invoices first then all invoices that are 2 pages and so on. Is this possible?
    Thank you in advance

    Hi Ido,
    Thanks for your input. This is more or less what Carl was suggesting yesterday and I gave it a lot of thinking. The problem here is that I cannot go with "good enough resolution" - I need perfect resolution.
    The reason for this apparently silly requirement (why would one sort a bunch of invoices by number of pages instead of Customer Number, as long as they end up in an envelope anyway?) is the proposed purchase of a folding/stuffing machine which could do very fast what now takes one person 4 days to achieve.
    One type of machine comes with three settings - fold/stuff 1, 2 or 3-page statements. You need to have three stacks with all the statements that have 1, 2 and 3 pages. The ones with more pages will have to be folded manually, but there are only about two dozen clients that give us that much business. You feed the machine one stack at a time and set it to process the respective number of pages. Any statement that falls accidentally in the other stack will either cause the whole rest of the stack to be mixed up, which is very bad, or cause one customer to receive his invoice and someone else's, which is just embarrassing. I cannot afford any of these scenarios.
    Given that the statement contains variable-length (and depth) messages that vary by month and by profit center, and it could also contain one or more groups of details, each with its own header, it is very risky to try to come up with magic numbers attempting to estimate the number of pages based on the number of detail lines. Someone will still have to eyeball very carefully the initial stack of statements in the areas where the number of pages increases by one and make sure that ordering by number of detail lines did not mix, for example, one report with two pages among two reports with one page. Of course, this increased scrutiny will be necessary only around the areas where the page number transitions from 1->2, 2->3 and 3->4, which is much better than trying to order by number of pages all 1500 statements, but still depends on one's manual intervention and focus and, as a result, makes me pretty uncomfortable.
    I have taken a look at the "Group Sort Expert". If you select the "All" option (all groups) and you had some kind of summary value then you could sort the report by that value. The idea was to create a hidden Average field over the TotalPageCount runtime variable (which will always equal the TotalPageCount for that customer, since it's the same for all the pages in that group) and use that summary field in the "Group Sort Expert", which would have solved the problem elegantly. Unfortunately, there is no way to create a summary field over a runtime variable. I even created a formula that just returns the TotalPageCount, but that formula did not show up in the list of fields available for summarization (while other formulas did).
    It looks like the reporting engine does not allow this type of "late-sorting". I wonder if it is possible at all, because in effect this would require the engine to execute an additional pass: first it should somehow generate the whole report grouped by Customer Number so it knows how many pages are in each group, then it should sort by the number of pages and only after that it could render the report. I'm not sure the engine can do this additional pass.
    I would be very curious to hear about the other (more complex) ideas you mentioned. For example, I have seen (in Crystal 2008) a checkbox allowing "sorting by a formula". I don't know how to write a formula used in sorting, but the basic question in the paragraph above still stands: does the engine even support such a feature?
    Thanks again.

  • Page number to get displayed only when the page count is more than 1

    Hi Gurus,
    My requirement is to print page numbers ONLY if the page count is more than 1 ,i.e. if the data getting displayed in 1 page only then don't print "Page n of m" but if it is getting displayed in more than 1 page then display "Page n of m" on TOP right corner.
    I selected "Page n of m" and it creates 3 fields in object hierarchy i.e TextField CurrentPage, TextField PageCount and Static Text field Pages.
    I go to the ready:layout of PageCount object, and use below script:
    this.rawValue = xfa.layout.pageCount(); 
    if (this.rawValue == 1) {
    this.parent.Pages.presence     = "invisible";
    I looked at the message Page number not to display but it doesnot resolve my problem.
    Please help me out.
    Regards
    Ajay

    Hello Ajay,
    Script do not work for TextFields.  to get the page numbers displayed.  Select Text field from library and Go to Object Pallete, Value tab and select "Calculated - Read Only" in Type and choose Runtime property.  There you can find the Number of Pages.
    Once this is the text field, you can write script on it. 
    If(this.rawValue == 1)
      this.presence = "invisible"
    similarly write script for total number of pages, but make sure that variable is accessed properly.
    Please let me know, if you still see some issues with it.
    Thanks,
    Rakesh

  • Why is my page count always 1 (regardless of number of pages)?

    I just created a new Numbers document. It has 3 pages.
    In the footer I display (page number) of (page count).
    I would expect to see "1 of 3", "2 of 3", "3 of 3".
    What I get is "1 of 1", "2 of 1", "3 of 1".
    What do I have to do to get the page count to count the number of pages?
    Thanks

    Hello. I was searching the boards today, because I was having this same issue.  I couldn't figure out why when I chose Insert, Page Count in the footer, it was always coming up "1" - Yet, Insert, Page Number would be correct.  This is what I would get in footer:
    Page 1 of 1, Page 2 of 1, Page 3 of 1, Page 4 of 1, etc.  Should have been: Page 1 of 5, etc.
    Not finding a "fix" here besides starting troubleshooting with creating a test User Account (which is okay), I decided to do some more troubleshooting first, and I discovered something.
    I found my fix.  I don't know if it's what was happening for you, but this fixed it for me.
    Insert the Page Count from the Menu in the footer.  Make sure the Inspector is open.  Go to the Sheet Section.  In the middle is a Page Options section.  For me, the "continue from previous sheet" was checked.  Instead, I checked the second option "Start at" and chose "1."  That worked for me.
    I started this spreadsheet from a csv document, but I tried starting one from a blank template and "continue..." was also selected.  Seems like it's the default?
    Hope this helps someone else who is having this issue.
    Have a great day!

  • How to pass page session variable to on-demand PL/SQL process

    I am trying to execute a stored procedure that takes two page session variables as input and executes code based on those two variables. I have tried creating a stored procedure on the db-side and calling it using:
    BEGIN
    PROC_UPDT_EMP(&P23_TC_ID, &P23_EMP_ID);
    END;
    but APEX rejects the variables.
    I have also tried putting in the entire procedure in APEX as well, but I get the same problem. I have also tried using the :P23_TC_ID syntax, and still a no-go. What am I doing wrong?

    If PROC_UPDT_EMP is a stored procedure that takes 2 IN parameters, you would do
    proc_updt_emp(:P23_TC_ID,:P23_EMP_ID);in an after-submit page process. That would pass in the values of those 2 items from session state.

  • How can I get a total page count of a PDF before placing every page in the PDF?

    Before the [long] spiel, I'm using javascript in InDesign CS3.
    I'd like to create a script that places a multiPage PDF in any number of different impositions. (saddle stitch, 4up signatures, 16up signatures etc.)
    I've easily created a script that iterates through a PDF and places it into a new document as (4,1|2,3), (8,5|6,7) etc, which works for printing in duplex, folding each page in half, and gluing the resulting spines to make a simple thick book (for PDFs with more than, say, 64 pages).
    However, the next step is to re-write the script to create a saddle stitch document (16,1|2,15), (14,3|4,13) ... (10,7|8,9). For this I need to know how many pages there are in the PDF before I start placing the PDF pages, and then making the new document [int((PDFpages+3)/4)] pages long.
    Is there a simple way to get the count of PDFpages without going through a loop and placing the next page from the PDF until the placed page number equals the first page number?
    This way seems wasteful:
    var totPDFPages = 1;
    app.pdfPlacePreferences.pageNumber = totPDFPages;
    myPDFPage = sheetFront.place(File(srcPDF), [0,0])[0];
    var pdfFirstPage = myPDFPage.pdfAttributes.pageNumber;
    while (doneCounting == false) {
    totPDFPages += 1;app.pdfPlacePreferences.pageNumber = totPDFPages;
    myPDFPage = sheetFront.place(File(srcPDF), [0,0])[0];
    if (myPDFPage.pdfAttributes.pageNumber == pdfFirstPage) {
    totPDFPages -=1;
    doneCounting = true;
    alert("PDF has " + totPDFPages + " pages!");exit();
    myPDFPage.remove();
    NB. Javascript above *hasn't* been run, but should look similar once debugged.
    The only thing I've though of to relieve the sheer duplication of placing the PDF twice (once for the count, and once for the imposition), is to create an array of impoPages[counter]=myPDFPage, and then shuffle the pages referenced by the array to the correct sheet and position.
    It'd be much easier to be able to assign pageCount = File(srcPDF).pageCount !!!
    Thanks for any help/tips or even a simple "What are you smoking, man!?"
    Cheers,
    Jezz

    this will get almost all pdf pages count.
    jxswm
    function getPDFPageCount(f){
      if(f.alias){f = f.resolve();}
      if(f == null){return -1;}
      if(f.hidden){f.hidden = false;}
      if(f.readonly){f.readonly = false;}
      f = new File(f.fsName);
      f.encoding = "Binary";
      if(!f.open("r","TEXT","R*ch")){return -1;}
      f.seek(0, 0); var str = f.read(); f.close();
      if(!str){return -1;}
      //f = new File(Folder.temp+"/123.TXT");
      //writeFile(f, str.toSource()); f.execute();
      var ix, _ix, lim, ps;
      ix = str.indexOf("/N ");
      if(ix == -1){
        var src = str.toSource();
        _ix = src.indexOf("<< /Type /Pages /Kids [");
        if(_ix == -1){
          ps = src.match(/<<\/Count (\d+)\/Type\/Pages\/Kids\[/);
          if(ps == null){
            ps = src.match(/obj <<\\n\/Type \/Pages\\n\/Count (\d+)\\n\/Kids \[/);
            if(ps == null){
              ps = src.match(/obj\\n<<\\n\/Type \/Pages\\n\/Kids \[.+\]\\n\/Count (\d+)\\n\//);
              if(ps == null){return -1;}
              lim = parseInt(ps[1]);
              if(isNaN(lim)){return -1;}
              return lim;
            lim = parseInt(ps[1]);
            if(isNaN(lim)){return -1;}
            return lim;
          lim = parseInt(ps[1]);
          if(isNaN(lim)){return -1;}
          return lim;
        ix = src.indexOf("] /Count ", _ix);
        if(ix == -1){return -1;}
        _ix = src.indexOf(">>", ix);
        if(_ix == -1){return -1;}
        lim = parseInt(src.substring(ix+9, _ix));
        if(isNaN(lim)){return -1;}
        return lim;
      _ix = str.indexOf("/T", ix);
      if(_ix == -1){
        ps = str.match(/<<\/Count (\d+)\/Type\/Pages\/Kids\[/);
        if(ps == null){return -1;}
        lim = parseInt(ps[1]);
        if(isNaN(lim)){return -1;}
        return lim;
      lim = parseInt(str.substring(ix+3, _ix));
      if(isNaN(lim)){return -1;}
      return lim;

  • How to start the page count from second page (first is title)

    Hi all,
    I have been using Livecycle for a little while now and think I have got to grips with quite a bit of it to make some fairly simple interactive forms, but I have started to make more complex forms now and although I am able to work a lot of things out, one thing has stumped me. There are lots of threads about page numbering, but none seem to address my problem: I wish to have a 'page number' on the master page (done that) but I have 2 master pages, one is used for the first page (then not at all) and the second master page is used after that, that is the one with the page count on, that way the page number appears at the bottom on every page, apart from the first one. I need a way for the count to 'skip' the first page (as this is a title page and I do not want that numbered) and start numbering from page two of the form, but have it numbered as page 1.
    So basically the document will be Title page (no numbering), then pages after that of the form, starting from '1' shown on the bottom- it is a dynamic form that may change length as the user adds to it. Is there a script that I need to use, and if so how should I implement it? Any help would be appreciated, apologies if this is not very clear!

    Use the Custom object "Master Page n of m" on the second master page.
    Steve

  • Assigning a specific value to the sapscript counter variable

    Hi all,
    I am trying to use the sapscript counter variable in my sapscript but encounter the following warning.
    My code looks like the following:
    /: DEFINE &SAPSCRIPT-COUNTER_0& = 0
    The new counter value is &SAPSCRIPT-COUNTER_0(+)&
    The warning i get when i do the syntax check is:
    Ambiguous symbol &SAPSCRIPT-COUNTER_0&
    What is wrong with my syntax?
    Appreciate any help i can get.

    Hi,
         If i am not wrong you are trying to reinitializing that standard variable. if that is the case one thing, in script we cannot assign values to variable other than at initializing time but here you don't have chance to initialize that variable because that is standard one. More over modifications to standard variable will give some warnings.
    So try to use other than standard one as per your requirement.
    Hope this will help you.
    Regards,
    Aswini.

  • Getting Page Count for a Multi-Page PDF file using Illustrator script?

    Does anyone know how to get the page count of a multi page PDF file?  I know you can then open each page using the PDFFileOptions (pagetoopen).  But I need to know up front how many pages there are to loop thru to open each page and process each page.
    Any Ideas?

    This script i did for photoshop:
    OK so lets do it working on WIN and MAC without any shell script.
    This solution is not the best but its working.
    I used Try catch to solve it.
    Only issue is that you should at least somehow know how many pages you expect in pdf.. this mean if you are working with books or flyers...
    Then set the maxPagesCount to that number.
    I am working with pdfs with max 20pages.. so i start open the 20 then 19 then 18 and when i am success i know the amount of pages.
    Its not the quicker way but its usable.
    var maxPagesCount = 20;
    var actPagesCount = maxPagesCount;
    var opts1 = new PDFOpenOptions();
    opts1.usePageNumber = true;
    opts1.antiAlias = true;
    opts1.bitsPerChannel = BitsPerChannelType.EIGHT;
    opts1.resolution = 10; //it will load faster the test page
    opts1.suppressWarnings = true;
    opts1.cropPage = CropToType.MEDIABOX;
    myFunction = function () {
      try { 
          app.displayDialogs = DialogModes.NO;
          var fileList = openDialog();
          for (i = 0; i < fileList.length; i++) {
            actPagesCount = maxPagesCount;
            getPagesCount(fileList[i],maxPagesCount);
            alert(actPagesCount);
      } catch (exception) { 
        alert(exception);
    getPagesCount = function (checkFile, lastPageID) {
      try {          
        for (var checkPage = lastPageID; checkPage > 0; checkPage--) {
          opts1.page = checkPage;                    
          var docRef = open(checkFile, opts1, false);                  
          docRef.close(SaveOptions.DONOTSAVECHANGES);                  
          actPagesCount = lastPageID;                  
          return;                  
          checkPage=0;                              
      } catch (exception) {
        // Look for next page        
        checkPage--;        
        getPagesCount(checkFile,checkPage);

  • Pages 5.0 - Status bar current page & page count?

    How do I show the status bar showing current page and page count? I do not need to see the full thumbnail bar.
    In all prior versions of pages, I could look at the bottom of my window and see my current page and how many pages are in my document.  Now, I glance to the bottom, and I have no idea.  I cannot find any way to turn this on and turning on the thumbnails view does not show this to me at-a-glance because I have to scroll all the way down (through documents hundreds of pages long) to find out how many pages I currently have.
    Please, what am I missing here, how can I make this show up again?
    I mean a quick display here, not adding the page count and numbers to a documents footer.  Although, that would be one way for me to solve this issue, but I do not always want that.

    I wrote a short AppleScript solution that informs about the current document page as a pop-up dialog. This is for Pages v5+ only. I created and saved an Automator Application named CurrentPage to my Desktop. Providing that Pages is running, it will produce the dialog shown in subsequent Automator screen shot.
    Double-click /Applications/Automator and choose New Document, Application, and Choose. Follow the Utilities > Run AppleScript (not Shell Script as shown), and drag Run AppleScript over into the larger window and drop it. Select all of its contents and remove them -- this is just boilerplate.
    Copy and paste the following AppleScript into the now vacant Run AppleScript workflow window. Click the hammer, and File > Save... pick a name, and location to save the application where it is handy. Quit Automator.
    Code:
    -- P
    -- Produce formatted dialog of document name, current page, and page count
    -- Pages v5+ only. Works whether typing in document or scrolling pages.
    -- VikingOSX, June 2014, Apple Support Community - Pages for Mac.
    if not ApplicationIsRunning("Pages") then
      display dialog "Pages must be running to use this utility."
      return quit
    end if
    tell application "Pages"
      activate
      tell front document
      set diagTitle to "Current Document Page"
      set docName to (name as text)
      set thePage to current page
      set curPage to 0
      set pageCnt to page count
      set pnList to its page
      repeat with ndx from 1 to count of pnList
      if thePage is equal to item ndx of pnList then
      set curPage to ndx
      end if
      end repeat
      set vformat to "Document: " & tab & tab & docName & return ¬
      & "Current Page: " & tab & curPage & return ¬
      & "Total Pages: " & tab & tab & pageCnt
      end tell
    end tell
    display dialog (vformat as text) giving up after 15 with title diagTitle
    on ApplicationIsRunning(appName)
      tell application "System Events" to set appNameIsRunning to exists (processes where name is appName)
      return appNameIsRunning
    end ApplicationIsRunning

  • I'm creating a book format in Pages. I want the page count to be 1 on the first page of chapter one after the title page, table of contents, etc.. How do I do that?

    I'm creating a book format in Pages. I want the page count to be 1 on the first page of chapter one after the title page, table of contents, etc.. How do I do that?

    That is not the issue.
    Pages/OSX does not save files with crop marks and bleeds.
    It also by default saves transparency, which is involved in a lot of Pages' better features, at a rubbishy 72 dpi resolution.
    It also makes it extremely difficult to maintain mono-color like black only text, has no spot color and makes color management opaque.
    It really is only meant for amateur publishing and printing to your desktop printer.
    A commercial printer who is willing to use and print from Pages may have better results but at the cost of considerable micro-management which defeats the point of this "cheap" solution.
    Peter

Maybe you are looking for

  • Assigning Roles to Users

    Hello, I have created a Role in Portal Content named "TestUser" but when i'm trying to assign this role to a user, Role is not displayed in search list. I have tried "T*" in search option then click on start button but role "TestUser" is not visible.

  • How Do I Stop the Dial Up Box popping up

    Hello all, I am developing a three tiered RMI/JDBC application and have just about got it working over a LAN. My problem is that when my client (192.168.0.2) performs a Naming.lookup(String URL) the dial-up connection box pops up on my server compute

  • ABAP Question- line item transfer from one customer to another

    Dear SAP Guru's- I have a hot issue so any help would be greatly appreciate.  I have a customer that needs to move open A/R line items to one payer to another and without using F-30 or F-21, I recall seeing a program or t-code that gave one the abili

  • What is the phone numbeer for firefox help

    I need the phone number for the firefox help desk

  • Explain Plan Error

    Hi All, I am using oracle 10g and running in sql*plus. I am getting one error when running explain plan for one query, if I am running the query in sql*plus then it is working fine. Query:- SELECT sp.store_cd wr_store_cd, l.store_cd, l.loc_cd, l.loc_