How can I configure PSDExportPrefs option

Hello

I couldn't find documentation on how to set the export preferences options when exporting psd file. Here is my piece of code that works fine, but I need to set options - AnitAlias, resolution, colorModel, etc. - before I export the file. I could not well parameters to set values of PSDExportPrefs . How can I do? Please help.

AIActionParamValueRef valueParameterBlock = NULL;

ActionDialogStatus dialogStatus = kDialogNone;

result = sAIActionManager-> AINewActionParamValue (& valueParameterBlock);

if (valueParameterBlock)

{

result = sAIActionManager-> AIActionSetString (valueParameterBlock, kAIExportDocumentNameKey, szPSDFileName);

result = sAIActionManager-> AIActionSetString (valueParameterBlock, kAIExportDocumentFormatKey,

'Export Photoshop PSD' );

result = sAIActionManager-> AIActionSetString (valueParameterBlock, kAIExportDocumentExtensionKey,

"psd, pdd" );

I need to set the options to export here?

and display dialog "Option Export to Photoshop"

play the event

result = sAIActionManager-> PlayActionEvent (kAIExportDocumentAction, kDialogOff, valueParameterBlock);

result = sAIActionManager-> AIDeleteActionParamValue (valueParameterBlock);

}

Thanks for your help.

Achouri

Glad to hear it!

As a minor note, may actually specify the key as the "parm" and it will work - which translates as 1885434477 and makes it a little more readable there is probably a constant somewhere for this also, because I imagine "parm" is pretty generic and used in several actions.

Tags: Illustrator

