About converting a text member to a list

Hi there everyone!
I'm trying to convert a prepared text member to a property
list.
the text cast member:
[#boxes:[#b0: [#rect: rect(61, 392, 695,
465)],#b1:[#rect:rect(501,358,688,460)],#b3:[#rect:rect(99,415,199,493)]],#points:[#p0:[# loc:point(677,428)],#p1:[#loc:point(92,397)]]
the code I tried:
a = member("walkable").text
dWalkable = value(a)
put dWalkable
but the result is always : <VOID>
how can I convert the text cast member to a property list?

The reason you are getting void is because after converting
it from a
string, what you have left is not a properly formatted list.
I think
you just need to add a closing square bracket at the end and
then it
should work.

Similar Messages

  • SSRS report - A single selection dropdown list converted to text box

    Hello everyone,
    We created a single selection dropdown parameter (City parameter) on a report. The data in this parameter is populated using MDX query. Also, it is filtered based on selection of another single selection dropdown list (Country parameter) of a report.
    The problem is when there is no cities for the selected country the dropdown list is gets converted to free type text box and user can insert city data in it. Why SSRS is not keeping it as empty dropdown list with no data?
    Any help would be much appreciated.
    Thanks, Ankit Shah
    Inkey Solutions, India.
    Microsoft Certified Business Management Solutions Professionals
    http://www.inkeysolutions.com/MicrosoftDynamicsCRM.html

    Hello Charlie,
    We developed a fresh report only with two parameters but still the dropdown control gets converted to text box in our case. We have two single selection parameters, Location and Customers. Based on selected Location the customer
    dropdown gets populated.
    Location Parameter Query
    WITH MEMBER [Measures].[ParameterCaption] AS [Location].[Location Name].CURRENTMEMBER.MEMBER_CAPTION MEMBER [Measures].[ParameterValue] AS [Location].[Location Name].CURRENTMEMBER.UNIQUENAME MEMBER
    [Measures].[ParameterLevel] AS [Location].[Location Name].CURRENTMEMBER.LEVEL.ORDINAL
    SELECT {[Measures].[ParameterCaption], [Measures].[ParameterValue], [Measures].[ParameterLevel]} ON COLUMNS , [Location].[Location Name].ALLMEMBERS ON ROWS FROM [Model]
    Customer Query
    WITH MEMBER [Measures].[ParameterCaption] AS
    [Customer].[Customer Name].CURRENTMEMBER.MEMBER_CAPTION
    MEMBER [Measures].[ParameterValue] AS
    [Customer].[Customer Name].CURRENTMEMBER.UNIQUENAME
    MEMBER [Measures].[ParameterLevel] AS [Customer].[Customer Name].CURRENTMEMBER.LEVEL.ORDINAL
    SELECT {[Measures].[ParameterCaption], [Measures].[ParameterValue], [Measures].[ParameterLevel],[Measures].[Amt]} ON COLUMNS,
    nonempty([Customer].[Customer Name].ALLMEMBERS,[Measures].[Amt]) ON ROWS FROM ( SELECT ( STRTOSET(@LocationName, CONSTRAINED) ) ON COLUMNS FROM [Model])
    Regarding parameter settings on General tab for both the above parameters we did not select any of the following values, all these checkboxes are empty:
    Allow Blank Value ("") , Allow null value, Allow multiple values.
    I think it has something related to [Measures].[Amt] that we used in customer parameter. We are now trying to take other two parameters where we would be not using the [Measures].[Amt] to filter the data. Will update you soon.
    Thanks, Ankit Shah
    Inkey Solutions, India.
    Microsoft Certified Business Management Solutions Professionals
    http://www.inkeysolutions.com/MicrosoftDynamicsCRM.html

  • [ANN] Xtrema Unicode RTF Text Member, alpha version

    Xtrema Unicode RTF Text Member, alpha version.
    For Director 8.5 and above, windows NT4, 98 and above.
    http://xtrema.rtr.gr/cDown/
    Features of the final release (progress state)
    Unicode (utf-16) support. (done)
    Rich Text Format support. (done)
    East European + Asian + RTL Language support. (done)
    Embedded Images. (done)
    Common shortcuts / controls :
    http://msdn2.microsoft.com/en-us/library/ms651760.aspx
    (done)
    Mouse Wheel support. (done)
    Drag & Drop functionality. (drag only)
    Copy to / paste from Clipboard. (done)
    Insert rtf data into rtf selection. (not enabled)
    Full character/line position/dimension (rect) info. (done)
    Event driven operation (e.g. on xKeyDown/up - with unicode
    key info, plus
    mouseWheel) (done)
    Support for virtual sprites (one member, many sprites) (not
    tested)
    Support for memberless objects. (not tested)
    Extended (object driven) text formatting support. (-)
    Rich Text, or Plain Text operation. (rich text only)
    Character masking (for password entry) (not enabled)
    Horizontal / Vertical scrolling (not enabled, auto only)
    Zooming (not enabled)
    Hyperlink support (-)
    Auto stretching to fit Director's stage zoom (done)
    Ink support (blend only)
    Generate 32 bit image object (not enabled)
    This member has been created from a personal wish list based
    on years of
    experience with director's text objects.
    If something else comes to mind, or if you wish to join the
    beta testers
    list, please feel free to contact xtrema at rtr gr.
    Regargs,
    - alchemist.

    Xtrema Unicode RTF Text Member, alpha version.
    For Director 8.5 and above, windows NT4, 98 and above.
    http://xtrema.rtr.gr/cDown/
    Features of the final release (progress state)
    Unicode (utf-16) support. (done)
    Rich Text Format support. (done)
    East European + Asian + RTL Language support. (done)
    Embedded Images. (done)
    Common shortcuts / controls :
    http://msdn2.microsoft.com/en-us/library/ms651760.aspx
    (done)
    Mouse Wheel support. (done)
    Drag & Drop functionality. (drag only)
    Copy to / paste from Clipboard. (done)
    Insert rtf data into rtf selection. (not enabled)
    Full character/line position/dimension (rect) info. (done)
    Event driven operation (e.g. on xKeyDown/up - with unicode
    key info, plus
    mouseWheel) (done)
    Support for virtual sprites (one member, many sprites) (not
    tested)
    Support for memberless objects. (not tested)
    Extended (object driven) text formatting support. (-)
    Rich Text, or Plain Text operation. (rich text only)
    Character masking (for password entry) (not enabled)
    Horizontal / Vertical scrolling (not enabled, auto only)
    Zooming (not enabled)
    Hyperlink support (-)
    Auto stretching to fit Director's stage zoom (done)
    Ink support (blend only)
    Generate 32 bit image object (not enabled)
    This member has been created from a personal wish list based
    on years of
    experience with director's text objects.
    If something else comes to mind, or if you wish to join the
    beta testers
    list, please feel free to contact xtrema at rtr gr.
    Regargs,
    - alchemist.

  • Convert a text file to PDF format

    Hi,
    How can I convert a text(.txt) to a excel file using Powershell commands ?
    At the moment I am doing the conversion with VBA, but time consuming, as its a very big file.
    Kindly help.
    MIG.

    There are other ways around the txt to pdf. Without seeing how the txt file looks it makes it a little hard to help but below is a great link that talks about how you can use the com objects.
    http://wiki.coolorange.com/display/powerjobs/Convert+office+documents+to+Pdf 
    If the log file is something you need in excel I would first work on converting the file to CSV and then you can use excel or if its something you can use word with I would rename the file to docx so the com object picks it up. If you can share one of the
    files it would be a big help.
    There is also a dll you can use that is great with working with pdf files below is the link. I you are okay with downloading a third party dll this is a great tool.
    http://sourceforge.net/projects/itextsharp/
    Searching The Forum I found the below link that is exactly what your looking for using the itextsharp dll to create pdf file from text files.
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/d6a6b165-b222-4b37-9021-9e9d639da30d/powershell-and-itextsharp
    Hope this helps

  • Need to convert all text frames to intinal caps.

    Hi All,
    I need to convert all text frames in the eps files the text should be first letter to be caps.
    EXAMPLE:
    " The Example Text In The Discussion"   to be " The example text in the discussion "
    I am manually converting around 350 Eps files daily,
    Any help!!!
    regards,
    Vinoth

    Hi Larry,
    Thanks for the reply.
    Yes, excatly we do manually by Type>Change Case>Sentence Case
    But i need this to be done in scripting. My Knowledge in scripting is not good.
    Could you please help me regarding this issue.
    regards,
    Vinoth

  • Converting a text file into a String

    I need to convert a text file (in whatever format, in my case it would be xml and xsl files) in a String.
    I made this methods:
    public static String createStringFromFile(File f) {
            StringBuffer buf = new StringBuffer();
            try {
                FileInputStream fInp = new FileInputStream(f);
                byte[] byteArray = new byte[fInp.available()];
                int bLetti = fInp.read(byteArray);  
                if (bLetti == fInp.available()) {
                    for (int i=0; i<fInp.available(); i++)
                        buf.append(Byte.toString(byteArray));
    else
    throw (new IOException("Errore nella lettura del file"));
    fInp.close();
    } catch (Exception e) {
    ErrorManager.getError(e);
    return (buf.toString());
    public static String createStringFromFile(String fileName) {
    StringBuffer buf = new StringBuffer();
    try {
    FileInputStream fInp = new FileInputStream(fileName);
    byte[] byteArray = new byte[fInp.available()];
    int bLetti = fInp.read(byteArray);
    if (bLetti == fInp.available()) {
    for (int i=0; i<fInp.available(); i++)
    buf.append(Byte.toString(byteArray[i]));
    else
    throw (new IOException("Errore nella lettura del file"));
    fInp.close();
    } catch (Exception e) {
    ErrorManager.getError(e);
    return (buf.toString());
    There are no compilation or runtime errors, but the result string is empty. Not null, empty. What should I do? :)

    Do you really want to use bytes and so on when java does it all for you?
    Here's how I did it, hope it's useful.
    public String getFileAsString(String fileName){
         StringBuffer buffer = new StringBuffer();
         try{
         BufferedReader bRead = new BufferedReader(new FileReader(new File(fileName)));
         String str = "";
         while( (str = bRead.readLine()) != null ){
              buffer.append(str);
         }//end while
         bRead.close();
         }catch(Exception e){
         System.err.println("in getFileAsString(): " + e.toString());
         }//end try
         return buffer.toString();
    }//end getAsString()

  • Find Line Number in Text Member

    I would like to drop in a line of text after a specific phrase in a text member. To find the right place to drop the text, I must first determine the line number the specific phrase text is located. Now, I can use a REPEAT to walk through each line until it is found, but there must be a more elegant way. The code "Offset" is great for finding the first character number of the specific phrase, but I don't know how to glean the line number from that.
    Currently this is how I do it...
    repeat with xLineCount = 1 to 100
        if textDoc.line[xLineCount] contains "<specific text phrase>" then
          put RETURN & RETURN & "<new text pasted>" after textDoc.line[xLineCount]
          exit repeat
        end if
      end repeat
    Can anyone give me a more elegant approach this?

    A more elegant approach might be to use a regular expression, but I'm not sure I understand your requirements well enough to make a sensible recommendation.
    You could try the following JavaScript handler and invoke it like:
    tMember.text = jsReplace(tMember.text, "<specific text phrase>", "<specific text phrase>" & RETURN & RETURN & "<new text pasted>")
    function jsReplace(inStr, strFind, strReplace){
      // error check input
      if(typeof(inStr)      != "string") { return inStr; }
      if(typeof(strFind)    != "string") { return inStr; }
      if(typeof(strReplace) != "string") { return inStr; }
      // search-and-replace
      re = new RegExp(strFind, "g");
      return inStr.replace(re, strReplace);
    However, this will place the pasted text immediately after the search phrase and not at the end of the line. It is possible to do this with a regular expression, but I'd have to dust off my copy of Friedl's "Mastering Regular Expressions" to craft it for you and I don't have either the time or inclination at present.

  • Error while importing a text file for a list of values

    Hi Experts,
    While importing a text file for a list of values in designer, I am getting error message as below:
    "Invalid setting in Excel key of the Engines section of the Windows Registry. (3433)".
    I am using BO XI R3. Universe Designer version : 12.1.0.882
    Any suggestion ?
    Regards

    plzzzzzzzzzzzzzzzzz.............sme1 help me out

  • How do I create a series of text frames from a list of files?

    And I'm back again.
    This time, I'm wondering how I can use JavaScript to place a series of text frames from a list of files, preferably with the ability to specify criteria before running the script.
    Here's the details: I work for a newspaper and I lay out stories for the pages (in addition to the other part of my job, laying out ad spaces, as detailed in a previous thread, for which I requested another script, thanks Andreas and Jongware ). The file names for the stories are labeled for the section they go in, like L- for Life, C- for Comment, S- for Sports, etc.
    I'd like to create a script that asks for a criteria in a text box (where I can type L-, C-, S- or whatever else I need) and then places all of the stories, in a specified directory, whose file names match what was typed in the box, one text frame for each.
    I can't rightly tell if this is a simpler or more difficult script to write out, but I plan on putting research into it as usual so I can develop it myself. However, I figured it would be more efficient to ask first, then research, so that while I'm researching, I can refer to the opinions of my fellow forumites, and/or the mods.
    Thanks again for any assistance offered.

    And I'm back again.
    This time, I'm wondering how I can use JavaScript to place a series of text frames from a list of files, preferably with the ability to specify criteria before running the script.
    Here's the details: I work for a newspaper and I lay out stories for the pages (in addition to the other part of my job, laying out ad spaces, as detailed in a previous thread, for which I requested another script, thanks Andreas and Jongware ). The file names for the stories are labeled for the section they go in, like L- for Life, C- for Comment, S- for Sports, etc.
    I'd like to create a script that asks for a criteria in a text box (where I can type L-, C-, S- or whatever else I need) and then places all of the stories, in a specified directory, whose file names match what was typed in the box, one text frame for each.
    I can't rightly tell if this is a simpler or more difficult script to write out, but I plan on putting research into it as usual so I can develop it myself. However, I figured it would be more efficient to ask first, then research, so that while I'm researching, I can refer to the opinions of my fellow forumites, and/or the mods.
    Thanks again for any assistance offered.

  • Setting Font for converting multiple text files into PDF using VB 6.0

    Dear All,
    Am converting multiple text files into PDF using VB6.0. Currently, am unable to control the font face and size for the generated files. Below is the procedure am using for each file;
    Public Sub proc_convert_to_PDF(srcFilename As String, destFilename As String)
    Dim p_AcroApp As CAcroApp
    Dim p_VDoc As CAcroAVDoc
    Dim p_DDoc As CAcroPDDoc
    Dim IsOk As Boolean
    Set p_AcroApp = CreateObject("AcroExch.App")
    Set p_VDoc = CreateObject("AcroExch.AVDoc")
    Call p_VDoc.Open(srcFilename, "")
    Set p_VDoc = p_AcroApp.GetActiveDoc
    If p_VDoc.IsValid Then
    Set p_DDoc = p_VDoc.GetPDDoc
    ' Fill in pdf properties.
    p_DDoc.SetInfo "Title", Format(Date, "dd-mm-yyy")
    p_DDoc.SetInfo "Subject", srcFilename
    If p_DDoc.Save(1 Or 4 Or 32, destFilename) <> True Then
    MsgBox "Failed to save " & srcFilename
    End If
    p_DDoc.Close
    End If
    'Close the PDF
    p_VDoc.Close True
    p_AcroApp.Exit
    'Clear Variables
    Set p_DDoc = Nothing
    Set p_VDoc = Nothing
    Set p_AcroApp = Nothing
    End Sub
    What I need;
    1) to be able to set the font face of the destination file ( destFilename)
    2) to be able to set the font size of the destination file ( destFilename)
    Am using Adobe Acrobat 7.0 Type Library
    Kindly Help.
    Thanks in advance

    We didn't say it doesn't work. We said it isn't supported.
    There are a number of other ways to make a PDF. The one which would
    give the most control is if your application directly printed to GDI,
    controlling the font directly. This could print to Adobe PDF.
    You could look for an application that gives control of font for
    printing.
    You could use a text-to-PostScript system and distill the result. You
    could even look for a non-Adobe text-to-PDF.
    Working in the unsupported and dangerous world you chose, the font
    size for text conversion is set (and this is very bad design from
    Adobe) in the settings for Create PDF > From Web Page. There is no API
    to this.
    Aandi Inston

  • Problem in converting english text to arabic text in Acrobat XI professional

    Hi,
    One of our client is facing issue while converting english text to arabic text in Acrobat XI professional. Can somebody help me to find a solution for this.

    Ok , that is clear the customer has another query. He is trying to convert a pdf Arabic file into word formate but it is showing arabic font which is not in a proper form.i am attaching the print screen .

  • About updating  long text  in the document item  with bdc of fb02

    HI,
    I have a question about updating  long text  in the document item of sap:
    Can I directly updating the long text information with the fuction save_text?
    The long text is in :
    tcode: fb02 -->input document no ... --> Document overview --> select one document
    long text --> updating the value.
    Becaust I want to update some items in a G/L Account with bdc or other technique, but I found I can't   choose the items in the G/L Account with bdc automatically .That means I can't get the selected items and update them.So I try to update them with the function save_text  directly (I know the doc no,bukrs,fiscal year ,item no which will decide the long text item).
    Who can help me ?Or is there any way to solve the problem? Thanks very much.

    Yes, you can update directly using SAVE_TEXT.
    Check this for the same.
    [update long text in FB02|https://forums.sdn.sap.com/click.jspa?searchID=22194840&messageID=5418662]

  • How to justify the text of a bulleted list

    Does anyone know if it is possible to justify the text of a bulleted list in the same way as for a paragraph? I can do it in Microsoft Word but I can't seem to do it in Illustrator.
    When I justify the text of a paragraph in Illustrator it works perfectly fine. But when I do it for bulleted text, it gets all weird. Can anyone offer any advice? I'd greatly appreciate it!

    The only solution I'm seeing is this older post from CS3 that directs you to use the inDesign text engine.
    http://forums.adobe.com/thread/467763
    Typographically having a bullet list aligned other then flush left rag right seems unnatural. I would like if you could post a screen shot of the Word doc that is aligned the way you envision your text aligning in Illustrator.

  • How do I convert a text, word or photo into a pdf doc?

    How do I convert a text, word or photo to a pdf coc for E-Mail?

    Install Acrobat XI (Standard or Pro).
    Use Acrobat's create PDF feature for supported file formats (TXT, RTF, DOC, DOCX, JPEG, TIFF and others are supported).
    Use the installed Adobe PDF virtual printer to "print" a PDF from any application that can print to an installed printer.
    Be well...

  • How to get the text boxes and select lists dynamically?

    Hi,
    I have a requirement such that I need to create the text boxes and select lists depending on the user input at the run time. It means that if the user requires four text boxes/select lists then I need to have 4 such thing. If the user need 6 then I need to have 6.
    The design may be such that initially only one text box/select list will be available when the page launches. Then as ad when the user asks for more those will be available to the user accordingly.
    regards,
    Dipankar.

    You can use Ajax to call textboxes and select list based on what user enters.
    Otherwise make those items conditional and based on what user enters you can display textbox or select list.
    You can call Single Textbox and Select List using Ajax for any number of conditions.
    Regards
    Chandra

Maybe you are looking for

  • I am having issues using AirPrint. Won't recognize my printer.

    Hello. I am using an Epson 730 which is labled as "AirPrint Compatible." However, the only way I can print from my iPad is by using a go-around app sucn as print jinni. Any suggestions? When I try to print from Pages it begins a search and concludes

  • Query data transfer from APD to a file

    Dear All, I am extracting Project systems data from a query and creating a csv file by APD. In my query when I execute the result of WBS Element will be as C-10003, when we create file by APD, the data output in file is as "C10003". The character " -

  • How to parse a String help

    I'm trying to find an easy way to parse a string like this String, brand,model, number; String toParse=(Sony)(VZ-12324)(1);Is there a simple way of parsing the string to the "(" and ")" are omitted and brand=Sony; model=VZ-12324); number="1"; ???

  • Implementing Transport Naming convention with the help of BAdIs (Urgent)

    Hi Gurus, We need to implement Transport Naming convention in our landscape. Transport request should follow the following naming conventions and to enable this we have to enable some necessary BAdIs? Scenario  would be like this....! Customization L

  • How to transfer photos from iPad to imac

    How to transfer photos from iPad to iMac