Make a document script not run automatically

I have a document level script, which populates a field with a unique number automatically and this happens if the field is empty when the document is opened.
My problem is this, when i have written in the javascript code in the texteditor and i press close, the code runs automatically and fills out the field. If i then go ahead and close the PDF it asks me if i want to save the changes, if i press yes the PDF is saved with the newly generated number and code, if i press no its saved without the code i implemented, niether being what i want.
I need some way to save the document with the code implemented, but without it being run immediately upon implementation.
It's a RMA PDF document customers needs to fill out on a website.
Best regards,
Simon

Incredible how much of a headache simple things can give you!
Thanks alot
Best regards,
Simon

Similar Messages

  • Firefox is taking a long time to open. When it does open, I get a pop up box with "Script not running". Bookmarks on my tool bar don't load. Scrolling is unreliable--it will stop in the middle of a page

    What is causing the "script not running"? Why so long to open? Etc.

    Hi Donekes,
    First off I need a little more information to help with troubleshooting.  You say that an error occurs when you "try to re-open the same problem app before the old session completely exits".  Does the error have an error code or dialog display?  It may also be possible to receive an error log.  Here is a knowledge base that explains how to retrieve error logs.
    http://digital.ni.com/public.nsf/websearch/54E361E3FF477EC186256C320068184F?OpenDocument
    If you are able to get that information then please post.  Have a good day.
    Brian K.

  • Photoshop CS5 - Action is not running automatically  while I trying to save PDF to JPG

    My Problem in Photoshop CS5: Action is not running automatically while I trying to save PDF to JPG, in the batch process:
    Followed following steps:
    Opened PDF file
    Created new auction (F2)
    Flatten image
    Save as JPG
    Close file
    To Run Batch:
    Opened Batch dialogue box
    Selected set/action name
    Source: selected as “Folder”
    Directed location using “Choose” button
    And no selected any check boxes under the “Choose” button
    Clicked “OK”
      Now all the PDFs are opened one after another but not execute the selected action. Please help how to resolve for auto run.

    What is part of the Action?
    Could you please post a screenshot with the pertinent Panels visible?
    Have you tried using Image Processor or Image Processor Pro instead of Batch?

  • Is it possible to make the document window not to hide behind the palettes?

    Is it possible to make the document window not to hide behind the palettes (layers, paths etc) like in CS5? For instance if I want to make a correction in the right part of the image and zoom in, the window expand under the different palettes and I can no longer see the area which I want to correct without change the document window size. I don't want to use the Photoshop application fram because then I can't see stuff in other applications ID, mail an so on. 

    I have written about how to control various font sizes in Thunderbird here:
    http://www.ramsden.org.uk/9_Type_sizes.html
    Generally, you shouldn't need to zoom; you can pre-set the display of message text.
    To get straight to the point, you should probably try the https://addons.mozilla.org/en-us/thunderbird/addon/theme-font-size-changer/ add-on to address issues with the size of the message list font.

  • I'm trying to sync Outlook calendar (office 2010?win 8) with my iphone 4s. All works well when running control panel manually but it will not run automatically after that. Anyone got any ideas

    I'm trying to sync outlook calendar and contacts via icloud control panel. Everything works when control panel is run manually but it will not run automatically after that. Anyone got any ideas

    I am having a very similar problem. Until 12 hours ago, I was using my recently replaced 4s (with iOS7) flawlessly, receiving emails and calendar info from Exchange (Outlook 2010). But starting last night, it all stopped. I have deleted and added the account several times, tried making simple changes (considering whether the username is case sensitive, or not, etc.) and cannot fix it. I have iOS 7.04. Interestingly, the first time I changed the case to lower case, it seemed to respond immediately, and downloaded many emails with no sender, no content, and with a 12/31/69 date. Yes, 1969. And then nothing happened. Help please!

  • Server side script not running on stand-alone XE

    Hello,
    In my application I created a Server side script (AJAX) which presents a select-list based on other fields on the page. The very same application runs on a 10g+APEX3.0.1 database AND on a standard XE+APEX2.1 database, which are both accessed via a HTTP-server. The application with the script runs fine on this platform (XP).
    I have two other XP-machines on which I also installed XE+APEX2.1. Both are stand-alone versions NOT accessed via a HTTP-server. I installed exactly the same application which runs on the platform with HTTP server on both of the machines. While testing the correct functioning, I noticed that everything works ok, EXCEPT the server side script which gives me a better select list. Instead of this I get the old-fashioned version of the select-list which is not able to use the value elsewhere on the page.
    I found a similar problem on the XE forum (Re: Server side scripts features ) but it doesn't answer my question how to get the script working on a standalone version of XE (= without access via a HTTP-server).
    Can anybody please help me?
    Thanks & regards,
    Jan.
    Message was edited by: Jan
    J. Hulsing

    Carl,
    Thanks for your suggestion to install FireFox and the Firebug tool (which I wasn't aware of).
    After having looked at the problem for hours, I found what I think is the problem: the htmldb_html_elements.js script.
    As already mentioned, the properly functioning XE on my local PC is accessed via a HTTP-server, as well as the 10gR2+APEX3.0.1 version also running on that PC.
    On the laptop, not running HTTP-server, I get the message: <br>
    <FONT COLOR="RED">$x is not defined <BR>
    <FONT COLOR="BLUE"> f_21_select_kpn<FONT COLOR="RED">(<FONT COLOR="BLUE">input<FONT COLOR="BLACK">#P21_GBREKNR 405<FONT COLOR="RED">, "P21_KOSTENPOST") <BR>
    <FONT COLOR="BLUE">onblur<FONT COLOR="RED">(<FONT COLOR="BLACK">blur <FONT COLOR="RED">)
    </FONT><BR>
    That is in the 'Console' of Firebug.
    When changing to Script I do see a remarkable difference.
    On the PC there the following text is found in the first lines of htmldb_html_elements.js:
    /*htmld_elements will contain the lower level html access js*/<br>
    var gDebug = true;<br>
    var gkeyPressTime;<br>
    var gLastTab=false;<br>
    var gRegex=false;<br>
    var ie=(document.all)?true:false;<br>
    if(ie){document.expando=true;}<br>
    var gDebugWindow = false;<br>
    /*<br>
    $x functions have to do with either single elements or array of elements<br>
    $v functions have to have to do with manipulating values or interaction based off a value<br>
    $xml function have to do with manipulating xml values<br>
    $a functions are based on ajax<br>
    $d functions are specific dhtml constructs<br>
    */<br>
    /* begin $x functions */<br>
    function $x(pNd){<br>
    try{<br>
    var node;<br>
    ...<br><br>
    On the laptop however the first few lines are:<br><br>
    /*htmld_elements will contain the lower level html access js*/<br>
    <br>
    var gDebug = true;<br>
    var gkeyPressTime;<br>
    var gLastTab=false;<br>
    var gRegex=false;<br>
    if(document.all){document.expando = true;}<br>
    // Elements //<br>
    <br>
    function html_GetElement(pNd){<br>
    try{<br>
    var node;<br>
    switch(typeof (pNd)){<br>
    ...<br><br>
    I think that the difference is in these two scripts.
    But why are the scripts different: it is the same XE that is installed on the laptop and the PC.<br>The answer I found in the images/javascript directory of APEX3.0.1 which is located in the APACHE directory-tree (you have to copy the images to APACHE when you use the HTTP-server). And indeed: the htmldb_html_elements.js has exactly the same text as what I see in Firebug on the PC. So XE on the PC is using the javascripts in the image-directory of APACHE on the PC and not the XE-version of the scripts, embedded in XE.
    <br><br>
    So the answer seems to be: copy the APEX3.0.1 versions of the script over to the PC and try to get them into the database. Or...???
    <br>
    Can it be loaded into the database? Will XE accept it?
    <BR><br>
    Would be nice to have answers if the conclusion I found is the right one and if it can be fixed by loading the js into XE.
    <br>
    Best regards and thanks for your help so far.
    <br>
    Jan.

  • Tomcat server is not running automatically

    Hi BO experts,
    I have installed SAP Business Objects XI 3.1 in my system and noticed that Tomcat server is not running in Central Configuration Manager where the status is "Stopped". If I start manually also it's not starting (In properties, the startup type is - Automatic).
    So I went this path "E:\Program Files\Business Objects\Tomcat55\bin" and double clicked "startup.bat" then I am able to login into Infoview. Could please someone explain that is there any possible way to run Tomcat automatally so that i do not need to start up manually every time?
    Thanks in advance!!

    I'm assuming that whoever installed the Apex Listener installed it under the Apache Tomcat application server. This isn't officially supported by Oracle, but it does work. You start Tomcat by executing "startup.bat" in its bin directory on Windows or "startup.sh" on Linux or other Unix-like OSes. In Windows, it will keep running as long as the command window is open (but you can minimize it) or I believe there is a way to set it up as a service - I'm not a Windows guru. In *nix, you can add an ampersand to the command to keep it running in background, or set it up to run as a daemon.
    Altogether, you probably need someone to learn more about how to run Tomcat if the person who set it up for you is no longer available. There is plenty of information on-line - just use Google or Bing.

  • Login scripts not running with AnyConnect NAM and ISE 1.2

    I am using AnyConnect 3.1 NAM as my 802.1x supplicant for ISE 1.2.  When users log in with EAP Chaining (User and Machine Auth), the login script seems hit or miss on if it runs to map their drives.  If I uninstall the NAM client, they map drives every time.  I would think that running a login script to map drives is a common scenario and I was wondering if anyone else using AnyConnect NAM was having similar issues or how they were dealing with it.

    I have the same issue and I solve the issue with change these parameters.
    1.- You must change on configuration profile "before user logon". I have 5 seconds
    2.- You must change on configuration profile  "port authentication Exception policy" and you must enable checkbox "enable port exceptions" and select "allow data traffic before authentication"
    3.- You must enable in the option of interface Ethernet Intel on PC "Wait for link" this option It's in "configured advanced of Intel. You must select "on" in this option.
    4.- (this recommendation it was by Cisco) 
    Active Direct GPO has a setting "Computer Configuration\Administrative
    Templates\System\Logon\ Always wait for the network at computer startup and logon" that
    can be enabled to make the logon scripts wait till 802.1x authentication is completed.
    With those changes the logon script run fine.
    Regards
    David.

  • VB startup script not running on Win7

    Hi,
    my startup VB script not working on Windows 7. The script should install or uninstall office 2010 based on group membership. 
    I tested scipt on Windows XP and everything works. When I run script manually, it works.
    Quite similiar batch file works, office are installed but not same functionality for me.
    I turn UAC off, bot not working.. Also add dword EnableLinkedConnections  but nothing change.
    Batch file works but VBScript not!
    Any advice? Thx

    Hi Tomas Cink,
    Based on my understanding, the start VB script which is deployed via GPO could not works fine on Windows 7 clients, although it can works fine on Windows XP clients and it can
    run sucessfully if manually. Right?
    Firstly, please run the following command on the problematic workstation.
          Gpresult /h > C:\temp\gpresult.html  (“C:\temp\” is the path of the gpresult.html, you can set it by yourself)
    This file is used for checking the result of Group Policy information. Open the file to check if the GPO has applied.
    If the GPO has applied, please follow the following step to narrow down the issue:
    Change the script to the following command: add  > %SystemDrive%\Users\test.txt
    to the script.
    Log on to a client with a regular user account, run
    gpupdate/force, and then re-log on to this client.
    Check if the test.txt file exists in this location
    %SystemDrive%\Users.
    If the
    test.txt file exists, the GPO with startup script is applied successfully. But the result of running logon script achieves the goal we excepted or not which is still not sure.
    Regards,
    Lany Zhang

  • GPO Startup/Shutdown scripts not running

    I am running server 2003 SBS with windows 8.1 Pro workstations.
    My workstations run 1 start-up script and 2 shutdown scripts. All are BAT files.
    They were all working fine last week before I ran the update for 8.1.1, now they do not run at the appropriate time on any of those systems. However, if I execute them manually they work as expected.
    I have checked to see if the BAT files are still located in the GPO and they are there. They are stored locally on each machine, I have even tried to delete and re-add them and then run GPUPDATE to no avail. 
    Any help here would be great, as they deal with local encrypted containers and are specific to each workstation.

    Hi Sebastian,
    Thanks for posting.
    Whether the GPO with start-up/shutdown scripts are linked to the OU containing computers?
    FYI -  Logon/Logoff scripts could only be applied to users, whereas Start-up/Shutdown scripts applies to computers.
    Also, checkout the below thread on similar discussion,
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/b193e8a9-9b2a-4993-bd74-836c65c51dc3/gpo-with-a-startup-script-is-not-working
    Regards,
    Gopi
    www.jijitechnologies.com

  • WMI Scripts not Running Across VPN

    Hi
    I have a strange problem where i have 2 sites connected  using  a VPN on 2  CISCO877.  But WMI scripts are not running across the link. if i pull these out an replace them with a Draytek, the scripts run fine.
    Broad Lane LAN ----- Cisco 877 ========= Internet & VPN Tunnel ============== Cisco 877 ---- Southam LAN1.0.39.0/8                      1.0.39.253                                                                                                              192.168.55.1   192.168.55.0/24 The server at Broad Lane is  GIMILI (1.0.39.109) and at Southam is FRODO (192.168.55.4). The following will not work through the tunnel from Broad Lane LAN. Set objWMIService = GetObject("winmgmts:\\192.168.55.4\root\cimv2") if err.number=0 then serverexist=true else serverexist=falsemsgbox(server.exist)
    Is is possible for the  CISCO877 to block WMI traffic?
    Any suggestions please?
    Rgds
    Phil

    Phil,
    Thank you for your question.  This community is for Cisco Small Business products and your question is in reference to a Cisco Elite/Classic product.  Please post your question in the Cisco NetPro forums located here: http://forums.cisco.com/eforum/servlet/NetProf?page=main  This forum has subject matter experts on Cisco Elite/Classic products that may be able to answer your question.
    Bill

  • Powershell script not running in the task scheduler...

    I've created a .ps1 script to transfer a file using WinSCP can run it in the ISE environment, in the PS window, and with the run command. I've transferred the command I used in the run prompt to the task scheduler but it is not running. It is running everywhere
    else just not in the scheduler. It says that it completes okay and gives a return code of OpCode=2
    The action is set to run this: c:\Windows\System32\WindowsPowerShell\v1.0\Powershell.exe
    The Arguments: -ExecutionPolicy Bypass -file "C:\Users\me\scriptsWCP\FileTransferPS.ps1"
    Also have it running with the highest permission and as SYSTEM

    Hi,
    To run a powershell script with parameters in the Task Scheduler:
    Program: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    Add argument (optional): -Command "& c:\scripts\test.ps1 -par1 2 -par2 3"
    Hope the below two articles be helpful for you:
    Schedule PowerShell Scripts that Require Input Values
    https://blogs.technet.com/b/heyscriptingguy/archive/2011/01/12/schedule-powershell-scripts-that-require-input-values.aspx
    How to Schedule a PowerShell Script
    http://dmitrysotnikov.wordpress.com/2011/02/03/how-to-schedule-a-powershell-script/
    Regards,
    Yan Li
    Regards, Yan Li

  • Maintenance Scripts not running

    Purchased a mac mini a few days ago. Noticed in my system log: Recent contents: that it doesn't seem to be running the overnight maintenance. It reads:
    Nov 20. 03: 15: 02 - geoff powells computer: mac - mini. cp: error processing extended attributes. Operation not permitted.
    This is updated daily with the same result. Mini is left running 24/7.
    Phoned Apple Tech Support who said their G4s syslogs said the same.
    But couldn't say if the scripts were running or not.
    Anyone any clues.
    The sys log of my G5 running 10.3.8 shows a restart everyday.

    Hi Geoff,
    Welcome to Discussions!
    Your system works perfectly well and the Periodic maintenance runs.
    - That a system log starts precisely at 3:15 shows alone that your computer is left on all night and the Daily script runs at its default scheduled time.
    --> Open Console again and see the three Periodic maintenance logs. They are daily.out, monthly.out and weekly.out.
    If your computer never sleeps, you should find that they were run at 3:15am every day (daily task), 3:15am on Saturdays (weekly task), and 5:30am on the first day of each month (monthly task).
    Note that since 10.4.2 they are able to run "delayed" in case your computer was sleeping during the night. This enhancement works perfectly well with the Daily Task, but not very reliably with the Weekly and the Monthly.
    Still no running at all if computer shut down at night.
    HTH
    Axl

  • Time Machine does not run automatic backups

    For the last couple of days TM is refusing to run the hourly backups.
    Manual backups run fine, but not the automatic ones.
    Modifying the exclude list seems to have no effect on the manual backups.
    It keeps using the "old" exclude list, i.e. the one I had before the problem
    started.
    In /var/log/system.log I find the following message every hour:
    Nov 18 21:26:03 macdelta com.apple.backupd-auto[12774]: Not starting scheduled T
    ime Machine backup - time machine destination not resolvable.
    I checked the plist
    /System/Library/LaunchDaemons/com.apple.backupd-auto.plist
    and it seems to be fine. It is identical to the one in another mac that shows no problems with TM. The same is true for the other plists related to backupd in that directory.
    Question 1: What are all the plists that control the behaviour of TM
    Question 2: How do I resume hourly automatic backups?

    My laptop's drive is encrypted and my laptop is with me at all times. The backup disk remains at my desk and does not have a cable lock. The important thing to consider here is that even if your laptop drive is encrypted (e.g., through FileVault), the TimeMachine backups *are not* (unless you are logged out of your account when you backup--at which point, why bother using TimeMachine over a simple disk cloner such as SuperDuper!?).
    Anyway, that's off-topic for now. You mention that it changed the element of the plist that identifies the backup volume, do you mean the UUID element? I noticed it changed:
    10.6.4:
    <key>DestinationVolumeUUID</key>
    <string>040F3E3C-11BF-3AF9-8813-2B6110B200A0</string>
    10.6.5:
    <key>DestinationUUID</key>
    <string>24E15602-063A-3930-B1FE-F2DB15865083</string>
    In addition, after doing a reset (while attempting to trouble shoot this issue), the new plist is missing some things the old plist had--for example:
    <key>HostUUIDs</key>
    <array>
    <string>00000000-0000-1000-8000-0017F2C65E0C</string>
    <string>25233988-B93F-56AF-B940-F386CB4442EC</string>
    </array>
    Thoughts?
    -Chuck

  • Saproot.sh script not running

    Hi All
    1)I upgraded kernel 700 to patch 185.its solaris machine.and then i tried to run saproot.sh script,but it is saying like
    ./saproot.sh SID
    ./saproot.sh: whoami: not found
    ./saproot.sh: test: argument expected
    i gave full permission to saproot.sh and saposcol
    2)I run a command 'cleanipc 00 remove' from then it is giving dump 'PXA_NO_SHARED_MEMORY'
    i increased buffersize also but of no use.
    when i go  to st06 it is giving err 'SAPOSCOL not running?(shared memory not available)'
    manually itried to run saposcol but it is saying no shared memory.
    appreciate the responses.
    Thank you

    >
    Santosh Kulkarni wrote:
    > Hi All
    >
    > 1)I upgraded kernel 700 to patch 185.its solaris machine.and then i tried to run saproot.sh script,but it is saying like
    >
    > # ./saproot.sh SID
    > ./saproot.sh: whoami: not found
    > ./saproot.sh: test: argument expected
    >
    ./saproot.sh SID needs to be execute from root user
    > i gave full permission to saproot.sh and saposcol
    >
    > 2)I run a command 'cleanipc 00 remove' from then it is giving dump 'PXA_NO_SHARED_MEMORY'
    > i increased buffersize also but of no use.
    > when i go  to st06 it is giving err 'SAPOSCOL not running?(shared memory not available)'
    > manually itried to run saposcol but it is saying no shared memory.
    >
    > appreciate the responses.
    >
    > Thank you
    Check this link
    http://help.sap.com/saphelp_bw30b/helpdata/en/95/df4002597211d3b473006094b910d9/content.htm
    http://www.saptechies.com/os-collector-saposcol/
    Regards,
    Subhash

Maybe you are looking for

  • Mail 3, smtp, IMAP: sent messages are not saved on server

    Hello, I had problems using Mail 3 after I upgraded to Leopard, so I used Thunderbird for the time being. With the update 10.5.1 I tried again: most problems solved BUT: sent messages are not saved on the server in mailbox "Sent". Some background: I

  • How do I download and save a pdf file on iPad2

    I just got and love my iPad2 and am learning a lot.  What I can't do is download a pdf file that is an attachment to my gmails.  It won't open the attachment nor when I click on it will it download.  I have installed both the iBook app and pdf-notes

  • Lets Add a Little Humor To The Forum!

    Turn off your laptop, unplug all wires, remove the battery, and hold the power button for thirty sec... Just click the first link after  Google's it for you!! I'm the clown here and there is just room for one of us This forum is to help Toshiba owner

  • Why do Facebook External 'Like' Links not connect properly in Firefox but are ok in Internet Explorer?

    You may of noticed the "new" 'like' pages spreading wildly across facebook. You know the ones that go to a website like: mylikebook.com, bawaal.in and many others. WELL i can't for the life of me get it to actually LIKE the pages. I click the 'like'

  • Running apple tv from iPad.

    a picture of the itunes logo and a usb cord is frozen on my TV after I was running apple tv from my iPad.  I restored the seting on my iPad, sunk it with my mac and unplugged all of the cables form the apple tv.  nothing seems to work.  anyone?