PSDExportPrefs options fails to work in CS5

Hi,
The following piece of code works fine in CS4 when I change the resolution and colormodel to differnct values, but fails in CS5.
The structure in both versions seems identical. Any idea as to why it fails in this latest version?
PSDExportPrefs sExportPrefs;
memset( &sExportPrefs, 0, sizeof(PSDExportPrefs) );
sExportPrefs.mResolution = 300;  //dpi
sExportPrefs.mColorModel = (PSDPluginColorMode) kPSDDefaultColorModelPref;
//file name
result = sAIActionManager->AIActionSetString( valueParameterBlock, 'name', szFullFileName );
//file format
result = sAIActionManager->AIActionSetString( valueParameterBlock, 'frmt', "Photoshop PSD Export" );
//file extension
result = sAIActionManager->AIActionSetString( valueParameterBlock, 'extn', "psd, pdd" );
//sExportPrefs
result = sAIActionManager->AIActionSetRawDataBytes( valueParameterBlock, 'parm',  (ASUInt32) sizeof(sExportPrefs), (const char*) &sExportPrefs );
result = sAIActionManager->PlayActionEvent( kAIExportDocumentAction, kDialogOff, valueParameterBlock );
Thanks for your help.
Abdo

It looks like I am at the deadend.
The reason I wanted to show the option dialog was to be able to change the resolution and the color mode, which I was trying to do it all along via PSDExportPrefs setting - which is working fine in CS4 but not in CS5.
Now, if I am out of luck to show the option dialog as you suggested, I am stuck with the default doc setting values and it a problem.
I did it for the PDF-based CopyAsAction and  I expected the Export version also has the same capability.  Here the PDF version I used at the time:
sAIActionManager->AIActionSetInteger( valueParameterBlock, kAISaveDocumentAsGetParamsKey, true );
sAIActionManager->PlayActionEvent( kAISaveDocumentACopyAsAction, kDialogOff, valueParameterBlock);
and this will show the PDF option dialog and let the user set their options.
Is there any other thing I can do to change these values in CS5?
Thanks for your help, Patterson you really helpfull and I really appreciate that.
Abdo

