Skipping past a quote when typing property values?

Hi,
A GIVEN: In the mxml editor, when one enters in part of a property, e.g. "te" in "text",  FlashBuilder can complete it by hitting the carriage return, and we get text="".  We land between the quotes, and then one can type in value.
QUESTION: when done typing in the value, how does one get out of the quotes without using the right-arrow key, to enter the next property?   I'm watching a video where I see a guy do this all the time (can tell he isn't using the arrow key, because his cursor immediately goes to where he can enter the next property, without landing immediately to the right of the quote, as one does with the arrow key).  He's also darn fast, can't keep up!
Thanks

Set the beans propertie values to null in the constructor [If it is in pagecode]
and in the jsp use binding
Like for example:in the constructor of the pagecode
public Some(){
if((getFacesContext().getExternalContext().getRequestParameterMap().isEmpty()) || (getFacesContext().getExternalContext().getRequestParameterMap().containsKey("parkPlanFrm:prePlanName"))){
ValueBinding vb = getFacesContext().getApplication().createValueBinding("#{bean}");
Bean pcBean = new Bean()
pcBean = (Bean)vb.getValue(getFacesContext());
pcBean.getParkPlanCountyMenu().setSubmittedValue("select");
pcBean.getParkPlanCountyMenu().setValue(null);
vb.setValue(getFacesContext(), pcBean);               
IN THE JSP:
<h:inputText id="parkPlanPpn" styleClass="inputText" maxlength="15" size="15"
value="#{bean.prePlanNumber}" binding="#{bean.parkPlanPpn}" size="15">
</h:inputText>
Here *value="#{bean.prePlanNumber}"* is from the Managed Bean
*binding="#{bean.parkPlanPpn}"* is from PageCode
Ravi

Similar Messages

  • What causes double letters skips and wrong letters when typing

    Os 10.9.5
    Tried a new keyboard and still get skips, double letters, and wrong letters non adjacent to the intended key.

    Boot into Safe Mode, Mac OS X: Starting up in Safe Mode, and see if the problem persists there.  If not then reboot normally and try again.

  • Spaces in property values result in values bein enclosed in quotes (Linux)

    G'day,
    I couldn't find this mentioned in the bugs database (or anywhere else) so it might be a new bug.
    If a property value in a JNLP descriptor contains spaces then the resulting property value returned by System.getProperty() is enclosed in quotes, e.g.
    <property name="jnlp.blah" value="foo bar"/>
    results in System.getProperty("jnlp.blah") returning the value +{color:#ff0000}"{color}foo bar{color:#ff0000}"{color}+ instead of the expected foo bar (without quotes).
    In the Java console I see the following:
    jnlpx.vmargs = {color:#ff0000}"{color}-Xmx512m -Xms256m ... -Djnlp.blah={color:#ff0000}\"{color}foo bar{color:#ff0000}\"{color} ... {color:#ff0000}"{color}
    This only affects Linux (tested with JRE 6.0_20 on Ubuntu 10.04). The same JNLP launched with Java Web-Start on Windows (JREs 6.0_12 & 6.0_21 on Vista) produces the following:
    jnlpx.vmargs = -Xmx512m -Xms256m ... {color:#ff0000}"{color}-Djnlp.blah=foo bar{color:#ff0000}"{color} ...
    So, the problem stems from the way property values with spaces are handled by the Linux implementation of the JRE.
    Has anyone else come across this behaviour?
    Regards,
    Chris.

    G'day,
    AndrewThompson64 wrote:
    If there is one, the best thing to do is raise a bug report, but first you'll need a test case.
    Something with source, JNLP and build file provided. In fact, if you can produce that in a Zip archive available on the net, I can download it and run it both Win 7 & Ubuntu for a further test. Good call - narrowing down a test-case helped me pin down the problem.1. Download the test-case here.
    2. Unzip to /tmp:
    cd /tmp
    unzip JnlpPropertyWithSpacesBug.zip
    3. Test 1:
    javaws file:///tmp/JnlpPropertyWithSpacesBug/test.jnlp
    This should result in the message: System.getProperty("jnlp.my.property") returns null
    This is the correct result.
    4. Test 2:
    javaws /tmp/custom.jnlp
    On Linux, this should result in the message: +System.getProperty("jnlp.my.property") returns {color:#ff0000}"{color}should not be enclosed in double-quotes{color:#ff0000}"{color}+
    This result is incorrect (shouldn't have double quotes).
    Note that custom.jnlp is a customized version of JnlpPropertyWithSpacesBug/test.jnlp:
    1. attributes have been added to the java tag
    2. a property tag has been added for a secure property: sun.java2d.noddraw
    3. a property tag has been added for a jnlp property: jnlp.my.property
    All three are needed to produce the bug. It only occurs on when the Linux JRE is used (6.0_20; Ubuntu 10.04).
    This simulates the situation in which a custom JNLP descriptor is dynamically generated, e.g. to invoke the application with custom system properties.
    There will be extra chance of test results if you can provide a link directly to the JNLP file on the net. The test case would need to be small and sand-boxed, of course.Any suggestions as to where you can freely host Java Web-Start applications?
    Thanks,
    Chris.
    Edited by: cpudney on Aug 18, 2010 2:06 PM

  • "Property value is not valid" when PropertyGridView tries to convert a string to a custom object type.

    Hi,
    I have a problem with an PropertyGrid enum property that uses a type converter.
    In general it works, but when I double clicking or using the scoll wheel,  an error message appears:
    "Property value is not valid"
    Details: "Object of type 'System.String' cannot be converted to type 'myCompany.myProject.CC_myCustomProperty."
    I noticed that the CommitValue method (in PropertyGridView.cs) tries to convert a string value to a CC_myCustomProperty object.
    Here is the code that causes the error (see line 33):
    (Using the .net symbols from the PropertyGridView.cs file)
    1
            internal bool CommitValue(GridEntry ipeCur, object value) {   
    2
    3
                Debug.WriteLineIf(CompModSwitches.DebugGridView.TraceVerbose,  "PropertyGridView:CommitValue(" + (value==null ? "null" :value.ToString()) + ")");   
    4
    5
                int propCount = ipeCur.ChildCount;  
    6
                bool capture = Edit.HookMouseDown;  
    7
                object originalValue = null;   
    8
    9
                try {   
    10
                    originalValue = ipeCur.PropertyValue;   
    11
    12
                catch {   
    13
                    // if the getter is failing, we still want to let  
    14
                    // the set happen.  
    15
    16
    17
                try {  
    18
                    try {   
    19
                        SetFlag(FlagInPropertySet, true);   
    20
    21
                        //if this propentry is enumerable, then once a value is selected from the editor,   
    22
                        //we'll want to close the drop down (like true/false).  Otherwise, if we're  
    23
                        //working with Anchor for ex., then we should be able to select different values  
    24
                        //from the editor, without having it close every time.  
    25
                        if (ipeCur != null &&   
    26
                            ipeCur.Enumerable) {  
    27
                               CloseDropDown();   
    28
    29
    30
                        try {   
    31
                            Edit.DisableMouseHook = true;  
    32
    /*** This Step fails because the commit method is trying to convert a string to myCustom objet ***/ 
    33
                            ipeCur.PropertyValue = value;   
    34
    35
                        finally {   
    36
                            Edit.DisableMouseHook = false;  
    37
                            Edit.HookMouseDown = capture;   
    38
    39
    40
                    catch (Exception ex) {   
    41
                        SetCommitError(ERROR_THROWN);  
    42
                        ShowInvalidMessage(ipeCur.PropertyLabel, value, ex);  
    43
                        return false;  
    44
    I'm stuck.
    I was wondering is there a way to work around this? Maybe extend the string converter class to accept this?
    Thanks in advance,
    Eric

     
    Hi,
    Thank you for your post!  I would suggest posting your question in one of the MS Forums,
     MSDN Forums » Windows Forms » Windows Forms General
     located here:http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=8&SiteID=1.
    Have a great day!

  • I recently got an iphone 5S and my songs not purchased from iTunes are grayed out (phone only) and are skipped past when playing them through my iPhone.

    I recently got an iphone 5S and my songs not purchased from iTunes are grayed out (phone only) and are skipped past when playing them through my iPhone. i have tried the following:
    1) Removing all music from phone and resynced to iTunes PC library.
    2) Erased phone and restored from back up
    3) Erased phone and started as a new iPhone
    4) Reformated the music files in my library that weren't playing
    5) Deleted songs from iPhone and computer and re-imported CDs
    6) Tried to redownload my COMPLETE MUSIC LIBRARY from iCloud.
    7) I have also turned it off and turned it back on several times
    8) I tried syncing through my macbook (only moved partial songs to it to see if it would even work).
    9) I have tried to get Siri to play them, did not work.
    10) All music does play fine on my iPod Touch 3rd (iOS6 i think) gen and iTunes on Mac and PC
    11)  I added a CD to my roommates iTunes and it plays on their iPhone 5S but not mine.
    After all of these things it is now WORSE!!!  My iTunes purchased songs are now experiencing the same issue along with some (not all) of the original music files that were skipping and grayed out.  My conclusion is i have no clue at this point!  I have done everything i have found online in EVERY discussion, i have spent over 60 hours trying to get this to work and i am asking myself, i bought this product why am having to fix this when it worked just fine on my iPod touch (3rd Gen) and iPod Classic!!!!  PLEASE APPLE FIX THIS ISSUE FOR US!!!! 

    I had this problem too after i upgdatd to OS X Mavericks... only the songs on my iphone 5s that i purchased from itunes would play.
    i read something about it being a syncing issue. when you plug your phone into your computer with the usb cable, the person said to switch from automatic syncing of itunes to the "manual" option. mine was already set to manual so i wasn't sure anything would work. BUT, when i plugged my phone into my computer, it started to sync all of my music on my phone again (top of itunes bar where song playing/time is listed said "now syncing 123/534 songs to x's iphone"). once that was completed, i checked the music app on my iphone and everything was back to normal!
    so, i would suggest setting your music syncing settings to manual if you haven't tried that yet!
    hope this helps!

  • I own acrobat 9 pro and had to re-download the program from a computer issue but when i get the serial code from the adobe website it give me serial code invalid error.  i am using copy and paste to prevent miss typing the code.

    i own acrobat 9 pro and had to re-download the program from a computer issue but when i get the serial code from the adobe website it give me serial code invalid error.  i am using copy and paste to prevent miss typing the code.

    Hi Lawrence,
    Please try the steps mentioned in the KB: https://helpx.adobe.com/creative-suite/kb/error-invalid-serial-number-acrobat.html
    Regards,
    Rave

  • HT203167 I've downloaded the Now Christmas album, all but 1 song has been downloaded and put in my library.  The list says it's there but when I go to play it, iTunes skips past it and goes to the next song.  I have downloaded lastest version of iTunes.

    I have purchased and downloaded the Now Christmas album to my iTunes libary and all but 1 song have been purchased.  The song appears in my library but when I go to play it iTunes skips past it and goes to the next song.  It wouldn't normally bother me but its the only song my son wants to hear all the time (hopefully the heart strings will be pulled here and someone will reply before Christmas to help me!)  I've loaded the last verison of iTunes.

    Will the media file play with Quicktime Player? If it will then it's an iTunes issue. If it won't then you need to delete the file and download it a second time.

  • I am facing problem while accessing property value when i include a component inside another

    Hi Everyone,
    I am unable to access property value of richtext of a compoent that is included in another compoent.
    I have created a compoentA at following location myProject/components/componentA.
    I then created componentB at this location myProject/components/componentB
    ComponentB contains a design_dialog that has a richtext widget with following properties:-
    xtype=richtext
    name=./description
    titile=productdescription
    I have then included componentB in componentA.jsp using <cq:include path="productdescription" resourceType="myProject/components/componentB" />.
    I have then dropped componentA on a page. In design mode i could see the edit dialog for componentB and on edit I could see the rich text, but when i am trying to access the values entered in richtext inside componentB.jsp i am getting null/default value.
    <%=properties.get("description","Description not present")%>
    Can any one tell me why the property is not accessible on the included component.
    Thanks

    What is the tree structure created for the property of the componentB?
    Can you try the below code in your componentB jsp and check whether you are getting the property value
    Resource resource = slingRequest.getResource();
    String description = ((String) ResourceUtil.getValueMap(resource).get(
                        "./description", String.class));

  • When typing my letters skip! help!

    Hey guys, i recently bought i macpro and it has been awesome. the only thing though is that recently, whenever i type, the letters skip! For instance, i'm typing a sentence and the typing cursor would suddenly appear in the middle of the sentence disrupting me.
    The problem isnt that bad. But it gets annoying when it happens. i was wondering whether there's something wrong with my computer maybe?
    The last computer i used had this problem real bad. (it was a non-apple, that was one of the reasons i changed) So i really hope i can get some advice on this problem.
    Thanks and happy chinese new year.
    Cheers,
    Errol

    Errol….This may be of some help….When using my new MBP and being used to the old one, I noticed the same thing happening to me, and it was actually a physical problem not software. I was not used to the larger surface area of the mousepad, and when I typed as I would sometimes allow my palms to inadvertently tap the mouspad moving the cursor around the keyboard. Simply becoming more conscious about it when typing and being sure not to wrest my palms anywhere near the pad solved it for me. Hopefully it works for you, again if thats the same issue. Best of luck

  • Revolve 810 G1 Keyboard skips characters when typing

    Hi all, Just got a brand new HP Revolve 810 G1 tablet/laptop (12GB memory 256GB SDD). Things are otherwise smooth, but there is extremely annoying problem of keyboard dropping / skipping / losing some of the characters when typing. It appears randomly, not any specific keys or combos. Up till now in this post it has skipped about 10 characters. It doesn't require fast typing, even in the Win 8 start-menu, when searching for an app and then hitting enter to start the app, it might not react on the enter press. This is just an example, letters are missing from anywhere where I type. I type quite fast and know that I am hitting the correct keys. Disabling the touchpad does not help, so it is not that I would accidentally touching it during typing. I have updated BIOS, restored OS to factory state (HP Full Recovery), switching to English OS localization, installed all Windows Updates - no help. This makes working a pain, it's not feasible to chat or type document when you have to backspace all the time to fix the mistakes that you did not make. HP Support Assistant is not finding any more updates, product number is H5F12EA#AK8,WIn 8 Pro 64-bit. I have installed a 8GB SODIMM under the back cover, replacing the included 4GB chip. Will run a memtest overnight. Anybody seeing the same?? tonttuz 

    Welcome to the HP forum, Tonttuz. If you have adjusted the keyboard speed properties, updated the drivers, and done all the usual, thenIt could be keylogger malware - run a deep scan and make sure you are the only watching what you typeIt could be another program slowing down the system and interfering with your input - check the Task Manager and look for "hogs" -- programs that are running with a high cpu / network / disk consumption and stealing resources.It could be hardware - the system is new, but its construction may not be flawless -- Call HP=====================================================================================It could be that the drivers, though updated, are not being read from disk - instead they may be tangled in the memory and not being read properly. You might consider, without any grand hopes of success, applying a Forced Reset: Forced Reset flushes out the persistant boot-to-boot software and driver instructions from memory and forces the system to go back to the disk to read the software and drivers from the disk Operating System. Forced Power Reset Performing a Hard Reset or Forced Reset The Power Reset cannot tell the difference between drivers - it does not analyze a driver or software program before applying it.  It assumes all the drivers and software on your computer belong there. This is a Driver Reset; this is NOT the Windows 8 Reset that installs the Operating System.  This procedure does not wipe out your files nor does it destroy your Windows setup in any way. EXAMPLE:If the driver software on disk is incorrect or if the driver software is corrupt, it will still be incorrect or corrupted after the Reset.If the driver INSTRUCTIONS are tangled, messed up, or there are bits missing from those instructions, then the Reset may fix the problem. Why a Power Reset works to fix some issues: The Power Reset does not install anything on your computer, the Power / Hard Reset does not remove programs or personal data from your computer, and the Power Reset does not change the settings on your computer.  Your data and programs remain as they were before the reset was applied.  The Reset drains out the old program instructions from the memory and forces the computer go to the on disk Operating System to get new instructions. Why a Power Reset might Not Work:If the issue is more than just entanglement, if the "good instructions" on the computer are not good enough -- that is, you need an update, a new driver, or there is a problem that cannot be "untangled", then the Reset will not work. If there is a hardware problem the Power Reset will not work.==================================================================================== If you want to contact HP directly, you may use the following: Contact HP - Worldwide Contact HP – USA - Phone Assistance  Warranty Required – USA and CanadaUSA – Contact HP // Self-Help – Email - Chat  Good Luck!  

  • Anyone with a MBP that doesn't skip first character when typing?.....

    Following up on a discussion on another thread: http://discussions.apple.com/thread.jspa?messageID=5930108&#5930108 about disfunctional keyboards on some MBP, just want to see how many MBP owners have no problems with either missing 1st characters when typing or any keyboard malfunctions. (These could be as simple as having to repeat a save /copy/etc.....command or having to press the spacebar again in some audio applications or any similar situation.)
    Thanks
    Ray
    Message was edited by: RayS

    Ledgem wrote:
    In my case the backlit keyboard feature was already disabled in the preferences and the problem still existed. I noted that if you disable it through the F keys it also disables it in the prefs, even if the prefs are open. Given that, I can't imagine it'd make a difference whether you disable it via clicking the box or using the F keys, but I'll try it out.
    Also, I can't view the thread that you posted due to not having permission. But it's nice to know that the issue is being examined and a fix may be available in the near future.
    Although you are right about the pref settings and the F keys relationships the opposite is not true.....if you disable the backlighting thru the system prefs you cannot reinstate them thru the Fkeys while the reverse can be done...still its now been 4hrs since I did this and I have yet to note a missed 1st key...as I use pro audio apps for show playback, I had a few instances where I would miss a cue when using the spacebar, but today, all seems fine after disabling thru system prefs. As I said this may be far fetched and may be nothing more than just coincidence. Please report back after testing on your system....
    thanks
    Ray

  • Can I make a special character appear when typing?

    Hi everybody.
    I have a form with a text field provided with a validation script, which allows the user only to enter values in the format 999999-9999. The script is places on the exit event.
    var myRegex = /\d{6}\-\d{4}/;
    var
    singleDigits = [0,1,2,3,4,5,6,7,8,9];
    If the format is not correct, the user will get an error-message.
    Now I would like the hyphen to appear automatically when typing. That means when the user has typed 123456 it will display as 123456-, ready to enter the last four characters.
    Is that possible.
    Kirstine
    P.S. I know I can make that (almost) happen if I make the field a numeric field, but for several reasons this is not an option.

    Here is a little script that can do what you are looking for..
    Place the script in the Change event of the Text Field and set the Max chars property to 11 for the Text Field.
    // restrict entry to digits and a dash
    if (xfa.event.change.match(/[0-9\-]/) == null)
        xfa.event.change = "";
    // Allow the hyphen at the 7th character only
    if (xfa.event.change == "-" && xfa.event.selEnd != 6)
        xfa.event.change = "";
    // If the 7th character is a digit, and they're typing at the end, insert the hyphen
    if (xfa.event.change.match(/[0-9]/) != null &&
        xfa.event.newText.length == 7 &&
        xfa.event.selEnd == 6) 
        xfa.event.change = "-" + xfa.event.change;
    // don't allow any characters past 10 (11 with a hyphen)
    var vMax = 10;
    if (xfa.event.newText.indexOf("-") != -1)
        vMax = 11;
    Thanks
    Srini

  • Pasting smart quotes and apostrophes in code view.

    Sine upgrading to Dreamweaver CS5, I haven't been able to copy/paste smart quotes and apostrophes into code view without them automatically being converted to straight quotes.
    For example, the following sentence (notice the curly quotes):
    John’s new song is called “DW Blues”
    would get pasted into Code View as:
    John's new song is called "DW Blues"
    Notice the smart quotes and apostrophe are replaced with single and double ticks, or "straight quotes."  While this seems like a minor detail, it's extremely important to our writers and editors to have them appear on the website exactly as typed.
    If I do the same copy/paste in Design View (doc type is XHTML Transitional), it appears as:
    John's new song is called &quot;DW Blues&quot;
    The characters are still replaced, and the straight quotes are then entity encoded (as expected).
    This doesn't happen with other valid UTF-8 characters like ™, ®, —, etc., or with any other code editors I've used, including DW CS3.
    Is there a hidden preference somewhere to disable this "feature," or is it just a bug?
    Please help!

    It's now 4 years since jsparacio posted this, and I just wanted to let everyone know that I had -- and am still having -- the exact same problem with Dreamweaver CS5 (running first under Windows XP, then Windows 7, and now again with Windows 8.1). So it's not just Macs that are affected.
    FWIW, I have set my DW CS5 Paste preferences to the 3rd of 4 options available
        1 - Text Only
        2 - Text With Structure
        3 - Text With Structure Plus Basic Formatting
        4 - Text With Structure Plus Full Formatting
    in the EDIT > PREFERENCES > Copy/Paste Preferences dialog box.
    But the Paste Special command ignores this setting, giving me only the first 2 options from which to choose, with option 2 the default selection for Paste Special operations (options 3 and 4 are grayed out, and can't be selected).
    According to David Sawyer McFarland's _Dreamweaver CS5: The Missing Manual_ (O'Reilly Media, 2010), the reason these are grayed out is because I am pasting unformatted ASCII text which I generated in a program editor called "UltraEdit":
        "... Choose EDIT > PASTE SPECIAL to open the Paste Special window. Here, you can choose which of the four techniques you wish to use ... sort of. You're limited to what Dreamweaver can paste. For non-Microsoft Office products, you can use only the first two options--the others are grayed out--whereas you can choose from any of the four with text copied from Word or Excel." (McFarland, p. 81)
    Regardless of such restrictions, standard copy-and-paste (CTRL+C followed by CTRL+V) works just fine for me using Dreamweaver CS4 (i.e., I have never needed to use the Paste Special command), but with DW CS5, neither Paste command (CONTROL+V or CTRL+SHIFT+V) works properly with typographic/curly/smart quotes.
    All typographic quotes -- ASCII-0146 and ASCII-0147 (double quote marks); plus ASCII-0145 and ASCII-0146 (single quote marks, for quotes within a quote) -- are converted to inch (&quot; is entered in the code) and foot (' is entered in the code) marks when I copy-and-paste text with these characters into Dreamweaver's Design View.
    When I copy this same plain ASCII text directly into the code (rather than using Design View), typographic double open & close quotes are converted to the inch (") mark, and typographic single open & close quotes are converted to the foot (') mark.
    The beginning of this week, I installed Dreamweaver CS5, ver. 11.0, Build 4909 under Windows 8.1 OS on my new Ultrabook. I was hoping that under Windows 8.1, DW CS5's handling of typographic quotes might improve so that I can actually use this program that I purchased 4 years ago. Alas, no such luck: I continue to have the same problem I had when I first upgraded to Dreamweaver CS5 back in August 2010 (then running under Windows XP on my desktop computer).
    Back in August 2020, when I first asked about fixes, I was told to change the Title/Encoding setting of Page Properties to "Western European" -- which I tried, but it didn't work then, and it doesn't work now ... and even if it did, it wouldn't be a proper fix for the problem as I have plenty of good reasons for wanting my HTML page Title/Encoding set to Unicode (UTF-8), not Western European ("charset=iso-8859-1").
    The ability to copy-and-paste typographic quotes is such a big deal for me that I chose back in August 2010 to revert to Dreamweaver CS4, which I've been using ever since.
    It is *very* frustrating that, 4 years later, I still can't use this program, and shall be reverting to DW CS4, yet again.
    I continue to be completely flummoxed by this. Every other program with which I am familiar converts non-typographic quotes to typographic/curly/smart quotes ... never have I seen the process automated in reverse!

  • [ASK] Get One Row of Property Value From Dimension in Script Logic

    Hello, i need help about how to get one row of property value from dimension in script logic.
    Let say there is CATEGORY dimension and the members are like this :
    ID                                                  YEAR   Status
    PLAN_2011                                   2011        A
    PLAN_2011_V1                            2011        I
    ACTUAL_2011                              2011        I
    FORECAST_2011                         2011        I
    FORECAST_2011_V1                  2011        A
    PLAN_2012                                  2012        A
    PLAN_2012_V1                           2012        I
    ACTUAL_2012                             2012        I
    FORECAST_2012                         2012        I
    FORECAST_2012_V1                  2012        A
    If i scope CATEGORY like this :
    *XDIM_MEMBERSET CATEGORY = [CATEGORY].PROPERTIES("YEAR") = "2011"
    Then i will get member scope like this :
    PLAN_2011                                   2011        A
    PLAN_2011_V1                            2011        I
    ACTUAL_2011                              2011        I
    FORECAST_2011                         2011        I
    FORECAST_2011_V1                  2011        A
    Question :
    In script logic, how can i read the second record of scope and move it to variable ?
    Ex. : I read second record, so i can get the data of second record (PLAN_2011_V1, 2011, A).
    Is there any function to read all record that had been scope ? So i can read all those 5 records.
    Is there any substring or offset function in script logic ? How to use it ?
    Thank you.

    Hi,
    Firstly, when we scope the logic, it doesnt fetch the entire record from the member sheet. It just fetches the ID.
    Secondly, we dont have the feasibility to read only the second ID and skip the others. However, one alternative is that you use the SELECT statement to store all the IDs in a variable, and then use a FOR loop. But this will loop through all the 5 IDs, as per your example. If you want to skip all the IDs except one, you should maintain some property, so that all the IDs are neglected which doesnt have a particular property value.
    Hope you got the idea.

  • HT3964 When typing into forms, such as filling out a contact sheet on a website, my first few letters will not appear when i start typing. For example, if I wanted to type "explanation", i might end up with "laxation". This happens in all browsers.

    When typing into forms, such as filling out a contact sheet on a website, my first few letters will not appear when i start typing. For example, if I wanted to type "explanation", i might end up with "laxation". This happens in all browsers.
    If i backspace everything and start typing again in the same area, it will work properly the second time.
    I am using a ~7 month old macbook air with mavericks.
    Any tips to get rid of this issue would be greatly appreciated.

    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve your problem.
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    3. Below are instructions to run a UNIX shell script, a type of program. All it does is to gather information about the state of your computer. That information goes nowhere unless you choose to share it on this page. However, you should be cautious about running any kind of program (not just a shell script) at the request of a stranger on a public message board. If you have doubts, search this site for other discussions in which this procedure has been followed without any report of ill effects. If you can't satisfy yourself that the instructions are safe, don't follow them. Ask for other options.
    Here's a summary of what you need to do, if you choose to proceed: Copy a line of text from this web page into the window of another application. Wait for the script to run. It usually takes a few minutes. Then paste the results, which will have been copied automatically, back into a reply on this page. The sequence is: copy, paste, wait, paste again. Details follow.
    4. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
    5. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply.
    6. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking  anywhere in the line. The whole line will highlight, though you may not see all of it in your browser, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
    Triple-click anywhere in the line of text below on this page to select it:
    PATH=/usr/bin:/bin:/usr/sbin:/sbin; clear; Fb='%s\n\t(%s)\n'; Fm='\n%s\n\n%s\n'; Fr='\nRAM details\n%s\n'; Fs='\n%s: %s\n'; Fu='user %s%%, system %s%%'; PB="/usr/libexec/PlistBuddy -c Print"; A () { [[ a -eq 0 ]]; }; M () { find -L "$d" -type f | while read f; do file -b "$f" | egrep -lq XML\|exec && echo $f; done; }; Pc () { o=`grep -v '^ *#' "$2"`; Pm "$1"; }; Pm () { [[ "$o" ]] && o=`sed -E '/^ *$/d; s/^ */   /; s/[-0-9A-Fa-f]{22,}/UUID/g' <<< "$o"` && printf "$Fm" "$1" "$o"; }; Pp () { o=`$PB "$2" | awk -F'= ' \/$3'/{print $2}'`; Pm "$1"; }; Ps () { o=`echo $o`; [[ ! "$o" =~ ^0?$ ]] && printf "$Fs" "$1" "$o"; }; R () { o=; [[ r -eq 0 ]]; }; SP () { system_profiler SP${1}DataType; }; id -G | grep -qw 80; a=$?; A && sudo true; r=$?; t=`date +%s`; clear; { A || echo $'No admin access\n'; A && ! R && echo $'No root access\n'; SP Software | sed '8!d;s/^ *//'; o=`SP Hardware | awk '/Mem/{print $2}'`; o=$((o<4?o:0)); Ps "Total RAM (GB)"; o=`SP Memory | sed '1,5d;/[my].*:/d'`; [[ "$o" =~ s:\ [^O]|x([^08]||0[^2]8[^0]) ]] && printf "$Fr" "$o"; o=`SP Diagnostics | sed '5,6!d'`; [[ "$o" =~ Pass ]] || Pm "POST"; p=`SP Power`; o=`awk '/Cy/{print $NF}' <<< "$p"`; o=$((o>=300?o:0)); Ps "Battery cycles"; o=`sed -n '/Cond.*: [^N]/{s/^.*://p;}' <<< "$p"`; Ps "Battery condition"; for b in Thunderbolt USB; do o=`SP $b | sed -En '1d;/:$/{s/ *:$//;x;s/\n//p;};/^ *V.* [0N].* /{s/ 0x.... //;s/[()]//g;s/(.*: )(.*)/ \(\2\)/;H;};/Apple|SMSC/{s/.//g;h;}'`; Pm $b; done; o=`pmset -g therm | sed 's/^.*C/C/'`; [[ "$o" =~ No\ th|pms ]] && o=; Pm "Thermal conditions"; o=`pmset -g sysload | grep -v :`; [[ "$o" =~ =\ [^GO] ]] || o=; Pm "System load advisory"; o=`nvram boot-args | awk '{$1=""; print}'`; Ps "boot-args"; a=(/ ""); A=(System User); for i in 0 1; do o=`cd ${a[$i]}L*/Lo*/Diag* || continue; for f in *.{cr,h,pa,s}*; do [[ -f "$f" ]] || continue; d=$(awk '/^D/{print $2; exit}' "$f"); [[ "$f" =~ h$ ]] && grep -lq "^Thread c" "$f" && e=\* || e=; echo $d ${f%_$d*} ${f##*.} "$e"; done | tail`; Pm "${A[$i]} diagnostics"; done; [[ "$o" =~ \*$ ]] && printf $'\n* Code injection\n'; o=`syslog -F bsd -k Sender kernel -k Message CReq 'GPU |hfs: Ru|I/O e|last value [1-9]|n Cause: -|NVDA\(|pagin|SATA W|ssert|Throt|timed? ?o' | tail -n25 | awk '/:/{$4=""; $5=""};1'`; Pm "Kernel messages"; o=`df -m / | awk 'NR==2 {print $4}'`; o=$((o<5120?o:0)); Ps "Free space (MiB)"; o=$(($(vm_stat | awk '/eo/{sub("\\.",""); print $2}')/256)); o=$((o>=1024?o:0)); Ps "Pageouts (MiB)"; s=( `sar -u 1 10 | sed '$!d'` ); [[ s[4] -lt 85 ]] && o=`printf "$Fu" ${s[1]} ${s[3]}` || o=; Ps "Total CPU usage" && { s=(`ps acrx -o comm,ruid,%cpu | sed '2!d'`); n=$((${#s[*]}-1)); c="${s[*]}"; o=${s[$n]}%; Ps "CPU usage by process \"${c% ${s[$((n-1))]}*}\" with UID ${s[$((n-1))]}"; }; s=(`top -R -l1 -n1 -o prt -stats command,uid,prt | sed '$!d'`); n=$((${#s[*]}-1)); s[$n]=${s[$n]%[+-]}; c="${s[*]}"; o=$((s[$n]>=25000?s[$n]:0)); Ps "Mach ports used by process \"${c% ${s[$((n-1))]}*}\" with UID ${s[$((n-1))]}"; o=`kextstat -kl | grep -v com\\.apple | cut -c53- | cut -d\< -f1`; Pm "Loaded extrinsic kernel extensions"; R && o=`sudo launchctl list | awk 'NR>1 && !/0x|com\.(apple|openssh|vix\.cron)|org\.(amav|apac|calendarse|cups|dove|isc|ntp|post[fg]|x)/{print $3}'`; Pm "Extrinsic daemons"; o=`launchctl list | awk 'NR>1 && !/0x|com\.apple|org\.(x|openbsd)|\.[0-9]+$/{print $3}'`; Pm "Extrinsic agents"; o=`for d in {/,}L*/Lau*; do M; done | grep -v com\.apple\.CSConfig | while read f; do ID=$($PB\ :Label "$f") || ID="No job label"; printf "$Fb" "$f" "$ID"; done`; Pm "launchd items"; o=`for d in /{S*/,}L*/Star*; do M; done`; Pm "Startup items"; o=`find -L /S*/L*/{C*/Sec*A,E}* {/,}L*/{A*d,Compon,Ex,In,iTu,Keyb,Mail/B,P*P,Qu*T,Scripti,Sec,Servi,Spo}* -type d -name Contents -prune | while read d; do ID=$($PB\ :CFBundleIdentifier "$d/Info.plist") || ID="No bundle ID"; [[ "$ID" =~ ^com\.apple\.[^x]|Accusys|ArcMSR|ATTO|HDPro|HighPoint|driver\.stex|hp-fax|\.hpio|JMicron|microsoft\.MDI|print|SoftRAID ]] || printf "$Fb" "${d%/Contents}" "$ID"; done`; Pm "Extrinsic loadable bundles"; o=`find -L /u*/{,*/}lib -type f | while read f; do file -b "$f" | grep -qw shared && ! codesign -v "$f" && echo $f; done`; Pm "Unsigned shared libraries"; o=`for e in INSERT_LIBRARIES LIBRARY_PATH; do launchctl getenv DYLD_$e; done`; Pm "Environment"; o=`find -L {,/u*/lo*}/e*/periodic -type f -mtime -10d`; Pm "Modified periodic scripts"; o=`scutil --proxy | grep Prox`; Pm "Proxies"; o=`scutil --dns | awk '/r\[0\] /{if ($NF !~ /^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./) print $NF; exit}'`; Ps "DNS"; R && o=`sudo profiles -P | grep : | wc -l`; Ps "Profiles"; f=auto_master; [[ `md5 -q /etc/$f` =~ ^b166 ]] || Pc $f /etc/$f; for f in fstab sysctl.conf crontab launchd.conf; do Pc $f /etc/$f; done; Pc "hosts" <(grep -v 'host *$' /etc/hosts); Pc "User launchd" ~/.launchd*; R && Pc "Root crontab" <(sudo crontab -l); Pc "User crontab" <(crontab -l | sed -E 's:/Users/[^/]+/:/Users/USER/:g'); R && o=`sudo defaults read com.apple.loginwindow LoginHook`; Pm "Login hook"; Pp "Global login items" /L*/P*/loginw* Path; Pp "User login items" L*/P*/*loginit* Name; Pp "Safari extensions" L*/Saf*/*/E*.plist Bundle | sed -E 's/(\..*$|-[1-9])//g'; o=`find ~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \) | wc -l`; Ps "Restricted user files"; cd; o=`SP Fonts | egrep "Valid: N|Duplicate: Y" | wc -l`; Ps "Font problems"; o=`find L*/{Con,Pref}* -type f ! -size 0 -name *.plist | while read f; do plutil -s "$f" >&- || echo $f; done`; Pm "Bad plists"; d=(Desktop L*/Keyc*); n=(20 7); for i in 0 1; do o=`find "${d[$i]}" -type f -maxdepth 1 | wc -l`; o=$((o<=n[$i]?0:o)); Ps "${d[$i]##*/} file count"; done; o=; [[ UID -eq 0 ]] && o=root; Ps "UID"; o=$((`date +%s`-t)); Ps "Elapsed time (s)"; } 2>/dev/null | pbcopy; exit 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    7. Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Click anywhere in the Terminal window and paste (command-V). The text you pasted should vanish immediately. If it doesn't, press the return key.
    8. If you see an error message in the Terminal window such as "syntax error," enter
    exec bash
    and press return. Then paste the script again.
    9. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know your password, or if you prefer not to enter it, just press return three times at the password prompt.
    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
    10. The test will take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line "[Process completed]" to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report your results. No harm will be done.
    11. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
    12. When you post the results, you might see the message, "You have included content in your post that is not permitted." It means that the forum software has misidentified something in the post as a violation of the rules. If that happens, please post the test results on Pastebin, then post a link here to the page you created.
    Note: This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
    Copyright © 2014 Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Terms of Use of Apple Support Communities ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

Maybe you are looking for