Jobs recording under the name of temporary file

Hello fellow Scripting Guys!

//  Save the open file to the new direct to print folder as EPS with artboard enabled.

#target illustrator-19;


var newName = prompt ('enter in the new file name', "DJ", "Saveing to STE with new name");

saveFileToEPS();

               var w = new Window("palette","Saved To STE Printer",undefined,{closeButton:false});
                    w.add("statictext",undefined,"File has been saved to STE Printer");
                    w.show();
                    $.sleep(100);
                   w.close();

function saveFileToEPS() //  saves the file to the server as a .EPS document.
{  
    var thisDoc = app.activeDocument;
    if ( app.documents.length > 0 )
    {
        var saveName = new File ("folder location" + newName);
        saveOpts = new EPSSaveOptions();
        saveOpts.compatibility = Compatibility.ILLUSTRATOR13;
        saveOpts.generateThumbnails = true; 
        saveOpts.preserveEditability = true;
        
        saveOpts.artBoardClipping = true;
        saveOpts.saveMultipleArtboards = true;  

        var currentArtboard = app.activeDocument.artboards.getActiveArtboardIndex();

        saveOpts.artboardRange = currentArtboard + 1; // artboard # of the currently active artboard
        thisDoc.saveAs( saveName, saveOpts );
    }
}

I got the code above and when she runs 2/3 of the time, it runs great but the other 1/3 of the time it fails to rename and files are saved under the name of temporary file A1 #.  Is it possible to add a fail safe module to this?  Maybe do create the new file in a folder, make sure that the file has the file, and THEN move the file in this folder into the right pair?

I annotated the popup code section and I don't see the problem more.  Something in the code below was he locked up and renaming does not...  Good times with the scripts!

appreciate your help Silly-V.

    /*           var w = new Window("palette","Saved To STE Printer",undefined,{closeButton:false});
                    w.add("statictext",undefined,"File has been saved to STE Printer");
                    w.show();
                    $.sleep(100);
                   w.close(); 

*/

Tags: Illustrator

