JPEG   var options.... how do I get them?

CS4-AI  Mac
I'd like to change the "SaveLayersPNG200dpi.jsx" to export to JPEG. How do I get a list of the export options for jpgs? I looked in the scripting pdf's but I couldn't find it.
Below is the script, I assume ( I don't know anything about scripting.. actually I know very little about most things : ) that I can replace the "var options" and the document type for JPEG?
thanks!  j
var folder = Folder.selectDialog();
var document = app.activeDocument;
if(document && folder)
var options = new ExportOptionsPNG24();
options.antiAliasing = true;
options.transparency = false;
options.artBoardClipping = true;
options.verticalScale = 138.889;
options.horizontalScale = 138.889;
var n = document.layers.length;
for(var i=0; i<n; ++i)
hideAllLayers();
var layer = document.layers[i];
layer.visible = true;
var file = new File(folder.fsName+"/"+layer.name+".png");
document.exportFile(file,ExportType.PNG24,options);
showAllLayers();
function hideAllLayers()
forEach(document.layers, function(layer) {
layer.visible = false;
function showAllLayers()
forEach(document.layers, function(layer) {
layer.visible = true;
function forEach(collection, fn)
var n = collection.length;
for(var i=0; i<n; ++i)
fn(collection[i]);

at this point it will export layers that are locked and/or invisible, I'll need to do some research. It would be nice to incorporate this into the script so that it becomes more similar to choosing selected layer comps in PS.
thanks for the link to the resources,
best regards,
j

Similar Messages

  • HT1296 I synced my phone to my computer to get all my photos from my iphone to my computer and it put ALL my pictures from my computer onto my phone... how do I get them off? theres no delete option available on the phone

    I synced my phone to my computer to get all my photos from my iphone to my computer and it put ALL my pictures from my computer onto my phone... how do I get them off? theres no delete option available on the phone

    Do you mean to import photos from iphone to computer?  Is this what your doing http://support.apple.com/kb/HT4083.
    Looks like your syncing pics on your computer to your phone.  to remove it when your phone is sync to itunes, uncheck sync in the photos tab.

  • Firefox crashed and after restarting, tabs i had open were gone and weren't in the history either. Didn't give me the option of restoring, how do i get them ba

    Firefox crashed and after restarting, tabs i had open were gone and weren't in the history either. It didn't give me the option of restoring, how do i get them back?

    Sorry , you probably can not get them back.
    You may have bookmarked them, or have them as part of the History previously stored and still searchable, but unfortunately otherwise you are unlikely to get them back. Firefox does to a certain extent back up bookmarks automatically but not the history.
    If you get problems with crashes see [[firefox crashes]]

  • I've managed to delete the NoScript menu bar and the NoScript option when I right click a page, how do I get them back?

    I was trying to allow a website on the NoScript menu, when I must have accidentally pressed something and the entire menu bar disappeared. While I was trying to correct this, I then managed to remove the NoScript option from the right-click menu. So now I cannot access my NoScript and I've tried re-installing it but nothing works. How do I get them back?

    menu bar is missing:
    https://support.mozilla.com/en-US/kb/Menu%20bar%20is%20missing
    from TOOLS then ADD-ONS you can see noscript
    thank you
    Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.

  • HT4859 I lost some of my books when I restored my iPad how do I get them back?

    lost some of my books when I restored my iPad how do I get them back?

    You can re-download content purchased from the iBook store (availability varies depending on location) using the purchased option from the Quick Links section in the top right corner of the iTunes homepage in your iTunes application on your computer.
    You can re-download content purchased from the iBook store (availability varies depending on location) using the purchased option at the bottom of the screen after you tap the store button in the top corner of the iBook app on your iOS device.
    If the problem re-occurs, select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History using your computer.

  • Some USBs don't appear in Finder. They appear in Disk Utilities so how do I get them to appear in Finder?

    Some flash drives/USBs don't appear in Finder. But they appear in Disk Utilities so how do I get them to appear in Finder?

    If you've never used them before (they are new) then they are not formatted for Macs.
    Drive Partition and Format
    1. Open Disk Utility in your Utilities folder.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Apply button and wait until the process has completed.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Security button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.
    When you want to remove an external device you must Eject it:
    First, select the Desktop icon of the external disk. CTRL- or RIGHT-click and select Eject from the context menu.

  • When I open Iphoto, I see all my photos for a second and then they disappear and only a white dotted box appears.  Then I click on it and for photos is a triangle with an exclamation point.  It doesn't happen to all but quite a lot. how to I get them back

    When I open Iphoto, I see all my photos for a second and then they disappear and only a white dotted box appears.  Then I click on it and for photos is a triangle with an exclamation point.  It doesn't happen to all but quite a lot. how to I get them back

    Have you recently deleted photos using the finder or run clean up software?  Is so restore your backup
    If not the backup your iPhoto Library and launch iPhoto while depressing the option and command keys. Rebuild your database
    LN

  • I recently updated my MacBook Pro to the new software, and now my iMessage and my FaceTime are not connected with my computer. How do I get them to match so that I would be able to use my cellphone number?

    I recently updated my MacBook Pro to the new software, and now my iMessage and my FaceTime are not connected with my phone number like it is supposed to be. How do I get them to match so that I would be able to use my cellphone number on my notebook?

    To reset any OS X program just go to the folder and trash the affected files.
    Open a new Finder Window
    Click "Go" in the above status bar
    Click and HOLD the "option/alt" key and you will see "Library" now show in the above list
    Click Library while still holding the option/alt key and a new window will open with all of your system files
    Go to the preference file (NOT Preference Panes)
    Locate a file named <com.apple.FaceTime.bag.plist>
    Locate another file named <com.apple.FaceTime.plist>
    Locate the file <com.apple.iMessage.bag.plist>
    Drag the files to the trash
    Delete the trash
    Close FaceTime and iMessage if not already closed
    Relaunch FaceTime and iMessage from Applications folder
    This should reset the program back to default. You will have to put your information back into the program but it should work.
    Good Luck.

  • Firefox was low YOU Suggested refresh NOT COMPLETE RESET ALL passwords and History GONE! How do I get them beck, IF cant then SEREW FIREFOX after 20 year user

    Firefox was SLOW after LAST "3 UPDATES"
    Then "Firefox seems to be slow Click here so fix this.
    I Clicked and it said Try Refreshing Firefox.
    DID NOT warn me it would DELETE EVERYTHING! HISTORY, Passwords TABS. the File, Edit ETC at very top
    THIS and LAST 3 UPDATES if passwords are NO Longer be recovered then SCREW FIREFOX and I WILL tell people HOW BAD firefox has become.
    AFTER about 20 YEARS of HOW GREAT it is and BETTER than IE and Google Chrome!
    SO ANY FIREFOX APP or Firefox Based Browser I WILL NEVER use again.!
    As HERE in FIREFOX was ONLY PLACE I Had my Passwords and History! and BLOCKED SITES. ALL GONE!
    And Phsying sites blocked.
    ALL GONE How do I Get them back!
    PLEASE Let me KNOW
    And IF you can call as I HAVE MASSIVE Memory Problems because of a Brain infection I HAD in Jan. 2010.
    PLEASE Call me to Help.
    Wade, Oklahoma USA xxx-xxx-xxxx
    Thank YOU!

    Wade, there is a way "undo" the Refresh but it does have a lot of steps. See whether you can do this on your own.
    As you may have noticed, the Refresh/Reset feature copies your settings (profile) folder to the desktop into a folder named "Old Firefox Data".
    Check inside "Old Firefox Data" folder for a folder with a semi-randomized name. If there's only one, that probably has your old settings and add-ons. If there's more than one, you'll want to work with the one that was updated most recently.
    Once you have identified the profile folder you want to restore, here is my suggested "old profile resurrection procedure":
    '''Overview'''
    These are the steps that are covered in more detail in the rest of this post:
    # Create a new Firefox profile
    # Remove everything from that new profile folder
    # Copy in everything from the old profile folder
    '''Create a new Firefox profile (Windows)'''
    Exit Firefox and start up in the Profile Manager by pasting the following into the Start menu search box, or the Start > Run dialog, and pressing Enter:
    firefox.exe -P
    ''Note: Any time you want to switch profiles, exit Firefox and return to this dialog.''
    Click the Create Profile button, assign a name like OldSettings, and skip the option to change the folder location. Then select that new profile in the dialog and start Firefox.
    '''Open the New Profile folder in Windows Explorer'''
    Firefox in the new profile should look like a factory fresh installation. Open the Troubleshooting Information page using either:
    * "3-bar" menu button > "?" button > Troubleshooting Information
    * Help menu > Troubleshooting Information
    * type or paste about:support in the address bar and press Enter
    In the first table, click the "Show Folder" button. Firefox will launch your brand new profile folder in Windows Explorer.
    Leaving that folder open, switch back to Firefox, and Exit. When Firefox closes, the profile folder should be front and center, or you can activate it using the Task bar.
    '''Copy Old Data in Place of New'''
    In that new profile folder, select all the contents and delete.
    Leaving that window open, open or switch over to your Old Firefox Data folder. Drill down into your old profile folder. At this level you should see a folder named bookmarkbackups among other things.
    Select everything (Ctrl+a) and Copy (either right-click > Copy or Ctrl+c).
    Switch to the empty new profile folder in other window and Paste (either right-click > Paste or Ctrl+v). This may take a minute since some of the files are large.
    '''Start Firefox'''
    Firefox should start up in that new profile with the resurrected old profile data. Success?

  • TS4036 I can not find my photos or contacts.  Help how do I get them back after a icloud back-up was done due to needed a new phone..

    I cannot find my photos or contacts.  Help how do I get them back after a iclound backup was done due to needed to get a new iphone.  HELP

    I believe I had leopard and I was having issues getting errors of system not being supported. I contacted Apple and was advised I needed to upgrade to snow leopard. My laptop is from 2009 and I haven't done anything to it till now. The apple rep also stated I should do a fresh install when putting snow leopard on so my laptop would run faster. Apple rep told me to get a external hard drive to put my info on it so the fresh install would reset everything to like it was brand new. I had someone help me with getting everything on the EHD.. doing the right format and such and then once that was done I put in the CD for snow leopard and hit install. Which brings me to now, with everything but my pictures. I have the EHD plugged in... now what? What do I do? I have looked in the EHD in iphoto and it was all standard images *not my pictures but images of a check mark or an arrow again not actual pictures. I don't see a folder pictures and i looked for images and found nothing. I have Applications, Included Free Designs, Library, System, User Guides and Information and Users, those are my options and non of those have a "pictures"
    I have iPhoto '09 version 8.1.2 & Mac OS X version 10.6.3

  • HT4859 I got a new iPad mini and It said that I didn't have anything in my iCloud backup but I had all 800 of my pictures on it. How do I get them back?

    I got a new iPad mini and It said that I didn't have anything in my iCloud backup but I had all 800 of my pictures on it. How do I get them back?

    The new one must have been in inventory for a while or it would have the latest iOS.
    To update it, connect it to your computer and open iTunes.  You may be prompted by iTunes that a newer version is available; if so, choose Download and Install to update it to iOS 6.1.3.
    If you don't get this prompt, click on the name of your phone in iTunes, then click on the Summary tab at the top.  On the Summary tab, click Check for Update.  You should then be prompted that there is an update available and you can update your iPad.
    After updating, as mentioned in the posts above, set it up as a new iPad, eject it from iTunes and disconnect it from your computer, then go to Settings>General>Reset, tap Erase All Content and Settings, go back through the setup screens on the iPad and when given the option, choose Restore from iCloud Backup.  You should now be able to choose your backup to restore from.  Be sure your iPad is connected to wifi and your charger as this may take some time to finish.

  • All my events won't show up on Apple TV from my computer.  How can I get them all.

    I have Apple TV hooked up.  I went to computer, photos, events.  Only 8 of my events show up and it will not scroll to view others.  How can I get them all to appear on screen for viewing.

    Hey diane41,
    Thanks for the question. After reviewing your post, it sounds like you want to share more photos with the Apple TV.
    Setting up Home Sharing for Apple TV (2nd generation and 3rd generation)
    http://support.apple.com/kb/HT4352
    To share personal photos with Apple TV, choose File > Home Sharing > Choose Photos to Share and select the option to share photos. Learn more about sharing with Apple TV.
    iTunes 11 for Mac: Play items in your iTunes library using Apple TV (2nd generation or later)
    http://support.apple.com/kb/PH12153?viewlocale=en_US
    Thanks for using Apple Support Communities.
    Have a nice day,
    Mario

  • Upgrading to V4 has lost all of my Bookmarks, I still have the restore files in my profile data but they will not load, I have tried importing the html backup file too but it didn't work either. How can I get them back?

    Upgrading to V4 has lost all of my Bookmarks, I still have the restore files in my profile data but they will not load, I have tried importing the html backup file too but it didn't work either. How can I get them back?

    Ok this is bizzare!
    Thank you for your response, I went throught each and every step without any luck, even got the recovery programme, and painstakingly tried to sift through all that mumbojumbo to find what i needed. finally found the bookmark bit, but it had been fully overwritten :(, so on reading about previous ff versions, found the sqlite thingys, and they were relatively unscathed(partly written over, but saveable apparently TG), saved them to adiff drive, amongst other possibly good folders. Then looked up how to install them, and it said to close FF, and install to profile folder.
    So i tried to close FF, and the original problem from a few days ago, where it asked me if 'i was sure i wanted to close this window as it has X tabs open', popped up again. This is where 'open blank page' selection was set, over 'open previous tabs'. Wanting to save that info on how to sort out these friggin files, I reset the Option to 'open previous tabs', and closed FF. After unsucessfully searching for the profile folder on my laptop, i opened FF intending to search online for where i could find said folder.
    AND BANG, surprise surprise, the FF I had just closed with only tabs open about finding out what the heck to do, had disappeared, and instead my original saved tabs were up, and my bookmarks are there..... I am gobsmacked! what the heck just happened there???
    I have made 3 back up in different folders now, of those friggin bookmarks. I am weary now tho of shutting it all down.... what if its back to the other pages I had with no bookmarks, tomorrow :(

  • After updating to iOS 8 all of my files in Pages are gone!!!! Where are they? And how do I get them back?

    After updating my iPad to iOS 8 all my files in Pages and Numbers are gone!!! Where are they and how do I get them back?

    If you didn't configure Windows Phone backup option or use VZW Backup Assistant then all is lost.
    If you did go with Windows Phone native backup and you use an Outlook account you should find your photos and videos on OneDrive.  I'm not sure how much VZW Backup Assistant backs up but you would need to start a restore from that software and see what's preserved.
    With any OS installs/updates a backup is always best to first.

  • Won't display my gadgets - explorer does - so not gadgets - what gives - use to all the time - not anymore - how do I get them back

    All of a sudden my gadgets don't display in my igoogle home page. Use to all the time and they will if I use internet explorer it just happens with mozilla firefox.
    How do I get them to display properly they just are listed on the left hand side of the screen.

    Symantec need to update their Firefox add-ons so that they are compatible with Firefox 4. They have indicated that for Norton 360 they plan to release an update to Norton 360 to support Firefox 4 in early May - http://us.norton.com/support/kb/web_view.jsp?wv_type=public_web&docurl=20100720113635EN&ln=en_US
    Pending the update by Symantec, if you want to use the Norton add-ons you will need to downgrade to Firefox 3.6.
    To downgrade to Firefox 3.6 first uninstall Firefox 4, but do not select the option to "Remove my Firefox personal data". If you select that option it will delete your bookmarks, passwords and other user data.
    You can then install the latest version of Firefox 3.6 available from http://www.mozilla.com/en-US/firefox/all-older.html - it will automatically use your current bookmarks, passwords etc.
    To avoid possible problems with downgrading, I recommend going to your profile folder and deleting the following files if they exist - extensions.cache, extensions.rdf, extensions.ini, extensions.sqlite and localstore.rdf. Deleting these files will force Firefox to rebuild the list of installed extensions, checking their compatibility, and reset toolbar customizations.
    For details of how to find your profile folder see https://support.mozilla.com/kb/Profiles

  • After updating to iOS 7 the contact photos no longer appear when I receive a call. How can I get them to show again?

    After updating to iOS 7 the contact photos no longer appear when I receive a call. How can I get them to show again?

    I'm having the identical problem on my iPhone 4 after upgrading to IOS 7--no ability to update apps or download new apps.  Here is what Apple tech support emailed to me:
    I understand that you are unable to download or update applications after updating iOS7 on your iTunes. I know you must be eager to get this resolved and I will be happy to help you today.
    ... to help you better with this issue I would request you to please try this steps given below to resolve your issue.
    Please follow this steps:
    1) Double tap the home button
    2) Hold down on an icon
    3) Tap the red "X" on iTunes, and the App Store.
    4) Tap Settings > Store > Tap your Apple ID, and choose sign out
    5) Tap Settings
    6) Tap General
    7) Tap Reset
    8) Tap Network Settings
    Once it has been closed with multi-tasking, and you have rebooted the device in the network settings reset, please sign in, and try again. 
      Howevr, if you are facing the same issue than for this issue, you may need to call our AppleCare technical support team. A technical Advisor will be able to tell you about Apple's complimentary and fee-based support. The technical Advisor can also assist you in determining what option might be most helpful to you in this case.
    Mildly amusing that the instructions for force-closing a program are the IOS 6 instructions, which do not work on IOS 7. 
    Otherwise I'm having a little success with this.  Some apps (not all) are updating. It seems that a few more apps update each time I go through the process (close everything, sign out, and either reset or reboot, then go to the app store, sign in and try to update all).  So far it has been a very lengthy, iterative process. 

