Reading path names in SDK

On any given layer of the artwork I can add objects, such as circles or rectangles.  Initially these show up in the layer named as <Path>, but by double clicking <Path> that name can be changed to anything the user desires.
Is it possible, with any of the SDK utilities, to detect the name that the user has given to that path?

hello,
you could try something as below:
for a given AIArtHandle (the object you want to retrieve the name), use GetArtName method from AIArt suite.
std::string ArtHelper::Name( AIArtHandle art )
        ai::UnicodeString outUnicodeName;
        sAIArt->GetArtName( art, outUnicodeName, nil );
        return outUnicodeName.getInStdString( kAIPlatformCharacterEncoding );
Hope this will help.
Thomas.

Similar Messages

  • There is a missing letter of Path name or file name when vivado SDK linking object files

    I used vivado SDK 2014.3 to complie the third source code and could get *.o files. But when linking them, there was an error to show that No such file or directory. I found that there was lack of letter in path name of object file.  It's a SDK bug or I don't set up correctly? 
    Thank you for an early answer.

    I tried it in vivado SDK 2015.1, but there was still the same problem. And I found that it was successful if only importing a small part of source code. What is the reason for this situation?

  • Reading in from File w/out path name

    Does anyone know why netbeans requires an entire path name to read from a file? I am trying to read from a file and I want the program to just look in the directory that the jar file is in to find the file to read from. I do not want the file to be IN the jar file, just inside that directory...

    As I understand it, when your code runs, it does not run relative to the folder that the jar file that contains it exists in. If you want to know where the code is running from in order to use relative path instead of absolute path, put this in your code and examine the output it generates:
    File file =new File("");
    System.out.println( file.getAbsolutePath() );
    Example: if the print out shows your code is running in:
    c:/ dir1 /dir2 / dir3
    and your file is in
    c: / dir2 /dirN / myFile.txt
    then your relative path would be:
    ../dirN/myFile.txt
    where starting from c:/ dir1 /dir2 / dir3, ../ means go one folder level "up" (to c:/ dir2 ), and dirN/ means from there, go down into the folder dirN (which would be c: / dir2 /dirN )

  • /etc/oratab (a file or directory in the path name does not exists)

    Hello All,
    I ma trying to create a database oracle 11g R2 on AIX 6.1.
    But i am facing the below error at the beginning of the installation:
    /etc/oratab (a file or directory in the path name does not exists)
    Your help pls..

    When I am trying to run root.sh. it gives the below error:
    IST76SIT:/apps/oracle/oracle11/app/product/11.2.0/db1> ./root.sh
    Running Oracle 11g root.sh script...
    The following environment variables are set as:
    ORACLE_OWNER= oracle11
    ORACLE_HOME= /apps/oracle/oracle11/app/product/11.2.0/db1
    Enter the full pathname of the local bin directory: [usr/local/bin]: /usr/local/bin
    Creating /usr/local/bin directory...
    Copying dbhome to /usr/local/bin ...
    Copying oraenv to /usr/local/bin ...
    Copying coraenv to /usr/local/bin ...
    Entries will be added to the /etc/oratab file as needed by
    Database Configuration Assistant when a database is created
    Finished running generic part of root.sh script.
    Now product-specific root actions will be performed.
    Finished product-specific root actions.
    ./root.sh[14]: /apps/oracle/oracle11/app/product/11.2.0/db1/rdbms/install/rootadd_rdbms.sh: not found.
    ./root.sh[16]: /apps/oracle/oracle11/app/product/11.2.0/db1/rdbms/install/rootadd_filemap.sh: not found.
    IST76SIT:/apps/oracle/oracle11/app/product/11.2.0/db1>

  • I've moved my Aperture library to another computer, and masters are referencing an old path name.  How can I update these references?  Reloctating masters does not work in this case :(

    I've moved my Aperture library from one computer to another using Finder.
    I merged the library with one which was already on the computer.
    Now, the photos I imported have reference to the old path name on my old computer.
    How can I update these references as "Relocate Masters" does not work in this case?

    Just one suggestion to be able to reconnect all at once:
    Create a smart album containing the images with missing masters:
    File -> New ->  Smart Album,     and add a rule: File Status is "Missing"     (or File Status is "offline")
    Then select the images in this album and go to the File menu:
    and select:   File -> Locate referenced File
    If you are lucky, Aperture will reconnect all at once, if you point the first image version to its counterpart.

  • How to use path names for library filter?

    Hi all,
    I have been looking for a way to use the library filter functionality to show only images in a particular folder (or subfolder thereof). From the help pages [http://help.adobe.com/en_US/Lightroom/3.0/Using/WSAB7B303E-081D-4617-BF47-B4B8D3D49CC3.htm l] I found that the image path is included when you filter using 'any searchable field'.
    However, I do not seem to be able to use a full path name, just the individual directory names. To give an example, I can locate files in c:\data\photos using 'contains all: c data photos', but this will also select images in 'c:\data\someotherproject\photos'. I have tried all combinations of slashes and backslashes, but have found no solution to this problem. Does anyone know what the internal representation for the path name is, and if it's possible to search for it?
    Just to pre-empt the obvious answer: I know that you can simply click on a folder to show its contents. However, using the filter bar would be a more permanent selection of a working directory, which remains when you click on a collection, for example.
    Thanks.
    Simon

    Sorry, I could have been clearer.
    What I'm trying to achieve is the following. My computer contains photos by myself, my wife and others, organised in three main folders. Having them in separate catalogs isn't convenient, because we often have photos of the same event (outings, holidays). However, most of the time I only want to work on my photos, and my wife wants to work on hers. A directory filter would be a good and fool-proof way of doing things. I am currently using a special keyword to do this, but I must remember to apply the correct keyword when importing.
    Adding a folder as a favorite only works to select that folder in its entirety. What I would like to do is to have a 'master' folder selected and then use Lightroom as I normally would (select folders, collections, etc) Filtering by path name would enable me to do just that - and it does, except that there are false positives due to not being able to enter a full path name.
    A smart collection has the same problem: the 'Folder' rule doesn't seem to support paths. And even if it did, it's not possible to select two collections with a logical 'and' operator, unless you make a new smart collection for each possibility.
    My current keyword workaround is functional, but slightly error-prone. And in any case, if 'any searchable field' includes the file path, it stands to reason that there should be a way to match that with the entire path. The documentation isn't clear about this, so I hope that anyone can shed some light on this.

  • How can I get the path name and rename it?

    I Hope someone who knows more about automator than I can help me out here. What I'm trying to do is get the path file name, while also changing part of it. Here is my example:
    I can get the path name with this "Get Path" script I found http://automatorworld.com/archives/get-path/all-comments/
    It does half the job so I just need to tweak it but know how. When I get the path this is what I'll get: /Volumes/Public/Creative Services/Campaigns/2010/NCDDiv-32CDV Upgrade/NCDDIV-32Versions.xls
    I need to remove the beginning part"/volumes" to "file://///nhmanmkt01"
    This is so I can send the path from our sever where we keep our files to my windows friends so they can open it.
    Thanks for any help you can provide!

    ok, make the following workflow.
    1. get selected finder items.
    2. run shell script
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #ADD8E6;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    for f in "$@"
    do
    echo "$f"|sed 's%/Volumes%file://///nhmanmkt01%'
    done</pre>
    set the script to accept input as arguments
    3. copy to clipboard
    save it as a finder plugin.

  • Packager fails with "Maximum file path name exceeded" on InCopy

    Attempting to build the full suite with CCP 1.5.0 Build 83, running on Window 8.1 update 64-bit.
    When building a 32-bit package it reaches InCopy it always stops and provides the so helpful "Maximum file path name exceeded error".  This appears to only happen when building the 32-bit package, building the 64-bit package caused no issues, and even in building the 32-bit package after the 64-bit package when everything is already downloaded the same error occurs.
    Tried it with:
    Cache path: C:\Users\iholmes\AppData\Local\Adobe\CCP\
    Destination path: F:\ISO\Adobe\Cloud\Working\CreativeCloud-06192014x86
    Also tried:
    Cache path: g:\Adobe\CCP
    Destination path: f:\cc\x86
    These are all local paths, not mapped network drives.

    Same here. From: C:\Users\<user>\AppData\Local\Temp\PDApp.log:
      <errorType>LongPathError</errorType>
      <filePath>C:\Users\<user>\AppData\Local\Temp\{839FDA1E-684B-4164-A8A0-AC83A4D37D3F}\AICY\ LS20\10.0\InCopy_10_LS20_Win32
    I can manually extract the zip file from:  C:\Users\<user>\AppData\Local\Adobe\CCP\AdobeCCPCache\AICY\LS20\InCopy_10_LS20_Win32.7z to the above path (which I think is what it's trying to do) with no error, so it seems to be something Adobe is going to have to fix.
    Someone else worked around it by creating a local user with a single character as the user name: Creative Cloud Packager Keeps Failing on InDesign: "Maximum File Path Name Exceeded"

  • Long file and path names

    I have a dialog window where users can choose a file, the name and path of which is then displayed. The field where this is displayed isn't big enough to hold the typical long path names found on for example Windows. I was wondering if there is a standardized way of shortening/abbreviating the full path name already written up somewhere? I want my program to be portable ... I looked at how MS Word does it on Windows, and I could write a specialized function to copy that, but then it wouldn't work on other systems that use different path conventions, and I would like to keep the generality if possible. On word they do something like this
    C:/.../final directory/filename

    Kramis wrote:
    sure, that much I understand, but I wouldn't know how to create that sort of string from an arbitrary path name of unknown format. In Windows, for example, I could take the first three characters and then ..., but that might not work globally. The questions is about parsing and converting a path name from an arbitrary system.I'd just split the path into its 'final directory name' and 'file name' (with the universal Java path seperator of (/)), and stick '...' in front of it.
    So any path such as C:/blah/blah/blah/endpath/filename or /unix/path/blah/blah/endpath/filename would become .../endpath/filename regardless of platform.

  • Getting the local full path name of a file from an item File Browser

    Hi all,
    I would like to get the local full path name, of a file selected from an item 'File browser'.
    I see in wwv_flow_files the column 'name', but actually it's a kind of id like 'F1542335/myFile.gif' for example.
    What i want is the local path of this file ("C:\Documents and Settings\All Users\....\myFile.gif").
    I hope this is possible??
    Anyway, thanks all for reading.
    Ludo

    Hello, thank you for the answer.
    Please understand that I searched before posting, and not ony 15 min.
    What i mean is that the value of a File Browser in an Apex applocation is something like 'F1542335/myFile.gif', but what I need is the local path location.
    And 'F1542335/' is not the local path location, i can't use it. Or maybe there is a way to convert it in a proper path name, such as "C:\Documents and Settings\....", but I don't think so.
    So my question is : how to get the local path name of a file in Apex?
    I'll answer if I find some good things.
    Thanks
    Ludo
    Edited by: user12945874 on 06-avr.-2010 3:59

  • How to get the full path name of a file

    Hey everybody, I'm new here and in Java.
    so I will explain my question by giving an example:
    I want to send file from the Desktop by the "Send to" on the popup menu to my program.
    I want to know how can I read the full path name and the file name, and show it on my text box.
    Thanx alot

    If this is a client side application then I'd say look into drag-n-drop tutorials.
    i.e. drag file to your application, action listener fires, create File object giving you full name and path of users action.
    If this is a web application then look into the "multipart/form-data" content type specifications on how to upload files.
    i.e. user specifies file from <input type='file' ... /> type, submits, servlet receives data and recreates file locally on application server side.
    If you are thinking that all you need to send a file to a program is the full path and name in a textbox its a little bit more complicated then that.
    Good luck, hope that helps!

  • How do I hide the file names/path names of embedded images in a PDF document?

    I created a PDF document from a Word document, and the problem is that the PDF document shows the file names and path names for all of the embedded images in the PDF document. I don't want that information displayed. I don't want to send the PDF out to clients and have them read the names I've assigned to those images, plus it looks messy. And I've lost many of the original image files so they only exist in the Word document, thus I can't go back and rename them. I searched the internet for an answer but I couldn't find one anywhere.

    When you create a tagged (accessible) PDF file from Word, placed bitmap images will use their filename as the "ALT text" if you don't define something else for the text to say, because an image without any ALT text is a failure against the accessibility standards. You can't change that default action, so you should put your own meaningful text into the ALT field for each image - which is what you should be doing anyway if the PDF is standards-compliant.
    You can can set the text in Word, but it depends on your version as to where the dialogs are - Google for it - or you can change/delete it in Acrobat using the tags navigation pane on the left side of the window (right-click the sidebar if it's not visible). Drill down through the tags structure to find the "<Figure>" tag you want to change, right-click and choose Properties, then put something in the "Alternative text" field. This process isn't something you can easily automate, but if you don't need tags at all, you can save without tags (or print to PDF).

  • Reading file name

    hello
    i used the step by step guide to develop a module for reading file name in a sender file adapter from Krishnakumar Ramamoorthy. (Thankyou very much for that guide)
    now when i use this module i get only one problem:
    the filename includes the source-dir as well.
    e.g.
    source-dir: /home/example
    filename: test.txt
    Filename in module: /home/example/test.txt
    why is the source-path included in the Filename?
    thanks alot for any help

    Hi Paul,
    you can always delete this inside your mapping:
    for instance trim the first 13 letters from /home/example
    then if your directory is always the same you'll have a filename only
    Regards,
    michal

  • Can't read big name of folders by script

    It happens once in a while that the images we had edit and are ready to save give us an error saying that the File I want to saveAs can't be found.
    So, in this case, we had to save manually each image, rename the folder to a shorter name mannually, re-open the images and apply the script again.
    This solve the problem.
    To avoid this, or at least to warn automatically that some encoded folderName.length is too big.
    I HAVE FOUND THAT ON WINDOWS7 THE ERROR BEGINS ON FOLDERS LENGTH >188
    I had the ideia of making a 'thumbsPreview' event on Bridge where a big folder warning would be generated so I could add a button on bridge where automatically we rename that folder to only the first 188 caracters. But this is for Bridge forum. I leave here only the idea.
    PROBLEM:
    So, on photoshop, reading a folder name larger then 188 caracter encoded name by script, give us a shorter version of the real name.
    This is an real example:
    Real big folder name of an active image ( encoded length = 211):
    _d_10416472-ACNE.ASKIN.DARK.BROWN.COGNAC.Calf.Leather.BASICON.BS08ANCORA.COCCIO.Cotton.Spa ndex.Elastane.Calf.Leather.Calsssf.Leather.FS0526G8WF0EQW.F0EQW.Cotton.SW.Cotton.Spandex.E lastane.Cotton.Spandex.Elastane
    Name red by script ( encoded length = 12):
    _D_104~1.LEA
    Resume:
    So, the result is an error on saving the file to a folder that doesn't exist ('_D_104~1.LEA').
    The problem is that if I cant read it, I can't rename it by script to force it to rename to 188 length.
    I have to use bridge and do it mannually
    Middle prevent sollution:
    Anyway of detecting that a folder name has been shortened by script so I could use that to make an specific alert???
    I have tryed by I couldn't.
    Curiosity:
    By script I can easly create() new folders larger then 188 length name! But then I can't use them - not even to put files in (error)...

    Thanks Michael
    So that means I can't have too much folder/subFolder/subFolder/... organization.
    I was trying to detect when a path is larger then 255, at the moment I try to saveAs. To do so, I have put a try catch when execute the action and on the error code I manage to do this:
    - read the name truncated of the last folder on the path (it is, in my case, allways the larger one);
    - I don't know if I could trust on this: if the end of the truncated name is == ".LEA" then i means that the folder must be shortened and give the user that precise information.
    Can I trust this?

  • How to get the loaded client sequence file path/name?

    I added a step in Process model, and wanted to get currently loaded client sequence file name/path. I used the variable of "SequenceFile.Path" but then I realized what I would get is the process model file path, not loaded client sequence file path/name. How can I get loaded client sequence file path/name?
    Thanks!
    Jacky

    I dont understand what you are trying to achieve.  Can you provide more information.
    If you are trying to dynamically load and run a client sequence file at run time you need to make a couple of calls to the TS API from inside the process model, Engine.GetSequenceFileEx to get a reference to your sequence identified by its pathname, and then Execution.ClientFile to tell the process model which sequence you want to run.
    Steve
    There are 10 types of people in the world that understand binary, those that do and those that don't.

Maybe you are looking for

  • J1inqefile (Qrtly E.return)

    Hi Experts We are currently using ECC 6.0 and using J1inqefile for quarterly returns.Our requirement is we need report in a format which is suitable to the IT authoirty. following is the format which will be arranged in columns Sr.No Deductee Code (0

  • XML Data

    Hi, We are using the offline scenario for ADOBE forms integration with ABAP. The data will be in XML format. The steps I have done. 1) I have converted the XSTRING to string using FM CATT_CONV_XSTRING_TO_STRING.    CALL FUNCTION 'ECATT_CONV_XSTRING_T

  • Installing Oracle 10g XE (Windows OS is  Japanese and Database is Chinese)

    Hi all... I want to install CHINESE Oracle Database 10g Express Edition Release 10.2.0.1.0 on Windows XP operating system is JAPANESE. Is this possible...? if yes, please guide me. In the installation process, i never come across the language selecti

  • Ant tasks

    Hi all, I'm using 2.3.3 on linux and ant 1.5.1, against the latest MS Sql JDBC drivers. With ant target below, i get the following error: file:build.xml:285: javax.jdo.JDOFatalDataStoreException: An error occurred while connecting to the data store f

  • I'm having trouble installing my BlazeDS turnkey

    I'm runing flashbuilder on eclipse JEE and I already have Tomcat running but I'm confused about how to install BlazeDS into all of this. The instructions here on the Adobe site are a bit confusing, I dont know what command window I need to go to just