text stringlengths 0 15.7k | source stringlengths 6 112 |
|---|---|
if vf's origin's x ≤ origin's x of item i of rf then | getFrame.applescript |
set right_frames of vframes to frames | getFrame.applescript |
else if (getFrameOriginY(f)) + (getFrameHeight(f)) ≤ 0 then | getFrame.applescript |
set tf to top_frames of vframes | getFrame.applescript |
set oldframes to tf | getFrame.applescript |
repeat with i from 1 to tf's length | getFrame.applescript |
if getFrameOriginY(vf) ≤ origin's y of item i of tf then | getFrame.applescript |
set top_frames of vframes to frames | getFrame.applescript |
set bf to bottom_frames of vframes | getFrame.applescript |
set oldframes to bf | getFrame.applescript |
repeat with i from 1 to bf's length | getFrame.applescript |
if getFrameOriginY(vf) ≥ origin's y of item i of bf then | getFrame.applescript |
set bottom_frames of vframes to frames | getFrame.applescript |
return vframes | getFrame.applescript |
end getAllVisibleFrames | getFrame.applescript |
on getAllFrames() | getFrame.applescript |
set allframes to {main_frames:{mf}, left_frames:{}, right_frames:{}, top_frames:{}, bottom_frames:{}} | getFrame.applescript |
set lf to left_frames of allframes | getFrame.applescript |
if getFrameOriginX(f) ≥ origin's x of item i of lf then | getFrame.applescript |
set frames to frames & {f} & oldframes | getFrame.applescript |
set frames to frames & {f} | getFrame.applescript |
set left_frames of allframes to frames | getFrame.applescript |
set rf to right_frames of allframes | getFrame.applescript |
if getFrameOriginX(f) ≤ origin's x of item i of rf then | getFrame.applescript |
set right_frames of allframes to frames | getFrame.applescript |
set tf to top_frames of allframes | getFrame.applescript |
if getFrameOriginY(f) ≤ origin's y of item i of tf then | getFrame.applescript |
set top_frames of allframes to frames | getFrame.applescript |
set bf to bottom_frames of allframes | getFrame.applescript |
if getFrameOriginY(f) ≥ origin's y of item i of bf then | getFrame.applescript |
set bottom_frames of allframes to frames | getFrame.applescript |
return allframes | getFrame.applescript |
end getAllFrames | getFrame.applescript |
set sc to getMainScreen() | getFrame.applescript |
log getFrameOriginX(f) | getFrame.applescript |
log getFrameOriginY(f) | getFrame.applescript |
getAllVisibleFrames() | getFrame.applescript |
getVisibleFrame(1, 1) | getFrame.applescript |
getAllFrames() | getFrame.applescript |
system attribute "PATH" | system attribute "PATH".applescript |
my regexReplace("<p>あいうえお</p>", "<.+?>", "") | regexReplace.scpt |
tell application "iTunes" to next track | itunes_next.scpt |
do shell script "open " & thePath | Open Data Folder for Currently Running App.applescript |
set usageData to get time summary between (current date) and (current date) | Timing Score.applescript |
set score to productivity score of usageData | Timing Score.applescript |
set total to overall total of usageData | Timing Score.applescript |
delete usageData -- this is required to avoid accumulating old summaries (and thus leaking memory) | Timing Score.applescript |
return ((round (score * 100)) as string) & "% in " & (round (total / 60)) & "m" | Timing Score.applescript |
set laLista to (choose file with prompt ¬ | descargarDesdeLista.scpt |
"Seleccione el archivo de texto que contiene las URL " of type {"txt"} ¬ | descargarDesdeLista.scpt |
default location (path to desktop) ¬ | descargarDesdeLista.scpt |
without multiple selections allowed) as text | descargarDesdeLista.scpt |
set losArchivos to read alias laLista as list using delimiter linefeed | descargarDesdeLista.scpt |
repeat with i from 1 to count of losArchivos | descargarDesdeLista.scpt |
set esteArchivo to item i of losArchivos | descargarDesdeLista.scpt |
do shell script "cd " & carpetaDestino & "; " & "curl -O " & quoted form of esteArchivo | descargarDesdeLista.scpt |
display notification "En:" & carpetaDestino with title "Se ha concluido con exito la descarga" | descargarDesdeLista.scpt |
display alert "No e-mail selected" message "Select an e-mail bevore you invoke this applescript!" | CopyMailOutFoldername2Clipboard.applescript |
set theDateTime to "Date received: " & date received of theMessage as text | CopyMailOutFoldername2Clipboard.applescript |
set theSender to (extract name from sender of theMessage) as text | CopyMailOutFoldername2Clipboard.applescript |
set theRecipient to (name of recipient of theMessage) as text | CopyMailOutFoldername2Clipboard.applescript |
set theBetreff to subject of theMessage as text | CopyMailOutFoldername2Clipboard.applescript |
set theDate to date received of theMessage | CopyMailOutFoldername2Clipboard.applescript |
set theTime to (time string of theDate) as text | CopyMailOutFoldername2Clipboard.applescript |
set theTime4Files to characters 1 thru 2 of theTime & "-" & characters 4 thru 5 of theTime & "-" & characters 7 thru 8 of theTime | CopyMailOutFoldername2Clipboard.applescript |
set theDayTemp to (day of theDate) + 100 as string | CopyMailOutFoldername2Clipboard.applescript |
set theDay to characters 2 thru 3 of theDayTemp | CopyMailOutFoldername2Clipboard.applescript |
set theMonthTemp to ((month of theDate as number) + 100) as string | CopyMailOutFoldername2Clipboard.applescript |
set theMonth to characters 2 thru 3 of theMonthTemp | CopyMailOutFoldername2Clipboard.applescript |
set theShortYear to characters 3 thru 4 of theYear | CopyMailOutFoldername2Clipboard.applescript |
set theShortDate to theShortYear & theMonth & theDay | CopyMailOutFoldername2Clipboard.applescript |
set theLongDate to theYear & theMonth & theDay | CopyMailOutFoldername2Clipboard.applescript |
set theMailFolderName to theLongDate & "_" & theTime4Files & "_MailE_" & theSender & "_" & theBetreff | CopyMailOutFoldername2Clipboard.applescript |
display dialog "Suggested foldername for storing the plain files of " & return & "the content of this e-mail in your communications folder is: " & return & return & "\"" & theMailFolderName & "\"" buttons {"to Clipboard!", "OK"} default button 2 | CopyMailOutFoldername2Clipboard.applescript |
if the button returned of the result is "to Clipboard!" then | CopyMailOutFoldername2Clipboard.applescript |
set the clipboard to theMailFolderName as text | CopyMailOutFoldername2Clipboard.applescript |
say_hello(name of home) | Script 11-15.applescript |
set msg to "GUIスクリプティングが利用可能になっていません。\n\"補助装置にアクセスできるようにする\" にチェックを入れて続けますか?" | _gui.scpt |
if "AppleScript Runner" is in my every_process() or ¬ | _gui.scpt |
frontmost is false then | _gui.scpt |
menu bar 1's (menu bar item (my number_from(mp's item 1))) | _gui.scpt |
menu bar 1's (menu bar item (my number_from(mp's item 1)))'s menu 1 | _gui.scpt |
result's (menu item (my number_from(mp's item i)))'s menu 1 | _gui.scpt |
result's (menu item (my number_from(mp's item i))) | _gui.scpt |
num's class is integer or num's class is real | _gui.scpt |
on number_from(str) | _gui.scpt |
end number_from | _gui.scpt |
else if mp's length is 4 then | _gui.scpt |
pick ¬ | _gui.scpt |
menu item (mp's item 2)'s ¬ | _gui.scpt |
menu (mp's item 2)'s ¬ | _gui.scpt |
menu item (mp's item 3)'s ¬ | _gui.scpt |
menu (mp's item 3)'s ¬ | _gui.scpt |
menu item (mp's item 4) | _gui.scpt |
error "メニューパス \"" & menu_path & "\" を認識できません。" | _gui.scpt |
set volume output volume (output volume of (get volume settings) + 10) --100% | system_volplus.scpt |
set _path to (path of fonts folder of user domain) as string | Fonts (user).applescript |
play(query as text) of config | play.applescript |
set theFile to openForWriting("Chrome") | Chrome copy 3.applescript |
set windowTitle to title of window_item | Chrome copy 3.applescript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.