Maybe you are looking for

  • Payment terms---date and installments

    hello SAP gurus, the issue is that we select payment terms when we create sales and order , and we want it to be printed under , 1st installment date and amount , 2nd installement date and amout , 3rd installemnt date and amount. we have defined the

  • Late 2008 Macbook Air Hinge Problem

    Hi guys, I bought a used Macbook Air a few months ago, I absolutely love it. However the hinge has been getting kinda loose, to the point where the screen will start to fall backwards if the laptop is moved at all. I am told Apple replaces the hinges

  • "Use my Microsoft Windows user ID and password" is grayed out

    Hello Experts, I've disabled "SOX Auditing" option in Server Manager in BPC 5.1 SP03, but "Use my Microsoft Windows user ID and password" is still grayed out. The only option I unlocked is saving password. How do I enable Windows Authentication in BP

  • Iphoto not showing imported photos in events

    I have been using iphoto for quite a while with very few problems.  Recently I have added an iPhone and an apple TV into my apple ecosystem.  I have recently noticed that my iphoto library is NOT showing photos imported from 3rd party sources such as

  • Page won't load in one browser

    I've created a page that loads perfectly in every browser except for Safari, it won't load. The load bar just stops and does nothing. I've tried testing on various machines (both Mac and PC), but it just won't load. I've tested all of the code and th