PDF button Saveas Javascript not workning on other computers

Hi
I created a pdf with a save button that executes a javascript with the saveas function.
Problem is that it only seems to work on my PC and no other as the script does not appear to run.
Kind regards
Andy

I added it to a button as run a javascript on mouse down
added the code to it which I have popped below:
/* Save files with a timestamp filename */
/* this script does not overwrite existing files - unique names are created */
/* EverMap LLC, 2009 */
function DoesFileExists(pathname)
    var result = false;
    try
        var otherDoc = app.openDoc(pathname);
        if (otherDoc != null)
            result = true;
            otherDoc.closeDoc();
    catch(e)
        result = false;
    return result;
// create a unique filename for output file
function GetUniqueOutputFileName(pathName)
    var i = 1;
    var baseName = pathName.slice(0, pathName.length - 4);
    var testName = pathName;
    while (DoesFileExists(testName) == true)
        testName = baseName + " " + i + ".pdf";
        i++;
    return testName;
var i = this.path.search(/[^:/]+\.pdf$/);
var fname = this.path.slice(i, this.path.length - 4);
// replace /c/data/ with a desired folder path where to store extracted files
var folder = "/c/Click2Sign/ForConversion/";
// now add time stamp data to the filename
var t = new Date();
fname += " - " + t.toLocaleString();
var outputname = fname.replace(/[,\\/\?*<>]/g," ");
outputname = outputname.replace(/[:]/g,"-");
var outputpath = folder + outputname + ".pdf";
this.saveAs(GetUniqueOutputFileName(outputpath));

