text
stringlengths 0
15.7k
| source
stringlengths 6
112
|
---|---|
set dirName to name of container of theFile
|
sorted_trash.applescript
|
copy trashCol to end of trashCollections
|
sorted_trash.applescript
|
move inside trashCol variants {theVariant}
|
sorted_trash.applescript
|
repeat with col in trashCollections
|
sorted_trash.applescript
|
if col exists then
|
sorted_trash.applescript
|
delete col
|
sorted_trash.applescript
|
end slowTrash
|
sorted_trash.applescript
|
property PPP_SUBJECT : "Weekly PPP - Team Name"
|
create_weekly_ppp.applescript
|
property PPP_RECIPIENT_NAME : "recipient name"
|
create_weekly_ppp.applescript
|
property PPP_RECIPIENT_ADDRESS : "recipient@example.com"
|
create_weekly_ppp.applescript
|
set ppp_content to the clipboard
|
create_weekly_ppp.applescript
|
set weekly_ppp to make new outgoing message at the end of outgoing messages with properties {subject:PPP_SUBJECT, htmlContent:ppp_content}
|
create_weekly_ppp.applescript
|
tell weekly_ppp
|
create_weekly_ppp.applescript
|
make new to recipient at the end of to recipients with properties {name:PPP_RECIPIENT_NAME, address:PPP_RECIPIENT_ADDRESS}
|
create_weekly_ppp.applescript
|
set flag_name to (item 2 of argv)
|
set_daily_subtask_run.applescript
|
set flag to ("Daily_Task/" & year_yy & month_mm & day_dd & "_run_" & flag_name)
|
set_daily_subtask_run.applescript
|
set scriptName to "Worksheet Notification"
|
worksheet_notification.scpt
|
set sheetCount to count of sheets of activeBook
|
worksheet_notification.scpt
|
repeat with eachSheet from 0 to sheetCount
|
worksheet_notification.scpt
|
activate object worksheet eachSheet
|
worksheet_notification.scpt
|
set sheetName to (name of worksheet eachSheet of activeBook) as text
|
worksheet_notification.scpt
|
display notification sheetName with title scriptName
|
worksheet_notification.scpt
|
set userIncrement to 2 -- enter your desired increment here
|
Master Increment.applescript
|
if q type of eachCue is in {"Audio", "Fade", "Mic"} then
|
Master Increment.applescript
|
set currentLevel to eachCue getLevel row 0 column 0
|
Master Increment.applescript
|
set newLevel to currentLevel + userIncrement
|
Master Increment.applescript
|
eachCue setLevel row 0 column 0 db newLevel
|
Master Increment.applescript
|
set currentWindow to document 1
|
ReplaceMore.scpt
|
display dialog ("Error: window are not opened.") buttons {"OK"} default button "OK" with icon caution
|
ReplaceMore.scpt
|
set currentTextView to current text of currentWindow
|
ReplaceMore.scpt
|
if (currentTextView is "") then
|
ReplaceMore.scpt
|
display dialog ("No text") buttons {"OK"} default button "OK" with icon caution
|
ReplaceMore.scpt
|
set AppleScript's text item delimiters to "<a name='more'></a>"
|
ReplaceMore.scpt
|
set tmp_list to every text item of currentTextView
|
ReplaceMore.scpt
|
set AppleScript's text item delimiters to "<!--more-->"
|
ReplaceMore.scpt
|
set current text of currentWindow to target_text
|
ReplaceMore.scpt
|
hardwareUUID()
|
hardwareUUID.applescript
|
on hardwareUUID()
|
hardwareUUID.applescript
|
do shell script "/usr/sbin/ioreg -rd1 -c IOPlatformExpertDevice | awk '/IOPlatformUUID/ { split($0, line, \"\\\"\"); printf(\"%s\\n\", line[4]); }'"
|
hardwareUUID.applescript
|
end hardwareUUID
|
hardwareUUID.applescript
|
global std, retry, usr
|
system-settings.applescript
|
set thisCaseId to "system-preferences-spotCheck"
|
system-settings.applescript
|
Manual: Quit App (Running/Not Running)
|
system-settings.applescript
|
Manual: Reveal Security & Privacy > Privacy
|
system-settings.applescript
|
Manual: Unlock Security & Privacy > Privacy (Unlock button must be visible already)
|
system-settings.applescript
|
Manual: Reveal Voice Control
|
system-settings.applescript
|
Manual: Toggle Voice Control
|
system-settings.applescript
|
Manual: Click Commands...
|
system-settings.applescript
|
Manual: Enable 'Turn off Voice Control'
|
system-settings.applescript
|
Manual: Filter Commands and Enable
|
system-settings.applescript
|
Manual: Filter Commands and Disable
|
system-settings.applescript
|
Manual: Click Vocabulary
|
system-settings.applescript
|
Manual: Print Panes
|
system-settings.applescript
|
Manual: revealKeyboardDictation
|
system-settings.applescript
|
sut's quitApp()
|
system-settings.applescript
|
sut's revealSecurityAccessibilityPrivacy()
|
system-settings.applescript
|
sut's unlockSecurityAccessibilityPrivacy()
|
system-settings.applescript
|
sut's revealAccessibilityVoiceControl()
|
system-settings.applescript
|
logger's infof("Toggle Voice Control: {}", sut's toggleVoiceControl())
|
system-settings.applescript
|
logger's infof("Click Commands...: {}", sut's clickAccessibilityCommands())
|
system-settings.applescript
|
logger's infof("Turn On: 'Turn Off Voice Control': {}", sut's enableTurnOffVoiceControl())
|
system-settings.applescript
|
if sut's revealAccessibilityDictation() is false then error "Could not reveal Accessibility Dictation"
|
system-settings.applescript
|
sut's clickAccessibilityCommands()
|
system-settings.applescript
|
logger's infof("Manual: Filter and Enable: '<phrase>': {}", sut's filterCommandsAndEnable("<phrase>", 2))
|
system-settings.applescript
|
sut's revealAccessibilityDictation()
|
system-settings.applescript
|
logger's infof("Manual: Filter and Disable: '<phrase>': {}", sut's filterCommandsAndDisable("<phrase>", 2))
|
system-settings.applescript
|
sut's clickVocabulary()
|
system-settings.applescript
|
sut's printPaneIds()
|
system-settings.applescript
|
sut's revealKeyboardDictation()
|
system-settings.applescript
|
script SystemPreferences
|
system-settings.applescript
|
on printPaneIds()
|
system-settings.applescript
|
set panesList to id of panes
|
system-settings.applescript
|
repeat with nextId in panesList
|
system-settings.applescript
|
log nextId
|
system-settings.applescript
|
end printPaneIds
|
system-settings.applescript
|
on revealKeyboardDictation()
|
system-settings.applescript
|
set current pane to pane id "com.apple.Keyboard-Settings.extension"
|
system-settings.applescript
|
reveal anchor "Dictation" of current pane
|
system-settings.applescript
|
end revealKeyboardDictation
|
system-settings.applescript
|
on revealSecurityAccessibilityPrivacy()
|
system-settings.applescript
|
reveal anchor "Accessibility" of pane id "com.apple.preference.security"
|
system-settings.applescript
|
script PanelWaiter
|
system-settings.applescript
|
if (value of radio button "Privacy" of tab group 1 of window "Security & Privacy") is 0 then return missing value
|
system-settings.applescript
|
exec of retry on result for 50 by 0.1
|
system-settings.applescript
|
end revealSecurityAccessibilityPrivacy
|
system-settings.applescript
|
on revealAccessibilityVoiceControl()
|
system-settings.applescript
|
set current pane to pane id "com.apple.Accessibility-Settings.extension"
|
system-settings.applescript
|
if exists static text "Accessibility" of window "Accessibility" then return true
|
system-settings.applescript
|
click button 1 of group 3 of scroll area 1 of group 1 of group 2 of splitter group 1 of group 1 of window "Accessibility"
|
system-settings.applescript
|
end revealAccessibilityVoiceControl
|
system-settings.applescript
|
on toggleVoiceControl()
|
system-settings.applescript
|
if running of application "System Settings" is false then return missing value
|
system-settings.applescript
|
set currentState to -1
|
system-settings.applescript
|
script ClickWaiter
|
system-settings.applescript
|
tell application "System Events" to tell process "System Settings" to tell window "Voice Control" to tell first group
|
system-settings.applescript
|
set currentState to get value of checkbox 1 of group 1 of scroll area 1 of group 1 of group 2 of splitter group 1
|
system-settings.applescript
|
click checkbox "Voice Control" of group 1 of scroll area 1 of group 1 of group 2 of splitter group 1
|
system-settings.applescript
|
exec of retry on result for 30 by 0.1
|
system-settings.applescript
|
if result is missing value then return missing value
|
system-settings.applescript
|
if currentState is not 0 then return false
|
system-settings.applescript
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.