How can we do save and export operation in single step using Plugin?

Hi all,
     I want to save and export a design in Adobe illustrator  to a specific folder using a plugin. For example i created a design called test , i want to save the test.ai and its converted jpeg form (test.jpeg) in to a specific folder using a plugin instead of using normal save and export operation (File ->Save, File->Export). I want to do the save and export operations in single step.
Is it possible to do using the plugin?
Thanks in advance
Sreejesh K V.

I have tried both option and still the file is not being saved
This is what i tried:
const char *fileFormatName="TIFF";AIDocumentSuite *sAIDocument;
std::string abc =
"D:\\Sreejesh\\test.tiff";ai::UnicodeString myString(abc);
ai::FilePath aiFile1(myString);
AIErr err = sAIDocument->WriteDocumentWithOptions(aiFile1, fileFormatName,
kFileFormatExport | kFileFormatWriteAs | kFileFormatWrite ,
false);
SPBasicSuite *aBasic = message->d.basic;
AIDocumentSuite *fSave;
aBasic->AcquireSuite (kAIDocumentSuite,kAIDocumentVersion, (const void**)&fSave); 
const char *fileFormatName="Photoshop PSD Export";std::string abc =
"D:\\Sreejesh\\test.psd";ai::UnicodeString myString(abc);
ai::FilePath aiFile1(myString);
AIErr serror=fSave->WriteDocument(aiFile1,fileFormatName,
false);

