Guest User

Untitled

a guest
Jan 27th, 2022
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function OnScriptMacro_테스트()
  2. {
  3.   HAction.GetDefault("FindDlg", HParameterSet.HFindReplace.HSet);
  4.   HAction.Execute("FindDlg", HParameterSet.HFindReplace.HSet);
  5.   HAction.GetDefault("AllReplace", HParameterSet.HFindReplace.HSet);
  6.  
  7.   with (HParameterSet.HFindReplace) {
  8.     MatchCase = 0;
  9.     AllWordForms = 0;
  10.     SeveralWords = 0;
  11.     UseWildCards = 0;
  12.     WholeWordOnly = 0;
  13.     AutoSpell = 0;
  14.     Direction = FindDir("AllDoc");
  15.     IgnoreFindString = 0;
  16.     IgnoreReplaceString = 0;
  17.     FindString = "{{처음말}}";
  18.     ReplaceString = "{{바꿀말}}";
  19.     ReplaceCharShape.ShadeColor = RGBColor(217, 217, 9);
  20.     ReplaceMode = 1;
  21.     IgnoreMessage = 1;
  22.     HanjaFromHangul = 0;
  23.     FindJaso = 0;
  24.     FindRegExp = 0;
  25.     FindStyle = "";
  26.     ReplaceStyle = "";
  27.     FindType = 1;
  28.   }
  29.  
  30.   HAction.Execute("AllReplace", HParameterSet.HFindReplace.HSet);
  31. }
  32.  
Advertisement
Add Comment
Please, Sign In to add comment