Similar Messages

  • Photo size options fails to work when selecting mail option in iphoto

    photos being sent via the mail option in iphoto seem to be set at a default of 130kb!! Regardless of which of the sizing options I select. I have taken to moving the photos to the desktop then putting them in a folder and attaching to the email as a way of getting around this problem. If I do the above without putting the jpeg into a folder it also gets reduced automatically to 130kb. I have then had problems with people receiving the photos sent in an attached folder not being able to open them. Given that the iphoto/mail option in all previous OSX worked fine what do I have to do to get the old functionality back?

    Welcome to the Apple Discussions.
    You also need to check the size option in the bottom right corner of the New Mail Message window:
    Uploaded with plasq's Skitch!
    Regards
    TD

  • Is it true that keep options is not working with paragraph span? (CS5)

    Hi all,
    Just wanted to confiem that keep options does not work with Paragraph span.
    thanks,
    shlomit

    That's correct for now. Perhaps in CS6....

  • In PHotoshop CC, my blenidng options are not working at all.  A window comes up with the message "

    In PHotoshop CC, my blenidng options are not working at all.  A window comes up with the message "Could not complete your reequest because of a program error.  "
    Linda

    In Photoshop CC whenever I try to apply blending options to a layer, an error message comes up.. In my error message log, this is what comes up
      2013:07:12 16:17:16 : tracked key 0000000000000238 of type struct _ADsc * __ptr64 not found : 1 : REQUIRE failed 2013:07:12 16:17:16 : e:\ps13\ps_14_win_x64_daily_retail\20130423.r.221\photoshop\main\photoshop\interfaces\UTr ackResourceImp.h : 137 : REQUIRE failed 2013:07:18 19:20:19 : tracked key 0000000000000100 of type struct _ADsc * __ptr64 not found : 1 : REQUIRE failed 2013:07:18 19:20:19 : e:\ps13\ps_14_win_x64_daily_retail\20130423.r.221\photoshop\main\photoshop\interfaces\UTr ackResourceImp.h : 137 : REQUIRE failed 2013:09:05 22:42:22 : ..\..\sources\USheetRendererCommands.cpp : 556 : REQUIRE failed 2013:09:16 17:22:13 : ..\..\sources\UPattern.cpp : 1679 : REQUIRE failed 2013:09:16 17:22:20 : ..\..\sources\UPattern.cpp : 1679 : REQUIRE failed 2013:09:21 16:19:20 : ..\..\sources\UPattern.cpp : 1679 : REQUIRE failed 2013:09:21 16:19:37 : ..\..\sources\UPattern.cpp : 1679 : REQUIRE failed 2013:09:21 16:25:58 : ..\..\sources\UPattern.cpp : 1679 : REQUIRE failed 2013:09:21 16:28:01 : ..\..\sources\UPattern.cpp : 1679 : REQUIRE failed 2013:09:23 14:34:51 : ..\..\sources\UPattern.cpp : 1679 : REQUIRE failed 2013:09:23 14:35:19 : ..\..\sources\UPattern.cpp : 1679 : REQUIRE failed 2013:09:23 14:35:22 : ..\..\sources\UPattern.cpp : 1679 : REQUIRE failed 2013:09:23 14:35:30 : ..\..\sources\UPattern.cpp : 1679 : REQUIRE failed 2013:09:23 14:37:55 : ..\..\sources\UPattern.cpp : 1679 : REQUIRE failed 2013:09:23 14:37:59 : ..\..\sources\UPattern.cpp : 1679 : REQUIRE failed 2013:09:23 14:38:04 : ..\..\sources\UPattern.cpp : 1679 : REQUIRE failed 2013:09:23 14:38:08 : ..\..\sources\UPattern.cpp : 1679 : REQUIRE failed 2013:09:23 14:38:22 : ..\..\sources\UPattern.cpp : 1679 : REQUIRE failed 2013:09:23 14:43:33 : ..\..\sources\UPattern.cpp : 1679 : REQUIRE failed 2013:09:23 17:13:25 : ..\..\sources\UPattern.cpp : 1679 : REQUIRE failed 2013:09:23 17:13:42 : ..\..\sources\UPattern.cpp : 1679 : REQUIRE failed 2013:09:23 17:13:59 : ..\..\sources\UPattern.cpp : 1679 : REQUIRE failed 2013:09:23 17:14:16 : ..\..\sources\UPattern.cpp : 1679 : REQUIRE failed 2013:09:25 22:04:18 : ..\..\sources\UPattern.cpp : 1679 : REQUIRE failed 2013:09:26 16:58:46 : ..\..\sources\UPattern.cpp : 1679 : REQUIRE failed 2013:09:26 17:46:04 : ..\..\sources\UPattern.cpp : 1679 : REQUIRE failed 2013:09:26 17:47:08 : ..\..\sources\UPattern.cpp : 1679 : REQUIRE failed 2013:09:26 17:47:32 : ..\..\sources\UPattern.cpp : 1679 : REQUIRE failed 2013:09:26 17:54:05 : ..\..\sources\UPattern.cpp : 1679 : REQUIRE failed 2013:09:26 17:54:12 : ..\..\sources\UPattern.cpp : 1679 : REQUIRE failed 2013:09:26 17:54:33 : ..\..\sources\UPattern.cpp : 1679 : REQUIRE failed 2013:09:26 17:57:02 : ..\..\sources\UPattern.cpp : 1679 : REQUIRE failed 2013:09:26 18:05:03 : ..\..\sources\UPattern.cpp : 1679 : REQUIRE failed 2013:09:26 18:05:40 : ..\..\sources\UPattern.cpp : 1679 : REQUIRE failed 2013:09:26 18:05:49 : ..\..\sources\UPattern.cpp : 1679 : REQUIRE failed 2013:09:26 20:31:17 :
    ..\..\sources\UPattern.cpp : 1679 : REQUIRE failed 2013:09:26 20:31:53 : ..\..\sources\UPattern.cpp : 1679 : REQUIRE failed

  • Hi I installed a new hard drive in my Mac mini osx lion an when I turn it on I get a flashing file with a question mark. I tried holding command and R keys when turning it on but the recovery fails to work. Does any one know how I can get it to recover?

    Hi I installed a new hard drive in my Mac mini osx lion an when I turn it on I get a flashing file with a question mark. I tried holding command and R keys when turning it on but the recovery fails to work. I can hold the option key at start up and choose my network, then Internet recovery shows up with an arrow pointing up. When I click on the arrow Internet recovery fails and all I get is a globe with a triangle on it with an exclamation mark on it, and under that it says
    apple.com/support
          -6002F
    Does any one know how I can fix this without a recovery disc? Thanks

    I just want to add to this, in case someone else searches for this error on Apple Support (google doesnt cover apple support.. how clever is that?)
    I had the same error. And i had a Computer that had worked, with a SSD drive and 16GB upgrade done by the owner himself.
    I tried swapping with a Mechinal Harddrive, no luck.
    Kept the Mechanical drive in, and tried with some other Ram, it worked..
    So for me this error and after reading the other responses can be boiled down to a Harddrive problem or Ram issue.
    It was Ram for me..

  • Photoshop CS5 Issues & Mini Bridge Not Working In CS5

    I have Photoshop Issues:
    Mainly with copy & paste tools after a short period of time, tools start to function incorrectly for example.. Copy & Paste when working with identical images & wishing to select a part of the image to paste directly on top off the identical image they do not align up pixel by pixel I zoom a 100% in to see and ifs off shifted by 1 pixel out If I move it into place it jumps 2 pixels to the left and if I move to the right again 2pixels. I can't get it in the precise place
    it normaly happens after Ive made a couple of pastes.. till I end up having to close & restart photoshop to get it functioning correctly. Is this a bug or am I using it indifferent.
    Also the Clone stamp tool stops functioning after using the copy and paste tool after short periods. Example I copy then paste a selected part of the image back into the image then wish to the clone stamp tool to get the correct texture right.
    And last issue is.. Mini bridge does not load I click browse images & it states "Waiting for bridge CS5.." ? Nothing happens
    Windows Xp Media Centre Edition: (Service Pack 3)
    staceyparish @ live dot co dot uk

    It's worth checking to see if the "jumping" problem you have is because Snap is enabled.  Snap causes Photoshop to try to auto-align things for you, and can look much as you've described.  Check the View menu to see if Snap is checked.  If so, either uncheck it, or hold the Control key down when you are moving things that you wish to align without snap.
    Also, keep in mind that with the Move tool selected, you can "Nudge" a layer by one pixel at the current zoom level by using the arrow keys on the keyboard.
    Can you list specific steps to reproduce the Clone tool failure?  It might also be helpful for you to capture your screen showing the current state of the image, layers, and settings at the time you're seeing the Clone tool fail to work as you expect.  You may have a setting wrong that someone will be able to see.
    -Noel

  • Microsoft Office 2011 fails to work on new iMac

    I received my new iMac in mid December, and I used the Migration Assistant to move everything. Unsurprisingly, MS Office failed to work. I paid MS another $12 so I could download a new copy of MS Office 2011 and tried installing it. Installation succeeded, but every time I opened a Word or Excel file, it crashed.
    I deleted Office from both iMacs, old and new, including all of the MS files hidden everywhere. Reinstalled but the same thing happens. Deleted everything, including the downloaded disk image, downloaded it again, and reinstalled.
    Same result--crash!
    I have no idea what to try next. My wife is beginning to doubt my technical expertise. I've tried to mollify her with OpenOffice and Pages, but she is getting frustrated and angry.
    Any ideas on what to try? Please save my marriage!

    Your original post states:
    I deleted Office from both iMacs, old and new, including all of the MS files hidden everywhere.
    I have no idea what files you have deleted, and what files have been left behind, you have no guarantee that you deleted every single file from the thousands of files Office installs, a single preference file left on your machine is enough to cause Office to fail.
    As you  made a serious  error in using Migration to use Office on a new machine, I did not take as absolute certainty you  made a proper and complete uninstall of Office.
    If you need Office to work quickly, your option now is to clean install your Mac; 
    back up your work files
    erase the hard drivereinstall the operating system
    install Office correctly
    You will be up and running in 2 hours.

  • Firefox fails to work

    Hi - for some reason, my Firefox has failed to work as of yesterday. When I open it, it just comes up with a black screen where the content should be. I have tried to uninstall and reinstall but it still doesn't open up.
    I have a screenshot of how it looks when I open it but can't work out how to include with my question.

    hello nmmw03, other users with this problem all had an embedded intel hd3000 graphics card with an old driver present. in case this also applies to you, here would be a link to update the driver, which in turn should also address the black firefox problem: https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=23764 (for win7 64 bit)
    in case this doesn't solve the issue or does not apply to your system, start firefox into safemode '''by pressing the shift key while the application is launching''' & disable hardware acceleration in the firefox ''menu ≡ > options > advanced > general'' (that setting will take a restart of the browser to take effect).
    [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]

  • In my MacBook Pro, finder is crashing after logging in. It is showing crash report with Relaunch option, when i click on Relaunch option finder is working properly but i am unable to see top bar(Apple, Date, Wifi). Even in safari address bar not accepting

    In my MacBook Pro(10.7.5), finder is crashing after logging in. It is showing crash report with Relaunch option, when i click on Relaunch option finder is working properly but i am unable to see Top bar(Apple logo, Date and Wifi etc... bar). Even in safari address bar, TextEdit not accepting any text means when type something not showing up and also i am unable operate any thing from keyboard. Plz help me…..

    One thing that you can try is installing a 'fresh' version of OS X Lion. Boot into your Recovery partition (holding down the command and R keys whilst booting) and elect to install OS X from the Recovery screen. You need not erase your hard drive and you should not lose any of your data.
    Oh, and just as a precaution, I would use Disk Utility, once you're in Recovery mode, to verify your hard drive before trying to install the OS again.
    Clinton

  • Want to open Kodak Photo CD files (.PCD) in Photoshop CS5.  In CS4 i copied file "Photo CD.8BI"  from an older version into the File Format folder.  This does not work with CS5.  Any fix?

    I have several old Kodak Photo CD with PCD image files.  I am now using Photoshop CS5.  Some years ago while using Photoshop CS4 I copied a file:  "Photo CD.8BI" from an older, CS2, version to the Plug-ins/File Format folder of CS4.  This does not appear to work with CS5.  Any fix?

    It can be made to work, but you have to run the 32 bit version of Photoshop CS5, and as I recall there's an additional DLL called pcdlib32.dll that's needed from the old installation.
    See also:  Open Kodak PhotoCD files in PS CS5 - is it possible? (Win XP)
    -Noel

  • Filter option is not working in Reuse alv grid

    Hi all,
    Filter option is not working in alv grid properly.
    if i choose one particular field for filter option .it is working .but another field it is not working though it contains different values.please give the answer.whether i have to pass filter option throuogh reuse_alv _grid or not.thanks in advance
    raj

    Hi raja,
    1. The search/filter is
       CASE SENSITIVE
    2. U can give *
       to search for pattern.
      (IN THAT CASE, it is NOT Case Sensitive)
    regards,
    amit m.

  • Urgent : SSRS reports zoom in option is not working in IE9 compatability view

    Hi,
    We have SSRS reports which when viewed in IE 9 compatability view, zoom in option is not working properly.
    SSRS report have 4 charts inside a rectangle. when zoom in from 100% to 50% only rectangle shrinkes not the charts.
    Please let me know why it is happening and solutions if any?
    Rakesh Jayaram http://blogs.msdn.com/b/rakesh_ramblings/

    Hi Wendy Fu,
    Thanks for your support. Below are the steps and screenshots as per your requirement.
    /*******************Below are the steps to replicate ************************/
    This document explain IE9 compatibility issue with SSRS report (SSRS 2008 R2 and IE9)
    Tools and software used:
    Reports are rendered on Share Point 2010 server which uses SSRS 2008 R2.
    Reports are accessed using web browser IE9, IE10 ….
    Problem statement:
    To work OTHER reports compatibility mode in IE should be ON
    To work SSRS reports (mainly zoom) compatibility mode in IE should be OFF
    OTHER report is being used by customer and they will start using SSRS reports as well. While using both OTHER reports and SSRS reports customer do not prefer to keep switching between compatibility modes.
    “Browser Mode: IE9”
    Steps to reproduce Zoom issue for SSRS report with Compatibility mode is given below:
    Step-1: Select Tools menu -> Compatibility View Settings
    Below setting is suggested for OTHER users so tick as shown below,
    Step-2: On decision center select link and Open the report home page and click the link to open the report.
    Step-3: On SSRS reports Change Zoom level from 100% to say 50%. Here all charts are not moved with container frame.
    If “Browser Mode: IE8” is set with following steps then this issue does not happen.
    Press F12 and from and select IE8 as shown below.
         Press F12 again so this will set the mode and then try Zoom option it works fine. However this setting temporary and will remain for the session only.
    If compatibility mode is OFF then also this does not happen. Please see image below.
    Rakesh Jayaram http://blogs.msdn.com/b/rakesh_ramblings/

  • Layout option doesn't work in Easy Print VI panel, controls on tabs don't appear

    Found two problems with the Report Generation VIs:
    1) In the (Report Generation) Easy Print VI Panel or Documentation.vi, the Layout options don't work (dug down into the sub-VI's and found that they are not connected to anything).
    2) If you have controls or indicators on a Tab Control, and try to use the Easy Print VI Panel or Documentation.vi with the option to include controls in the report, they don't appear. The only controls/indicators that do appear are the ones that are displayed on all of the tabs (ie, create an control and move it on top of the tab control so that it appears on every page).  There is a sub-VI (Expand_control_ref_with_nested_controls.vi) that is called to handle nested controls (ie, clusters, arrays,etc...) but it should have a case to handle tab controls.
    Solved!
    Go to Solution.

    Hey Sajosie,
    Digging into the Sub-VI's you are correct in saying that the Layout Options user input is not connected to anything for most cases. However, In the default case of "Quick Print" the Layout Options are used to modify the layout of the report. In the help for this VI, it mentions that this input is ignored for "Standard Reports" and "HTML" report options. However, it does not mention that this ignoring of the Layout Options is expected for "Word" or "Excel" reports.
    In terms of including controls and indicators in the report that appear on tab controls, I can make a product suggestion to make this sort of front panel design more compatible with the Easy Print VI Panel or Documentation.
    Hope this helps.
    -Ben
    WaterlooLabs

  • Safari and app store fail to work after installing Maverick, what can I do?

    Safari and app store fail to work after installing Maverick, what can I do?

    Disk Utility (Applications - Utilities - Disk Utility) Repair Disk Permissions 2x. Then restart in Safe Mode and try both apps. Restart normally and post results.

  • How do i copy content from one hard rive to another through my macbook air? the copy and paste option doesn't work

    How do i copy content from one hard rive to another through my macbook air? the copy and paste option doesn't work

    It's because of the extension of the hard drive is a Windows extension ( most likely MSDOS or Ex-FAT), meaning you can only read but not write. If there are no important files (or you can copy the whole thing to your computer/mac) you can just reformat the hard drive and change the extension to NTFS (readable and writable on both windows and mac) or Mac OS Extended (readable and writable on Mac, readable on windows).
    Go to DISK UTILITY
    Choose the Hard Disk you intended
    ERASE
    You can choose either
              (I personally prefer this one, you know just in case)

Maybe you are looking for