Rich4rd

If Clipboard contains many words

Aug 29th, 2020
2,116
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. F2::
  2. ;If Clipboard contains many words. English-Japanese notes
  3. Clipboard := ""
  4. Send, ^c
  5.     ClipWait, 2
  6. If clipboard contains red,green,blue
  7.     StringReplace, Clipboard, Clipboard, red, あか, All ;aka
  8.     StringReplace, Clipboard, Clipboard, green, みどり, All ;midori
  9.     StringReplace, Clipboard, Clipboard, blue, あお, All ;ao
  10.    
  11. ToolTip, %Clipboard%
  12. Sleep, 2000
  13. ToolTip
  14. SendInput, {Text}%Clipboard%
  15.  
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×