1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Size of keystack buffer?

Discussion in 'Support' started by Charles G, Nov 10, 2012.

  1. Charles G

    Joined:
    Apr 2, 2011
    Messages:
    1,007
    Likes Received:
    0
    Is there a limit to the number of keystrokes that can be fed to a program? I have this in the BTM:

    keystack /W500 alt-n alt-f "%cPFC" alt-o alt-n alt-n end up alt-n enter /W5400 alt-x

    Where %cPFC is a 60 char full filename - including path.
    It seems to work until the third alt-n. I have even tried changing the 5400 to a higher and lower num,ber but that doesn't change anyhting.
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,732
    Likes Received:
    81
    The maximum number of keystrokes you can feed with KEYSTACK is 32,767.

    You may have a problem with your app not being able to accept keystrokes at that rate -- try adding short waits.
     
  3. Charles G

    Joined:
    Apr 2, 2011
    Messages:
    1,007
    Likes Received:
    0
    Thanks Rex...
     

Share This Page