Order Notes Private Notes
alsdjfljkasdjflkajdslfjlasfjlkaasdjflasdjfdslajf;dsajf;ldsjf;jsflkdsjf;lajfldsjfal;sjflkdajssl;kfl;kasdflk;saflkjflkaslkdjglkdsahglkas
aljdflkdsajflidshjfdshogfhsfpsahdfdposhfaoifhdsaofhfsahsdfashdfs
Modify Service Order
My code basically click into notepad, copies the text and puts it into the variable bar.
All I want to do is display the text in between Order Notes Private Notes and Modify service Order.
Even when I do script as simple as this, it is unable to match it and displays nothing.
Code: Select all
clipboard =
MouseClick, left, 711, 244
Sleep, 200
Send, {CTRLDOWN}a{CTRLUP}
Sleep, 1000
Send, {CTRLDOWN}c{CTRLUP}
bar:=clipboard
RegExMatch(bar, "Notes.*Modify", bane)
msgbox %bane%