text
stringlengths 0
15.7k
| source
stringlengths 6
112
|
---|---|
set currentArchiveCalendar to make new calendar in on my computer with properties {name:calendarName}
|
OutlookMac-Archive-ExchangeToLocal.applescript
|
return currentArchiveCalendar
|
OutlookMac-Archive-ExchangeToLocal.applescript
|
end createLocalArchiveCalendar
|
OutlookMac-Archive-ExchangeToLocal.applescript
|
on excludedFromArchiving(anItem)
|
OutlookMac-Archive-ExchangeToLocal.applescript
|
set catList to categories of anItem
|
OutlookMac-Archive-ExchangeToLocal.applescript
|
set foundDoNotArchive to false
|
OutlookMac-Archive-ExchangeToLocal.applescript
|
repeat with Y from 1 to count of catList
|
OutlookMac-Archive-ExchangeToLocal.applescript
|
set currentCat to item Y of catList
|
OutlookMac-Archive-ExchangeToLocal.applescript
|
if name of currentCat is equal to my doNotArchiveCategoryName then
|
OutlookMac-Archive-ExchangeToLocal.applescript
|
set foundDoNotArchive to true
|
OutlookMac-Archive-ExchangeToLocal.applescript
|
return foundDoNotArchive
|
OutlookMac-Archive-ExchangeToLocal.applescript
|
end excludedFromArchiving
|
OutlookMac-Archive-ExchangeToLocal.applescript
|
on hasSubFolders(mailFolder)
|
OutlookMac-Archive-ExchangeToLocal.applescript
|
if (count of mail folders in mailFolder) is greater than 0 then
|
OutlookMac-Archive-ExchangeToLocal.applescript
|
end hasSubFolders
|
OutlookMac-Archive-ExchangeToLocal.applescript
|
on isRootFolder(mailFolder)
|
OutlookMac-Archive-ExchangeToLocal.applescript
|
if (name of container of mailFolder) is missing value then
|
OutlookMac-Archive-ExchangeToLocal.applescript
|
end isRootFolder
|
OutlookMac-Archive-ExchangeToLocal.applescript
|
set nombreSesion to text returned of (display dialog "Ingresa el nombre de la Sesión:" default answer "")
|
carpetasFotografos.scpt
|
set carpetaDestino to choose folder with prompt "Selecciona la carpeta de destino"
|
carpetasFotografos.scpt
|
set carpetaSesion to nombreSesion
|
carpetasFotografos.scpt
|
set nuevaCarpeta to make new folder at carpetaDestino with properties {name:carpetaSesion}
|
carpetasFotografos.scpt
|
make new folder at nuevaCarpeta with properties {name:"1. Originales"}
|
carpetasFotografos.scpt
|
make new folder at nuevaCarpeta with properties {name:"2. Selección"}
|
carpetasFotografos.scpt
|
make new folder at nuevaCarpeta with properties {name:"3. Photoshop"}
|
carpetasFotografos.scpt
|
set carpetaDestino2 to make new folder at nuevaCarpeta with properties {name:"4. Finales"}
|
carpetasFotografos.scpt
|
make new folder at carpetaDestino2 with properties {name:"1. Impresión"}
|
carpetasFotografos.scpt
|
make new folder at carpetaDestino2 with properties {name:"2. Redes"}
|
carpetasFotografos.scpt
|
do script "open -a Finder ./" in first window
|
TF.applescript
|
use framework "IOBluetooth"
|
AirP Setup.applescript
|
set deviceList to current application's IOBluetoothDevice's pairedDevices()
|
AirP Setup.applescript
|
log deviceList
|
AirP Setup.applescript
|
set devNames to (deviceList's valueForKey:"name") as list
|
AirP Setup.applescript
|
log devNames
|
AirP Setup.applescript
|
set LclOldAirPodsName to get_string_variable "AirPodsWg_DevceName"
|
AirP Setup.applescript
|
choose from list devNames with title "Setup AirPods Widget" OK button name "Set" cancel button name "Cancel" with prompt "Please select your AirPods to connect.
|
AirP Setup.applescript
|
" default items LclOldAirPodsName without multiple selections allowed and empty selection allowed
|
AirP Setup.applescript
|
set SelectedDeviceName to item 1 of the result
|
AirP Setup.applescript
|
tell application "BetterTouchTool" to set_persistent_string_variable "AirPodsWg_DevceName" to SelectedDeviceName
|
AirP Setup.applescript
|
on error --error setting the variable
|
AirP Setup.applescript
|
display dialog "There was an error while setting up the AirPods widget.
|
AirP Setup.applescript
|
Try again to connect your AirPods, or contact the developers \"GoldenChaos\" or \"yyuuiko\" at the BTT forums if the issue persists." with title "AirPods Widget" with icon note buttons {"OK"} default button "OK"
|
AirP Setup.applescript
|
repeat with j from 1 to 12
|
smart_change.applescript
|
set question to display dialog "Change what" buttons {"Stop", "Color", "Font"} default button 1
|
smart_change.applescript
|
set answer to answer as text
|
smart_change.applescript
|
if answer = "Stop" then
|
smart_change.applescript
|
repeat with i from 1 to (count of paragraphs of selection)
|
smart_change.applescript
|
set style_name to name of style sheet of paragraph i of selection
|
smart_change.applescript
|
if answer = "Font" then
|
smart_change.applescript
|
set real_font to font of style specs
|
smart_change.applescript
|
set font of paragraph i of selection to real_font
|
smart_change.applescript
|
display dialog i
|
smart_change.applescript
|
if answer = "Color" then
|
smart_change.applescript
|
set real_color to color of style specs
|
smart_change.applescript
|
set color of paragraph i of selection to real_color
|
smart_change.applescript
|
set windowMoveScpt to scriptPath & "windowMove.scpt"
|
windowMoveDown.applescript
|
set windowMove to load script file windowMoveScpt
|
windowMoveDown.applescript
|
windowMove's windowMove(0, 1)
|
windowMoveDown.applescript
|
set URL_list to ""
|
Copy All URLs to clipboard md.scpt
|
set allWindows to (every window)
|
Copy All URLs to clipboard md.scpt
|
set totalTabs to 0
|
Copy All URLs to clipboard md.scpt
|
repeat with theWindow in allWindows
|
Copy All URLs to clipboard md.scpt
|
log (get title of theWindow)
|
Copy All URLs to clipboard md.scpt
|
set skipWindow to false
|
Copy All URLs to clipboard md.scpt
|
set numTabs to count tabs of theWindow
|
Copy All URLs to clipboard md.scpt
|
set skipWindow to true
|
Copy All URLs to clipboard md.scpt
|
if skipWindow is false then
|
Copy All URLs to clipboard md.scpt
|
set totalTabs to totalTabs + numTabs
|
Copy All URLs to clipboard md.scpt
|
set URL_list to URL_list & return & return & "== " & numTabs & " tabs"
|
Copy All URLs to clipboard md.scpt
|
if (visible of theWindow) is not true then
|
Copy All URLs to clipboard md.scpt
|
set URL_list to URL_list & " (minimized)"
|
Copy All URLs to clipboard md.scpt
|
set URL_list to URL_list & return -- add a return for readability in markdown editors.
|
Copy All URLs to clipboard md.scpt
|
set activeTabIndex to active tab index of theWindow
|
Copy All URLs to clipboard md.scpt
|
set currentTab to 1 -- tabs are 1-indexed
|
Copy All URLs to clipboard md.scpt
|
repeat with i in (every tab of theWindow)
|
Copy All URLs to clipboard md.scpt
|
if activeTabIndex = currentTab then -- current active tab
|
Copy All URLs to clipboard md.scpt
|
set isActiveTabText to "ACTIVE TAB:"
|
Copy All URLs to clipboard md.scpt
|
set isActiveTabText to ""
|
Copy All URLs to clipboard md.scpt
|
set mdURL to "* " & isActiveTabText & "[" & title of i & "]( " & URL of i & " )"
|
Copy All URLs to clipboard md.scpt
|
set URL_list to URL_list & return & mdURL
|
Copy All URLs to clipboard md.scpt
|
set currentTab to currentTab + 1
|
Copy All URLs to clipboard md.scpt
|
set URL_list to URL_list & return & return & "== " & totalTabs & " total tabs" & return
|
Copy All URLs to clipboard md.scpt
|
set the clipboard to URL_list
|
Copy All URLs to clipboard md.scpt
|
URL_list
|
Copy All URLs to clipboard md.scpt
|
set variableCueListName to "Other scripts & utilities"
|
Bump level.applescript
|
bumpLevel
|
Bump level.applescript
|
set bumpLevel to 6
|
Bump level.applescript
|
set audioChannelCount to notes of (first cue of (first cue list whose q name is variableCueListName) whose q name is "Output channel count") as integer -- total number of Qlab output
|
Bump level.applescript
|
set minAudioLevel to notes of (first cue of (first cue list whose q name is variableCueListName) whose q name is "Min audio level") as integer -- audio level which is -inf
|
Bump level.applescript
|
set cueTypes to {"Audio", "Fade", "Video", "Mic"}
|
Bump level.applescript
|
if (q type of eachCue) is in cueTypes then
|
Bump level.applescript
|
set allGangs to {}
|
Bump level.applescript
|
repeat with eachChannel from 1 to audioChannelCount as integer
|
Bump level.applescript
|
set oldLevel to getLevel eachCue row 0 column eachChannel
|
Bump level.applescript
|
set newLevel to (oldLevel + bumpLevel)
|
Bump level.applescript
|
if oldLevel is not minAudioLevel then
|
Bump level.applescript
|
set eachGang to getGang eachCue row 0 column eachChannel
|
Bump level.applescript
|
if eachGang is missing value then -- change unganged values
|
Bump level.applescript
|
setLevel eachCue row 0 column eachChannel db newLevel
|
Bump level.applescript
|
else if eachGang is not missing value and eachGang is not in allGangs then -- only change ganged values if they haven't already been changed
|
Bump level.applescript
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.