Similar Messages

  • How can I print, save or export from Data Modeler

    From Oracle SQL Developer I select Tools > Data Modeler, then drag a few tables on the surface. Both Print and Save options in the File menu are disabled. Also, there's no export option. What is the purpose of Data Modeler. I', using SQL Developer 2.1.0.63.

    It's Data Modeler Viewer included in SQL Developer 2.1. You need SQL Developer 3.0 or 3.1 EA1.
    Philip

  • How can i include  'Objects and Attachments' in the Decision Step ?

    i found some relevant threads for this particular topic but not able to solve my problem , so i thought of openeing new thread.
    My requirement is to fill the 'Objects and Attachments ' in Decision step with a  display method of purchase order number.
    From SAP Inbox , when i click on Objects and Attachments , it should navigate to Display method of my BOR object with the Purchase order number.

    Hi Sanju , i did exact the same way  ,
    &_EVT_OBJECT& --> &BUS2012&  ( This is done at the start of workflow )
    Now go to you task of the user decesion and make the following binding....
    &BUS2012& --->&_ATTACH_OBJECTS&  in the biding step between decession task and workflow container.
    I am getting this error message paul,
    The Object Types '[BO.ZIPARI]'  (source) and  '[BO.SOFM]' (target) are not compatible.
    i am trying to create a method in BOR and passing back the attachment back to task container but not succeeded yet .
    My requirement is , from SAP inbox before taking decision , approver wants to review for that i need to link the PO number clickble at 'Objects and Attachments'.

  • HT4075 I don't have any problems merging the documents by dragging, but when I try to save and open afterwards, only the last shown doc was saved, not the combined files I wanted to merge. I tried save and export, how can I create the file after merging?

    Hi, I'm having trouble saving the documents when merging in Preview. I don't have any problems merging the pdf documents by dragging them in preview, but when I try to save and open afterwards, only the last shown doc was saved, not the combined files I wanted to merge. I've tried save and export, but none merge the documents after saving... how can I create the file (with all the pdf files) after merging?

    That's a comment in the file. It has no effect at all.

  • I can't open Firefox and I haven't saved my extensive bookmarks, which contains all my important websites. How can I start Firefox and save my bookmarks?

    I have a Dell Inspiron E1505, and I use Kaspersky Internet Security. The past week, I've had problems opening Firefox - it has been slow. Today, it just won't open at all. At first I thought it was my Internet connection, so I called my provider, Comcast Cable. But I was also able to open Internet Explorer. I was told that I may have to remove Firefox, and redownload it, but it would erase all my bookmarks. How can I access Firefox and save my bookmarks?

    Try starting Firefox in Safe Mode (Firefox Safe Mode, not Windows Safe Mode).
    First, I recommend backing up your Firefox settings in case something goes wrong. See [https://support.mozilla.com/en-US/kb/Backing+up+your+information Backing up your information]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
    Next, check out this article:
    [http://support.mozilla.com/kb/Safe+Mode Safe Mode]. Be careful not to "reset" anything permanently if you didn't back up.
    To export bookmarks to an HTML file that IE and other browsers can read, see [https://support.mozilla.com/en-US/kb/Exporting%20bookmarks%20to%20an%20HTML%20file Exporting bookmarks to an HTML file | How to | Firefox Help].
    Any luck?

  • Since installing 4.0.1 I can't right click on the Icon in my task bar and have Firefox give me the option of "close and save" the tabs. Only let's me know I'm about to close multiple tabs. How do I get "save and close" back?

    Before installing 4.0.1 I could right click on the Firefox icon on my computer's taskbar and hit close window. It would then give me the option to "save tabs and quit" or "close all tabs."
    Now it just alerts me that I'll be closing multiple tabs.
    It was convenient to be able to close Firefox and open it with all of the tabs in place. There is nothing more irritating than having multiple tabs lost because your computer did an update overnight and restarted. Also it was helpful when you wanted to run a tun-up or cleaner that asked you close out of your browser for optimum result's.
    How do I get "save and quit" back?
    Thanks

    Firefox now always stores the old session, and you can access it by going to the History menu and selecting "Restore Previous Session"
    If you want Firefox to display the message to save the session, it can be turned back on by changing some preferences.
    # Type '''about:config''' into the location bar and press enter
    # Accept the warning message that appears, you will be taken to a list of preferences
    # Locate the preference '''browser.tabs.warnOnClose''', if its value is set to '''false''', double-click on it to change its value to '''true'''
    # Repeat this for these 3 preferences '''browser.warnOnQuit''', '''browser.warnOnRestart''' and '''browser.showQuitWarning'''
    If you always open the last set of tabs, an alternative approach is this:
    # Click the orange Firefox button, then select options to open the options window
    # Go to the General panel
    # Change the setting "When Firefox starts" to "Show my windows and tabs from last time"

  • How do I write a javascript code to open InDesign File, import Doc, save and export to pdf?

    How do I write a javascript code to open InDesign File, import Doc, save and export to pdf?

    Hi hasvi,
    Need Template(.indt), textframes etc for the following script:
    var myFolderInd = Folder.selectDialog();
    var myFile = myFolderInd.getFiles("*indt");
    app.open(myFile)
    var myDoc = app.activeDocument;
    var myDocName = myDoc.name;
    var mySaveFile = app.activeDocument.save(myFolderInd.fsName + "/" + myDocName.split(".indt").join(".indd"));
    var myFolderDoc = Folder.selectDialog();
    var myFile1 = myFolderDoc.getFiles("*doc");
    mySaveFile.pages[0].textFrames[0].place(File(myFile1))
    //~ mySaveFile.place(File(myFile1))
    app.activeDocument.textPreferences.smartTextReflow = true;
    var myPDFFile = new File(mySaveFile.filePath + "/" + mySaveFile.name.split(".indd").join(".pdf"))
    myDoc.exportFile(ExportFormat.PDF_TYPE, File("~/Desktop/abc.pdf"));
    alert("Process Completed")
    Regards
    Siraj

  • What is the last version update in apple tv and how can i know what is my Operating System

    What is the last version update in apple tv and how can i know what is my Operating System
    i have an apple tv 3
    thx

    6.1
    Settings > General > About > Apple TV Software

  • How can I permanently save my customized toolbars and navigation button settings? When I run Norton Utilities CleanUp, Firefox gets reset to 'factory'.

    I like to clean things out on a regular basis but when I run the Norton Clean-up utility all of my custom toolbar and navigation button settings get reset to 'factory' condition. How can I permanently save these changes to my config or preference settings?

    Cookies, Completed Forms, .tmp files are all that's set to be cleared. If I can identify the appropriate elements I can protect them from deletion. Does anyone know?

  • How can a respondent save an uncompleted form and return to it later?

    How can a respondent save an uncompleted form and return to it later?

    There is no way to save a web form. Our PDF forms do support this (you can open in Adobe Reader, fill, save, return later, fill and submit)
    Randy

  • I took a photo class and the tech showed me how to take iPhoto images and export to an external hard drive. However, I do not recall how this was done. Can anyone provide me with step by step instructions? TIA!

    I took a photo class and the tech showed me how to take iPhoto images and export to an external hard drive. However, I do not recall how this was done. Can anyone provide me with step by step instructions? TIA!

    iPhoto->:File->Export…. BTW, iPhoto and OS version would help; whereas, iOS version doesn't.

  • How can we take the incremental export using the datapump at schema level.

    Hi,
    How can we take the incremental export using the datapump at schema level. Example, today i had taken the full export of one schema.
    After 7 days from now , how can i take the export of change data , from the data of my full export.
    using the export datapump parameter - FLASHBACK_TIME ,can we mention the date range. Example sysdate - (sysdate -7)
    Please advice
    thanks
    Naveen.

    Think of the Data Pump Export/Import tools as taking a "picture" or "snapshot."
    When you use these utilities it exports the data as it appears (by default) while it's doing the export operation. There is no way to export a delta in comparison to a previous export.
    The FLASHBACK_TIME parameter allows you to get a consistent export as of a particular point in time.
    I recommend you go to http://tahiti.oracle.com. Click on your version and go to the Utilities Guide. This is where all the information on Data Pump is located and should answer a lot of your questions.

  • HOW can I FIX Mavericks and Safari 7.0 to allow Gmail to work?  Gmail has been FUBAR'd since downloading Mavericks today.  Finally found the brute-force logout site to just getr logged out; can't keep doing that.  Other features no longer work, either.

    Made big mistake of downloading Mavericks today.
    Been struggling with all the FUBARd messes it caused, ALL DAY.
    Google basic buttons don't work--can't log out or other basic functions.
    Website use is impaired.
    It took almost 3 hours to do a basic online order on one of them--at this rate, I'll be out of business soon, and it's seriously impairing Christmas preparations!
    Google Voice/Video are screwed up, had to RE-download their voice/video plugin all over again--again.
    Voice/video quality is REALLY poor.
    Lag times in so many things are bad.
    Thought this would download WITH the better writing/bookkeeping programs--NOT!
    Mac Maps is piddle compaired with GoogleMaps.
    The Email program on the desktop is REALLY hard to use, has few useful functions.  It's MAYbe good if one only has ONE email; using it with severeal various email accounts is a serious liability in many ways--like filing, sorting, marking, etc.; no clear way to move email files to an external drive to save, to unload the HD.
    HOW can Safari and Mavericks be fixed?
    IF not, HOW can I REMOVE Mavericks and get back to Mountain Lion--which was not too great, but certainly more functional than Mavericks!
    I NEED my web-based emails to work--NOW...NOT when Mac finally gets around to fixing things sometime later.
    I NEED online ordering to work--NOW--not later when Mac finally gets around to fixing things.
    PLEASE someone--any help out there?  I couldn't even find but a rare hint that Safari 7.0 even exists--much less that anyone admits it's got problems, nor fixes for it.
    What to do?  Throw the whole unit out? Wipe and reboot?  Dumb it back to OS 10? HOW? WHAT?
    [freaking out here...]

    Zak Adelman, LexSchellings,
    It's a shiney new computer.  Came loaded with Mountain Lion.
    Too busy learning to use the blessed thing, to download anything....except...
    The only pluggin that had to be loaded, was Google Voice-Video pluggin, while Lion was still it's OS.  [AND been using the Safari that came already in it.]   Had to do that a couple times--nothing new there--that plug-in had to be re-loaded when using a PC, too--THAT happened even before Google slammed everyone into coerced use of it's Google+. 
        [I understood from others, that Firefox won't work in Mac units--or I woulda put that in it to see if that solved anything]
    This unit seemed a bit sluggish from the git-go, out-of-the-box. 
    I figured that was probly the local DSL here---rural DSL is...um...our DSL's not something to brag about, but it's the best we can do...
    The difference between speed of loading pages, etc. on the new Mac, was --not-- toooo terribly different--though yes, slower on Mac....and chalked it up to my inexperience with Mac. 
    Been trying to get things up and running for a bit over a month now.
    NOT doing very well at it--just barely getting by; rapidly falling behind what needs done [work]. 
    Google worked just --OK-- when OS was Lion, as did the Google voice/video--slower, and voice-video was kinda scratchy or glitchy, but worked enough to --get by--.
    Loading Mavericks, ruined that.  
    VOIP calls via Google talk have bad echio, static, cut-outs; video calling was pixilated or not working; WAS cued to re-load it's Voice-Video plug-in....which seemed to help a bit, though not very well; it only helped the Voice-Video some, not all--figured that was probably Google issues, less than Mac's, since Google has been increasingly dysfunctional as they have twisted it to be a social media-dominant thing.
    [[now seeking an email venue that does what Gmail was good at, including the Voice-video calling, that has no intention of turning itself inside out to be "social"]]
    Can't sign out of Gmail or Google+, nor use buttons in upper right corner with the drop-down menu.  
    NO buttons in upper right corner cluster on Gmail work, except the name+ button to toggle over to Google+---which I don't need! [yeah--THAT's a Google problem!] 
    Can only switch to HTML version by catching that button as the account signs in--if one fails to be fast enough with their fingers, it goes to Google+; can't get to email unless type in mail.google.com.
    Managed to catch that button today, and clicked to use HTML "permanently" until these issues get solved.
    ALSO:
    Have fairly new [about 1 year?] HP bluetooth printer-scanner. 
    BUT, after Mavericks loaded: it HAS the unit listed, HAS drivers for it, HP unit IS listed as default printer, everything --seems-- "go",
    .....except Mac keeps posting it's out of ink, and/or, not hooked up, and/or not turned on--even when it is on.
    It's SUPPOSED to be blue-toothing that printer/scanner.   
    It did it for Lion, before loading Mavericks, even though it was troublesome to get it to work, it at least HAD printed one document when Lion was the OS.  
    Thank you...Downloaded EtreCheck: 
    BTW:  Trying to copy/paste data from that check list, to this post, was achaic: 
    had to use Edit, select all, then use edit again to get it pasted--the mouse buttons weren't allowed to copy-paste using right-click functions [is this a relic limited-function "thing" with Mac?, or is it because I wanted to keep using this new wirless, non-Mac mouse?].
    Advice?
    See below...
    Hardware Information:          Mac mini (Late 2012)            Mac mini - model: Macmini6,1
                  1 2.5 GHz Intel Core i5 CPU: 2 cores;           8 GB RAM
    Additional:
       Monitor used = Visio flat screen. [not Mac]
       Keyboard = Logitech solar wireless [not Mac]
       Mouse = Logitech wireless
    Video Information:            Intel HD Graphics 4000 - VRAM: 1024 MB
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
              AirPlay: Version: 1.9 - SDK 10.9
              AppleAVBAudio: Version: 2.0.0 - SDK 10.9
              iSightAudio: Version: 7.7.3 - SDK 10.9
    System Software:
              OS X 10.9 (13A603) - Uptime: 2 days 19:33:25
    Disk Information:
              APPLE HDD ST500LM012 disk0 : (500.11 GB)
                        EFI (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) /: 499.25 GB (456.94 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
    USB Information:
              MediaTek Inc MT1806 
              Logitech Logitech USB Headset
              Logitech USB Receiver
              Apple Inc. BRCM20702 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Apple, Inc. IR Receiver
    FireWire Information:
    Thunderbolt Information:
              Apple Inc. thunderbolt_bus
    Kernel Extensions:
    Problem System Launch Daemons:
    Problem System Launch Agents:
    Launch Daemons:
              [loaded] com.adobe.fpsaud.plist
              [loaded] com.google.keystone.daemon.plist
    Launch Agents:
              [loaded] com.google.keystone.agent.plist
              [loaded] com.hp.devicemonitor.plist
              [loaded] com.hp.messagecenter.launcher.plist
    User Launch Agents:
    User Login Items:
              iTunesHelper
              SpeechSynthesisServer
    3rd Party Preference Panes:
              Flash Player
    Internet Plug-ins::
              FlashPlayer-10.6: Version: 11.9.900.170 - SDK 10.6
              QuickTime Plugin: Version: 7.7.3
              Flash Player: Version: 11.9.900.170 - SDK 10.6
              Default Browser: Version: 537 - SDK 10.9
              o1dbrowserplugin: Version: 4.9.1.16010
          ======  npgtpo3dautoplugin: Version: 0.1.44.29 - SDK 10.5  ===[this was in red]=====
              googletalkbrowserplugin: Version: 4.9.1.16010
    Bad Fonts:
              None
    Old applications:
              HP Device Monitor:          Version: 2.7.0 - SDK 10.5
                        /Library/Printers/hp/hpio/HP Device Monitor.app
    Time Machine:
    ===      Time Machine not configured!  ===[this was in red]===
    Top Processes by CPU:
                   6%          WindowServer
                   4%          Safari
                   4%          SafariDAVClient
                   2%          EtreCheck
                   0%          com.apple.iCloudHelper
    Top Processes by Memory:
              303 MB          Mail
              270 MB          Safari    ======[this is version 7.0 ]======
              262 MB          mds_stores
              147 MB          softwareupdated
              147 MB          com.apple.IconServicesAgent
    Virtual Memory Statistics:
              1.77 GB          Free RAM
              2.85 GB          Active RAM
              2.36 GB          Inactive RAM
              1017 MB          Wired RAM
              4.64 GB          Page-ins
              111 MB          Page-outs

  • Please, I have a PDF attachment in an email on Russian language, how can I open it and convert to WO

    Please, I have a PDF attachment in an email on Russian language, how can I open it and convert to WORD (doc.) on Russian?

    Hi Senior gal,
    If you have purchased the ExportPDF subscription, then just save the PDF to your desktop and follow any of the two mathod mentioned in the article below to convert the PDF to word
    http://forums.adobe.com/docs/DOC-2412
    ~Pranav

  • CS3 - How can I preserve Links and Hyperlinks in my INDB?

    I am still pretty new to ID, so please speak slowly :)
    My problem - I create an INDB that consists of several indd chapters. The chapters include numerous Links (to PNG & PSD images) and Hyperlinks both to Text anchors to other chapters within the INDB, as well as to URLs. I have all items saved on my local HD. Once complete, I do "Package for Print", check the Preflight report to make sure all is OK (it is) and then save the new INDB folder in a new location on my local HD. This all seems to work just fine, BUT if I move this packaged INDB folder (such as to a backup drive, or give to another worker that copies it to their HD), upon opening the INDB file, some links and Hyperlinks are broken.
    It seems that these broken Links and Hyperlinks are still pointing to the original locations on my HD. But obviously not all are, since most links/hyperlinks DO work fine. The Hyperlinks to Text anchors within other indd chapters seem to typically break. Is there a way to force these to reference the packaged assets within the INDB folder? Seems ID would be smart enough to look there itself!
    Also, I was creating some Hyperlinks as "cross referenced" - that is, I created a URL Hyperlink Destination in Chapter 1 indd and then created Hyperlinks pointing to it from other chapter indd in the book. I have learned that these ALWAYS break in the above scenario, so I started creating the URL destination within the same chapter indd and pointing to it there rather than across chapters. But this is just more work to keep re-creating the same URL destination in every indd!
    I'll keep running into these problems since I need to share my finished INDB with other CS3 users. I also would like to be able to do a Save As of the INDB when creating a revised, newer version, but I see this also results in the new INDB links/hyperlinks still pointing to the original INDB's assets! Any way to make the Save As update the Links/Hyperlinks in the new INDB?
    Thanks greatly for any insight. I can find no help in the Help on these issues!

    The title of the post is this
    How can I preserve row and column addresses on multiple cells at once in Numbers?
    I restated the Question as follows
    Can "Preserve Row" an / or "Preserve Column" be set on multiple cells at the same time.
    In both cases it is not asked if multiple cells can be set to....
    That is a given.
    Step back a second...  It is like selecting multiple cells and setting the text color of the currently selected cells to red. This can be done. More than one cell at a time modified because they are currently selected.
    Whats is being asked is:  if more than one cell is selected at the same time can the settings "Preserve Row" an / or "Preserve Column" be applied. No table I put up will help with that question.
    YES or NO
    If YES how?

Maybe you are looking for

  • How to open a file with the extension x3f (sigma)

    how to open a file with the extension x3f (sigma)?

  • Getting the ipad to stay in standby/sleep mode

    I use my Ipad as an alarm clock when I am on the road.  I put it in standby mode but it keeps coming out which is annoying when you are trying to sleep.  How do I get it to stay in sleep mode but still wake me up?

  • Exporting FCP to Flash File

    So I am creating an intro to a website and I want to include a video I made in FCP and then create links in the video to two seperate websites. So basically this website page is index or front page of two other websites. I know that I will have to se

  • Remote login questions

    I have an account on my parent's mac at their place which I log into occasionally via screen sharing/back to my mac. Is it possible, instead of using screen sharing, to log into my account remotely, see and use my desktop, without disrupting their se

  • Bluetooth is always red

    Hi guys, I have a Lenovo S10-2. Recently, my bluetooth is always red. When I right click the bluetooth icon, only "Bluetooth Contiguration" and "Start the Bluetooth Device" are active. Nothing happens after I click "Bluetooth Contiguration". After I