Document export assistance and an error of enumerated value

Can someone help me understand why I can't get this script to export the document and save it to the web?

I get the same frustrating "enumerative expected value.

Here's the script to this day:

/**

* try to create a script to automatically insert the names in photoshop cs2. Similar to the PSP.

*/

tag = app.activeDocument;

Lee var = ['Barb', 'Belle', 'Betty', 'Carmel', 'Christy', 'Connie',

"Debbie", "Debra", "Denise", "Diamond", "Dolceluna", "Irene", "Jacqui"];

determine whether or not the active layer is a text layer.

if(tag.isBackground == true) {}

Alert ("this is a background layer and cannot be modified.");

}

else {}

Alert ("this is the layer name.")

for (i = 0; i < lee.length; i ++) {}

tag.activeLayer.textItem.contents lee = [i];

options var = new ExportOptionsSaveForWeb();

SaveDocumentType.PNG = options.format - 24;

options.interlaced = false;

options. PNG8 = false;

var fName = lee [i];

var newName = fName +'-' + tag.name + ".png";

alert (newName);

//EXPORT DOCUMENT KEEPS GENERATING ENUMBERATED EXPECTED VALUE

/ / web.matte = MatteType.NONE;

tag.exportDocument (file (tag.path + "/" + newName), ExportType.SAVEFORWEB, options);

{ } / / farm for loop

} / / end of the else statement

This is because you have the format that it changes value listed a number of evil.

SaveDocumentType.PNG;// = options.format set the format

Options. PNG8 = false; / / true to png-8 or png-24 format false

Tags: Photoshop

