View/Manipulate the Comments property of a file?

When you view a directory in windows expolorer, or view the properties of a file, one of the properties is called "Comments". If you right click on a file, you can modify the value for this property.
Is there a way that I can manipulate this property using CFFILE?
I am still on CF8 if that makes a difference.

It is kind of convoluted, but I want my end users to upload documents into a directory. That same directory needs to be indexed by another server on the network, to present the list of files in that directory to end users of THAT system. That system is ancient, and nobody wants to put forth the effort to upgrade it to the 21st century. As a result it shows the files in the directory in the order indicated by the DateLastModified property, but that is not necessarilly the date of the document itself. It is the date that the document was UPLOADED using my system. I was hoping to be able to populate the Comments property at the time of the upload, so this other system can read that field and present the documents in descending order that way.
I know this explanation is going to bring up a bunch of "what ifs" but suffice to say they are NOT going to change their system to a database approach regardless of how logical we make it sound. Sorting on the Comments field was my last stab at a compromise.

Similar Messages

  • How to populate "comments" property of jpg files?

    I have PSE 6 and am trying to determine if it's worth upgrading to PSE 9.  I mostly use PSE for the Organizer feature.  I use it to apply tags to jpg files.  I noticed that jpg files also have a "Comments" property that is exposed in Windows Vista and Windows 7 (along with the assigned tags).  I see that PSE can store "Notes" for a jpg but this information doesn't appear to be stored in the Comments property or in any other exposed property.
    Is there a way to populated the Comments property of the jpg?  Is there anyway to see the Notes property in the jpg or is that text just stored in the catalog?
    I haven't been able to find any additional functionality in PSE 9 over PSE 6 as it relates to the Organizer feature.  Am I missing something significant?
    Thanks,
    Ken

    krhackbarth1 wrote:
    Is there a way to populated the Comments property of the jpg?
    No.
    krhackbarth1 wrote:
    Is there anyway to see the Notes property in the jpg or is that text just stored in the catalog?
    Just in the catalog.
    The Notes and the Comments values are stored in different sections of the image's metadata.  Windows Explorer reads certain sections, PSE Organizer reads other sections, as well as using its own database for other data such as Notes.
    Ken

  • Errors in the high-level relational engine. The data source view does not contain a definition for the table or view. The Source property may not have been set.

    Hi All,
    I have a cube in which i'm using the TIME DIM that i created in the warehouse. But now i wanted a new measure in the cube which is Average over time and when i wanted to created the new measure i got a message that no time dim was defined, so i created a
    new time dimension in the SSAS using wizard. But when i tried to process the new time dimension i'm getting the follwoing error message
    "Errors in the high-level relational engine. The data source view does not contain a definition for "SSASTIMEDIM" the table or view. The Source property may not have been set."
    Can anyone please tell me why i cannot create a new measure average over the time using my time dimension? Also what am i doing wrong with the SSASTIMEDIM, that i'm getting the error.
    Thanks

    Hi PMunshi,
    According to your description, you get the above error when processing the time dimension. Right?
    In this scenario, since you have updated the DSV, it should have no problem on the table existence. One possibility is that table has been specified for tracking in the notifications for proactive caching, but isn't available any more for some
    reason. Please change the setting in Proactive Caching into "MOLAP".
    Reference:
    How To Implement Proactive Caching in SQL Server Analysis Services SSAS
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou
    TechNet Community Support

  • How do I change the name property of a file in a document library?

    I am trying to come up with an Event Receiver that will change the name property of an file when it is uploaded. For instance when a file is uploaded into a document Library, currently the Title is being generated (which is fine)...I want to be able to
    change the "Name" property from whatever it is, to match exactly what is in the "Title" property. Are there any sample codes/blogs out there that I can take a look at? Has anyone  had any experience doing this? It seems like something
    that should be straight forward, to change the "Name" property to match what is in the "Tilte" property.

    Hi,     
    You can try the code below which use the SPFile.MoveTo() function to change the name of the file.
    EventFiringEnabled = false;
    SPFile f = properties.ListItem.File;
    string spfileExt = new FileInfo(f.Name).Extension;
    f.MoveTo(properties.ListItem.ParentList.RootFolder.Url +
    "/" + properties.ListItem["Title"]+ "_new" + spfileExt);
    f.Update();
    EventFiringEnabled = true;
    Here is a similar thread for your reference:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/5cafb8e4-bb85-4147-9bda-4ab42a4d4817/sharepoint-2013-event-receiver-to-rename-files-not-working?forum=sharepointdevelopment
    A link about rename uploaded file using Event Receiver for your reference:
    http://paulgalvinsoldblog.wordpress.com/2008/01/25/quick-easy-rename-uploaded-file-using-sharepoint-object-model-via-an-event-receiver/
    Best regards
    Patrick Liang
    TechNet Community Support

  • Can I view all the colors in an .ASE file?

    I would like to import all of the colors in an .ase file to view them together in a grid as data for research I'm doing.  Is there a way to access all the colors in a palette at once and import them into a Photoshop, InDesign, or Illustrator file?  (there are hundreds)

    As far as I understand it, the Script Render Swatch Legend might do what you want:
    http://www.wundes.com/JS4AI/
    But probably not. In that case please explain further.

  • With iTunes 11, how do I view all the comments I saved in previous versions

    I think I must have been foolish to update to iTunes 11, reading everyone else's hassles.
    For now, my trouble is perhaps simple: I used to rely on the old list view, and had entered several comments for the music I have imported into iTunes.
    I cannot see how to get such a view back.  I simply want to see all my comments, and ideally have all my albums just in a simple list.
    The View>Column  Browser looks like what I want but I cannot see how to get it enabled - it's grey.
    I hope someone can help!
    Reading all the posts on rolling back, I am sorry, it doesn't sound like something I would be up to doing
    TIA for your help.

    Sorry.  Bit slow this evening.  Somehow thought I'd tried everything - but not "Songs".
    Sorted.

  • To get the color View property from a file

    How can get the color view property value of a framemaker file using framemaker API ?

    Hi Asha,
    Color views do not have object handles; rather, they are modified at the color (FO_Color) object level. That is, each color has a property called FP_ColorViewCtl which defines its behavior in each of the six built-in color views. If you want to modify the makeup of a color view, you should modify the colors themselves with respect to the desired view.
    The FP_SpotColorView property only sets the active view... it doesn't modify the view.
    Search the FDK ref for FP_ColorViewCtl and you find an explanation, under the FO_Color object properties.
    Russ

  • How can I make the comments field appear when the operator is debugging a test?

    When a test is being written the comments field is being utilized for information relating to what the test is doing and how to solve certain problems that arise. It is basically a quick place for the technician to look at when they are attempting to debug a board. However it appears when you view the sequence files these are off to the right side of the screen but when running the debug engine and the technician sets a break point then these comments are no longer visible to the user off to the right of the screen. Is there any way to have it include the comment in the data displayed when tracing through a test step by step. The technician can double click on each step but it would be alot mor
    e user friendly and timly if these could be displayed just to the right of the execution flow column.

    Hello John,
    I assume you are talking about the sequence editor. Unfortunately, there is currently no way to view the comments associated with a step inside of the execution display window (i.e during run-time). If you are using the operator interface, then you may extract the comment associated with a step and post a custom UI message that contains this information. The operator interface can then be modified to respond to this UIMessage and update its display accordingly.
    To post a UIMessage with this data, you must first obtain a PropertyObject reference to the step you are trying to extract the comment from. Then use the "Comment" property of the PropertyObject class to obtain the comment value.
    Unfortunately, the Sequence Editor discards all custo
    m UIMessages, and you will have no way of viewing the comment using the above method.
    Hope this helps.

  • Acrobat Reader 9.0 PDF - Commenting property "Not Allowed"

    Hi,
    I saved a document in Illustrator as PDF but unfortunately the Commenting property is set to "Not Allowed" and I cannot mark-up the file in Acrobat Reader. What is strange is all properties are set to "Allowed" when I open the same document in Acrobat Pro!
    Can I do anything in Illustrator or Acrobat Reader in order to have this Commenting property set to "Allowed"?
    For info, I am using Illustrator CS2 and Acrobat Reader 9.0
    Cheers!

    This is normal. Reader cannot normally add comments.
    HOWEVER, a file can be prepared in Acrobat Pro (See the Comments menu)
    so Reader can add comments. This locks out certain other things: read
    the warning carefully.
    Aandi Inston

  • Why do comments in comments list disappear when file is saved after a signature is added?

    When working with a workpaper file we are using sticky notes, highlight, adding text to annotate a file. Then later we go back and add "place initials" by things that we verify either have been done or the workpapers support that statement. Upon saving the file before adding the initials the file name is XXXX.pdf and the 110 comments I've made in the file are listed in the comments list. Then when I add my initals the file name changes to XXXX-signed.pdf and the 110 comments I've made are still present, but not viewable in the comments list nor when I click on the sticky note is the information in the note viewable. Why would this information disappear?  How do I get it back?
    If there is no fix for this Adobe...this is a great reason for my bosses to decide not to spend the thousands of dollars it's going to cost us to buy and implement your software throughout our firm.  We need to retain the comments on a workpaper file as well as be able to inital and sign our workpapers. Many people work in a single workflle and putting our intials next to an item tells the reviewer that not only did we see the comment from the client, but we also double checked to make sure the inforamtion was input into the system and included in the workpapers farther back in the file.
    Any help from the user community would be apreciated.
    Tanya

    I replied to this with a hacky solution over at Stack Overflow: http://tinyurl.com/ybwjfeg
    I would prefer that this is resolved via a bug fix, because it certainly appears to be a bug.

  • How to copy a files name and spotlight comments to a text file for an entire folder

    I have movie covers saved as a jpeg for every movie my family and I own. There is about 700 and they each have a comment of the main actors, release dates, and descriptions. This makes it easy to find what to watch. I want my parents to have all of this info but they have a windows laptop so the comments don't transfer with the file and can't be searched like you can on a mac. Is there an applescript, automator, program I can download,  or program code supported in xcode that will do at least one of the following things?
    1)Take the name of the picture file and spotlight comment, copy and paste it into a text document like word that looks like this...
    File Name1- Spotlight Comment for file 1
    File Name 2- Spotlight Comment for file 2
    . for all 700 files in a folder
    2) It would be equally helpful if there was something that would take the name of the picture file and spotlight comment, copy and paste it to a movie file's comments with the same name but obviously has different extention. For an example
    In a Pictures folder
    Name: Dark Knight, The.jpeg       Comment: (2008) Genre: Action...             <- copy comment
    In a Movie Folder
    Name: Dark Knight, The.m4v       Comment:                                               <- paste 
    and do this for all 700 files
    3) Is there a free photo program that works on mac and windows that I can put all my movie pictures in and have a description like I did with the comments? It would also need a place that to search the description for keywords. So Basically an itunes for pictures that works on both mac and windows. If so I still need a way to get the spotlight comments to the description.
    4) I feel like this would make things more difficult, but if not I can put all of the .m4v files in itunes so instead of pasting all the comments back into a file in finder paste them in a description in itunes
    5) At the very least a code that I can run one by one for every file that will paste the comments into the same document
    Note: When I say spotlight comments I mean the comment box that is available when you click on get info of a file. The pictures are in the pictures section of finder in a folder called Movie Pictures. The movie files are on an external hard-drive in a file called Movies. Also I am slightly familiar with applescript and automater in that I have used both to create keyboard shortcuts and simple voice commands. I have programmed in c++ and C too. So If you give me a code for applescript I do know what to do with it.
    Thanks to anyone who takes the time to read all of this and extra thanks to anyone who tries to help.

    Clendenen02 wrote:
    2) It would be equally helpful if there was something that would take the name of the picture file and spotlight comment, copy and paste it to a movie file's comments with the same name but obviously has different extention. For an example
    In a Pictures folder
    Name: Dark Knight, The.jpeg       Comment: (2008) Genre: Action...             <- copy comment
    In a Movie Folder
    Name: Dark Knight, The.m4v       Comment:                                               <- paste 
    and do this for all 700 files
    This Bash script will do it.
    Edit "PicDir" and "MovDir" to the location of your Folders
    (Note: The comment is written to the m4v file using xattr, so the Spotlight comment field appears blank in Finder, but the comment metadata is still indexed by Spotlight (If you add a Spotlight comment from Finder, it is stored both as an extended attribute and in a .DS_Store file)
    #!/bin/bash
    PicDir=$HOME/Desktop/Pictures
    MovDir=$HOME/Desktop/Movies
    for f in $PicDir/*
    do
         if [ ! -d "$f" -a "${f##*.}" == "jpeg" ]; then
              comment=$(mdls -raw -name kMDItemFinderComment "$f")
              if [[ $comment != "(null)" ]]; then
                   picname=${f##*/}
                   movname=${picname%.*}.m4v
                   if [ -e "$MovDir"/$movname ]; then
                         xattr -w com.apple.metadata:kMDItemFinderComment "\"$comment\"" "$MovDir"/$movname
                   fi
              fi
         fi
    done

  • Remove the comment time stamp in a PDF document

    Does anyone know what's the best way to remove the comment time stamp from a document?
    thanks

    Do you mean that you want to remove the timestamp of a particular comment? If so, there are two timestamps associated with a comment, the creation date and the modified date. The modified date is what's shown in the comments list in Acrobat/Reader and can be altered by a script, but the creation date will still be present though unseen and unmodifiable directly with a script. It's possible to export the comments to a data file (FDF/XFDF), edit the file to remove/replace any timestamp info, and re-import the comments into a copy of the file that doesn't have comments. So the best approach really depends on what it is you're trying to accomplish.

  • How can i write also to xml file the settings of the Tag property to identify if it's "file" or "directory" ?

    The first thing i'm doing is to get from my ftp server all the ftp content information and i tag it so i can identify later if it's a file or a directory:
    private int total_dirs;
    private int searched_until_now_dirs;
    private int max_percentage;
    private TreeNode directories_real_time;
    private string SummaryText;
    private TreeNode CreateDirectoryNode(string path, string name , int recursive_levl )
    var directoryNode = new TreeNode(name);
    var directoryListing = GetDirectoryListing(path);
    var directories = directoryListing.Where(d => d.IsDirectory);
    var files = directoryListing.Where(d => !d.IsDirectory);
    total_dirs += directories.Count<FTPListDetail>();
    searched_until_now_dirs++;
    int percentage = 0;
    foreach (var dir in directories)
    directoryNode.Nodes.Add(CreateDirectoryNode(dir.FullPath, dir.Name, recursive_levl+1));
    if (recursive_levl == 1)
    TreeNode temp_tn = (TreeNode)directoryNode.Clone();
    this.BeginInvoke(new MethodInvoker( delegate
    UpdateList(temp_tn);
    percentage = (searched_until_now_dirs * 100) / total_dirs;
    if (percentage > max_percentage)
    SummaryText = String.Format("Searched dirs {0} / Total dirs {1}", searched_until_now_dirs, total_dirs);
    max_percentage = percentage;
    backgroundWorker1.ReportProgress(percentage, SummaryText);
    percentage = (searched_until_now_dirs * 100) / total_dirs;
    if (percentage > max_percentage)
    SummaryText = String.Format("Searched dirs {0} / Total dirs {1}", searched_until_now_dirs, total_dirs);
    max_percentage = percentage;
    backgroundWorker1.ReportProgress(percentage, SummaryText);
    foreach (var file in files)
    TreeNode file_tree_node = new TreeNode(file.Name);
    file_tree_node.Tag = "file";
    directoryNode.Nodes.Add(file_tree_node);
    numberOfFiles.Add(file.FullPath);
    return directoryNode;
    The line i'm using to Tag is:
    file_tree_node.Tag = "file";
    So i know what is "file" then i make a simple check if the Tag is not null then i know it's a "file" if it's null then it's directory.
    For example this is how i'm checking if it's file or directory after getting all the content from my ftp server:
    if (treeViewMS1.SelectedNode.Tag != null)
    string s = (string)treeViewMS1.SelectedNode.Tag;
    if (s == "file")
    file = false;
    DeleteFile(treeViewMS1.SelectedNode.FullPath, file);
    else
    RemoveDirectoriesRecursive(treeViewMS1.SelectedNode, treeViewMS1.SelectedNode.FullPath);
    I also update in real time when getting the content of the ftp server xml file on my hard disk with the treeView structure information so when i'm running the program each time it will load the treeView structure with all directories and files.
    This is the class of the xml file:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Xml;
    using System.Windows.Forms;
    namespace FTP_ProgressBar
    class TreeViewXmlPopulation
    // Xml tag for node, e.g. 'node' in case of <node></node>
    private const string XmlNodeTag = "node";
    // Xml attributes for node e.g. <node text="Asia" tag=""
    // imageindex="1"></node>
    private const string XmlNodeTextAtt = "text";
    private const string XmlNodeTagAtt = "tag";
    private const string XmlNodeImageIndexAtt = "imageindex";
    public static void DeserializeTreeView(TreeView treeView, string fileName)
    XmlTextReader reader = null;
    try
    // disabling re-drawing of treeview till all nodes are added
    treeView.BeginUpdate();
    reader = new XmlTextReader(fileName);
    TreeNode parentNode = null;
    while (reader.Read())
    if (reader.NodeType == XmlNodeType.Element)
    if (reader.Name == XmlNodeTag)
    TreeNode newNode = new TreeNode();
    bool isEmptyElement = reader.IsEmptyElement;
    // loading node attributes
    int attributeCount = reader.AttributeCount;
    if (attributeCount > 0)
    for (int i = 0; i < attributeCount; i++)
    reader.MoveToAttribute(i);
    SetAttributeValue(newNode,
    reader.Name, reader.Value);
    // add new node to Parent Node or TreeView
    if (parentNode != null)
    parentNode.Nodes.Add(newNode);
    else
    treeView.Nodes.Add(newNode);
    // making current node 'ParentNode' if its not empty
    if (!isEmptyElement)
    parentNode = newNode;
    // moving up to in TreeView if end tag is encountered
    else if (reader.NodeType == XmlNodeType.EndElement)
    if (reader.Name == XmlNodeTag)
    parentNode = parentNode.Parent;
    else if (reader.NodeType == XmlNodeType.XmlDeclaration)
    //Ignore Xml Declaration
    else if (reader.NodeType == XmlNodeType.None)
    return;
    else if (reader.NodeType == XmlNodeType.Text)
    parentNode.Nodes.Add(reader.Value);
    finally
    // enabling redrawing of treeview after all nodes are added
    treeView.EndUpdate();
    reader.Close();
    /// <span class="code-SummaryComment"><summary>
    /// Used by Deserialize method for setting properties of
    /// TreeNode from xml node attributes
    /// <span class="code-SummaryComment"></summary>
    private static void SetAttributeValue(TreeNode node,
    string propertyName, string value)
    if (propertyName == XmlNodeTextAtt)
    node.Text = value;
    else if (propertyName == XmlNodeImageIndexAtt)
    node.ImageIndex = int.Parse(value);
    else if (propertyName == XmlNodeTagAtt)
    node.Tag = value;
    public static void SerializeTreeView(TreeView treeView, string fileName)
    XmlTextWriter textWriter = new XmlTextWriter(fileName,
    System.Text.Encoding.ASCII);
    // writing the xml declaration tag
    textWriter.WriteStartDocument();
    //textWriter.WriteRaw("\r\n");
    // writing the main tag that encloses all node tags
    textWriter.WriteStartElement("TreeView");
    // save the nodes, recursive method
    SaveNodes(treeView.Nodes, textWriter);
    textWriter.WriteEndElement();
    textWriter.Close();
    private static void SaveNodes(TreeNodeCollection nodesCollection,
    XmlTextWriter textWriter)
    for (int i = 0; i < nodesCollection.Count; i++)
    TreeNode node = nodesCollection[i];
    textWriter.WriteStartElement(XmlNodeTag);
    textWriter.WriteAttributeString(XmlNodeTextAtt,
    node.Text);
    textWriter.WriteAttributeString(
    XmlNodeImageIndexAtt, node.ImageIndex.ToString());
    if (node.Tag != null)
    textWriter.WriteAttributeString(XmlNodeTagAtt,
    node.Tag.ToString());
    // add other node properties to serialize here
    if (node.Nodes.Count > 0)
    SaveNodes(node.Nodes, textWriter);
    textWriter.WriteEndElement();
    And this is how i'm using the class this method i'm calling it inside the CreateDirectoryNode and i'm updating the treeView in real time when getting the ftp content from the server i build the treeView structure in real time.
    DateTime last_update;
    private void UpdateList(TreeNode tn_rt)
    TimeSpan ts = DateTime.Now - last_update;
    if (ts.TotalMilliseconds > 200)
    last_update = DateTime.Now;
    treeViewMS1.BeginUpdate();
    treeViewMS1.Nodes.Clear();
    treeViewMS1.Nodes.Add(tn_rt);
    TreeViewXmlPopulation.SerializeTreeView(treeViewMS1, @"c:\XmlFile\Original.xml");
    ExpandToLevel(treeViewMS1.Nodes, 1);
    treeViewMS1.EndUpdate();
    And when i'm running the program again in the constructor i'm doing:
    if (File.Exists(@"c:\XmlFile\Original.xml"))
    TreeViewXmlPopulation.DeserializeTreeView(treeViewMS1, @"c:\XmlFile\Original.xml");
    My question is how can i update the xml file in real time like i'm doing now but also with the Tag property so next time i will run the program and will not get the content from the ftp i will know in the treeView what is file and what is directory.
    The problem is that now if i will run the program the Tag property is null. I must get the ftp content from the server each time.
    But i want that withoutout getting the ftp content from server to Tag each file as file in the treeView structure.
    So what i need is somehow where i;m Tagging "file" or maybe when updating the treeView also to add something to the xml file so when i will run the progrma again and read back the xml file it will also Tag the files in the treeView.

    Hi
    Chocolade1972,
    Your case related to Winform Data Controls, So i will move your thread to Windows Forms> Windows
    Forms Data Controls and Databinding  forum for better support.
    Best regards,
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Index file share with pictures - how to get the "Tag" property as refiner?

    Hi,
    I'm indexing a folder in file share and in the windows explorer view i gave values to the "Tags" property.
    Now i want to set it as refiner in search results. I see that SharePoint gets the properties of: file name, size, picture height, picture width, author... how to get also the properties of Tags? and Dimensions?
    keren tsur

    Hi keren,
    According to your description, my understanding is that you want to add some refiners based on pictures’ properties in SharePoint 2013 Search.
    Firstly, do a full crawl for the content cource.
    For the ‘Tags’ refiner, go to the results page, click on edit page and edit the refiners web part, then choose the Choose Refiners picker. Now add the TAGS field to the right hand column.
    More information, please refer to the link:
    http://social.technet.microsoft.com/wiki/contents/articles/23690.sharepoint-metadata-tag-refiners-not-displaying-in-sharepoint-2013office-365-search.aspx
    SharePoint indexes an item based on list/library columns. However, for the Dimensions property of pictures, SharePoint library cannot retrieve the property from pictures . So when crawling, the property cannot be crawed as a crawled property, you are not
    able to add it as a refiner in Search. When you use Picture Library, there are Picture Size, Picture Width and Height columns, you can create refiners based on these three columns. You can check them in Crawled properties(CA->Search Service Application->Seach
    Schema).
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • How to keep information in the comment column while in list view?

    While in list view, as you know, you can change the visible columns like comments for example. Then you can get info for each file and type in some text in the comments box and then when you 'enter' it will then appear in the comment line of the file. However for me, I find that if I input text in the comments box it will show in the column view but when I exist finder or restart to mac the info is gone. What the trick to get it to stay there?

    HI,
    Go to ~/Library/Preferences and move the com.apple.finder.plist file to the Trash. Relaunch the Finder.
    See if that makes a difference.
    Carolyn

Maybe you are looking for