Similar Messages

  • PDF's in iTunes Not Showing on Other Computers

    I put some PDF's into iTunes so they show up on my iPhone and iPad. That works fine. But my other computers do not have the documents showing in iTunes even though they are all "authorized". I suppose I could start "sharing" libraries at home but what about my computers at the office? It seems as though they are in the "Cloud" and so should show up on all computers.
    aehaas

    PDFs can't be synced to other computers, so you have to add them to the iTunes library of each PC in order to have these documents on those computers. PDFs aren't uploaded to iCloud, so that's the reason they don't appear on your other computers

  • I only have one computer assigned to our ID and am trying to authorize my other computer for home share but it keeps telling me to deauthorize other computers.  we do not have any other computers hooked up to the account.  how do i get past this?

    i only have one computer assigned to our ID and am trying to authorize my other computer for home share but it keeps telling me to deauthorize other computers.  we do not have any other computers hooked up to the account.  how do i get past this?

    Understanding Home Sharing
    Troubleshooting Home Sharing

  • We want to wirelessly share a printer within a group of 7 Macs, but do not want any other computers to be able to use the printer.

    We want to share a wireless printer by a group of seven IMacs but do not want any other computers to have acess to the printer . How to do that?

    Get an HDMI switcher. Plug in the ATV directly to the TV and then use the switcher on the other input.
    Example
    http://www.amazon.com/Ultra-High-Performance-Switcher-Switch/dp/B0015YWKYY/ref=s r_1_1?ie=UTF8&qid=1316918064&sr=8-1

  • Button "save as" not working en netbook

    installed photoshop cs5 on my netbook and it worked fine but stopped working days after the button "save as" try reinstalling it but still not working
    Sorry my bad english

    What is your screen resolution?  I suspect you changed it.
    Your screen needs at least 768 pixels, vertically, or the Save As dialog will not come up.
    -Noel

  • Error msgs read, damaged PDF and can not repair. Other computers are able to open the PDFs.Please advise?

    Unable to open PDFs on a specific computer. Other computers are able to open the PDFs. What could be wrong with this one computer? Please advise appropriate course of action?

    Hi $Comptroller,
    What are you using to open the PDFs? Reader or Acrobat? It may be that there's a problem with the application that you're using to open the PDFs. Please update (first) or repair Acrobat or Reader following the instructions in this document: Can't open PDF
    Please let us know how it goes.
    Best,
    Sara

  • Can see but not connect to other computers on my home network

    New laptop running 8.1 replaces crashed one (also ran 8.1). After setup, can see the other computer on Home Network (uses Windows 7). That one can also "see" the new laptop. ( Both computers appear in the network folder). Neither
    will connect to the other. Get "cannot access message, check name etc."
    Both computers are in same Homegroup, tried all the tests mentioned in support . . .everything seems set properly. Ran through all the network and homegroup diagnostics fine. Tried connecting with both firewalls disabled.
    Is there a solution I'm not aware of? Others seem to have similar if not identical problem.

    Hi wrkeen,
    Please share more details about this issue:
    1. Provide the error messages for better analyzation.
    2. What solution have you done to test the homegroup?
    If we enable the network discovery, we will be able to find other computers or devices on the network.
    Please take the following steps for troubleshooting:
    1. Run the network troubleshooter to exclude the network issues. For more information, please refer to the following article.
    http://windows.microsoft.com/en-us/windows7/using-the-network-troubleshooter-in-windows-7
    2. Go through this path Control Panel\Network and Internet\Network and Sharing Center\Advanced sharing settings and check if we correctly configure file sharing and other settings.
    Please take a look at the following article about troubleshooting file sharing.
    http://windows.microsoft.com/en-us/windows-vista/troubleshoot-file-and-printer-sharing
    Best regards,
    Fangzhou CHEN
    Fangzhou CHEN
    TechNet Community Support

  • My ip address is not seen by other computers in my work group

    Mac Mini OS X.10.2, 2.3 GHz i5, 8 GB 1333 DDR3, 500 gb hd
    I can not ping my Mac from other computers in my work group (both PC and Mac). I've been sharing a folder for a few years in a small work group and all of a sudden that folder can no longer be seen or mounted mounted on other computers in my workgroup. I am connected to the network and internet and I  can ping other computers in my group. They can't ping me (get no response when pinging my ip address) and therefore are unable to see me to mount and share my folder.
    I've double checked all my sharing setting, permissions and find everthing as it should be, but others are unable to mount my folder.
    Thanks in advance for your input.

    Airdrop Requirements and some Troubleshooting

  • Appleairport not working with other computers

    My apple computer will connect to the apple airport, but the other computers and wii won't connect.

    Hi
    OS means Operating system , Windows 7 and Vista are Operating system's for desktop and laptop. You will have to install the drivers and then connect the printer ..this will finish the printer software installation and you will be able to just click on printkey and print.
    Regards
    Aneesh

  • Button Save layout not appearing in the Applicaion toolbar

    I am displaying an ALV output thru OOPS like
      my_salv_table->set_screen_status(
        pfstatus      =  l_pfstatus
        report        =  my_repid
        set_functions = my_salv_table->c_functions_all ).
    I have set my pfstatus prior to this . In my PF status I have set the save layout button also . But it is not appearing in the ALV output . But when I execute the pfstatus individually the button is appearign in the application  tolbar .
    Moreover I tried to explicitly set the save layout button
    l_functions_list = MY_SALV_TABLE->GET_FUNCTIONS( ).
    l_functions_list->set_save_layout( IF_SALV_C_BOOL_SAP=>TRUE ).
    But also it is not appearing in the ALV layout

    Hi you can copy the status from the standard ALV program 'SAPLSALV' to your program.For that u nedd to follow thease steps.
    1. go to se41.
    2. enter standard program name 'SAPLSALV'.
    3. select the status name 'STANDARD' via F4 help.
    4. Click on the copy 'status' button on the application tool bar.
    5. enter your program name and give the name of status as zstandard.
    status will get copied.
    6. Now in your source code.
    in the   CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    do changes as.
    I_CALLBACK_PF_STATUS_SET = 'ZSTANDARD'.
    and write subroutin as.
    *&      Form  ZSTANDARD
          text
         -->EX_ITAB    text
    FORM ZSTANDARD USING RS_EXTAB TYPE SLIS_T_EXTAB .
    copy the status of 'SAPLSALV' standard program.
      DATA:
        GT_EXCLUDE   TYPE SLIS_T_EXTAB.
      SET PF-STATUS 'ZSTANDARD' .                       "Set gui status
      APPEND '&FIND' TO GT_EXCLUDE.
    ENDFORM.                    "ZSTANDARD
    after doing all thease thing u will get all the functionality of standard alv program including SAVE command.
    I hope it will definately help u.
    Rewards if usefull.
    Best Regards.
    Dheeraj

  • Interactive PDF Not Working On Other Computers

    Hi,
    I created an interactive pdf from an Indesign file on my personal computer. I put the file on another computer but it doesn't work? What could be the problem?
    Thank you,
    Kristie

    I'm trying to view the PDF on a MacIntosh. I created the PDF file on a PC
    (Windows Vista) and used Indesign 5.5. I went to File, Export and selected
    Interactive PDF as the file type. I accepted the other defaults. Also, I created
    three bookmarks in the Indesign document. The first two work but the third one
    doesn't and It's always the last bookmark I click on that fails to work. The
    bookmarks work fine in the Indesign document.

  • Why are my JPEG exports from Lightroom 4 are not displaying on other computers?

    When I export JPEGs from Lightroom, they display fine on my computer but when I send them to the client, they are not displaying at all. There is a message saying that the software on the clients computer may not be up to date so I tried updating their software but to no avail.

    I know, it's strange. I've never encountered it before. They are definitely JPEGs, although I don't know if the difference between JPGs and JPEGs is anything to consider.
    On my computer, 2008 MacBook Pro, OS 10.8.3, they display through Preview. Also, when I upload them to Dropbox, the thumbnails display correctly. I have transferred them to a USB key as my client was not tech savvy enough to grasp Dropbox. When I brought the USB Key to the client and transferred to her MacBook Air, neither the thumbnails nor the photos themselves displayed. I also tried transferring to her PC and the same result.
    I was trying to contact Adobe support to see if this was a problem other people had experienced.

  • Problems with HP4620 not working with other computers in the house

    I purchased an HP 4620 for my home and it works great wirelessly with my Vista laptop.  However, it does not show as an option for our desktop or our second laptop.  Any ideas?  
    Thanks,  Sunny12
    This question was solved.
    View Solution.

    Hi
    OS means Operating system , Windows 7 and Vista are Operating system's for desktop and laptop. You will have to install the drivers and then connect the printer ..this will finish the printer software installation and you will be able to just click on printkey and print.
    Regards
    Aneesh

  • Dashboard URL not accessible from other computers in office

    My Analytics is on Windows on my desktop. I can access Analytics from my desktop, but other people can't.
    Is it because Analytics Dashboard can only be accessible by the desktop on which it is installed if on Windows ?
    Thanks
    raj

    Check whether from other people machines you are able to ping your machine. If its not doing then you need to do some setups (mostly your network admin can do that for you) and get the communcation between machines. If its done then other people can access your dashboard URL.

  • My Apple TV purchases via iTunes do not appear on other computers running iTunes under OS X, iOS or Windows

    I have recently been purchasing more movies and TV shows through iTunes. When I do his from a desktop computer or iOS device, the titles are accessible on my Apple TV. The opposite does not seem to work however. The content remains accessible only through he Apple TV. I have researched the issue and cannot find a solution. iTunes help does not speak to the issue.

    You need to go into your purchased history and download on other devices, they won't appear automatically.

