Help looking for source of error 'undefined '?

Hi all

I wrote a script to export a JPEG page 1 of an InDesign document. When I run it, I get an error "jpegOptionsQuality is undefined".  In my view, reference is made to the line of underscores in my script below, but I don't see anything wrong with the line or neighboring lines. Did anyone see my problem?

I did a lot of VB scripts but am pretty new to Javascript.

Any help is appreciated. :-)

MakeJPEGfile();

function MakeJPEGfile() {}

myDoc var = app.activeDocument;

app.jpegExportPreferences.jpegQuality = jpegOptionsQuality.MAXIMUM;

app.jpegExportPreferences.exportResolution = 72;

app.jpegExportPreferences.jpegExportRange = ExportRangeOrAllPages.EXPORT_RANGE;

app.jpegExportPreferences.pageString = "1";

app.jpegExportPreferences.jpegQuality = jpegOptionsQuality.HIGH;

app.jpegExportPreferences.exportResolution = 154;

app.jpegExportPreferences.jpegColorSpace = jpegColorSpaceEnum.RGB;

app.jpegExportPreferences.jpegRenderingStyle = jpegOptionsFormat.BASELINE_ENCODING;

app.jpegExportPreferences.antiAlias = true;

app.jpegExportPreferences.embedColorProfile = true;

var CheminMonFichier = myDoc.filePath + "/" + ".jpg"; export to a folder in the active document

var myFile = new File (myFilePath);

myDoc.exportFile (ExportFormat.jpg, myFile, false);

}

I withdraw that. The DOM is not consistent here. Then

JPEGOptionsQuality.HIGH

and

JPEGOptionsFormat.BASELINE_ENCODING

both are correct,

but it should be:

JpegColorSpaceEnum.RGB

Ariel

Tags: InDesign

