Results 1 to 3 of 3

Thread: TypeSendEx Problem

  1. #1
    Join Date
    Oct 2010
    Posts
    1,255
    Mentioned
    0 Post(s)
    Quoted
    15 Post(s)

    Default TypeSendEx Problem

    Simba Code:
    procedure TypeSendEx(Text: string; PressEnter: Boolean);
    var
      I: Integer;
    begin
      for i := 1 to Length(Text) do
      begin
        {$IFDEF SIMBAMAJOR980}
        SendKeys(Text[i], 40 + Random(40));   // Invalid number of parameters here
        {$ELSE}
        SendKeys(Text[i], 30 + Random(30), 30 + Random(30));
        {$ENDIF}
        Wait(40 + Random(40));
      end;

      if (PressEnter) then
        TypeByte(VK_RETURN);
    end;
    I'm back

  2. #2
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    This was fixed shortly after that was committed. It only happened when the script used SMART.

    E: Actually, if you have that version of TypeSendEx, you shouldn't get that error. That function was updated after the fix for that error was made.
    Last edited by Coh3n; 02-15-2012 at 09:49 AM.

  3. #3
    Join Date
    Oct 2010
    Posts
    1,255
    Mentioned
    0 Post(s)
    Quoted
    15 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    This was fixed shortly after that was committed. It only happened when the script used SMART.

    E: Actually, if you have that version of TypeSendEx, you shouldn't get that error. That function was updated after the fix for that error was made.
    Nah don't worry, I'm just an idiot.

    I was using a legacy script that I changed SRL over to .simba but not still had SMART as .scar, and in one of the latest updates, the TypeSend or something changed in SMART.simba.

    All good now. resolved.
    I'm back

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •