Announcement

Collapse
No announcement yet.

Two questions please?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Two questions please?

    Hey, i know i sound like a newbie but hey. Could you guys help me in just two simple things ?
    1. Copy text from the whole input (I tried Input.SetSelection and then Input.Copy, they didn't work)...
    2. Cancel/Delete/Erase 1 character from an input (I tried Input.SetSelection and then Input.Delete, they didn't work)...

  • #2
    using clipboard plugin;
    Code:
    sText = Input.GetText("YourInput");
    Clipboard.CopyText(sText);
    
    CBText = Clipboard.GetText();
    Input.SetText("MyInput", CBText);


    Code:
    tSel = Input.GetSelection("YourInput");
    Input.Cut("YourInput", tSel)



    Only For Test

    Comment


    • #3
      Originally posted by herrin View Post
      using clipboard plugin;
      Code:
      sText = Input.GetText("YourInput");
      Clipboard.CopyText(sText);
      
      CBText = Clipboard.GetText();
      Input.SetText("MyInput", CBText);


      Code:
      tSel = Input.GetSelection("YourInput");
      Input.Cut("YourInput", tSel)



      Only For Test
      Thanks so much! I'll try looking for the clipboard plugin. I'd greatly appreciate it if you linked me your source project and the clipboard plugin ♥

      Comment


      • #4
        Clipboard action plugin 2.0.1.0



        Code:
        [ATTACH]n304046[/ATTACH]

        Comment


        • #5
          Originally posted by herrin View Post
          Clipboard action plugin 2.0.1.0



          Code:
          [ATTACH]n304046[/ATTACH]
          Thank you so much.

          Comment


          • #6
            But the delete 1 character script isn't working though...

            Comment


            • #7
              example work fine


              Code:
              [ATTACH]n304052[/ATTACH]

              Comment


              • #8
                Originally posted by herrin View Post
                example work fine


                Code:
                [ATTACH]n304052[/ATTACH]
                Thanks so much i really appreciate your patience.

                Comment

                Working...
                X
                😀
                🥰
                🤢
                😎
                😡
                👍
                👎