Similar Questions

  • Enumerated value of invalid: preSign.

    I have a user with acrobat pro who suddenly becomes several strange errors. One is that he bet ask to register even if it is clicked on the message do not disturb. So I saw a police problem, but one that is the most widespread is the error invalid enumerated value. The code (if important) is 18653.

    I don't find any information about it online, but we tried to disable his information under Users/username/appdata/adobe acrobat and reinstall from scratch. Other users with the same software will not have this problem.

    I have it. The user is using an older version of Acrobat Pro and the problem is solved using the player instead of these files.

  • I try to insert two images in a single document, group them, and then export it to a jpg file but cannot do so can you please help. Thank you

    I try to insert two images in a single document, group them, and then export it to a jpg file but cannot do

    Hello sara,.

    For my part, I prefer to use my German PS in this way (I try to translate the commands):

    Use the same height for both images.

    Open the first image in PS.

    Use Bild > Arbeitsflache (Image > work plan?) See screenshot:

    From there:

    Give him the new with, by clicking on the left or the right indicating the hand playing around (trial and error).

    Now you can insert your second image.

    Hans-Günter

  • Have created a document in Word and have sent it as an attachment. I get an error however and it does not work.

    Have created a document in Word and have sent it as an attachment. no luck as keep the error message

    original title: how I sent e-mail to outlook

    See if this helps:-

    http://Office.Microsoft.com/en-GB/novice/lets-attach-files-to-an-outgoing-email-HA010376900.aspx?CTT=1

    If she please vote as helpful.

    Thank you.

  • My system will not download upgrades and assistant says update error 0x8024402c

    * Original title: win 7 64-bit ultimate on asus kgpe map server dual socket

    my system will not download upgrades and assistant says update error 0x8024402c (2016-03-29-T-10_53_07a)... whats up?

    Turns out that my computer has a virus, of which a part had apparently obtained in the area of the 100 MB of my raid0 array system.  When I reloaded the os I've removed then reinstalled the partitions, then reloaded the software and my problem calmed.  Thanks for your ideas.

  • I have created a multi-page document in inDesign and exported in PDF format.  The original file size is 13.27 mb.  I used the command size reduced to 2.86 to the file to download on the internet.  However, one of the images in the original pdf file does n

    I have created a multi-page document in inDesign and exported in PDF format.  The original file size is 13.27 mb.  I used the command size reduced to 2.86 to the file to download on the internet.  However, one of the images in the original pdf file does not appear in the smaller file.  Can someone help me?

    Try the PDF tool optimize.

  • Migration customization and system error

    Hello

    I've migrated the customizations to another instance. I've exported customization and bounced the apache server. When I try to access the page, I get the below error.

    You have encountered an unexpected error. Please contact the system administrator for assistance.

    Can someone help me with this.

    Thank you
    HC.

    This is why I told you to take some time and go through the link I provided in my previous answer.

    Yes, you need FTP on the server of the higher category.

    Thank you
    -Anil
    http://oracleanil.blogspot.com/

  • WINDOWS HP AssistaNT AND 8.1

    I have a HP Pavilion mod 500-164.  It came with Windows 8.  I upgraded to 8.1 Windows so I could launch Norton Internet Security, which is not compatible with Windows 8.

    A few weeks later, I get a message from the assistant HP telling me that my PC has not been tested with WIndows 8.1 and I may have compatibility problems.  It asks me to enter my product number and he will experience compatibility.  I entered the product number and nothing happens.  I then tried having HP detect the number.  He gets a short drive in the process crashes then.   No error message.

    My PC seems to work OK and I have not yet known compatibility problems.

    Any thoughts?

    Hi RGH406,

    Thank you for visiting the Forums HP's Support and welcome. I read your thread on your HP Pavilion 500 desktop computer and the HP Support Assistant giving an error message. I would like to uninstall the HP Support Assistant, and here is a link to download and reinstall it.

    It will be useful.

    Thank you.

  • I have trouble connecting to google and hotmail error that appears without Ox80072EE7

    Program network network networking Internet Web site Site Web Web Site URL get error no 0x80072EE7

    I have trouble connecting to google and hotmail error that appears without Ox80072EE7

    Hello Arnold,.

    You can consult the following Windows Live support link and check if it helps.

    Windows Live Mail error 0x80072EE7

    Alternatively, you can publish your application in the Windows Live Forum for assistance.

    In the Windows Live Forum

    Because the error occurs when you access google too, you can also check with the support of Google.

    For help on Google, please refer to the Google Help Center.

  • Ox80070002 and Ox8007000D error messages - I can't always solve the

    Hello

    It seems that my PC was unable to make an update of windows properly for a month now, and after having searched today, of Ox80070002 and Ox8007000D error messages come with updates.  I followed the advice of Microsoft online, but he is still unable to download the many updates.  As it also erases the log showing what are the files to download, I can now show you only those below.  I do not see anywhere how to ensure that these updates are downloaded successfully, so please can you help me?

    Windows XP Update security for Windows XP (KB2585542) February 12, 2012 Windows Update
    Windows XP A security update cumulative for Internet Explorer 8 for Windows XP (KB2618444) February 12, 2012 Windows Update
    Windows XP A security update for Internet Explorer 8 for Windows XP (KB2544521) February 12, 2012 Windows Update
    Windows XP Update security for Windows XP (KB2510531) February 12, 2012 Windows Update

    Try to download an update and manually install the same. You can search for manual downloads here:

    Search for a download
    http://www.Microsoft.com/downloads/search.aspx?displaylang=en

    Another suggestion, maybe a little maintenance hard disk as 'check disk' and 'defrag' can help to install the updates. This could be the cause of corruption, updates if the hard disk is fragmented badly etc.

    Your virus scanner is perhaps interfere with the update process.

    Recommendations for computers that are running Windows Server 2003, Windows 2000, or Windows XP Antivirus
    http://support.Microsoft.com/kb/822158

    Where you could get a support -

    Microsoft Windows Update support incident request:
    https://support.Microsoft.com/OAS/default.aspx?Gprid=6527

    Purchasing problems of installation of the security updates Microsoft may also visit the following page for assistance:
    https://consumersecuritysupport.Microsoft.com/

  • When you try to print the document his service hence giving error does not

    I am using windows xp pro sp2

    When you try to print the document his service hence giving error does not

    then I start the services.msc print spooler service, but this only works for printing after that it gave the same error

    Please help me

    Hi kalpesh_vaghela,

    1. Did you the latest changes on the computer?
    2. What is the full error message that you receive?
    3. What is the number and model of the printer?
    4. You use any program to print the document?
    5. Are you experiencing a similar problem with any program that allows you to print?
    6. You have security software installed on the computer?

    Method 1

    See the link below and try the fixit tool available, check if it helps.

    Problems printing and printing errors

    http://support.Microsoft.com/mats/printing_problems/

     

    Method 2

    If the previous step fails, then it is possible that some third-party programs installed on the computer is causing the problem.

    I suggest that you configure the computer in a clean boot state and check if it helps.

    To help resolve the error and other messages, you can start Windows XP by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    See section to learn more about how to clean boot.

    How to configure Windows XP to start in a "clean boot" State

    http://support.Microsoft.com/kb/310353

    Reset the computer to start as usual

    When you are finished troubleshooting, follow these steps to reset the computer to start as usual:

    1. Click Start , and then click run.
    2. Type msconfig , and then click OK.
      The System Configuration utility dialog box appears.
    3. Click the general tab, click Normal Startup - load all device drivers and services , and then click OK.

    When you are prompted, click restart to restart the computer.

  • My Microsoft Word has stopped working. I went to open a document in word, and he said "there is no default application specified to open the document". When I went to look up Word as my default application.

    Ideas:

    • You have problems with programs
    • Error messages
    • Recent changes to your coMy Microsoft Word has stopped working. I went to open a document in word, and he said "there is no default application specified to open the document". When I went to look up the Word as my application by default, it is not found. Excel, Powerpoint and Entourage were all there. So, I went to my office... See the word icon and then click on it. When I click on it, a question mark appears above him, and it does not open. It's as if the word has been removed from my computer. I read support a few sites that I Googled, and one said to drag the question mark on the icon and then turn it back on. When I did that, he dragged the icon with it... and when I published it, the icon is now not where. I need help restoring Word, I have no idea where he went! computer
    • What you al

    Hi chrssy07,

    Thanks for visiting the site of the community of Microsoft Windows XP. The question you have posted is related to Microsoft Word and it will be better answered by a Microsoft Office Support Professional.  Please visit it Support technique Microsoft and select your product for support.

    Please let us know if this helped.

    Dena
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • I am trying to accept an invitation from my mom's remote assistance and this is what I got after entering the password: connect Remote Assistance could not be established because the DNS name of the remote computer cannot be resolved.

    I am trying to accept an invitation from my mom's remote assistance and this is what I got after entering the password: connect Remote Assistance could not be established because the DNS name of the remote computer cannot be resolved.

    You get the error "a Remote Assistance connection could not be established because the DNS name of the remote computer could not be resolved" when the requesting computer (the computer 'demand' help) sends its private IP address instead of its public IP address in the request for assistance. The solution is 'easy' for some and difficult for others. I present here for your perusal:

    (1) obtain the public IP address of the requesting computer (by visiting a web page such as http://www.whatismyip.com)
    (2) save the remote assistance request computers
    (3) modify the remote request for Assistance (RcBuddy.MsRcIncident) using a text editor (such as notepad) and replace the private - section of IP address should be something like this:
    RCTICKET = 65538,1,192.168.1.33:3389 «»
    with the public IP address from whatismyip.com or elsewhere - should be something like this:
    RCTICKET = 65538,1,74.125.47.147:3389 «»
    (4) save the file of RcBuddy.MsRcIncident 'new '.
    (5) double click it to connect to the computer needing help
    (6) cross your fingers and hope it works!

    I hope this helps someone else - if it's too much trouble, feel free to use the tools mentioned elsewhere in this thread.

    -Computers Acorp
    www.ACoRP.net

  • C3086UA #A8A: Error Message on the laptop computer says driver is not available and device error

    I tried to print from my laptop, a HP Pavilion G7, and nothing happened I went in devices and saw an error message on the PC icon.  He showed me the yellow exclamation point and says driver is unavailable and driver error.  The icon of the printer showed it's OK with the green check mark. I am an older person with not much technical experience and would appreciate any help on how to solve this problem with the drivers. Thanks for any help you can provide.

    Paul

    Hi @doowop47 ,

    Thank you for your query.

    I'm not sure if it is a printer problem or a problem of computer as you said that the error is on the PC icon not the icon of the printer.
     
    Unfortunately, I was unable to locate your model of laptop Pavilion G7 since the number you provided. This link should help with that.

    How can I find my model number or product number?

    Were there any recent changes?

    You did all your Windows updates?

    Have you tried to run the HP Support Assistant to help with the updates from HP.

    If it worked before you tried to do a restore to a date well known?

    You can also try a Refresh Your PC to solve problems (Windows 8)

    If it is a printer problem, and it is not an HP printer, it would be preferable for you to post in the constructor for the instance of printers.

    If it's an HP printer, please provide your exact name and model.

    Good luck!

  • Run32dll.exe winbrand.dll and other errors

    Hello

    I tried to change the audio devices on my PC (windows 7 64-bit) about 20 minutes ago and was given and the error window with the title, "No supported 16-bit Application" the text in the window said, "the program or function '------?" \C:\Windows\system32\rundll32.exe"cannot start or run due to incompatibility with 64-bit Windows versions. Contact the reseller of software to ask if there is a compatible version of Windows 64-bit. »

    After closing this window, it gave me another error with the title window, "C:\Windows\system32\rundll32.exe" the text of the window has to say, "the version of this file is not compatible with the version of Windows you are using. Check your computer's system information to see if you need a x 86 (32 bit) or x 64 (64-bit) version of the program and then contact the software publisher. »

    I then thought about opening guest to use the sfc/scannow command... Normally to open the command prompt I press the Start button and type in cmd and select it. I did this, but the search function did not work. Manually, I went to the location of the command prompt and open to return with another window of error with the title, "cmd.exe - bad image" and the text in the window saying: "C:\Windows\system32\WINBRAND.dll is not designed to run on Windows or it contains an error. Try to install the program by using the original installation media or contact your system administrator or support software provider. »

    If naturally my next thoughts had to do a system restore, I opened it, whereas starting up and faced another problem in the system restore window saying, 'system restore doesn't seem to work correctly on this system. An element of Volume Shadow Copy Service has encountered an unexpected error. Check the log of events applications for more information. (0 x 80042302)"

    I went to open the event viewer, but that has failed to open.

    I did everything I can think of to solve these problems, but so far, nothing has worked. The only other thing I can think to do, it's a complete reinstallation of windows I want to avoid doing so if possible.

    Thanks for the tips.

    I have however a full clean have reinstall of windows 7 as when I tried to start in safe mode, I was faced with a black screen with just the current mouse cursor. It's the same thing on normal startup.

    However I had problems when reinstalling windows. I got error 0xc00000e9 when you try to install from the disc. I looked into things and eventually remove all disks hard bar that now, I managed to install windows on.

    I think that the problem was a virus and I advise to all others who have faced the same problems as me to do a full clean reinstall of windows. You may lose a lot of documents, but your computer will be is more infected with the virus that may be present.

    Thank you for the help

Maybe you are looking for