Maybe you are looking for

  • How to export a picture with copyrights?

    Hello Forum, I am trying to export images so when I print them or make a proofbook my copyright date and company name gets printed on them. I have the Aperture 2 training book and I can see the copyright on the screen but for the life of me can not g

  • Could not find portlet_xml_ref for portlet key 18011

    Hi, I just loaded BEA Portal 7.0.4 and created my domain. copied the portal app from another working machine and started the server. This is what I'm getting: <Dec 2, 2004 3:59:34 PM CST> <Warning> <EJB> <010004> <The EJB deployment named: abtServer_

  • ADF LOV  (Just allow to select but not validate)

    We need a LOV on a column. User wants to look up using the LOV , sometimes he selects data from the LOV and sometimes he will enter the data he wish.. Example : Let say i have deptIDs: 10,11,15,20,21etc Sometimes user picks the exact deptID and somet

  • Looking for the Round Card technical reference manual

    I'm currently evaluating a new application for FieldBus Round Card. We need certain specific info usually found on technical reference manuals. Thanks in advance for your help.

  • ICloud is downloaded supposedly but I can't find it anywhere on my PC?

    I've downloaded the iCloud several times, but the installation process takes a couple seconds and a screen pops up saying I can find it on my Windows control panel... but it's not there. The only program I can find is the iCloud setup, but not the pr