Advertisement
kolton

Untitled

Dec 7th, 2012
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. function KeyDown(key) {
  2. if (key === 45) {
  3. var c = getControl(4);
  4.  
  5. if (c) {
  6. do {
  7. var text = c.getText();
  8.  
  9. if (typeof text === "object") {
  10. for (var i in text) {
  11. if (text[i].indexOf("Wednesday") > -1) {
  12. print("QQQ " + c.x);
  13.  
  14. break;
  15. }
  16. }
  17. }
  18. } while (c.getNext());
  19. }
  20. }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement