Question about auto-saving multiple files with the same template

Is there any way to do this? The template will never change - but I will need to save it as a new file each time I open it. Just want to know if there is an automatic way to do this when the template is opened each time? Preferably numeric, starting from any number. I suppose I can just save each file myself - but as it gets up into the thousands of files - I'm not going to want to.
It would be really cool if it could auto-save the file, assign it a number, and then place that number in the top corner of the saved document.
If anyone can help - let me know. C.

OK. First add a text field to the document, say "text1". You probably want it to be read-only. You can duplicate it to all pages if needed. Then open the template document, open the interactive JavaScript console (Ctrl+J), and enter the following code:
// Interactive Console JavaScript
// Get the folder this file is in
var folder = path.replace(documentFileName, "");
// Save multiple copies (from 1 to 9)
// with the number in the text field
for (var i = 1; i < 10; i += 1) {
    getField("text1").value = i;
    saveAs(folder + "template" + i + ".pdf");
After you paste the code, highlight the lines and press Ctrl+Enter (or the Enter key on the numeric keypad) and Acrobat will save multiple copies to the same folder as the template. Replace "text1" with the name of the field you've set up and "template" with the name you want the copies to have before the number.

Similar Messages

  • HT1473 How do I get iTunes to download an entire album in one file versus splitting it into multiple files with the same Album Title?

    I have added several CDs to my iTunes files, several Albums were added in the form of multiple files of the same Album title with random songs listed, but not the entire album in one file.
    I have tried to reassemble the Album into one file, but could not find a way to do so.

    Generally setting a common Album title and Album Artist will fix things.
    For deeper problems see Grouping tracks into albums.
    tt2

  • Multiple files with the same file name within the same folder

    It looks like a finder bug. To replicate, I surf to any website, I right-click on a jpg image, select "Save Image As" and in the window that pops up I type in the filename "000.jpg", I select the folder Pictures, and click on Save.
    BTW, I don't know why, but the file was saved only as "000" without the file extension ".jpg". Does anybody know why?
    Then I surf to another image, and again I save it as "000.jpg" and now it asks me if I want to replace the existing filename, although the existing one is "000" and I try to save as "000.jpg", so I say yes, and then magically the file is saved with the full filename including the extension "000.jpg"
    When I did it a couple of times, always saving image as "000.jpg" from various sources, I ended up with two distinct files named "000" and both in the same folder Pictures.
    Please advise.

    Misio wrote:
    It looks like a finder bug. To replicate, I surf to any website, I right-click on a jpg image, select "Save Image As" and in the window that pops up I type in the filename "000.jpg", I select the folder Pictures, and click on Save.
    BTW, I don't know why, but the file was saved only as "000" without the file extension ".jpg". Does anybody know why?
    the extension is simply hidden. go to the get info panel for the file and uncheck the option to hide the extension.
    Then I surf to another image, and again I save it as "000.jpg" and now it asks me if I want to replace the existing filename, although the existing one is "000" and I try to save as "000.jpg", so I say yes, and then magically the file is saved with the full filename including the extension "000.jpg"
    When I did it a couple of times, always saving image as "000.jpg" from various sources, I ended up with two distinct files named "000" and both in the same folder Pictures.
    Please advise.
    it sounds to me like you saved one file as 000.jpg and the other and 000.jpg.jpg.
    check the info panels for the files for full names to verify if this is the case.

  • How can multiple files for the same genre be consolidated

    I organize my iTunes files in genre folders for easy access. ITunes creates multiple folders for some genres and allows a single (preferred) genre file for other much larger files. How can I consolidate multiple files with the same genre?

    Thanks. I've done what you selected. The problem is that despite all files being identified with the same genre, iTunes groups some genres in two separate folders. Thus, I have two "Country" folders, for example. More perplexing is that iTunes groups my largest genre folder, "Jazz", in a single folder.

  • Load multiple files using the same data load location

    has anybody tried loading multiple files using the same load locations. I need to do this as the data in these multiple files will need to be exported from FDM as a single export file. the problem i am facing is more user related. since these files will be received at different points of time, users will need a way to tell them what has been loaded and what is yet to be loaded.
    is it possible to throw a window on the web broser with OK and Cancel buttons from an event script?
    any pointers to possible solutions will be helpful

    was able to resolve this. the implementation method is as follows
    take a back up of previously imported data in the befcleardata event script. then in the beffileimport event append the data to the import file. there are many other intricacies but this is the broad implementation logic. it allowed my users to load multiple files without worrying about append or replace import type choices

  • There are multiple users with the same display name

    Hi,
    We have a user and when she get an item assigned to her she sees the following alert:
    "There are multiple users with the same display name USERNAME and at least one of them does not have read permissions to some of the files"
    Now I looked in the database and when I run the following query with the username:
     SELECT     
         [ProviderDisplayName]  
        ,[DisplayName]  
        ,[HasDisplayName]  
        ,[Domain]  
        ,[AccountName]  
        ,[UniqueUserId]  
        ,[LastSync]  
      FROM [Tfs_Configuration].[dbo].[tbl_Identity] where displayname like '%USERNAME%'  
    Then I get 2 same usernames back, How can I get rid of one of them ? When I access TFS trough the portal I only find 1 occurence of this user.
    We use VS2013 and TFS2013 update 4
    Best regards

    Hi DSW,  
    Thanks for your post.
    In your query result, please check if these two users have the same Account Name. if they are two different Account Name in result, it indicate there’s two users have the same display name in your AD, please check that two users’ information in
    your AD. We suggest change one user’s display name in AD.  
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How can I overwrite a file with the same name in Content DB?

    Hi All,
    In Content DB if I upload a file with the same name as a previous one, the application shows the warning message:
    " ...You cannot upload "XXXXXX.doc" to "Test 1" because an item with the same name already exists ..."
    And the alternatives are "Create Version" or "Cancel" the operation. Is there any way to overwrite a previous file as we can do it in Oracle Files ?
    Regards
    Harvey

    Hi All,
    Can anybody from the Content DB product development answer this question?
    Regards
    Harvey

  • Is it possible to search for multiple folders with the same name and...

    Is it possible to search for multiple folders with the same name and then select them all and change the permissions on just those folders .i.e. Search for the budget folders in all client folders and lock them down to just the project managers. Without having to go to each folder and apply the permissions.

    user11919409 wrote:
    Is it possible to create a Clone database with the same name of source db using RMAN ...
    yes
    >
    DB version is 11.2.0.2
    Is it possible to clone a 11.2.0.2 database to 11.2.0.3 home location directly on a new server . If it starts in a upgrade mode , it is ok ....yes
    Handle:     user11919409
    Status Level:     Newbie (10)
    Registered:     Dec 7, 2009
    Total Posts:     102
    Total Questions:     28 (22 unresolved)
    why do you waste time here when you rarely get any answers to your questions?

  • Can iTunes sync multiple songs with the same name?

    My iTunes library has multiple songs with the same name (but they point to different files on the filesystem).
    Curiously when iTunes syncs to my iPhone it will only ever sync two of the files, even if more exists. I suspect what is happening is described below, but I have no way of verifying it:
    Let's assume I have 5 songs named IdenticalName, on the filesystem these are named IdenticalName.mp3, IdenticalName 1.mp3, IdenticalName 2.mp3, and so on.
    I suspect iTunes is syncing the filename without a number postfix, and the file with the "1" postfix and not continuing with the rest of the files.
    Has anyone seen similar behaviour? Did you find a workaround (other than renaming your tracks)?

    can you manually discover the new instances on the new server?
    Then just make sure the name that appears in Grid Control is different.
    e.g. prod.world is on server A and B. When you discover in Grid control, you can make it prod_B and you will see the latter without any problem.

  • For each loop in case of more file with the same name

    Hi, guys how works ForEachLoop in case of double file? Let's say that we got five excel file. A.xls, B.xls, C.xls, D.xls, A.xls. We got two file with A.xls. I'm going to assume that both file will be loaded. It's correct? 
    I'm asking this because I need to check if I got two file with the same name ( I got hundreds of file to load). And in the same time I need to avoid to load two file with the same title ( cause I could double the data)

    If there are duplicate file names in subfolders then you should fill the variable with the complete path. See C in this images:
    Please mark the post as answered if it answers your question | My SSIS Blog:
    http://microsoft-ssis.blogspot.com |
    Twitter

  • How do I make Applescript to compress 2 filez with the same name?

    Hello guys and thank you for reading this!
    I don't know a lot about programming, but i believe applescript can save my life. What I need is.
    Detecting 2 files with the same name, but differnt extension. (song 1.jpg, song 1.mp3)
    Compressing those 2 files into a single .zip (In the end I would have song 1.jpg, song 1.mp3 and song 1.zip
    And that's it! I know its pretty simple, and I've seen the "Create Archive" in automator, but I don't really know how to tell him which files to Compress.
    Thanks again!

    Hi,
    Try this script :
    set sourceFolder to choose folder
    tell application "System Events"
          {name, name extension} of (files of sourceFolder whose name extension is not "zip")
          my compress2FilesSameName(the result, sourceFolder as string)
          repeat with i in (get folders of sourceFolder) --check in subfolders
                {name, name extension} of (files of i whose name extension is not "zip")
                my compress2FilesSameName(the result, path of i)
          end repeat
    end tell
    on compress2FilesSameName(tList, tFolder)
          set tnames to item 1 of tList
          set tExtensions to item 2 of tList
          set tc to count tnames
          set j to 1
          repeat while j < tc
                tell (item j of tExtensions) to if it is not missing value or it is not "" then
                      set n1 to (count) + 2
                else
                      set n1 to 1
                end if
                tell (item (j + 1) of tExtensions) to if it is not missing value or it is not "" then
                      set n2 to (count) + 2
                else
                      set n2 to 1
                end if
                set name1 to item j of tnames
                set name2 to item (j + 1) of tnames
                if (text 1 thru -n1 of name1) = (text 1 thru -n2 of name2) then -- same name
                      set tFile1 to quoted form of POSIX path of (tFolder & name1)
                      set tFile2 to quoted form of POSIX path of (tFolder & name2)
                      set zipFile to quoted form of POSIX path of (tFolder & (text 1 thru -n1 of name1) & ".zip")
                      do shell script "/usr/bin/zip -j  " & zipFile & " " & tFile1 & " " & tFile2
                      set j to j + 2
                else
                      set j to j + 1
                end if
          end repeat
    end compress2FilesSameName
    if an archive already exists with the same name (in the parent folder of the files to compress) , the ZIP command overwrite this ".zip" file.
    Example  with "song 1.jpg", "song 1.mp3" and "song 1.zip" :
    If "song 1.zip" doesn't exist, the ZIP command create the "song 1.zip" file.
    If "song 1.zip" exist, the ZIP command overwrite the "song 1.zip" file (it will not create a new archive).

  • Is it possible to upload multiple files at the same time?

    Hi folks,
    It seems pretty trivial to implement a file upload item, but is there some way to allow selection (upload) of multiple files at the same time? Seems like this has probably come up before, but I didn't find much for solutions in my search. Any links or insight would be appreciated.
    Thanks!
    -Adam vonNieda

    Thank you both for your replies.
    @Manish - That does allow for multiple file uploads without refreshing the page, but does not allow for multiple file uploads at the same time.
    @Tony - That might be the way I end up going, although I probably should have been more specific. It would be really nice it there was a way to do a mutli-file select using the control or shift button like you can with a standard file selection dialog (if you want to copy multiple files, for example). Having a separate line for each file browser means there has to be a limit on the number that can be selected at the same time.
    Has anyone implemented a method of selecting multiple files at once, and hitting an upload button once to get them into the database?
    Thanks again Manish and Tony, very helpful.
    -Adam

  • Is it possible to have two files with the same name on my Zen To

    Hia,
    Is it possible to have two mp3 files with the same name?; I.e if I'm ripping a Bach CD, there are several tracks that have the name preludium, and I hate to do the rename.
    Also, will I be able to sync my Zen so that It will only recieve new files that have been added since I last connected my Zen to my computer?
    regards,
    Fredrik

    I believe same filename is OK because the Zen Player does not really care about filename. As far as I know, the Zen database of the tracks in the player is based on the track information such as Title, Artist, Album and Genre. This means you cannot have two tracks of the same Title, Artist, Album and Genre in the Zen Player.

  • I have multiple devices with the same cerificate, once I have a an exception for one, FF denys access to the others. I cannot change the certificates, I need to stop FF blocking them.

    I have multiple devices with the same cerificate, once I have an exception for one, FF denys access to the others. I cannot change the certificates, I need to stop FF blocking them.
    == This happened ==
    Every time Firefox opened
    == I attempt to access a web front end on an IBM SVC device

    You can't use the same certificate more than once.
    See also [[Certificate contains the same serial number as another certificate]]

  • Multiple devices with the same GUID

    Hi,
    According to the Zenworks Command line utilities reference https://www.novell.com/documentation...a/bb15p2z.html
    There exists an option to register a device with a new GUID by doing the following...
    register (reg) [-g] [-k <key>] [-u <username> -p <password] <ZENworks Server addressort>
    Registers the device in a Management Zone.
    You can use the following options:
    g - Lets you create a new device object with a new GUID and password for the device if you have multiple devices with the same GUID. When you register a device by using this switch, all the associations (policies and bundles) assigned to the original device object are removed. You cannot use this option to create a new GUID for a Primary Server or a Satellite device. The local user must have Local Administrator rights to use this option.
    I would like to know if it is possible to have such a command line option for the agent installation. So built into the agent installer, a command line option to force the agent to register with a new GUID.
    We are having CONTINUOUS problems with the above scenario. When we move devices from one computer lab to another and re-image the device, Zenworks keps trying to assign the same GUID to the device and this mixes up our Dynamic Workstation groups, which then affect the applicable policies to each device.
    I would like to know if there is an option to tell the installer to stop remembering the GUID and simply register the device with a new guid on agent installation.
    This way we can build that into the post imaging scripts which install the zenworks agent.

    Hi Craig,
    OK, I've had a look at the ZCM Reconcile rules and run a few tests to see if it is possible to get the machines not to reconcile (use a new GUID after imaging).
    As I have explained before, sometimes this result is desired in our case especially when we move machines around from lab to lab.
    So far, no matter what configuration I use, I cannot get Zenworks to generate a new GUID for a device that is getting re-imaged (without doing so only after the fact by unregistering the machine and reregistering the machine via the zac und and zac reg -g).
    We use dynamic workstation groups to assign policies and bundles to machines so reconciling the devices is not necessary most of the time. We need an option to tell the machine to register with a new GUID on installation of the agent. Surely such an option can be built into the agent installer?
    The options in the ZCM config management "reconcile settings" I tested with are:
    Serial Number - Unticked/Unselected
    Mac Address - Unticked/Unselected
    Machine Name - Unticked/Unselected
    Enable Differentiation - Unticked/Unselected
    I then also tested:
    Serial Number - Unticked/Unselected
    Mac Address - Unticked/Unselected
    Machine Name - Ticked/Selected
    Enable Differentation - Ticked/Selected
    and also:
    Serial Number - Unticked/Unselected
    Mac Address - Unticked/Unselected
    Machine Name - Ticked/Selected
    Enable Differentation - Unticked/Unselected
    With all three different configurations, I re-imaged the same machine, which renames the machine via the first post imaging installation script to match the DNS name. Thereafter the Zenworks agent gets installed, which then renames the machine back to what it was registered into the Zenworks database with on first installation.
    We need a method of telling Zenworks NOT to reconcile when we want it to. It should not reconcile every time and thereby rename the machine netBIOS name.
    Is there any way to achieve this?
    Originally Posted by CRAIGDWILSON
    Quite Simple,
    Let's say a HDD Dies and you replace it.
    All you need to do is bring down an image and the machine will come back as it was with all the same WS and Device associations.
    The same thing could apply if bringing in new Hardware.
    If a new computer were to replace an old computer but the name stayed the same, everything could be automatic depending on the rules setup.
    It is all a matter of how you tell ZCM to reconcile devices.
    The Help in the ZCC under these items should explain how it works so you can setup your rules to meet your use cases.

Maybe you are looking for

  • How to get column names for a specific view in the scheme?

    how to get column names for a specific view in the scheme? TIA Don't have DD on the wall anymore....

  • Search Result appear in a region of a page

    Hi, we want to place the page of the search result in a region of the main page. By default it open a new page. How can we do it? Thank you.

  • Ipod Lockout for MINI

    I noticed that on the Ipod nano they have that feature that allows you to lock the ipod... I was wondering if someway possible you could get that same app with the Ipod Mini....?

  • Location of xmp data for jpg photo

    Scenario: Edit a jpg photo in LR (let's call it photoname.jpg) - add cropping etc. Tell lightroom to "write metadata to file" (CTRL-S in XP). I cannot see the associated .xmp file in windows explorer..... however, going over to Bridge and "edit in AC

  • Graphical User Interfaces HELP

    Hi everyone My problem is that I have a GUI which currently has three panels. They are are equally sized and run vertically down the window. My problem is within the last Panel I want to seperate it, so it splits equally in two levels which will cont