app.findMenuCommandId (with ampersand (&) in the name)

Try to use app.findMenuCommandId () to run a script, but it doesn't seem to work if there is an ampersand in the name. Is there a way to escape to the & or otherwise do this work with names that have & in there?

for example, this works:

app.findMenuCommandId("You and Me.jsx");

and it does not work:

app.findMenuCommandId("You & Me.jsx");

Replace "&" by "" (Nothing) seems to work: app.findMenuCommandId ("You Me.jsx")

Xavier

Tags: After Effects

Similar Questions

  • FTP access with spaces in the names of dir

    Hello

    I'm doing a recursive list of files in an FTP directory.

    Although FileZilla deals with spaces in the names of directory without problem, it seems that Labview struggles a little.

    In effect, if I ask labview for files and a folder named directory, for example/Projects/Camera 1 /, it returns an empty array (while FileZilla sees clearly 12 files in that folder). It seems that the problem is white in the name space, because if I replace (using FileZilla) the space character by '_', LV correctly gives me the list of files.

    No idea how the LabView FTP working properly deal with spaces in the directory and file names?

    Best regards

    perper2001

    Hello

    Unfortunately, I can't share the code, but here's a screenshot of what it looks like.  It is based on the "vi directory listing" which comes with labview.

    Basically, it send the command MLSD and wait for an answer. After that, it's a matter of parsing of the response from the server that my FTP looks like this:

    type = CDIR; sizd = 3; change = 20150220090455; UNIX.mode = 0705; UNIX.uid = 32210; UNIX.gid = 100; single is d8g863beb0;.
    type = IRDP; sizd = 5; change = 20150302165245; UNIX.mode = 0705; UNIX.uid = 32210; UNIX.gid = 100, unique = d8g863beae;...
    type = dir; sizd = 12; Change = 20150302000236; UNIX.mode = 0705; UNIX.uid = 32210; UNIX.gid = 100, unique = d8g863beb2; Battery camera 9

    Kind regards

    Peper

  • Contacts of numbering with number as the name blackBerry Smartphones

    OK, first post and here's what I got.

    I have contacts to many places retail with a number of store.

    example: (in coordinates) name: 1234, last name: Mountainview store.

    so I go and click on the Send button to pull up the phone and dial "1234" and it is says "no contacts" and waiting for me finish typing in this 'new' number and hit send.

    but, if I have everything start from the home screen and press the Send button to pull up the phone and then press the menu button, then click on "call for contacts" then I can compose "1234" and he pulls up the contact for the Mountianview store, so I press the button send and he composed this contact.

    so I need to know if there is a better way to enter the store info in contacts or whatever it is I do, I can type the store number into the phone to have it go back the contact without going to ' menu > call each time from the contacts that I give the floor. I don't want to use the name of the city (call me lazy, it's ok.)

    The problem is that the device assumes that if you enter the numbers in the phone app you want to dial a number to hone.

    I think that the only work around for just go first the address book and then search for the store number and dial from there

    If you Dial on disabled home screen, you can simply type the a button to go to the address book then down using your store number since there with.  You are still using the contacts function call but skip the first step of phone application.

  • CS3 files with spaces in the name

    I have a slight problem with the files that are in folders that have spaces in the name of the folder.

    For example, the file is in the following location: rtu 41%.psd/c/n Hold/Test Image file/mondeo

    If I run the script, it creates a folder called ScriptFolder to the location of the file and a saveAs psd files in that folder but I get an error.

    General Photoshop error occurred. This feature can pas...ld\...\mondeo n 41% ' because the file is not found.

    If I change ' folder of images to test ' to 'Test_Image_Folder', which is where the file is the script works.

    Here's the script of any suggestions on how I can get around this?

    var myPsDoc = app.activeDocument;
    var justname = myPsDoc.name.split ('.) ») [0]
    var MonNouveauDossier = new Folder(myPsDoc.path+"/ScriptFolder/"); "
    If {(myNewFolder.exists)
    } else {}
    myNewFolder.create ();
    }
    newFile = new file (MonNouveauDossier + "/" + justname)
    photoshopSaveOptions = new PhotoshopSaveOptions()
    photoshopSaveOptions.embedColorProfile = false
    myPsDoc.saveAs (newFile, PhotoshopSaveOptions, true, Extension.LOWERCASE)

    With the help of decodeURI should take care of the problem with spaces in the path.

    var MonNouveauDossier = new folder (decodeURI (myPsDoc.path) + "/ScriptFolder/");

  • Form of planning data cut the names of members with "<" or ">" in the name

    We have recently updated to 11.1.2.3.500 (patched to 11.1.2.3.501 Planning) and noticed that on our forms of planning data, it's cut the names of the members so ">" or "<" are in the name of the Member.

    For example, we have the following Member: ' cost-per-minor Suite Tower (< 5K).

    In EPMA, planning, Essbase and financial information, the name of the Member fine poster Dimensions. When we use the Member in a data form, it displays as "cost per minor Suite Tower ()"-it cuts the ' < 'and everything after it. "

    We tried to recreate the shape of data, but it still cut the name of the Member. There is no alias on this member, and we have it just show the name of the Member.


    If anyone has experienced this before? As much as I know aren't restricted characters, but maybe something with 11.1.2.3.500 coding and the thought those who are part of the tags.


    Thank you in advance for your help!

    We had a similar problem with & in smarlist and patch.502 to be fixed. However, I put in "cost per minor Suite Tower (a member of your).< 5k)"="" in="" the="" .502="" environment="" and="" i="" saw="" the="" same="" issue:="" where="" "cost="" per="" minor="" suite="" turn="">< 5k)"="" cuts="" off="" to="" cost="" per="" minor="" suite="" turn="">

    and I tried just "cost per minor Suite turn."< 5k"="" and="" it="" provided="" this="" cost="" per="" minor="" suite="">

    We also have a 11.1.2.4 environment, I tried this and the question even exsits.  And I guess the only work is about setting out there because that's what they gave us said regarding the & in smarlists.

  • CFLDAP with hyphen in the name of the attribute

    Hello people,

    I came across a problem where an AD attribute has hyphen in its name.

    Thus, the code would be something like:

    < name = "MyQuery" action = "query"... cfldap attributes = "one, two, this - hyphen" >

    How would I be able to retrieve the value of attributes for the "this-hyphen" in the code?

    I tried:

    < cfset MyVar = MyQuery.this - trait of Union >

    < cfset MyVar = Variable ['MyQuery.this - trait of Union '] >

    < cfset MyVar = MyQuery ['this-hyphen"] >

    None of them works!

    This comes to the following conclusion:

    1 CFLDAP gets not attribute this trait-to Union correctly due to hyphen in its name

    2. "this link" does not exist in AD.

    For point 1, I would thought that it is OK to put the hyphen in the list of attributes because it is by passing the string.

    I can't guarantee how the remote directory will react to be invited for an attribute that does not exist... one would need to read than the LDAP specification for that I guess.  I'm not ;-)

    But how the System Center manages is not relevant, to a point.  Your code must itself busy with what is handed to you.  If you don't even know if your returned queries even has this column inside?  Would not be a good place to start?  Do you have the query on the subject of dumping and verified?

    I know that itself has no problem with the attributes with names of hyphen.  Well when I went through all the what a few years ago (following the steps similar to what we do here ;-), the data comes back fine.)

    For point 2, I just tried to bring in the RANDOM attribute that does not exist in AD (for example ASWEQ), and it does not seem to throw an error when I try to access this attribute in CFSET.

    So what exactly is happening here?

    OK, well I guess that answers my question above.  ADS will be return any attribute (?) you ask, with just a value empty if it does not exist.  I doubt he would act differently for hyphenated names, but it's easy to answer in dumping on your query and seeing what you have.  Is this what?

    What happens if find you an attribute valid with a hyphen in the name?  I don't know there is a lot of merit asking for stuff that does not exist...

    --

    Adam

  • New window Bookmark not filled with location and the name of Web site

    I just set up a new computer with firefox and import my favorites. I noticed that when I go to make a new bookmark, the fields are not filled for the fields name and location they are on my other filrefox facilities. I wondered why, and what can I do about it?

    Have you tried disabling hardware acceleration?

    • Tools > Options > advanced > General > Browsing: "use hardware acceleration when available.
  • XmlExists search with ampersand in the search string.

    Hi all, I have a particular problem with XmlExists data that present an ampersand.

    I'm under Group of hotfixes 11g 12.
    You are looking for table uses sys.xmltype to keep the xml document.

    DDL:
    CREATE TABLE 'XML_TEST '.
    (
    AccountID RAW (16) NULL NOT ACTIVATE.
    TenantID RAW (16) NOT NULL ACTIVATE.
    CustomFields "SYS." "" XMLTYPE.
    ) ;


    DML:

    declare clobVal clob;

    BEGIN

    -INSERT #1
    clobVal: = ' <? XML version = "1.0" encoding = "utf-8"? >
    < ArrayOfCustomField xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" container = "http://www.w3.org/2001/XMLSchema" >
    < CustomField ReferencedID = "3A887DE7B2FA4A19B9F66FCC19E02062" >
    Guitar < StringValue > < / StringValue >
    < / CustomField >
    < CustomField ReferencedID = "014F2EFA42CF40829A9A5FB761759071" >
    < Chaine_de_caracteres > Louis & amp; Clark < / StringValue >
    < / CustomField >
    < CustomField ReferencedID = "59690AD42A5B4C83B4917D024908F905" >
    < > 12,48 NumberValue < / NumberValue >
    < / CustomField >
    < CustomField ReferencedID = "06675CD4B0FD4C769C3266260159EAC4" >
    < DateValue > 1242394042 < / DateValue >
    < / CustomField >
    < / ArrayOfCustomField > ';

    INSERT INTO XML_TEST (AccountID, TenantID, CustomFields)
    VALUES ('ADDA071176A94654A2BE2129A1ABFBF9', 'F068F6D54ED2DB11ABE500188B001DE0', xmltype (clobVal));


    Here's the problem element:

    < Chaine_de_caracteres > Louis & amp; Clark < / StringValue >


    When I run this query:

    SELECT count (*)
    OF XML_TEST
    WHERE XMLExists ('/ ArrayOfCustomField/CustomField [@ReferencedID = "014F2EFA42CF40829A9A5FB761759071"] / StringValue [. = "Louis % 26amp;"]) (Clark']' MOVING CustomFields);

    It does not return the expected result?

    Didn't this query:

    SELECT count (*)
    OF XML_TEST
    WHERE the XMLExists ('/ ArrayOfCustomField/CustomField [@ReferencedID = "014F2EFA42CF40829A9A5FB761759071"] / StringValue [. = "Louis & amp;]) (Clark']' MOVING CustomFields);


    Any help would be greatly appreciated.

    L

    What about the binder

    SELECT count(*)
    FROM XML_TEST
    WHERE XMLExists('/ArrayOfCustomField/CustomField[@ReferencedID="014F2EFA42CF40829A9A5FB761759071"]/StringValue[. = $myText]' PASSING CustomFields, 'Louis & Clark' as "myText");
    

    Published by: mdrake on June 15, 2009 13:05

  • With regard to the names of aliased

    Hi all

    East of 2 members have a unique alias name?

    If Yes, then, I call a member with alias then what Member gives you the answer?

    If 2 members are in the other dimension, then it will be acceptable?

    Thanks in advance.

    Kind regards
    Lacom.

    Hello

    Alias must be unique, so you may not have the same as against the different members of the same or other dimensions.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • BlackBerry App stuck with deleted purchased the application

    I bought an app (gNewsReader).

    Then I deleted it (just because I wanted to reinstall it).

    However after removal, it is lost forever - the only option in BBWorld for this app is the "Open" button, but nothing happens when it is pressed.

    Hello and welcome to the community!

    I suggest that you clear the cache of the AppWorld application.

    For BB10 devices:

    • KB33818 Applications in BlackBerry World are stuck in a State facility and cannot be cancelled or removed from the download list

    I hope it'll work for you! Good luck and let us know!

  • Can't CD to the folder with spaces in the name

    5.1 ESXi

    Using PuTTY I'm changing the directories of datastore1 in a folder named Windows 2008 R2 x 64.  It's a virtual machine to the Macintosh to ESXi 5.1 using converter standalone.  When I try to cd Windows 2008 R2 x 64 from the datastore1 prompt, I get an error:

    -sh: cd: can't cd for Windows

    BTW, Windows 2008 R2 x 64 anyname mv generates an error:

    MV: unable to rename "anyname" no such file or directory

    Any thoughts on how to change the folder name if I can get rid of the spaces?

    Thank you

    Mux

    Put the folder_name quotes

    so

    #cd "Windows 2008 etc"

    It should work

  • The problem with ampersand in the PL/SQL procedure

    Dear Oracle experts,

    Please, help me to understand this case. I have the following code
    V_RESPONSE := UTL_HTTP.GET_RESPONSE (V_REQUEST);
    
          LOOP
             UTL_HTTP.READ_LINE (V_RESPONSE, V_BUFFER, FALSE);
             DATA_OUT := DATA_OUT || V_BUFFER;
          --DBMS_OUTPUT.PUT_LINE (V_BUFFER);
          END LOOP;
    And I'm getting DATA_OUT as
    <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Body><ns:chargeSubscriberResponse xmlns:ns="http://ws.cube.az"><ns:return>&lt;?xml version="1.0" encoding="UTF-8"?>
    &lt;response>
         &lt;retval>-2200003&lt;/retval>
         &lt;retmsg>Invalid Service&lt;/retmsg>
         &lt;quantity>&lt;/quantity>
         &lt;cube-transaction-id>&lt;/cube-transaction-id>
    &lt;/response></ns:return></ns:chargeSubscriberResponse></soapenv:Body></soapenv:Envelope>
    A don't have to '&' in this output. I need to analyze this variable to clear all ampersands. How can I do?

    Just replace does not work... I tried
    PROCEDURE Clean_up_xml (v_xml IN OUT VARCHAR2)
       IS
       BEGIN
          WHILE INSTR (v_xml, 'lt;') > 0
          LOOP
             v_xml :=
                SUBSTR (v_xml, 1, INSTR (v_xml, 'lt;') - 2)
                || SUBSTR (v_xml, INSTR (v_xml, 'lt;') + 4);
          END LOOP;
       END;
    But no luck...

    Does not erase the procedure '& '. How can I disable ampersand in PL/SQL procedure?

    Thanks in advance.

    PS: I know SET DEFINE OFF. But it only works in SQL * MORE.
    SQL> declare
      2
      3    data_out clob :=
      4  '<?xml version="1.0" encoding="UTF-8"?>
      5  <response>
      6       <retval>-2200003</retval>
      7       <retmsg>Invalid Service</retmsg>
      8       <quantity></quantity>
      9       <cube-transaction-id></cube-transaction-id>
     10  > </response>' ;
     11
     12  begin
     13
     14    for rec in (
     15        select r.*
     16        from xmltable(
     17               xmlnamespaces(
     18                 'http://www.w3.org/2003/05/soap-envelope' as "soap"
     19               , 'http://ws.cube.az' as "ns"
     20               )
     21             , '/soap:Envelope/soap:Body/ns:chargeSubscriberResponse'
     22               passing xmlparse(document data_out)
     23               columns xml_return clob path 'ns:return'
     24             ) x
     25           , xmltable('/response'
     26               passing xmlparse(document x.xml_return)
     27               columns retval              number       path 'retval'
     28                     , retmsg              varchar2(30) path 'retmsg'
     29                     , quantity            number       path 'quantity'
     30                     , cube_transaction_id varchar2(30) path 'cube-transaction-id'
     31             ) r
     32    )
     33    loop
     34
     35      dbms_output.put_line('retval = '||rec.retval);
     36      dbms_output.put_line('retmsg = '||rec.retmsg);
     37      dbms_output.put_line('quantity = '||rec.quantity);
     38      dbms_output.put_line('cube_transaction_id = '||rec.cube_transaction_id);
     39
     40    end loop ;
     41
     42  end;
     43  /
    
    retval = -2200003
    retmsg = Invalid Service
    quantity =
    cube_transaction_id = 
    
    PL/SQL procedure successfully completed
     
    
  • with fx 3.6 I wrote for the url, just the name on Facebook for example and it made me automatically on facebook now, I can't and it takes me on google search! What should I do?

    I hope I helped and sorry for my bad English...

    The change between Firefox 3.6. * and Firefox 4 is how the location bar search. In Firefox 3.6, it uses Google search "search by name". With innovation by the name search, it performs a search on Google and if there is a clear match he will take you on the site, otherwise, it shows the Google search result. With Firefox 4 it performs just a search on Google, if you type in something that is not recognized as a URL.

    To get the behavior of Firefox 3.6 on Firefox 4, you must change a hidden preference.

    1. Type of topic: config in the address bar and press on enter
    2. Accept the warning message that appears, you will be taken to a list of preferences
    3. Locate the preference keyword. URL, double-click it and change its value on the link below

    http://www.Google.com/search?ie=UTF-8 & oe = UTF - 8 & SourceId = navclient & gfns = 1 & q =

  • ApexListener 2.0 is configured with the name of the service, but SQLDeveloper said SID

    Hello
    I have configured the ApexListener 2.0.0.354.17.05 through command line interface as described in http://docs.oracle.com/cd/E37099_01/doc/ doc.20 /e25066/install.htm
    [oracle@rac02 apex_listener]$ java -jar apex.war 
    This Listener instance has not yet been configured.
    Please complete the following prompts
    
    Enter the location to store configuration data:/u01/app/oracle/apex_listener
    Jan 8, 2013 2:29:00 PM oracle.dbtools.common.config.cmds.ConfigDir execute
    INFO: Set config.dir to /u01/app/oracle/apex_listener in: /home/oracle/apex_listener/apex.war
    Jan 8, 2013 2:29:03 PM oracle.dbtools.common.config.file.ConfigurationFolder logConfigFolder
    INFO: Using configuration folder: /u01/app/oracle/apex_listener/apex
    Enter the name of the database server [localhost]:rac-scan.akragmbh.local
    Enter the database listen port [1521]:
    Enter 1 to specify the database service name, or 2 to specify the database SID [1]:
    Enter the database service name:rac.akragmbh.local
    Enter the database user name [APEX_PUBLIC_USER]:
    [...]
    Everything worked well and the configuration is written in defaults.xml. No entry for the key 'db.sid '.
    [oracle@rac02 apex]$ cat /u01/app/oracle/apex_listener/apex/defaults.xml 
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
    <properties>
    <comment>Saved on Tue Jan 08 14:30:03 CET 2013</comment>
    [...]
    <entry key="db.hostname">rac-scan.akragmbh.local</entry>
    <entry key="db.password">I don't tell</entry>
    <entry key="db.port">1521</entry>
    <entry key="db.servicename">rac.akragmbh.local</entry>
    [...]
    The listener and the APEX is running.

    But when I import the configuration of ApexListener in SQLDeveloper 3.2.20.09 the dialogbox said, I configured a SID instead of a service name.
    It is the saved configuration
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
    <properties>
    
    <comment>
       Listener Administration
       Oracle SQL Developer 3.2.20.09.87
       Last Update: Tue Jan 08 16:07:23 CET 2013
    </comment>
    
    <entry key="db.password">I don't tell</entry>
    <entry key="db.connectionType">basic</entry>
    <entry key="db.hostname">rac-scan.akragmbh.local</entry>
    <entry key="db.port">1521</entry>
    <entry key="db.sid">orcl</entry>
    <entry key="db.servicename">rac.akragmbh.local</entry>
    <entry key="db.tnsAliasName"/>
    <entry key="db.tnsDirectory"/>
    <entry key="db.customURL"/>
    [...]
    What's wrong?

    There is a bug in SQL Developer providing a default SID "orcl", even if a service name is provided. The solution is to remove the SID "orcl" in

    1. parametres_globaux-> connections and
    2 database settings-> name (e.g. apex)-> connections

    Make sure you do these changes before loading your settings.

    Published by: Liz Saunders January 8, 2013 15:52

  • How to create a subset of the names in the address book without having to type each name separately?

    When I used to use OE as my email client, it was possible to create "groups" in the address list, with the facility to send then to the group by name, so that each recipient included in the Group of email addresses all received the e-mail in question. (For example, the group named "IVG" consisted of six e-mail addresses, owned by six members of a discussion group, as I do, and I could send all at once simply email for IVG). Now, here's my question: in OE, I could fill the e-mail addresses of members of the Sub-group by simply selecting them in my list (s) global e-mail address. In TB, on the other hand, it seems that the only way to create a "new list" in the global list existing, is to type the address of each recipient by hand - an amazingly arduous task if the subgroup is of any size. And it is not clear that, even when the "new list" is over, it can be used as a "mass mailing" vehicle like the subgroup could in OE. Can someone tell me, please, if and how I can compile a subgroup within the address list of TB in the same way that I have described for OE? (And I can deal with just like a 'name' to send e-mails to all members of the subgroup, as described above?)
    Ian Stewart
    [email protected]

    Start typing and it will automatically complete. If you do not have to type a lot.

    Or create your mailing list, close it, and then drag and drop contacts on its icon.

    As you describe with OE, use the name of the mailing list replaces the addresses it represents. You can of course just select from your address book as any regular Contact entry.

    A significant limitation of the mailing list of Thunderbird, it is that it must be created in an address book with the Contacts he made reference. In other words, if you generate a list in the PAB, it must contain only the Contacts appearing in the personal address book. If you create an entry in a mailing list that is not in his address book parent, a new minimum Contact entry will be automatically created in this address book parent. Put in official terminology, a mailing list is a subset of the address book of its parent.

Maybe you are looking for

  • Installation of Windows XP on new machines

    Hey, does anyone know if the latest machines Toshiba supports the installation of Windows XP,It is commonly accepted to support only Windows 7 and OS later? I tried to install Windows XP Pro SP3, 2008 version on the machine Satellite C660 released in

  • Updates to DirectX 11?

    He says I have Directx version 11.  Are there updates Directx 11 that I may have missed?  How would I get them?  I can't play a few games because it says d3dx9_42.dll is missing... .and XINPUT1_3.dll is missing. Any help would be greatly appreciated.

  • Location of Windows Mail

    Where are my e-mail files stored in Windows Mail?  I could find them in Outlook Express and change their location (from the default longassed directory) using tools, Options, maintenance, store folder but cannot find the parallel in Windows Mail.  In

  • I want to increase the performance of the PC using Readyboost

    Here are my stats to computer Windows vista home (32-bit) sp2 Intel Pentium Dual CPU E2160 @ 1.80 Ghz 2 GB of RAM now I want to increase the performance of the pc using readyboost How can I do also how can I get the max of readyboost performance is t

  • I get a message "McAfee security Center has stopped working a few seconds, what should I do?

    I get a message "McAfee security Center has stopped working a few seconds, what should I do? I have installed all updates.