text
stringlengths 0
15.7k
| source
stringlengths 6
112
|
---|---|
set ledge to -1 * m_width | moveForMon.applescript |
set ledgeSFCoffset to 20 | moveForMon.applescript |
set y_sfcCEST to 30 | moveForMon.applescript |
set sfc_height to 100 | moveForMon.applescript |
set y_sfcJST to y_sfcCEST + sfc_height | moveForMon.applescript |
set y_gtCal to y_sfcJST + sfc_height + 5 | moveForMon.applescript |
set gtCal_height to 115 | moveForMon.applescript |
set y_gtGcal to y_gtCal + gtCal_height | moveForMon.applescript |
set gtGcal_height to 175 | moveForMon.applescript |
set y_gtTask to y_gtGcal + gtGcal_height | moveForMon.applescript |
set gtTask_height to 85 | moveForMon.applescript |
set y_gtPs to y_gtTask + gtTask_height | moveForMon.applescript |
set gtPs_height to 75 | moveForMon.applescript |
set y_XRG to y_gtPs + gtPs_height | moveForMon.applescript |
set XRG_height to 400 | moveForMon.applescript |
set expApp to {"XRG"} | moveForMon.applescript |
set halfSizeApp_L to {} | moveForMon.applescript |
set halfSizeApp_R to {"AdobeReader"} | moveForMon.applescript |
set noResizeApp_L to {} | moveForMon.applescript |
set noResizeApp_R to {"Finder", "Skype", "Microsoft Word", "Microsoft Excel", "Microsoft PowerPoint"} | moveForMon.applescript |
set app_L to {"firefox", "Evernote", "thunderbird", "thunderbird-bin", "Mail"} | moveForMon.applescript |
set app_R to {"iTerm"} | moveForMon.applescript |
set ws to load script file windowSizeScpt | moveForMon.applescript |
set dPosX to 100 | moveForMon.applescript |
set dPosY to 100 | moveForMon.applescript |
set dWidth to gf's getFrameWidth(item 1 of (vframes's main_frames)) | moveForMon.applescript |
set dHeight to gf's getFrameHeight(item 1 of (vframes's main_frames)) | moveForMon.applescript |
set dPosX_L to dPosX | moveForMon.applescript |
set dPosY_L to dPosY | moveForMon.applescript |
if length of vframes's left_frames > 0 then | moveForMon.applescript |
set dPosX_L to (gf's getFrameOriginX(item 1 of (vframes's left_frames))) + 100 | moveForMon.applescript |
set dPosY_L to (gf's getFrameOriginY(item 1 of (vframes's left_frames))) + 100 | moveForMon.applescript |
set dPosX_R to dPosX + 1 | moveForMon.applescript |
set dPosY_R to dPosY + 1 | moveForMon.applescript |
if length of vframes's right_frames > 0 then | moveForMon.applescript |
set dPosX_R to (gf's getFrameOriginX(item 1 of (vframes's right_frames))) + 100 | moveForMon.applescript |
set dPosY_R to (gf's getFrameOriginY(item 1 of (vframes's right_frames))) + 100 | moveForMon.applescript |
log "ledge to ledgeDual" | moveForMon.applescript |
set ledge to dWidth + ledge | moveForMon.applescript |
log "ledge to ledgeSingle" | moveForMon.applescript |
set appName to "SimpleFloatingClock" | moveForMon.applescript |
tell window w_sfcCEST | moveForMon.applescript |
set size to {m_width, sfc_height} | moveForMon.applescript |
set position to {ledge + ledgeSFCoffset, y_sfcCEST} | moveForMon.applescript |
tell window w_sfcJST | moveForMon.applescript |
set position to {ledge + ledgeSFCoffset, y_sfcJST} | moveForMon.applescript |
set appName to "XRG" | moveForMon.applescript |
tell window w_XRG | moveForMon.applescript |
set size to {m_width, XRG_height} | moveForMon.applescript |
set position to {ledge, y_XRG} | moveForMon.applescript |
tell application "GeekTool Helper" -- can not use appName (variable), which shows error at id? | moveForMon.applescript |
repeat with g in geeklets | moveForMon.applescript |
tell g | moveForMon.applescript |
if name is s_gtCal then | moveForMon.applescript |
set x to ledge | moveForMon.applescript |
set y to y_gtCal | moveForMon.applescript |
else if name is s_gtGcal then | moveForMon.applescript |
set y to y_gtGcal | moveForMon.applescript |
else if name is s_gtTask then | moveForMon.applescript |
set y to y_gtTask | moveForMon.applescript |
else if name is s_gtPs then | moveForMon.applescript |
set y to y_gtPs | moveForMon.applescript |
if all then | moveForMon.applescript |
set appList to (get name of every application process whose visible is true) | moveForMon.applescript |
repeat with appName in appList | moveForMon.applescript |
if appName is not in expApp then | moveForMon.applescript |
log appName & " " & i | moveForMon.applescript |
display dialog appName & " " & i | moveForMon.applescript |
if appName is in halfSizeApp_L then | moveForMon.applescript |
log "half size left" | moveForMon.applescript |
display dialog "half size left" | moveForMon.applescript |
ws's windowSize({appName:appName, windowNumber:i, monPosX:dPosX_L, monPosY:dPosY_L, xsize:0.7, ysize:0.7, moveForMon:false, debug_level:debug_level}) | moveForMon.applescript |
else if appName is in halfSizeApp_R then | moveForMon.applescript |
log "half size right" | moveForMon.applescript |
display dialog "half size right" | moveForMon.applescript |
ws's windowSize({appName:appName, windowNumber:i, monPosX:dPosX_R, monPosY:dPosY_R, xsize:0.7, ysize:0.7, moveForMon:false, debug_level:debug_level}) | moveForMon.applescript |
else if appName is in noResizeApp_L then | moveForMon.applescript |
ws's windowSize({appName:appName, windowNumber:i, monPosX:dPosX_L, monPosY:dPosY_L, resize:0, moveForMon:false, debug_level:debug_level}) | moveForMon.applescript |
else if appName is in noResizeApp_R then | moveForMon.applescript |
log "move right" | moveForMon.applescript |
display dialog "move right" | moveForMon.applescript |
ws's windowSize({appName:appName, windowNumber:i, monPosX:dPosX_R, monPosY:dPosY_R, resize:0, moveForMon:false, debug_level:debug_level}) | moveForMon.applescript |
else if appName is in app_L then | moveForMon.applescript |
log "move left full size" | moveForMon.applescript |
display dialog "move left full size" | moveForMon.applescript |
ws's windowSize({appName:appName, windowNumber:i, monPosX:dPosX_L, monPosY:dPosY_L, moveForMon:false, debug_level:debug_level}) | moveForMon.applescript |
else if appName is in app_R then | moveForMon.applescript |
log "move right full size" | moveForMon.applescript |
display dialog "move right full size" | moveForMon.applescript |
ws's windowSize({appName:appName, windowNumber:i, monPosX:dPosX_R, monPosY:dPosY_R, moveForMon:false, debug_level:debug_level}) | moveForMon.applescript |
end moveForMon | moveForMon.applescript |
moveForMon({}) | moveForMon.applescript |
set emailSubject to subject | SendMailToThings.scpt |
with properties {name:emailSubject, notes:_links} ¬ | SendMailToThings.scpt |
at beginning of list "Today" | SendMailToThings.scpt |
edit newToDo --comment this line to disable Things opening right after action ends. | SendMailToThings.scpt |
do shell script "export PATH=/usr/local/bin/:$PATH;screencapture -i /tmp/bab_ocr.png;tesseract /tmp/bab_ocr.png stdout 2>&1" | BAB-OCR.applescript |
set the auto_data_path to "~/Music/djay/djay Cached Data.plist" | djay2itunes.scpt |
set the manual_data_path to "~/Music/djay/djay Preset Library.plist" | djay2itunes.scpt |
set all_keys to {"8B-C", "8A-Am", "3B-Db", "3A-Bbm", "10B-D", "10A-Bm", "5B-Eb", "5A-Cm", "12B-E", "12A-C#m", "7B-F", "7A-Dm", "2B-Gb", "2A-Ebm", "9B-G", "9A-Em", "4B-Ab", "4A-Fm", "11B-A", "11A-F#m", "6B-Bb", "6A-Gm", "1B-B", "1A-G#m"} | djay2itunes.scpt |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.