Similar Questions

  • Offline Photoshop CHC help looking for a malfunction.

    Search help Photoshop is not back all the results offline. Please read this thread:

    http://forums.Adobe.com/message/3213191

    Local aid has been downloaded for all Adobe Creativity Suite applications and shows that "Current".

    Under the left hand pane search 'Local' drop-down box is selected.

    Results of the filter is correctly selected "using Adobe Photoshop CS5".

    Looking for something like "brush" returns NOTHING in offline mode. (online mode works well).

    The help document "with the help of Adobe Photoshop CS5" is vissible in offline mode (in the right pane) but simply do not return no results when searched.

    All other documents help offline (for the rest of the Suite of creativity) seems to work OK.

    This issue should now be resolved via the update instructions posted here: http://forums.adobe.com/message/3216601#3216601

  • Look for vCenter VM error message with special events

    Greetings,

    I am wanting to look through the events of multiple vCenters (4.x 5.x) mode, for events with a particular sentence (lock lost on *.vmdk)

    I was looking at Alan Renouf vCheck to try out of the room that would allow me just to search for events in logs vCenters VM.

    His VI Events.ps1 #23 file contains the following:

    $Result = @(get-VIEvent-maxsamples 10000-Start ($Date).) AddDays(-$VCEventAge)-error | Select @{N = 'Host'; {E = {$_.host.name}}, Createduserid, @{N = 'User'; "E={($_. ({{UserName.Split("\")) [1]}}, fullFormattedMessage)
    $Result

    I'm looking to search for a specific text string in the events of the VM, and I was wondering if there was any ideas on the best way to do it.

    I want to be able to specify the number of days back to back as shown above.  I want to show the host on the virtual machine is running, (s) Lun, it is located, the date and time of the message.

    Can I just add a search string in the script above?   If so what setting would be to clarify?

    Any suggestion would be appreciated.  Thank you.

    I do not know the eventtype, but perhaps this can help.

    The following tries to find the event by checking the message for text.

    $daysBack = 7
    $tgtMsg = "The lock protecting" Get-VIEvent -maxsamples ([int]::MaxValue) -Start (Get-Date).AddDays(-$daysBack) |
    where {$_.fullFormattedMessage -match $tgtMsg} | Select @{N="Type";E={$_.GetType().Name}}, @{N="Host";E={Get-View $_.Host | Select -ExpandProperty Name}},
    @{N="VM";E={Get-View $_.VM | Select -ExpandProperty Name}}, @{N="Message";E={$_.FullFormattedMessage}}
    

    If this does not work, you can just list any events that have occurred in the last 7 days.

    $daysBack = 7
    $tgtMsg = "The lock protecting"
    Get-VIEvent -maxsamples ([int]::MaxValue) -Start (Get-Date).AddDays(-$daysBack) |
    Group-Object -Property {$_.GetType().Name}
    
  • Unsuccessful logon. Look for the details error log when loggin in Planning

    Hello

    Hope someone can help with a problem that has happened recently. I get the following message when you try to connect to Hyperion Planning: -.

    "Unsuccessful logon. Check the log for details"

    What happened to our instance of development only, which has recently been improved 9.3.1 to 9.3.3. It's only a matter of planning, I can connect to shared services, EAS & workspace by using the same credentials.

    After the upgrade to 9.3.3 we were able to connect to schedule and use the system, so I'm not sure that the upgrade was the cause. I tried to launch the configuration utility that has had no effect and also tried searching online, nothing helps.

    Has anyone seen similar problems or nobody knows what logs the error means that there is no error message in the planning log?

    Thank you

    Stephen

    Here's your number

    Cannot create the JDBC connection. java.sql.SQLException: [Hyperion] [Oracle JDBC Driver] [Oracle] ORA-01017: name of user and password invalid. connection refused

    The details of the source of data is incorrect, you must change the data source and enter the name of user and password correct

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • 251. 014 l: need help looking for some drivers

    Dear expert HP,

    I decided to install win7 ultimate 64-bit week last on my desk (251 - 014-l)

    and I had trouble finding the 3 drivers...

    1. network controller

    2. SM Bus controller

    3. USB controller

    any help will be greatly appreciated

    Thank you!!

    Hello:

    You need these drivers...

    SMbus: Install this driver first and then restart.  2nd file on the list, it's the auto install file.

    https://Downloadcenter.Intel.com/download/20775/Intel-chipset-device-software-INF-Update-utility-

    Network controller (wireless card):

    http://h20564.www2.HP.com/hpsc/SWD/public/detail?sp4ts.Oid=6943827&swItemId=ob_145419_1&swEnvOid=4058

    USB3: Download, unzip and run the file setup.exe from the link below.

    https://Downloadcenter.Intel.com/download/22824/USB-3-0-driver-Intel-USB-3-0-Extensible-host-controller-driver-for-Intel-8-9-100-series-and-C220-C610-chipset-family

    You'll also need the bluetooth driver for your PC wireless card model has...

    http://h20564.www2.HP.com/hpsc/SWD/public/detail?swItemId=ob_155436_1

  • Help looking for the driver.

    Hello!
    Help to find driver HP Mobile Data Protection for Windows 8.1 sensor.
    Laptop HP dv7 7355er ENVY

    Hello:

    This should be the driver that you need for this device:

    http://h10025.www1.HP.com/ewfrf/wc/softwareDownloadIndex?softwareitem=ob-116584-1&cc=us&DLC=en&LC=en&OS=4132&product=5347141&sw_lang=

  • Windows XP does not level net framework 3.5 service pack 1 or service pack 2. Error code 80070673. Also, don't look for new updates - error code 80070490.

    My windows xp tried to upgrade with the 3.5 framework - net framework 3.5 SP1 update family (KB951847) x 86 since 07/08/09.  History shows that he has failed every time.  He also tried to install service pack 2 (KB948465) since 07/08/09 and has failed each attempt.  When I try to check new updates, it says "windows has not can find new updates" with an error code 80070490.  When I try to upgrade with the framework 3.5 service pack 1, it says "some updates were not installed" with an error code of 80070673.  History shows that all other updates have been installed successfully.  Please let me know what I need to do to fix this problem.

    Read the article (I posted the URL): http://support.microsoft.com/kb/958044

    You will need to fix the OS before trying to fix the rest of your problems. If the OS is unstable, then nothing else will matter. Make sure you have backups up-to-date of all your personal stuff and know where the product keys etc in case you should reinstall. That your OS is stable/fixed you can follow instructions from PA Bear re updates of the framework.

    Windows 2000, Windows XP and Windows Server 2003 to resolve this issue, use the System File Checker to check that the correct versions of the file system are present. To do this, follow these steps:

    1. Click Startand then click run.
    2. Copy and then paste (or type) the following command in the Open box, and then press ENTER:
      cmd
    3. At the command prompt, type sfc/scannow, and then press ENTER.

      Note If you are prompted for your Windows XP CD, insert the CD into the CD drive.

    4. Once completed the System File Checker, try installing updates again.

    For more information about the System File Checker, click on the number below to view the article in the Microsoft Knowledge Base:

    310747 (http://support.microsoft.com/kb/310747/) Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe)

    If the System File Checker does not resolve the problem, you must perform a repair of Windows XP installation.

    For more information about how to perform a repair of Windows XP installation, click the number below to view the article in the Microsoft Knowledge Base:

    315341 (http://support.microsoft.com/kb/315341/) how to perform an upgrade on the spot (reinstallation) of Windows XP

    Once installation is complete repair, try again to install updates.

    Note Run a repair installation will not damage files and applications that are currently installed on your computer. TaurArian [MVP] 2005-2010 - Update Services

  • dv6z-6100: broken fan - help looking for replacement! [dv6z-6100 CTO Quad Edition Entertainment Notebook PC]

    See the title of the thread.

    I took it apart to clean (after like...) 4 years of regular use) and just realized that the fan has stopped working since this point. He works at an ambient temperature of 140-150ff now - turn serious ongoing fire.

    I'm not terribly great with hardware and struggling to understand this fan to get as a replacement. Any help would be appreciated.

    And yes I know it's an old mobile phone, but I'm trying to hold on. ;-)

    Go to HP parts - enter the product number of your laptop (listed on the label under the battery) to search for parts.

    http://PartSurfer.HP.com/search.aspx

    If no fan is always available on order you get at least the part number. Google it-Amazon, Ebay all have probably something compatible.

  • Help looking for a driver for my old scanner for Windows 7 BenQ

    Original title: device

    I just transferred my scanner BenQ 5000 to my computer Windows XP on my new Windows 7 computer. Unfortunately, the new computer is unable to locate a driver for the old lady. Where can I find a driver for Scanner BenQ 5000?

    Of the manufacturer.

    Any material support, no matter what operating system you choose to run, is the manufacturer of the equipment.  I guess they decided (long ago) that scan is legacy/not supported.

    http://BenQ.EU/support/downloads/downloads.cfm?product=631

    (And so it looks like this is true as far as Windows 7 support will.)  You can try Vista drivers/software, but it would be a do-it-yourself without the support of the manufacturer.)

  • Ask for help looking for Documentation

    I want to emphasize an our servers to another FMS server and cannot find the documentation.

    Thanks for your help with this.

    Ann, my suggestion is that you search in the knowledge base of the foglight support as there was a lot of solutions/procedures already developed by the support for the tasks that you must implement.  I made a simple search for 'new server monitor' and I saw a lot of solutions.

    You will also want to examine the documentation for cartridge of infrastructure for the monitoring of the servers (windows, unix, and linux) from an agent handler remote foglight to reduce Foglight agents having to run on a server.

    David Mendoza

    Foglight Consultant

  • help looking for W7 x 64 Lifecam TWAIN support information

    I am struggling to find information about supported TWAIN for the Lifecam studio webcam on Windows x 64-only can not find any kind or pre-sales technical contact for MS no more information.

    Hello

    As stated in this thread I linked, TWAIN drivers are usually for printers/scanners, but I think it's worth a glance for you in any case.
    I hope this helps!
  • HPE-500Y LightScribe DVD Burne: help looking for replacement for HPE-500Y LightScribe DVD burner

    DVD writer internal LightScribe locked up.
    I tried to find replacement and continue to use LightScribe when I transfer VHS to DVD.
    Help

    Hello

    You can get a optical drive 5.25 "HP Lightscribe on Amazon.  The same page lists the others not to HP 5.25 "optical drives.

  • Help looking for photos

    I downloaded the app Revel and used for about a month.  Then, for the first time, asked to log on.  My password was not recognized, I had to re - my account, and now I can't find my photos.  Any suggestions?

    Is there a chance that you logged in using facebook or google username?  You can go to adoberevel.com and try to connect to one of these other methods to see if this is maybe what you were doing before.

    Guinot

  • Help looking for repeated records and delete them

    I have a table like this

    With a (too)
    Select '1234' ID, 'AAA' Code of all the double union
    Select '9999', 'AAA' from dual union all
    Select '8888', 'CCC' from dual union all
    Select '7777', 'AAA' from dual union all
    Select '6666', 'CCC' from dual union all
    Select '1234', 'BBB' of the double
    )

    1. I want a list of all (double/same) ID's, which has both "AAA" and "BBB" codes
    2. I want to delete duplicates/same ID's where Code = 'BBB '.

    Constraints
    (ID + Code = primary key)
    I do not know the ID's before hand, IE I can not pass it.
    A huge table

    SeshuGiri wrote:
    1. I want to list all (double/same) ID's which codes the two "AAA" and "BBB".

    The following SQL statement will list the duplicates:

    SQL> SELECT  ID
      2  FROM    TEST    T2
      3  WHERE   CODE IN ('AAA','BBB')
      4  GROUP BY ID
      5  HAVING COUNT(*) > 1
      6  /
    
    ID
    ----
    1234
    

    2. I want to delete duplicates/same ID's where Code = 'BBB '.

    SQL> DELETE FROM TEST T1
      2  WHERE   CODE='BBB'
      3  AND     EXISTS
      4          (
      5                  SELECT  ID
      6                  FROM    TEST    T2
      7                  WHERE   T1.ID = T2.ID
      8                  AND     CODE IN ('AAA','BBB')
      9                  GROUP BY ID
     10                  HAVING COUNT(*) > 1
     11          )
     12  /
    
    1 row deleted.
    
    SQL> SELECT * FROM TEST;
    
    ID   COD
    ---- ---
    1234 AAA
    9999 AAA
    8888 CCC
    7777 AAA
    6666 CCC
    

    HTH!

    Published by: Centinul on December 18, 2009 13:17

  • Windows Media Center opens every time that I'm looking for something!

    Hello, I have a problem. Whenever I get something, for example in google chrome, IE8, or even in Help and Support, once you press on enter it opens Windows Media Center! Like as if its been programmed to open each time! So when I was typing this, I found a similar question. The "I want to stop the windows media center to automatically...". "so I followed the instructions to go in" start > default programs > Set Program Access' and then choosing Windows Media Center to be disabled. " Now whenever I'm looking for something an error message! Something like the software has been restricted, or something. Can anyone help?

    Hi getslinky2,

    I hope you do well. It would be good if you could provide us with the exact error message. However, you can try the following steps.

    1. Click Start, then Control Panel.

    2. click on default programs.

    3. click on program access and computer by default.

    4. click on custom.

    5. allow access to this program.

    Please let us know regarding when exactly this issue started while we offer a system restore when the computer was working fine, if this is really necessary. We also know if you have made changes to the computer or programs before this problem started. Please try these steps and let us know so that we can continue troubleshooting to diagnose the problem.

    Concerning
    Support Microsoft Rehman

Maybe you are looking for

  • FF 3.6.13 causes computer crash

    can't find the previous answer, Thanks for clarifing confusion... not a problem fixed FF3.6.13NoScript disabled for the web pageWin2K sp4 (Windows 2000) blue screen appears, but quickly disappears before reloading I read your response to the notifica

  • Google Drive, taking up the iPad storage

    I installed the Google Drive app on my iPad and have noticed she was taking ~ 5 GB of storage iPads.  I thought that all files stored in Google Drive were stored in the cloud.  Does anyone know why Google Drive takes over this storage? Thank you.

  • WRT160N router broadcasts not Internet

    Hello I had a Linksys WRT160N router for about 7 years and recently started having a few problems with it. I guess it is old and needs to be replaced, but before I got up to get a new one I wanted to check. The connection displays the full bars, but

  • To open click on folder or application and bad file request

    When I try to open a specific folder or an application a different folder or application opens, sometimes nothing is open to all and I have to right click and select open?  All this began to happen after starting my computer laptop louding (about 5-1

  • Photosmart C4780 installation fails to Select network

    Printer model: Photosmart C4780 Operating systems: Mac OS 10.5 and 10.6 Method of connection: USB Wireless network: Time Capsule from Apple (802.11b/g/n) and Apple AirPort Extreme (802. 11 b / g) with WPA/WPA2 Personal security and local access contr