Add more applescript samples

This commit is contained in:
Joshua Peek
2012-08-06 10:22:38 -05:00
parent a13f246e4f
commit a35fa88f50
7 changed files with 670 additions and 35 deletions

View File

@@ -257,8 +257,8 @@
".gemrc"
]
},
"tokens_total": 331324,
"languages_total": 254,
"tokens_total": 333026,
"languages_total": 260,
"tokens": {
"Apex": {
"/*": 15,
@@ -656,56 +656,249 @@
"TwilioAPI.getDefaultAccount": 1
},
"AppleScript": {
"set": 13,
"set": 108,
"windowWidth": 3,
"to": 13,
"to": 128,
"windowHeight": 3,
"delay": 1,
"AppleScript": 1,
"s": 1,
"text": 1,
"item": 2,
"delay": 3,
"AppleScript": 2,
"s": 3,
"text": 13,
"item": 13,
"delimiters": 1,
"tell": 14,
"application": 5,
"tell": 40,
"application": 16,
"screen_width": 2,
"(": 7,
"do": 2,
"(": 89,
"do": 4,
"JavaScript": 2,
"in": 2,
"in": 13,
"document": 2,
")": 7,
")": 88,
"screen_height": 2,
"end": 9,
"end": 67,
"myFrontMost": 3,
"name": 1,
"of": 9,
"name": 8,
"of": 72,
"first": 1,
"processes": 1,
"processes": 2,
"whose": 1,
"frontmost": 1,
"is": 1,
"true": 1,
"{": 11,
"is": 40,
"true": 8,
"{": 32,
"desktopTop": 2,
"desktopLeft": 1,
"desktopRight": 1,
"desktopBottom": 1,
"}": 11,
"bounds": 1,
"}": 32,
"bounds": 2,
"desktop": 1,
"try": 4,
"process": 2,
"try": 10,
"process": 5,
"w": 5,
"h": 4,
"size": 3,
"size": 5,
"drawer": 2,
"window": 4,
"on": 2,
"error": 2,
"window": 5,
"on": 18,
"error": 3,
"position": 1,
"-": 4,
"/": 2
"-": 57,
"/": 2,
"(*": 8,
"*)": 8,
"property": 7,
"type_list": 6,
"extension_list": 6,
"html": 2,
"not": 5,
"currently": 2,
"handled": 2,
"run": 4,
"FinderSelection": 4,
"the": 56,
"selection": 2,
"as": 27,
"alias": 8,
"list": 9,
"FS": 10,
"Ideally": 2,
"this": 2,
"could": 2,
"be": 2,
"passed": 2,
"open": 8,
"handler": 2,
"SelectionCount": 6,
"number": 6,
"count": 10,
"if": 50,
"then": 28,
"userPicksFolder": 6,
"else": 14,
"MyPath": 4,
"path": 6,
"me": 2,
"If": 2,
"I": 2,
"m": 2,
"a": 4,
"double": 2,
"clicked": 2,
"droplet": 2,
"these_items": 18,
"choose": 2,
"file": 6,
"with": 11,
"prompt": 2,
"type": 6,
"thesefiles": 2,
"item_info": 24,
"repeat": 19,
"i": 10,
"from": 9,
"this_item": 14,
"info": 4,
"for": 5,
"folder": 10,
"processFolder": 8,
"false": 9,
"and": 7,
"or": 6,
"extension": 4,
"theFilePath": 8,
"string": 17,
"thePOSIXFilePath": 8,
"POSIX": 4,
"processFile": 8,
"folders": 2,
"theFolder": 6,
"without": 2,
"invisibles": 2,
"&": 63,
"thePOSIXFileName": 6,
"terminalCommand": 6,
"convertCommand": 4,
"newFileName": 4,
"shell": 2,
"script": 2,
"need": 1,
"pass": 1,
"URL": 1,
"Terminal": 1,
"localMailboxes": 3,
"every": 3,
"mailbox": 2,
"greater": 5,
"than": 6,
"messageCountDisplay": 5,
"return": 16,
"my": 3,
"getMessageCountsForMailboxes": 4,
"everyAccount": 2,
"account": 1,
"eachAccount": 3,
"accountMailboxes": 3,
"outputMessage": 2,
"make": 3,
"new": 2,
"outgoing": 2,
"message": 2,
"properties": 2,
"content": 2,
"subject": 1,
"visible": 2,
"font": 2,
"theMailboxes": 2,
"mailboxes": 1,
"returns": 2,
"displayString": 4,
"eachMailbox": 4,
"mailboxName": 2,
"messageCount": 2,
"messages": 1,
"unreadCount": 2,
"unread": 1,
"padString": 3,
"theString": 4,
"fieldLength": 5,
"integer": 3,
"stringLength": 4,
"length": 1,
"paddedString": 5,
"character": 2,
"less": 1,
"equal": 3,
"paddingLength": 2,
"times": 1,
"space": 1,
"lowFontSize": 9,
"highFontSize": 6,
"messageText": 4,
"userInput": 4,
"display": 4,
"dialog": 4,
"default": 4,
"answer": 3,
"buttons": 3,
"button": 4,
"returned": 5,
"minimumFontSize": 4,
"newFontSize": 6,
"result": 2,
"theText": 3,
"exit": 1,
"fontList": 2,
"activate": 3,
"crazyTextMessage": 2,
"eachCharacter": 4,
"characters": 1,
"some": 1,
"random": 4,
"color": 1,
"current": 3,
"pane": 4,
"UI": 1,
"elements": 1,
"enabled": 2,
"tab": 1,
"group": 1,
"click": 1,
"radio": 1,
"get": 1,
"value": 1,
"field": 1,
"isVoiceOverRunning": 3,
"isRunning": 3,
"contains": 1,
"isVoiceOverRunningWithAppleScript": 3,
"isRunningWithAppleScript": 3,
"VoiceOver": 1,
"x": 1,
"vo": 1,
"cursor": 1,
"currentDate": 3,
"date": 1,
"amPM": 4,
"currentHour": 9,
"minutes": 2,
"<": 2,
"below": 1,
"sound": 1,
"nice": 1,
"currentMinutes": 4,
"ensure": 1,
"nn": 2,
"gets": 1,
"AM": 1,
"readjust": 1,
"hour": 1,
"time": 1,
"currentTime": 3,
"day": 1,
"output": 1,
"say": 1
},
"Arduino": {
"void": 2,
@@ -26464,7 +26657,7 @@
},
"language_tokens": {
"Apex": 4401,
"AppleScript": 176,
"AppleScript": 1878,
"Arduino": 20,
"AutoHotkey": 3,
"C": 29074,
@@ -26534,7 +26727,7 @@
},
"languages": {
"Apex": 6,
"AppleScript": 1,
"AppleScript": 7,
"Arduino": 1,
"AutoHotkey": 1,
"C": 18,
@@ -26602,5 +26795,5 @@
"XSLT": 1,
"YAML": 1
},
"md5": "fe2b81cafdbca2f11e0d7439b1437c35"
"md5": "e5daa0ff6e34a82348f754c1584d0040"
}