Jump to content
Macro Express Forums

Shift Key not always working (apparently)


Recommended Posts

I folks,

Has anyone had problems getting the wrong characters durring Text Type commands? For example it should type out:

(1) This is a notice of ABCD.

(2) And some other thing about Widgets Inc.

 

But I get different things like:

(10 this is a notice of AbcD.

920 And some other thing about widgets Inc.

 

It's a form-writing tool that I use in web-based File-Maker Pro 10... I have a hunch that has something to do with the problem.... Other than slowing down the macro more, does anyone have suggestions?

 

Thanks -steve

Link to comment
Share on other sites

Something is definitely wrong. Sounds like two macros are executing at the same time. Perhaps you have two files open? Perhaps nope of the key combinations is triggering another macro mid execution? Post a simple macro that demonstrates the problem so we can take a look at it.

Link to comment
Share on other sites

"AbcD" instead of "ABCD" involves the Shift key, where you are getting lower case and should be getting upper. "920" instead of (2) is the same thing, since the left and right parentheses are on the 9 and 0 keys.

 

Oddly, I have seen this problem when allowing ME to use the high-speed timer. It went away when I unchecked the high-speed timer box.

 

I also was able to resolve it by doing the following:

Instead of instruction (for example)

Text Type %T15%

use three commands to paste via the clipboard

Variable Modify String T15 Save to Clipboard

Text Type <CTRLD>v<CTRLU>

Wait for Text Playback

Link to comment
Share on other sites

Something is definitely wrong. Sounds like two macros are executing at the same time. Perhaps you have two files open? Perhaps nope of the key combinations is triggering another macro mid execution? Post a simple macro that demonstrates the problem so we can take a look at it.

 

Hi Cory, Thanks for the reply.

You were right, I had a call for another macro in it. I got rid of that, and added a couple of Wait for Text to Finish commands.

It works better now, though does still make the same error occasionally. Mostly it seems to be were the are parentheses around numbers (wierd). I'll just remove them.

 

Anyway, I'll paste the entire macro in.

Sheesh, can't paste now .... Keep getting the following:

 

 

Index Nickname Activations Scope Modified Category Last Run Time Notes

 

 

 

Gotta run right now. Thanks for the replies.. I see rberq has some ideas too. Will try tomorrow....

Link to comment
Share on other sites

Due to some optimizations, MEPro can push the keystrokes out a lot faster. If they get to be too fast, the OS will drop some (that is what you're seeing here).

 

The only way to fix it is to slow it down. By turning off the high-speed timer, you end up using a timer that has a resolution of 55ms (instead of some number of nanoseconds), essentially slowing down the text type rate. One other thing to try is to use a "Keystroke Speed" command and keep increasing the delay value until the errors disappear.

Link to comment
Share on other sites

...The only way to fix it is to slow it down. By turning off the high-speed timer, ...

 

Hi again,

I just wanted to put a follow up. Thanks again for your replies. Disabling the "use high-speed timer" option in the MEp prefs does seemed to have fixed the problem (though it makes the macro type painfully slow). I've pasted the macro code below for folks to play with or disect :) -steve

 

 

<LOCK PLAYER Wait="TRUE"/>

<COMMENT Value="=== Gets student name and gender and type of notice, then passes =====//"/>

<COMMENT Value="=== it to the appropriate variables to make a customized notice.=======//"/>

<COMMENT Value="================================================//"/>

<COMMENT Value="=== Get type of notice ===//"/>

<MULTIPLE CHOICE MENU Style="\x00" Result="\x01" Dest="%txtNotice%" Title="Type of Notice" Prompt="What is the written notice for?" Options="Re&ferral\r\nEval_Complete_&Qualifies\r\nEval_Complete_&DNQ\r\nUpcomming_&Reeval\r\nReeval_&Complete_Qualifies\r\n&Manny\r\n&Transfer" Left="Center" Top="Center" Monitor="0" Width="443" Height="296" OnTop="FALSE"/>

<COMMENT Value="=== Get name and gender ===//"/>

<VARIABLE SET STRING Option="\x01" Destination="%txtName%" Prompt="Enter Student's Name" Mask="FALSE" OnTop="FALSE" Left="Center" Top="Center" Monitor="0"/>

<MULTIPLE CHOICE MENU Style="\x00" Result="\x01" Dest="%txtSex%" Title="Male or Female?" Prompt="Is the Written Notice for a boy or a girl?" Options="&male\r\n&female" Left="Center" Top="Center" Monitor="0" Width="443" Height="296" OnTop="FALSE"/>

<COMMENT Value="== Assign appropriate gender ===//"/>

<IF VARIABLE Variable="%txtSex%" Condition="\x00" Value="&male" IgnoreCase="FALSE"/>

<VARIABLE SET STRING Option="\x00" Destination="%txtHeShe%" Value="he"/>

<VARIABLE SET STRING Option="\x00" Destination="%txtHimHer%" Value="him"/>

<VARIABLE SET STRING Option="\x00" Destination="%txtHisHer%" Value="his"/>

<END IF/>

<IF VARIABLE Variable="%txtSex%" Condition="\x00" Value="&female" IgnoreCase="FALSE"/>

<VARIABLE SET STRING Option="\x00" Destination="%txtHeShe%" Value="she"/>

<VARIABLE SET STRING Option="\x00" Destination="%txtHimHer%" Value="her"/>

<VARIABLE SET STRING Option="\x00" Destination="%txtHisHer%" Value="her"/>

<END IF/>

<COMMENT Value="=== Choose which office ===//"/>

<MULTIPLE CHOICE MENU Style="\x00" Result="\x01" Dest="%txtSchool%" Title="Which Office" Prompt="Which office is the contact point %txtName%'s parent?" Options="&XXX\r\n&YYY" Left="Center" Top="Center" Monitor="0" Width="443" Height="296" OnTop="FALSE"/>

<COMMENT Value="=== type the notice ===//"/>

<WAIT FOR WINDOW TITLE Title=" (Remote)" Partial="TRUE" Wildcards="FALSE" Indefinite="FALSE" Hours="0" Minutes="2" Seconds="0"/>

<DELAY Flags="\x01" Time="2"/>

<IF VARIABLE Variable="%txtNotice%" Condition="\x00" Value="Re&ferral" IgnoreCase="FALSE"/>

<TEXT TYPE Action="0" Text="This notice is to let you know that %txtName% has been made a focus of concern in regard to possible eligibility for an Individualized Education Program (IEP) through the department of special education.\r\n<TAB>With your written permission we will do testing to see if %txtName% meets Wa State eligibility. The permission form is valid for 35 school days from the time it is received, but we try to complete the evaluations sooner when possible. Please confirm on the attached 'Parent Consent' form whether you DO or DO NOT give permission for this eligibility evaluation and sign, then return it.\r\n<TAB>We could postpone %txtHisHer% evaluation to see if %txtHeShe% will start to improve without intervention.\r\n<TAB>It is believed that an evaluation is warranted at this time.\r\n<TAB>Report from staff and/or parents indicates that %txtName% has an apparent need for additional supports.\r\n<TAB>(1) This Notice might be redundant if we've already discussed it, but ABSD is still required to provide it.\r\n(2) The evaluation usually involves one or two hours of private testing during the school day as well as progress reports from teachers and staff.\r\n(3) If you have updated information that is relevant to the eligibility evaluation, please try to contact me.\r\n(4) When the eval is complete we'll need to have a meeting to go over the results. This meeting can be a telephone conference if that is most convenient for you. If %txtName% does qualify, we'll need to write an IEP for %txtHimHer%. You will need to then sign the IEP before any official special education services can begin.\r\n(5) Please call if you have any questions. "/>

<END IF/>

<IF VARIABLE Variable="%txtNotice%" Condition="\x00" Value="Eval_Complete_&Qualifies" IgnoreCase="FALSE"/>

<TEXT TYPE Action="0" Text="This notice is to let you know that %txtName%'s evaluation is complete and the results indicate that %txtHeShe% meets Wa State eligibility requirements for an Individualized Education Program (IEP).\r\n<TAB>This is based on the recent evaluation that was done for %txtHimHer%. Note that %txtHeShe% won't actually qualify untill we meet and go over the eval results.\r\n<TAB>This part of the form doesn't apply. We just need to go over the results and see about developing an IEP.\r\n<TAB>Not applicable.\r\n<TAB>Based on %txtName%'s evaluation.\r\n<TAB>(1) This Notice might be redundant if we've already discussed it, but ABSD is still required to provide it.\r\n(2) Please call if you have any questions. "/>

<END IF/>

<IF VARIABLE Variable="%txtNotice%" Condition="\x00" Value="Eval_Complete_&DNQ" IgnoreCase="FALSE"/>

<TEXT TYPE Action="0" Text="This notice is to let you know that %txtName%'s evaluation is complete and the results indicate that %txtHeShe% does not meet eligibility as a special education student.\r\n<TAB>This is based on the (attached) evaluation report.\r\n<TAB>No other options are applicable, based on the above information.\r\n<TAB>Not applicable.\r\n<TAB>Based on %txtName%'s evaluation.\r\n<TAB>(1) This Notice might be redundant if we've already discussed it, but ABSD is still required to provide it.\r\n(2)%txtName%'s potential eligibility can be revisited at a future time if appropriate.\r\n(3)Please call if you have any questions. "/>

<END IF/>

<IF VARIABLE Variable="%txtNotice%" Condition="\x00" Value="Upcomming_&Reeval" IgnoreCase="FALSE"/>

<TEXT TYPE Action="0" Text="This notice is to let you know that it's time to do %txtName%'s triennial re-evaluation.\r\n<TAB>Students who have Individualized Education Programs (IEPs) are required to have re-evaluations at least every three years to determine their current areas of need and what changes should be made to their IEPs. Please sign %txtName%'s attached permission form and we'll get started on the re-eval.\r\n<TAB>This is required by the Individuals with Disabilities Education Act (IDEA) law so there weren't any other options considered.\r\n<TAB>Not applicable.\r\n<TAB>This is based on our records.\r\n<TAB>(1) This Notice might be redundant if we've already discussed it, but ABSD is still required to provide it.\r\n(2) The re-eval usually involves one or two hours of private testing during the school day as well as progress reports from teachers and staff.\r\n(3) If you have updated information that is relevant to the re-eval, please try to contact me.\r\n(4) When the eval is complete we'll need to have a meeting to go over the results. This meeting can be a telephone conference if that is most convenient for you.\r\n(5) Please call if you have any questions. "/>

<END IF/>

<IF VARIABLE Variable="%txtNotice%" Condition="\x00" Value="Reeval_&Complete_Qualifies" IgnoreCase="FALSE"/>

<TEXT TYPE Action="0" Text="This notice is to let you know that %txtName%'s reevaluation is complete and the results indicate that %txtHeShe% continues to meet Wa State eligibility requirements for an Individualized Education Program (IEP).\r\n<TAB>This is based on the recent reevaluation that was done for %txtHimHer%.\r\n<TAB>This part of the form doesn't apply.\r\n<TAB>Not applicable.\r\n<TAB>Based on %txtName%'s attached reevaluation.\r\n<TAB>(1) This Notice might be redundant if we've already discussed it, but ABSD is still required to provide it.\r\n(2) Please call if you have any questions. "/>

<END IF/>

<IF VARIABLE Variable="%txtNotice%" Condition="\x00" Value="&Manny" IgnoreCase="FALSE"/>

<TEXT TYPE Action="0" Text="This is to notify you that we need to do a \"manifestation determination\" for %txtName%.\r\n<TAB>These are required by law when a student with an Individualized Education Program (IEP) gets removed from school for long periods due to discipline problems. The purpose is to determine if the discipline problems are caused by (i.e. a manifestation of) the disability and if any changes need to be made %txtHisHer% Individual Education Program (IEP).\r\n<TAB> It's required by the Individuals with Disabilities Education Act (IDEA) law, so no other options were applicable.\r\n<TAB> Not applicable.\r\n<TAB> This is based on %txtName%'s recent disciplinary information.\r\n<TAB> (1) This form might be redundant if we've already discussed this, but we are still required to provide it.\r\n(2) Please call if you have any questions. Note that we can also do meetings via telephone if it's more convenient. "/>

<END IF/>

<IF VARIABLE Variable="%txtNotice%" Condition="\x00" Value="&Transfer" IgnoreCase="FALSE"/>

<TEXT TYPE Action="0" Text="This \"Notice of Action\" is the ABSD's official notice to you that we have confirmed %txtName%'s eligibility for Individualized Education Program (IEP) services and will provide the services here.\r\n<TAB>This is based on the transfer paperwork from %txtHisHer% previous school.\r\n<TAB>No other actions are relevant because the transfer paperwork indicates that %txtHeShe% is eligible for the IEP services.\r\n<TAB>None.\r\n<TAB>This is based on the above-mentioned paperwork.\r\n<TAB>This notice may be redundant if we've already discussed the information, but ABSD is still required to provide it. Please call if you have any questions, "/>

<END IF/>

<WAIT FOR TEXT PLAYBACK Indefinite="FALSE" Hours="0" Minutes="0" Seconds="2"/>

<COMMENT Value="===Put the signature for chosen office ===//"/>

<IF VARIABLE Variable="%txtSchool%" Condition="\x00" Value="&XXX" IgnoreCase="FALSE"/>

<TEXT TYPE Action="0" Text="Stephen Kunkel, school psych for XXX Elem; Mon & Tuesdays nnn-nnnn."/>

<END IF/>

<IF VARIABLE Variable="%txtSchool%" Condition="\x00" Value="&YYY" IgnoreCase="FALSE"/>

<TEXT TYPE Action="0" Text="Stephen Kunkel, school psych for YYY; Wed & Thursdays nnn-nnnn."/>

<END IF/>

<WAIT FOR TEXT PLAYBACK Indefinite="FALSE" Hours="0" Minutes="0" Seconds="2"/>

<COMMENT Value="=== Type \"thanks\" at the end ============//"/>

<TEXT TYPE Action="0" Text=" Thanks."/>

<UNLOCK PLAYER/>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...