text
stringlengths 0
15.7k
| source
stringlengths 6
112
|
---|---|
key code 45 using {command down, option down, shift down}
|
lns1.scpt
|
set myCue to last item of (selected as list)
|
Copy uniqueID of selected.applescript
|
set myID to uniqueID of myCue
|
Copy uniqueID of selected.applescript
|
display alert "The Unique ID of \"" & q name of myCue & "\" (" & myID & ") has been copied to the clipboard."
|
Copy uniqueID of selected.applescript
|
set the clipboard to myID
|
Copy uniqueID of selected.applescript
|
set thisFolder to target of front Finder window
|
Large icons.applescript
|
set icon size of icon view options of front Finder window to 384
|
Large icons.applescript
|
do shell script "growlnotify <<EOF
|
do shell script "growlnotify <<EOF.applescript
|
multi
|
do shell script "growlnotify <<EOF.applescript
|
line
|
do shell script "growlnotify <<EOF.applescript
|
message
|
do shell script "growlnotify <<EOF.applescript
|
property timer : missing value
|
Pro7LooksHelper.applescript
|
on timerFired:aTimer
|
Pro7LooksHelper.applescript
|
if exists (processes where name is "ProPresenter") then -- Only try to update when Pro7 is running
|
Pro7LooksHelper.applescript
|
tell process "ProPresenter"
|
Pro7LooksHelper.applescript
|
StatusItem's setTitle:(name of menu item 3 of menu "Screens" of menu bar 1)
|
Pro7LooksHelper.applescript
|
end timerFired:
|
Pro7LooksHelper.applescript
|
if not (exists (processes where name is "ProPresenter")) then
|
Pro7LooksHelper.applescript
|
set LookNames to name of menu items of menu of menu item 3 of menu "Screens" of menu bar 1
|
Pro7LooksHelper.applescript
|
set lookindex to 1
|
Pro7LooksHelper.applescript
|
repeat with lookName in item 1 of LookNames
|
Pro7LooksHelper.applescript
|
set thisMenuItem to (current application's NSMenuItem's alloc()'s initWithTitle:lookName action:"someAction:" keyEquivalent:"")
|
Pro7LooksHelper.applescript
|
(thisMenuItem's setTag:lookindex)
|
Pro7LooksHelper.applescript
|
set lookindex to lookindex + 1
|
Pro7LooksHelper.applescript
|
newMenu's addItem:(current application's NSMenuItem's separatorItem)
|
Pro7LooksHelper.applescript
|
set thisMenuItem to (current application's NSMenuItem's alloc()'s initWithTitle:"Quit" action:"someAction:" keyEquivalent:"")
|
Pro7LooksHelper.applescript
|
(thisMenuItem's setTag:-1)
|
Pro7LooksHelper.applescript
|
on someAction:sender
|
Pro7LooksHelper.applescript
|
set clickedMenuTag to (sender's tag())
|
Pro7LooksHelper.applescript
|
if clickedMenuTag = -1 then
|
Pro7LooksHelper.applescript
|
if (get name of every application process) contains "ProPresenter" then -- Only send menu clicks if Pro7 is running
|
Pro7LooksHelper.applescript
|
click menu item (clickedMenuTag) of menu of menu item 3 of menu "Screens" of menu bar 1
|
Pro7LooksHelper.applescript
|
end someAction:
|
Pro7LooksHelper.applescript
|
StatusItem's setTitle:"Live:"
|
Pro7LooksHelper.applescript
|
set timer to current application's NSTimer's scheduledTimerWithTimeInterval:0.3 target:me selector:"timerFired:" userInfo:(missing value) repeats:true
|
Pro7LooksHelper.applescript
|
set myURL to URL of current tab of front window
|
safari-current-page-url-in-chrome.applescript
|
set URL of tab 1 of window 1 to myURL
|
safari-current-page-url-in-chrome.applescript
|
set URL of tab (count tabs of front window) of front window to myURL
|
safari-current-page-url-in-chrome.applescript
|
set excelTemplate to (file "Users:_gebruikersNaam_:Documenten:Declaraform_agendaNaam_.xltx" of startup disk) as text
|
calendar_exporter.scpt
|
open excelTemplate
|
calendar_exporter.scpt
|
set monthList to {monthsAgo(0), monthsAgo(1), monthsAgo(2), monthsAgo(3), monthsAgo(4), monthsAgo(5), monthsAgo(6), monthsAgo(7), monthsAgo(8)}
|
calendar_exporter.scpt
|
set DateString to text of date string of newDate
|
calendar_exporter.scpt
|
return (word 3 of DateString & " " & the year of newDate) as text
|
calendar_exporter.scpt
|
set ASdate to false -- If true NSDate will be converted to ASDate
|
calendar_exporter.scpt
|
set theCal to fetch calendar "_agendaNaam_" cal type cal cloud event store theStore
|
calendar_exporter.scpt
|
set theEvents to filter events by pattern event list theEvents event description "*Overwerk*" without using regex
|
calendar_exporter.scpt
|
set rowOffset to 61
|
calendar_exporter.scpt
|
tell worksheet "Declaraties" of active workbook
|
calendar_exporter.scpt
|
set value of cell ("C" & (rowNum)) to eventStart -- event date
|
calendar_exporter.scpt
|
set value of cell ("D" & (rowNum)) to eventStart -- event starttime
|
calendar_exporter.scpt
|
set value of cell ("E" & (rowNum)) to eventEnd -- event endtime
|
calendar_exporter.scpt
|
set value of cell ("F" & (rowNum)) to "0:00" -- pauze
|
calendar_exporter.scpt
|
set value of cell ("G" & (rowNum)) to "= (" & ("E" & (rowNum)) & "-" & ("D" & (rowNum)) & ")-" & ("F" & (rowNum)) -- hours total
|
calendar_exporter.scpt
|
set value of cell ("H" & (rowNum)) to eventLocation -- eventlocation
|
calendar_exporter.scpt
|
set value of cell ("I" & (rowNum)) to "Ja" -- pay
|
calendar_exporter.scpt
|
set value of cell ("J" & (rowNum)) to theEventName -- event name
|
calendar_exporter.scpt
|
set theEvents to filter events by pattern event list theEvents event description "*Reiskosten*" without using regex
|
calendar_exporter.scpt
|
set rowOffset to 125
|
calendar_exporter.scpt
|
set value of cell ("D" & (rowNum)) to "Huis" -- van...
|
calendar_exporter.scpt
|
set value of cell ("E" & (rowNum)) to eventLocation -- naar
|
calendar_exporter.scpt
|
if eventLocation = "_locatie_A_" then
|
calendar_exporter.scpt
|
set value of cell ("F" & (rowNum)) to "58" -- km.
|
calendar_exporter.scpt
|
else if eventLocation = "_locatie_B_" then
|
calendar_exporter.scpt
|
set value of cell ("F" & (rowNum)) to "18" -- km.
|
calendar_exporter.scpt
|
set value of cell ("H" & (rowNum)) to theEventName -- eventlocation
|
calendar_exporter.scpt
|
set the mergeRangeAddress to ("H" & (rowNum)) & ":" & ("J" & (rowNum))
|
calendar_exporter.scpt
|
merge range mergeRangeAddress
|
calendar_exporter.scpt
|
set theEvents to filter events by pattern event list theEvents event description "*Snipper*" without using regex
|
calendar_exporter.scpt
|
set rowOffset to 92
|
calendar_exporter.scpt
|
set value of cell ("F" & (rowNum)) to "0:30" -- pauze
|
calendar_exporter.scpt
|
set value of cell ("H" & (rowNum)) to theEventName -- event name
|
calendar_exporter.scpt
|
set theProps to properties of event id theID of (last calendar whose name is "_agendaNaam_")
|
calendar_exporter.scpt
|
set value of cell "E10" to my makeASDateFrom:(d1)
|
calendar_exporter.scpt
|
merge range "E10:G10"
|
calendar_exporter.scpt
|
set value of cell "E86" to my makeASDateFrom:(d1)
|
calendar_exporter.scpt
|
merge range "E86:G86"
|
calendar_exporter.scpt
|
set workbookName to "gewerkte overuren + kilometers " & selected_month & ".xlsx"
|
calendar_exporter.scpt
|
set destinationPath to (path to desktop as text) & workbookName
|
calendar_exporter.scpt
|
set name of active sheet to "Declaraties"
|
calendar_exporter.scpt
|
save active workbook in destinationPath as Excel XML file format
|
calendar_exporter.scpt
|
set allTags to selected text of think window 1
|
Append selected tags.applescript
|
if allTags is not "" then
|
Append selected tags.applescript
|
set theTags to text items of allTags
|
Append selected tags.applescript
|
repeat with theRecord in thisSelection
|
Append selected tags.applescript
|
set sccripts to every item of ffolder whose kind is not "folder"
|
file_count.applescript
|
fmGUI_ManageSecurity_AccessValueList_GetInfo({})
|
fmGUI_ManageSecurity_AccessValueList_GetInfo.applescript
|
set allowCreate to value of checkbox 1 of window 1
|
fmGUI_ManageSecurity_AccessValueList_GetInfo.applescript
|
set vlPrivList to {}
|
fmGUI_ManageSecurity_AccessValueList_GetInfo.applescript
|
copy {vlName:item i of nameList, vlPriv:item i of privList} to end of vlPrivList
|
fmGUI_ManageSecurity_AccessValueList_GetInfo.applescript
|
set vlAccess to {allowCreate:allowCreate, vlPrivList:vlPrivList}
|
fmGUI_ManageSecurity_AccessValueList_GetInfo.applescript
|
return vlAccess
|
fmGUI_ManageSecurity_AccessValueList_GetInfo.applescript
|
error "unable to fmGUI_ManageSecurity_AccessValueList_GetInfo - " & errMsg number errNum
|
fmGUI_ManageSecurity_AccessValueList_GetInfo.applescript
|
iTunes_state()
|
iTunes_state.applescript
|
global myLoginEmail, myLoginAlias, myLoginPassword, loggedIn, appsup, homeRootURL, myConversationID, conversationsTab_DataSource
|
audiMate.applescript
|
on toggleVisibleLoginItems(toggleAction)
|
audiMate.applescript
|
if toggleAction is "idle" then
|
audiMate.applescript
|
set visible of text field "audiMateLoginTitle" to true
|
audiMate.applescript
|
set visible of text field "loginLoadingText" to false
|
audiMate.applescript
|
set visible of button "loginButton" to true
|
audiMate.applescript
|
set visible of button "registerButton" to true
|
audiMate.applescript
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.