Similar Questions

  • When I opened the window "save the Page under", the drop-down box file name indicates the files that have been saved a long time ago. It is not cleared by a function 'clear history' that I can find. How can I erase this?

    1. Question

    When I opened the window "save the Page under", the drop-down box file name indicates the files that have been saved a long time ago. It is not cleared by a function 'clear history' that I can find. How can I erase this?

    Hello.

    I think this is a related issue of Windows, because it is the Manager to save the windows file that we are talking about here (right?). You should contact Microsoft for help with this one, I think. You expect to be able to delete entries simply by touching delete on your keyboard when they are concentrated (that is how it goes for the removal of the form entries specific autocomplete in Firefox), but I have not tried.

    I'm sorry I can't be more helpful.

  • iTunes will not regroup under the name of artist albums

    I noticed at the bar on the left with the artists, sometimes there are twice, the same artist, with each having only some of the albums and I can't group all albums under the name of an artist to the bar.for some artists can't do, but I did it because some others.anyone know what to do?

    If you see unexpected songs groups when you browse an album - https://support.apple.com/HT204538 - 'songs from the same album may not be grouped as expected when you view them in display Albums in iTunes."

    For most people this solution seems to be one that works: August 2008 post by turingtest2 temporarily change labels - https://discussions.apple.com/message/7904806#7904806 or http://www.samsoft.org.uk/iTunes/merge.asp - add a letter at the end of the name of the artist, close the read information, then open it again and remove the letter. This works often but I had cases where securities combined when a letter has been added but divorced when he was kidnapped again.

    The following sections provide additional solutions:

    Often a solution: select all the tracks on the album, file > info (or right-click > news > Details) and give them all a single "album artist", or check the indicator of "compilation" (as in https://discussions.apple.com/message/17670085#17670085).

    Steve MacGuire alias turingtest2 - iTunes and iPod tips and tricks - grouping beaches in Albums - http://www.samsoft.org.uk/iTunes/grouping.asp (old post on Apple Discussions http://discussions.apple.com/message/9910895#9910895)

    If they are several CD sets, you will also need to enter the appropriate information in the fields of number of disk.  If they are not a set of multiple CDs that you must always make sure any vacuum or disc number fields are properly defined.

    Another explanation of hhgttg27 August 2015 - https://discussions.apple.com/message/27784417#27784417

    If they are mp3 files are trying to change the version of the ID3 tag, which can cause iTunes to re - write the tags and clarify inconsistencies.  I use iTunes 7.5 (Yes, from 2007) so I can't tell you where it is in later versions.

    I had a case of grouping stubborn reality.  The tracks will be re-group in a way that has no meaning when I changed metadata.  Without going into details, I deleted tracks iTunes completely, then add the files and they are all grouped together correctly.

  • The names of my files have been replaced by the dates

    In the Finder on my MacBook, I put my pictures in multiple folders that are named with the place where I took the photos.  However, when I open Lightroom 5, folder names were replaced by several labeled "2016" of the folders and subfolders marked with the dates (for example, 2016-05-13).

    It's different on my iMac.  There, records have the names of real folders (places, events) and no dates.

    How can I get the Lightroom on my MacBook to view the actual folder names?

    Thank you

    Cliff

    Most likely, you imported photos on your MacBook using the option to COPY or MOVE, and if Lightroom has chosen by default files names, which are names of capture date. You want to choose the option Add to retain the folder names.

    If you accidentally used the COPY option, this can be corrected by pointing Lightroom to use the original files with the original names. To do this, do a right-click (ctrl-click on Mac) on the folder name date in the folder Panel on the left, select the location of the Lightroom update and point folder in the right folder with the proper name.

    As an alternative "thinking-out-of-the-box" (which I think is better the foregoing), assign keywords and other metadata to photos so you can easily locate photos and leave the names of folders without modification.

  • My account through the Art Institute of Pittsburgh under the name of Clairelicious713 is not yet activated, please help

    My account through the Art Institute of Pittsburgh under the name of Clairelicious713 is not yet activated, please help

    Clarissa

    IF the account is provided through the school, you may be able to work with the school to get the job of the ot.  In addition, you must contact Support Adobe directly.

    To the link below, click on the still need help? option in the blue box below and choose the option to chat or by phone...
    Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache.  If it fails to connect, try to use another browser.

    Creative cloud support (all creative cloud customer service problems)
    http://helpx.Adobe.com/x-productkb/global/service-CCM.html ( http://adobe.ly/19llvMN )

  • That means this (.) in Itunes under the name of the song?

    That means this (.) in Itunes under the name of the song?

    Can you do a screen shot and post it here?

  • It seems that FFv.12 does not allow Scandinavian letters in the names of downloaded files, but gets stuck all by contacting the localhost?

    I do a fileupload page and it seems that FFv.12 does not allow for Scandinavian letters in the names of downloaded files, given that the browser gets stuck trying to communicate with the local host. Fix? This behavior differs from that of other browsers (IE, Chrome, Opera and Safari).

    That are Unicode characters in the name of the file or the characters in the top 0 x 80-0xFF range?

  • Satellite R 630 - BatteryBar Pro shows my wear and tear on the battery under the name more 14%

    Hello

    My R630 is only a few months old, but in BatteryBar Pro, it's showing my wear of the battery under the names of over 14%.

    What is classified as wear unacceptable battery to get a Toshiba replacement battery and how is the best way to exercise oversight?

    Thank you

    Matt

    Hello

    To be honest I n know this software, but in my experience such tools are not always correct. I have what to say is that no one knows whether the values supplied are true or not to my knowledge there is no actual parameter which could provide such battery information
    It would be really interesting to know the values provided from other similar tools and compare this

    However the battery is part of consumables for laptop. Sooner or later each battery die it s just a matter of time
    As far as I know each battery (regardless of which manufacturer it is) is covered by the warranty for a year. So if the battery would die in the first year, then you can get it replaced free of charge.

  • The names of source files are larger than is supported by the file system...

    "The names of source files are larger than is supported by the file system. Try to move to a location that has a shorter path name, or try renaming to name more short (s) before performing this operation. »

    There are about 10 subfolders on the computer. None can be deleted, moved, or renamed without one appearing in the message. I tried UNLOCKER ASSISTANT & DELINVFILE get rid of this file. Once more, none worked. Command prompt did not work as well. Please help me, this issue will not go away on my desk.

    Try first to remove bypassing the Recycle Bin using SHIFT-DEL(thanks, Michael Murphy) rather than just led

    Try to use one of the following free products to remove the file/folder.  Unlocker to: http://www.softpedia.com/get/System/System-Miscellaneous/Unlocker.shtml or file Assassin http://www.malwarebytes.org/fileassassin.php (with or without forcing the deletion and you have to force the deletion in this case: http://www.mydigitallife.info/2008/12/27/force-delete-cannot-delete-locked-or-in-used-files-or-folders-with-fileassassin/). These programs often work when normal functions remove Vista not work correctly.  Have you tried Unlocker (I don't know if it's the same as Unlocker Assistant) but if this if it is different, gives it a try.

    Here is an article on this topic (related to another topic, but essentially the same problem) with a number of suggestions - which can work for you: http://www.howtogeek.com/forum/topic/how-to-delete-source-file-names-are-larger-than-is.

    I hope that one of these options help.  If this isn't the case, after return and we will see if we can find another answer.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Why windows media player displays only the names of original files?

    Windows Media Player only shows the original file names that can be confusing if I changed the name of a file. The name of the file (usually audio files) is correct in Windows Explorer, but in the component list of WMP, it's often the old file name. Why is this and what can I do about it? Advice would be appreciated. TA. Kevin.

    What the file type of these music files (MP3, WMA, WAV...)?

    WMP usually displays the title tags of the music file, which is independent of the file name. However, WMP always displays the current file name in the path column of the file, which can be activated by right clicking on a column header and select choose columns.

  • To-do bar display of the names of open files

    In Windows Vista, it used to display my documents open in the taskbar with all instances of applications (such as IE) and the names of open files. Windows 7 is not that. Is it possible to restore that? I find it really useful to the click on the right app or the document I want to open.

    David

    Anchorage Alaska

    Right click on the taskbar-> properties-> Taskbar Button :-> select never combine-> Apply-> OK

    See if that helps.
  • RE: field "Publisher/Developer" directly under the name of the app in the iTunes app store/kiosk

    My app was approved by Apple and is now online in the App Store and the newsstand. The problem is that right under the name of the application, it lists my name instead of the name of our Publising company as owner. I looked in iTunes Connect, profile developer Apple and generator of DPS App for a field that has the info incorect in it and no had no chance. I don't want my name on the download page of the App. Does anyone have any ideas where I should look to change this? THXScreen Shot 2014-03-13 at 9.47.12 AM.png

    Seems that you have personal, not business Apple Developer account.

    https://developer.Apple.com/programs/which-program/

  • How to jump/remove line under the name of report

    Hello

    How to remove the line under the name of report

    Thank you

    Hello

    Change the display of the title and goto Format title view just about symbol brush that is above the word title
    Border-> Position-> none

    Thank you
    Oldia...

  • My forum posting appears under the name unknown

    I just posted in this forum and my ad appeared under the name leitz5008 I've never heard of. I don't want to be suspected of impersonating someone. What happens here?

    Very probably the usual questions with software Jive forum... but there is another place to talk about how work forums

    http://forums.Adobe.com/community/General/forum_comments

  • Impossible to display the names of HTML files in the HTML Files (topics) folder in the project manager

    RH8, I want to see the names of the HTML files instead of topic titles in the project manager.  I chose the button toggle project manager and the name of the folder is passed to "HTML Files (topics)" of "Project Files".  However, the folder of files HTML (topics) lists topics with subject titles, rather than the names of HTM files.  I was expecting to see the topic list in the Manager component of project with HTM file names.

    What should I do to display topics by names of HTM files in project manager?  The rocker is not working properly, or I do not understand what the toggle button?

    This occurs for each project, we have - all of which have been improved from RoboHelp X 5 to RH8.

    Thanks for your help.

    Susan

    You switch between the new view and the classic view. Try the view menu.

    See www.grainge.org for creating tips and RoboHelp

Maybe you are looking for