Plug-in's additional files

Hello all,
I'm sure this is a no-brainer but I'm gonna ask it anyway:  Where is the best place to store/retrieve any additional files that my plug-in might need?  I assumed I could keep things like that in my plug-in's bundle (I'm on Mac OS X, CS5) but I haven't found an easy way to 'ask Illustrator' for a path to that location.
Is there a rule of thumb regarding this sort of thing?
Thanks!
-W

We use the API to get the plugin directory, then attach to that the  name of the bundle (name.aip) and whatever subdirectories you need past that point.
Take  a look at SPFiles.h (SDK/illustratorapi/pica_sp/SPFiles.h) and the  SPPlatformFileSpecification struct.
I can't post all  our code, but here is a snippet...
SPPlatformFileSpecification  fileSpec;
sSPPlugins->GetPluginFileSpecification(sPluginRef, &fileSpec);
From  the fileSpec you can get the directory, etc.
sSPPlugins  is a SPPluginsSuite struct and sPluginRef is, well, an SPPluginRef that  can be constructed from an SPMessageData struct.  See any of the  AllocatePlugin functions in the SDK examples on how to create an  SPPluginRef.

Similar Messages

  • Time Machine: External Hard Drive with Additional Files + Back-up

    Hi-
    I am hoping someone can clarify something for me. I use a 500GB external drive (WD-My Book) to back-up my macbook periodically (2x month). I also use this same external drive to store additional files from an old computer.
    I just spoke with some folks at Apple and they confused me and made me think that I might have inadvertently deleted some of the original non-back-up files. However, I have scoured the drive and everything seems to be there IN Addition to the backups.backupdb folder.
    Can someone reassure me that I have not somehow corrupted/lost either the original files or the back-up files?
    I have read the tutorials posted in 2009 - and realize that I should have partitioned the drive, but I didn't. Moving forward I will purchase a dedicated drive just for back-ups - but want to be able to sleep tonight and not worry . . .
    Thanks!

    claisb wrote:
    Wow-Thanks again.
    Apple Support was marginally helpful. After the rep told me I probably lost data, my anxiety rose . . .
    My original Time Machine question to Apple Support =
    My MacBook cannot handle all the media I have. So, I bought a Seagate 1TB to hold movies, photos, and music. If I have the 1TB Seagate plugged in to my MacBook at my designated back-up time, will Time Machine back both the HD and Seagate 1TB to a new (yet-to-be-purchased) 2TB External drive (which will be purchased solely for Time Machine files)?
    Yes, as long as both are formatted for a Mac (see #1 in Formatting, Partitioning, Verifying, and Repairing Disks).
    The Seagate might have been automatically excluded from backups; if so, it's easily removed, via Time Machine Preferences > Options. If it's listed in the exclusion box +*in black,+* (while it's connected) just select it and click the minus sign at the bottom. If it's listed in gray, it's not formatted properly -- Time Machine can't back it up, and you can't remove it from the exclusion list.
    I'm having a difficult time knowing if I'm utilizing Time Machine properly. Since I have a MacBook it doesn't make sense for me to have Time Machine continuously running in the background. So, I only back-up 2 or 3 times a month. And, each time - I seem to get nervous that I'm not doing something correctly.
    Time Machine was designed to back up hourly. On a desktop Mac, it's best to let it do just that.
    On a laptop, of course, that's rarely practical. But you probably should back up more often -- when your internal HD fails (they all do, sooner or later), or something else awful happens to your Mac, you risk losing everything you've done since the last backup. Think of your Address book, browser bookmarks & history, documents, and especially your media files.
    You might want to consider backing-up over your network. It doesn't sound like you also have a desktop Mac, but if you do, you can back up to a "shared" drive on it.
    It's a lot more money, but Apple designed the Time Capsule as a combination wireless router and hard drive specifically for Time Machine backups. Most folks do the initial backup while connected via an Ethernet cable, but subsequently Time Machine can do those hourly backups wirelessly, as long as your Mac is awake and in range of the Time Capsule. See http://store.apple.com/us/product/MC344LL/A/Time-Capsule-2TB?fnode=MTY1NDA0Mg&mc o=MTMzNzU2MjI
    But as long as you're diligent about doing your backups regularly via an external drive, a TC may not be worth the big bucks, especially if you already have a wireless router.

  • Have an additional file

    Hi,
    In my scenario, I would like split a message with key fields.
         -> File 1
    File    -> File 2
         -> File n
    but with each files, I would like attach a referential file:
         -> File 1
                 (Ref)
    File    -> File 2
    (Ref)          (Ref)
         -> File n
              (Ref)
    This referential file is no map or convert, a simple forwarding.
    I try to use the option "additional files" in the file adapter on the directory with parameter:
    File List : ref
    ref.namePart : ".csv" = "txt"
    ref.type : BIN
    The name of source file is "Ewad.csv" and the name of source referential file is "Ewad.txt". There are in the same
    directory on my outbound NFS system.
    In the transaction SXMB_MONI on my XI system, I could see my attached referential file in the Payload on the
    inbound message, on the receiver grouping but not on my target NFS system.
    I try a simplier scenario (a no mapped source file and a referential source file) and I can see the referential
    file on the monitoring transaction on the inbound message, the receiver grouping and the response (on payload) but
    not on my NFS target system.
    I know I say all.
    How can I have my referential additional file on my target directory with the mapped splitted files ?
    Anybody have an idea ?

    See Camera Raw plug-in | Supported cameras
    You need Lightroom 5.2 or later. Which version of Lightroom are you running?

  • CS4 - Additional File Formats and Effects Installation

    We are operating in a networked environment and are experiencing trouble with After Effects 9 (CS4). Frequently AE wants to connect to the Web and download/install additional file formats and effects. The "student user" accounts do not allow this and the process fails. Some AE projects REQUIRE these additional components, so as we encounter this problem we log on as a local administrator and allow the application to update these components.
    Is there a way to make these components part of our standard software library, so the next time we re-image a lab everything is in place? These additional components do not seem to be included in the standard Adobe Updater. Or perhaps there are a few directories which just need an adjustment to their NTFS permissions?
    I haven't seen anything on the Web about this, nor in these forums. Has anyone else encountered this while in a networked enviornment? Solutions?
    Thanks...

    Lets assume that the correct (English) serial was entered during installation, and that there were no inconsistencies with language options...etc. At what point do those 3rd party codecs and plug-ins get installed? After first launching the product, or only when an AE project requires additional components?
    I just did a fresh install on a new machine and never saw any dialogue box or alert about AE downloading and installing anything "extra". We don't set up any of our systems for multi-lingual use, and I'm quite certain another language was not specified during the install. I'll double check, but it would be useful to know what the trigger is for checking for these additional components, and if I can force it to happen on the machine I'm setting up as my master.
    Thanks...
    -eb-

  • Extracting additional files, where? (CS3)

    I am running AECS3 at work. We had to put in a new hard drive, which meant wiping out AE and installing it on the new HDD. However, I kept getting an error message that there were additional files that need to be installed, and all of my CC effects are gone. So, I had my IT guy download the file with all of the effects (837MB). However, I don't know where to extract the files. I tried both Support Files>Presets and Support Files>Plug-ins, but neither works. I looked on the Adobe site and couldn't find any info that would help. Could someone please tell me where to extract them to?
    Thanks in advance

    I'm running Windows XP. The software was correctly installed as an administrator (since this is a large corporation, the IT security requires that), however not all of the effects were installed due to some nonsensical decision on Adobe's part to make some of the effects a separate install then not provide adequate documentation.
    The exact error message I receive is "Additional File Formats and Effects Installation: After Effects was unable to install additional file formats and effects. Please reinstall from the original installer with a serial number."
    Note that it doesn't matter if we uninstall then reinstall or try another install over the top of the existing install. That's because the missing effects are NOT included with the original installer. This includes ALL of the CC effects as well as Keylight and probably some others. There is also content missing from Encore. This happened previously when we had to reformat the old drive about 6 months ago. However my IT guy doesn't remember where or how he installed the additional effects because he supports about 1000 people every day so remembering something like this after that period of time is next to impossible.
    I extracted the files to my desktop and here's the file structure (I'm not sure if it'll help, but maybe it's worth a shot) Desktop\Adobe CS3\After Effects\Adobe CS3\payloads\AdobeAfterEffects8All\AdobeAfterEffects8All1.cab and the .cab folder contains a whole bunch of files. If I hit Select All and right click on them I get an extract option. But where would I extract them to? There are so many that I really don't want to have go back in and try to figure out which ones to remove if I put them in the wrong place.
    Adobe documentation regarding this is either nonexistent or buried somewhere

  • Additional Files in Sender File Adapter

    Hi
    I have to collect 2 files (IN.txt, IS.txt) and attach 2 files as an attachment to mail.
    So I opted Additional Files in Sender File Adapter
    Source Directory = D:\usr\sap\pitest\LoadTest\Output\Invoice
    File Name = IN.TXT
    Additional Files
    File List <IS.TXT>
    <IS.TXT>.namePart               ".TXT"=".TXT"
    <IS.TXT>.optional                  NO
    <IS.TXT>.type                       TXT
    But I am able to Pick only one file (IN.TXT) from the Source Directory.
    IS.TXT file is not at all picking.
    Please give me your suggestion.

    I reply just want to close this issue.
    if file Name = Item.TXT and additional file name is ItemText.csv then configuration as following.
    File List <Item.TXT>
    <IS.TXT>.namePart               ".TXT"="Text.csv"
    <IS.TXT>.optional                  NO
    <IS.TXT>.type                       TXT
    for namePart parameter, we should give the str which need to be replaced. for your example, we could give as <IS.TXT>.namePart               "IS.TXT"="IN.TXT"
    replace all the file name.

  • Multiple plug-ins in one file (CodeCarbonPowerPC)?

    I'm trying to put 3 plug-ins in one file.
    Very simple on Windows (3 PiPL resource blocks with different entrypoints).
    And don't worked on PowerPC:
    CodeCarbonPowerPC(0,0,"") <-- what is last parameter (string)?
    Any example?
    Thanks,
    Ivan Kharin

    Apologies for the confusion, that's a "custom" PiPL.r created some time ago before I saw the PS7 SDK, Adobe called it something different. You'll have to refer to the official SDK for the precise name but in other respects it's identical of course. I've never used the third parameter, but my v6 documentation describes it as follows:
    Pstring fEntryName
    Pascal string used to lookup the address of the function
    to call within the fragment. In order for the Code
    Fragment Manager to find an entrypoint by name,
    that name must be an exported symbol of the code
    fragment. If NULL, the default entrypoint will be used.
    fEntryName allows a single code fragment to contain
    more than one plug-in.
    One day I mean to regularise my sources to match their official published selectors for Carbon CFM and Mach-O... The disparity is an artefact of the SDK's Iron Curtain period.

  • Opening plug in settings, sample files, loops, effects, etc

    What application do I need to use to open the plug in settings, sample files, loops, etc.? Some open with quicktime, however, most all of them are pst files. I am new to this and have no idea what that is. The files are there, they just won't open, even if I change them to open with quicktime. Any help would be appreciated.
    Garage band v1.1.0 (26)   Mac OS X (10.4.8)  

    I've tried opening them from within garageband, no success. I went through finder just to see what type of file they were compared to the ones that would open. the ones that will open open with quicktime and are .aif files. The other ones won't open even if I select quicktime as the application to open them with. I know I sound stupid, but I'm kinda new to the digital recording. Am I missing an application or driver or something? Thanks for responding.
      Mac OS X (10.4.8)  

  • ZIP FileName (Additional Files)

    Hi, My sender FTP channel picks two files Main& Additional file suing adavanced options and zips it using Payloadzipbean and writes to the target without any mapping,however the name inside the zipped file is "MainDocument & File"
    How can i get the original file name as in the source directory inside my zipped file? I think I need a module for this but not sure how to access the source filenames inside the module any help would be greatly appreciated.
    Thanks,

    Thanks Ryan, as i cannot attach the screenshot here is how the soap header looks..
    <Inbound Message>
    <Soap Header>
    <Soap Body>
    <Payloads>
         MainDocument (application/xml)
         <File> (application/xml)
    <Receiver Identification >
    The two payloads when doubleclicked opens up the pdf documents, The dynamic Configuration contains the name of the Main Document i.e..
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message
      -->
    - <SAP:DynamicConfiguration xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Record namespace="http://sap.com/xi/XI/System/File" name="FileName">601070461-601070461-WB.pdf</SAP:Record>
      </SAP:DynamicConfiguration>
    Now when I use PayloadZipBean in my reciever File adapter the zip file is written as
    Output.zip->when Unzipped>MainDocument &_File_  , with no extensions.
    I have tried to include a custom module before PayloadZipBean to set the ContentType of the MainDocument and gave the parameter zip.filenameKey = contentType ,but still the Archive filename in the zip file does not change.
    Kindly let me know if you need further info..struggling wid this ) i could send the screenshots to ur mail(if u ok to provide)
    Many Thanks,

  • What is the use of additional file(s) in  sender file adapter?

    Hi experts,
    what is the use of  additional files parameter in sender file adapter?
    give me some example.......
    Thanks & Regards
    E.Ravi Chandra Reddy

    Hi,
    please check the below link,
    you can specify additional files to be included in the XI message as attachments.
    http://help.sap.com/saphelp_tm90/helpdata/en/44/692ab8a4b633eae10000000a1553f6/content.htm
    Regards

  • Specifying Additional Files in an FTP Sender Adapter

    Hi,
    Has anyone worked out how to specify additional files in a File/FTP Sender Adapter using the FTP transport protocol? This functionality comes 'standard' in the File/FTP Sender Adapter using NFS transport protocol so that additional files can been included as attachments, however, it doesn't seem to be available when trying to use the FTP protocol.
    Thanks in advance.
    Regards,
    Reuben.

    Yes this is available in only NFS mode check sap help
    http://help.sap.com/saphelp_nw04/helpdata/en/3c/b4a6490a08cd41a8c91759c3d2f401/frameset.htm
    Thanks!

  • Accesing additional files in the sender adapter

    Hi,
    I'd like to use this option in the sender file adapter: http://help.sap.com/saphelp_nwpi71/helpdata/en/44/692ab8a4b633eae10000000a1553f6/frameset.htm
    --> "In the sender file adapter, you can specify additional files to be included in the XI message as attachments" ... "Additional files are transported unchanged without conversion options"
    After testing I'm getting two files in the soap message, which is what I wanted. But how can I get the content of the second file (not the main one).
    For example, in a custom module in the file adapter I can get the main payload as this:
    public ModuleData process(ModuleContext moduleContext, ModuleData inputModuleData)
                                       throws ModuleException {
    Message msg = (Message) inputModuleData.getPrincipalData();
    I guess that to get the second file it could be something like:
    inputModuleData.getSupplementalData("?");
    but don't really know what to insert there as a parameter.
    Basically I would need to find out a way to access the content of that second file: it could be in a custom module, it could be in a graphical or java mapping...
    Thanks!
    Edited by: Jorge Lopez on Mar 17, 2009 11:09 AM

    Finally I could access that attachment in a Java mapping using this code:
    private String getAttachment(TransformationInput in){
         InputAttachments inpAttach = in.getInputAttachments();
         Collection<String> collIDs = inpAttach.getAllContentIds(true);
         Object[] arrayObj = collIDs.toArray();
         getTrace().addInfo("Number of attachments: " + arrayObj.length);
         String idAttachment = (String) arrayObj[0];
         return new String(inpAttach.getAttachment(idAttachment).getContent());
    and so getting the attachment in a string.
    You also have to set on the flag "Read Attachments" in the Operation Mapping (PI 7.1, old Interface Mapping), so that the ABAP side passes the attachment to the Java runtime.
    I'm not sure if it's possible to access the attachment in the sender adapter in a custom module
    Edited by: Jorge Lopez on Mar 18, 2009 4:06 PM

  • How to handle additional files.

    Hi,
    In PI we can pick up additional files in the Sender File Adapter.
    My scenario would require to pick up invoice1.txt and and invoice1.jpg (the .jpg is the additional file)
    I need to get FCC for .txt file, map it,  and send it out to R3 with a proxy.
    The additional file should go to a share (also on the R3, and then be accessible via a link)
    Is this possible?
    What configuration is needed to separate the .txt from the .jpg? Would it require BPM?
    Any useful pointers/documents on the subject would be appreciated
    kr
    Robert

    Hi,
    I know how to configure the sender file adapter to pick up the additional file.
    What i am looking for is how to handle it inside the integration engine, because i need to split the message from the additional file.
    As mentioned above i need to send the .txt file via proxy to R3 and the .jpg file as is to R3, but it needs to go a share on the R3 directory.
    file.txt + file.jpg  -->  Sender File Adapter --> PI   / -->  Proxy  --> records form the file.txt
                                                                                 \ -->  Receiver File Adapter --> .jpg
    Thx
    Robert

  • Additional file usage

    Hi all,
    When we create a orginal application file in a DIR , we can create an additional file with original application file. Such additional file can be template or layout or picture.
    I am able to create an addtional file with original application file. How to view this addtional file in DMS?
    Also for what purpose we can use this application ?
    Thanks,
    Hemant

    Hi Sham,
    i just have the same requirement to make use of Additional file option in CV01N,
    the senario is we have Word files *.doc, and inside these Word files have attachment of Excel files,
    the Word file is checked in to Server, and the excel file is maintained as Additional File.
    but when i open the Word file in SAP i could not open up the Attached Excel file in it.
    i have maintained the proper workstation Setting for both *.doc and *.xls file. but still unable to open up the Excel file stored inside Word file.
    where am i missing any configuration or any specific note is to applied.
    thanks and regards
    Kumar

  • After signing with e-signature acrobat creates an additional file starting with aa

    I open a file and place a signature on the document. After placing the signature, and locking the file on save, it overwrites the existing file fine, however it creates an additional file in the folder and the files start with aa.  example: aab03284  (No file extension is attached)

    I have also had this issue - and it just randomly started happening, along the same time the request to do EchoSign disappeared (not sure if they are related).  I'll save as over top the existing file, and it asks if I want to do that, I hit 'yes' and it then creates a temporary file instead of saving it over the existing.  I have to then go back in, 'save as' again, say that I want to do that again, and then it finally saves over it correctly.

Maybe you are looking for

  • Problem with coding a spry form to email

    I have presented the problem before and am still unable to resolve the issue. I have spry forms that are sent by email and the data is partially displayed. The text area id will display, but the content of some of the fields will not display the data

  • Hp 620 connection randomly lost,after restart sometimes comes back then goes again

    Randomly wireless connection goes away.And says not connected and no connection available.Wireless button stays always white and doesnt respond . After restart sometimes connection comes but then goes again after 1-2 minute.Network adapter looks like

  • Style Sheet patch 18 error

    Hi gurus, We applied the bw sp SAPKW35018 and when I open the WAD theres no stylesheets available, it display all the .css options but none have a stlye, this is a big issue because when i try to view it in the browser no style is presented. Aditiona

  • Diagnostics

    Hey folks Is there any way to get diagnostics from the AEX itself? logs/config etc? Mine drops from my network after a few days, normally the green light stays on but I can't find it in Airport Utility from either my MBP or Mac Mini. I am pretty sure

  • Ipod touch 4th generation - how to view on TV with HDMI adaptor.

    Hi I am new to the whole Apple experience.  I have an ipod touch, 4th generation (I think only bought Christmas 2011).  I bought a Apple HDMI adaptor cord and have plugged these into the TV HDMI port and also the Ipod.  Nothing comes up on my televis