Similar Questions

  • How can I configure an option of advanced search in Windows 7?

    Original title: How do you get an option of advanced search in windows 7 as we could for earlier versions and calmly set your search?

    When I click in the main search field, that I want to set the the bottom of box main search to the left of the screen but he rockets off.

    It seems to be a limited selection of options that open up sometimes in blue under the search box which turns at the top of the right hand in Explorer can't see untial I put a word in the search box, sometimes just date arrives at other times can see other options such as the file.

    Did not work what to do to access these options.

    Reading on the advanced options, I see that I can type in the various symbols in the search.

    Is that what someone has produced an add on make life easier when searching?

    For example, I would first find the records to find files in folders by a specific word of the file type.

    Any suggestions welcome.

    CarbonFree.

    Hello

    Thanks for posting the question in the Microsoft Community forums.

    I see that you need to know more information on how to set-up an option of advanced search in Windows 7.

    Let's see a few articles and see how it works.

    Searching in Windows 7 can be as simple as typing a few letters in the search box, but there are also techniques of advanced search you can use. You don't have to know these techniques to search for your files, but they can be useful depending on where you are looking and what you are looking for.

    Advanced Tips for searching in Windows
    http://Windows.Microsoft.com/en-in/Windows7/advanced-tips-for-searching-in-Windows#section_2

    Searching in Windows: frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows7/searching-in-Windows-frequently-asked-questions

    Find a file or folder

    http://Windows.Microsoft.com/en-us/Windows7/find-a-file-or-folder

    See also the step mentioned by "Shawn b. Keene [MVP] replied on September 19, 2010" in the article.

    In windows 7 - I want to find all files containing "a word or phrase in the file". The standard search XP box.

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-files/in-Windows-7-i-want-to-search-for-all-files/aadfe1f1-4a33-406B-8e72-bb920efa4f30

    Hope this information helps. Get back to us if you have more queries about Windows.

  • How can I configure the cell data format

    How can I configure data format of cell numbers: for example, I want to capture 123456.78 and need to be 12A3456.78?

    I tried to put #A # #. # format option, but it didn't work a few time and it became A123456.78.

    I also tried on excel and it worked very well, but I like the numbers better. is there a solution to this problem?

    Thank you

    HEY Chi - Lun,

    I don't think that this is possible as many number format. You should be able to insert A in a text string using a formula, but this would happen in a second cell, not that the number has been entered.

    "Assuming all the"numbers require the same inserted letter after the second number, this should do the work."number" entered in column A; the formula in column B. In the table below, your value as an example is A6.

    = Left (A, 2) & "A" & RIGHT (A, LEN (A) - 2)

    Kind regards

    Barry

  • How can I configure my Mozilla Thunderbird to me for new confirmed before leaving?

    I used to use Microsoft outlook. In outlook, we use the button 'close' at the top right of a mail to close this letter.
    In thunderbird, this 'x' is available on the top somewhere in the middle.

    To close a mail, I click on the upper right corner by mistake and the release of Thunderbird (which I didn't) by mistake.

    How can I configure my Mozilla Thunderbird to me for new confirmed before leaving?

    As far as I can see there is no easy way to do this. However, an easy option is to have the Thunderbird in the system tray on hitting the close instead of closing button. The add-on "Minimize on start and close" for Thunderbird accomplishes this mission and to close all what you need to do is right-click on the icon in the taskbar, and then click close to close actually it. I hope this helps.

  • How can I configure my chosen default font?

    How can I configure my cast chosen to send e-mail messages to the default position in order to avoid selecting each time?
    Any help for a novice like me would be appreciated.
    Thanks in advance.

    Go to Tools > > Options > > display > > formatting

  • How can I configure mobile android password manager copy all of my passwords from firefox to my office?

    How can I configure my new mobile password manager for my android phone copy all of my passwords from firefox to my office?
    Right now, I noticed there is only about 8 passwords listed.
    But my office saved password manager has about 50 listed.
    This makes me think that the android app is to choose only to remember what I saved directly with my android. I want to capture all my saved passwords from my desktop also.
    I tried recheck my firefox sync options, but only confirmed that I don't have this game automatically synchronize all my data (including passwords.)

    I found that I have to press the 'Menu' (three horizontal lines in a square) in the mobile view and connect until I'm able to meet Firefox on Android.

    Now that you're on your desktop: try passwords uncheck in synchronization preferences, wait a few seconds, then check again. Then on your phone, the settings of the open Android app, accounts & sync, choose your Firefox Sync account, then Menu > sync now.

  • How can I configure Outlook Express automatically download new email messages

    How can I configure the computer automatically download all new e-mail messages without selecting send/receive, when I have Outlook Express on?

    Tools | Options | In general. The arrival of messages every X minutes.

    Tools | Accounts | Mail | Properties | In general. Make sure that "include this account...". "is checked.

  • I want to share folders on my xp pro sp3 PC. How can I configure it so that a login prompt appears when users connect to it as \\ip\shared... ?

    I want to share folders on my xp pro sp3 PC. How can I configure it so that a login prompt appears when users connect to it as \\ip\shared... ?

    Hi Kelvin,

    You can share a folder on your XP by the listed method: http://support.microsoft.com/kb/304040

    Others have an option to connect to your pc as a guest, to make interactive you will need to click on start-> run, type &-> gpedit.msc

    Navigate to Computer Configuration-> Windows settings-> Security-> Security Option settings. On the right side, look for-> ' access network: model sharing and security for local accounts "-> double click and select-> classic-Local user authenticate.

    Now another pc you can access this computer and you will be asked for the username and password.

    I hope this helps.

  • How can I configure my computer to the simple click with the mouse to double-click to open an item on the desktop instead

    How can I configure my computer to the simple click with the mouse to double-click to open an item on the desktop instead

    Hi placebow,

    Open the Options folder by clicking the Start button, clicking Control Panel, appearance and personalization, and then clicking Folder Options. On the general tab, click single-click to open an item. (To return to the standard click, click double-click to open an item.)

    The setting applies not only at the office, but also in other areas of the shell.
    Ramesh Srinivasan, Microsoft MVP [Windows Desktop Experience]

  • How can I configure computer mi to ACCEP https connection

    How can I configure computer mi to ACCEP https connection

    original title: my device does not accept the connection of the https port, I have Windows vista

    Hi, Rosariopenaranda,

    Do you get any error Messages?

    Tools > Internet Options > Advanced tab

    Scroll down to the Section navigation

    Uncheck Show friendly https error messages

    Click on apply, Ok

    Tools > Internet Options > Connections tab

    Click the Lan settings button

    Check automatically detect settings

    Click Ok, apply, Ok

    Change proxy settings in Internet Explorer

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-proxy-settings-in-Internet-Explorer

    HOW to: Use Wfetch.exe to troubleshoot HTTP connections

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

  • How can I configure Messenger to record my conversations, record them and send them to a location I can read and save when you use Messenger on other computers than mine?

    How can I configure Messenger to record my conversations, record them and send them to a location I can read and save when you use Messenger on other computers than mine?

    original title: Live Messenger

    Hi Nicoliani,

    To start saving your Conversations in Windows Live Messenger

    1. connect to your window Live Messenger and click on 'Tools' or click on your display name.

    2. scroll down to "Options", a window should appear. When he does very well and click on "Messages".

    3. locate "historical Message". After that, check the box that says, "automatically keep a history of my conversations.

    4. below that you will see "save my conversations in this folder."

    5. to side of her you will see change, make sure that it is a file that you can access and watch later.

    6. If you are on a network, you can save it in a directory which you have access, or you can save it to a location and later mailed to yourself and access it later.

    Where chats are saved is given below.

    1. to access the Conversations go to the start bar and click My Documents. Then click on "my received files."

    2. There should be a folder with your name on it. Click the folder, then you will be in another folder called history. Continue

    3. by clicking on the folder, now you should see all your saved conversations.

    Hope this information is useful.

    Amrita M

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

  • How can I configure windows 8 tiles screen as my default page, instead of going to my office eveytime I close a program?

    How can I configure windows 8 tiles screen as my default page, instead of going to my office eveytime I close a program?

    I posted earlier today that I had the same problem, but I think it is now resolved.  In the search engine, type bar of tasks and navigation.  Under Navigation, there are several areas, which is to return to the office from the beginning and end of programs.  In my case, this option is checked.  I have no idea how he became verified that I just started having the problem... a week ago but it is now disabled and the problem seems to be resolved.  I hope this helps!

  • How can I configure an image at its actual size?

    How can I configure an image at its actual size? Let's just say my image 800x800px dynamic object. I place it in a project of 400x400px. I put on the scale the image several times, and I don't remember its original size, for the sake of argument. What I can do to get it back to 800 x 800 and where can I check to see if it is 800 x 800 I know I'm not more?

    If it's a select of the smart object layer, go to free transform mode and then check the updated image to scale in the toolbar options at the top of your screen. The scale factor will continue to be updated every time you to scale the layer. It is not reset back to 100% as a regular layer.

  • How can I configure a PDF Export Preset to force a line weight minimum on output?

    How can I configure a PDF Export Preset to force a line weight minimum on output?  I am currently using one that comes from a printer that works fine - but I can't seem to find the option when you create one myself.  I have some place of the line art Illustrator which is built with the thickness of ligne.25 and when I put 20% across the lines are too thin to see in the output PDF.

    PDF presets cannot force a minimum line thickness.

    Use the tool of difficulty released in Production Print tools in Acrobat Pro to do.

  • How can I configure on a second two-factor authentication apple that isn't an icloud but rather my itunes account account ID? Only, I seem to be able to use two steps on the second account.

    How can I configure on a second two-factor authentication apple that isn't an icloud but rather my itunes account account ID? Only, I seem to be able to use two steps on the second account.

    You can not. Two Apple factor authentication is a feature of iOS and OS X, based on your AppleID being associated with iCloud account to send and receive authentication 6-digit codes. An AppleID that is not associated with iCloud account cannot be used for 2-factor authentication.

    For Apple ID - Apple Support two-factor authentication

    You can set up validation in 2 steps (which is different) with any AppleID - see frequently asked questions about check in two steps for Apple ID - Apple Support

Maybe you are looking for

  • How many cell data uses the health app?

    We have little data plans, and my wife intends to use the health app every day.  Should I use to run the cell data health application?  Another reference... If I used the maps on the watch application would use this as much data as it normally does o

  • Change disc to start and iTunes

    I bought a larger SSD, and I installed El Capitan top to test, leaving the old one intact. Then I leave the data import feature work, but now I find iTunes on the new launch of disk with an old library and it does not find the music files (they are i

  • HP 240 G4 - PT: CANOE WINDOWS find DRIVER for UNKNOWN HARD WARE-ACPI\MSFT0101\2

    This laptop has F.1D BIOS. The divece show divce unknown-ACPI\MSFTO101\2 for window manager which can not find a driver BLS1

  • E2000 HTTP Port Fowarding stops after a few hours

    Port forwarding Port 80 stops working after a few hours and requires the router to be restarted to begin to transmit again. The firmeware is the last 1.0.04)is Build 7. I need to work reliably for several days without intervention. I guess it is a pr

  • Bluetooth icon does not appear in the mobility Center

    Hi I have the best softwar peripheral drive bluetooth is mounted, but the device cannot start (product bluetooth device RFCOMM TDI)