text
stringlengths 0
15.7k
| source
stringlengths 6
112
|
---|---|
repeat with eachItem from 2 to (length of fileOneArrayTwo)
|
Create a variant SFX from audio files.applescript
|
set fileName to fileName & " " & (item eachItem of fileOneArrayTwo)
|
Create a variant SFX from audio files.applescript
|
set fileOneArrayThree to (util's splitString(fileName, ", "))
|
Create a variant SFX from audio files.applescript
|
set fileName to item 1 of fileOneArrayThree
|
Create a variant SFX from audio files.applescript
|
repeat with eachFile in audioFiles
|
Create a variant SFX from audio files.applescript
|
set eachFileName to (util's getFileName(eachFile))
|
Create a variant SFX from audio files.applescript
|
set eachFileArray to (util's splitString(eachFileName, "."))
|
Create a variant SFX from audio files.applescript
|
set eachFilePrefixOne to item 1 of eachFileArray
|
Create a variant SFX from audio files.applescript
|
set eachFilePrefixTwo to item 2 of eachFileArray
|
Create a variant SFX from audio files.applescript
|
set eachFileAllThree to item 3 of eachFileArray
|
Create a variant SFX from audio files.applescript
|
set eachFileArrayTwo to (util's splitString(eachFileAllThree, " "))
|
Create a variant SFX from audio files.applescript
|
set eachFilePrefixThree to item 1 of eachFileArrayTwo
|
Create a variant SFX from audio files.applescript
|
set eachFileName to ""
|
Create a variant SFX from audio files.applescript
|
repeat with eachItem from 2 to (length of eachFileArrayTwo)
|
Create a variant SFX from audio files.applescript
|
set eachFileName to eachFileName & " " & (item eachItem of eachFileArrayTwo)
|
Create a variant SFX from audio files.applescript
|
set eachFileArrayThree to (util's splitString(eachFileName, ", "))
|
Create a variant SFX from audio files.applescript
|
set eachFileName to item 1 of eachFileArrayThree
|
Create a variant SFX from audio files.applescript
|
set end of otherFilesPrefix to eachFilePrefixTwo
|
Create a variant SFX from audio files.applescript
|
if eachFilePrefixOne is not equal to filePrefixOne then display dialog "The variable ABBREVIATION for \"" & eachFilePrefixOne & "." & eachFilePrefixTwo & "." & eachFilePrefixThree & " " & eachFileName & "\" is not the same as that in the first file. Would you like to continue? If you do, the abbreviation from the first file will be used" default button "OK" cancel button "Cancel" with title "Abbreviation Inconsistency"
|
Create a variant SFX from audio files.applescript
|
if eachFilePrefixThree is not equal to filePrefixThree then display dialog "The variation NUMBER for \"" & eachFilePrefixOne & "." & eachFilePrefixTwo & "." & eachFilePrefixThree & " " & eachFileName & "\" is not the same as that in the first file. Would you like to continue? If you do, the number from the first file will be used" default button "OK" cancel button "Cancel" with title "Variation Number Inconsistency"
|
Create a variant SFX from audio files.applescript
|
if eachFileName is not equal to fileName then display dialog "The cue NAME for \"" & eachFilePrefixOne & "." & eachFilePrefixTwo & "." & eachFilePrefixThree & " " & eachFileName & "\" is not the same as that in the first file. Would you like to continue? If you do, the name from the first file will be used" default button "OK" cancel button "Cancel" with title "Variation Name Inconsistency"
|
Create a variant SFX from audio files.applescript
|
set actorNameArray to {}
|
Create a variant SFX from audio files.applescript
|
set actorNameOne to item 2 of (util's splitString(firstFileName, ", "))
|
Create a variant SFX from audio files.applescript
|
set actorNameOneFinal to item 1 of (util's splitString(actorNameOne, "."))
|
Create a variant SFX from audio files.applescript
|
set end of actorNameArray to actorNameOneFinal
|
Create a variant SFX from audio files.applescript
|
set eachFileNameArray to (util's splitString(eachFileName, ", "))
|
Create a variant SFX from audio files.applescript
|
set nextActorName to item 2 of eachFileNameArray
|
Create a variant SFX from audio files.applescript
|
set nextActorNameFinal to item 1 of (util's splitString(nextActorName, "."))
|
Create a variant SFX from audio files.applescript
|
set end of actorNameArray to nextActorNameFinal
|
Create a variant SFX from audio files.applescript
|
set mainSFXGroup to last item of (selected as list)
|
Create a variant SFX from audio files.applescript
|
set mode of mainSFXGroup to timeline
|
Create a variant SFX from audio files.applescript
|
set mainSFXGroupID to uniqueID of mainSFXGroup
|
Create a variant SFX from audio files.applescript
|
set q name of mainSFXGroup to fileName
|
Create a variant SFX from audio files.applescript
|
set q color of mainSFXGroup to "Blue"
|
Create a variant SFX from audio files.applescript
|
make type "Audio"
|
Create a variant SFX from audio files.applescript
|
set audioOne to last item of (selected as list)
|
Create a variant SFX from audio files.applescript
|
set audioOneID to uniqueID of audioOne
|
Create a variant SFX from audio files.applescript
|
set q name of audioOne to ((item 1 of actorNameArray) & " | " & fileName) as string
|
Create a variant SFX from audio files.applescript
|
set q number of audioOne to filePrefixOne & "." & filePrefixTwo & "." & filePrefixThree
|
Create a variant SFX from audio files.applescript
|
set file target of audioOne to audioFilesOne
|
Create a variant SFX from audio files.applescript
|
move cue id audioOneID of parent of audioOne to end of mainSFXGroup
|
Create a variant SFX from audio files.applescript
|
set itemNumber to 0
|
Create a variant SFX from audio files.applescript
|
set itemNumber to itemNumber + 1
|
Create a variant SFX from audio files.applescript
|
set nextAudio to last item of (selected as list)
|
Create a variant SFX from audio files.applescript
|
set nextAudioID to uniqueID of nextAudio
|
Create a variant SFX from audio files.applescript
|
set q name of nextAudio to ((item (itemNumber + 1) of actorNameArray) & " | " & fileName as string)
|
Create a variant SFX from audio files.applescript
|
set q number of nextAudio to filePrefixOne & "." & (item itemNumber of otherFilesPrefix) & "." & filePrefixThree
|
Create a variant SFX from audio files.applescript
|
set file target of nextAudio to eachFile
|
Create a variant SFX from audio files.applescript
|
move cue id nextAudioID of parent of nextAudio to end of mainSFXGroup
|
Create a variant SFX from audio files.applescript
|
tell application "Quicken 2016"
|
LogSymbols.applescript
|
set quickenDocument to front document
|
LogSymbols.applescript
|
set tickerSymbols to ""
|
LogSymbols.applescript
|
repeat with theAccount in accounts of quickenDocument
|
LogSymbols.applescript
|
set accountType to type of theAccount
|
LogSymbols.applescript
|
set isInvestmentAccount to my stringContains(name of accountType, {"BROKERAGE", "RETIREMENT"})
|
LogSymbols.applescript
|
if isInvestmentAccount is true then
|
LogSymbols.applescript
|
set accountName to name of theAccount
|
LogSymbols.applescript
|
log "Account: " & accountName
|
LogSymbols.applescript
|
set statement to last statement of theAccount
|
LogSymbols.applescript
|
log "Last statement:"
|
LogSymbols.applescript
|
log statement
|
LogSymbols.applescript
|
repeat with holding in inv holdings of statement
|
LogSymbols.applescript
|
log holding
|
LogSymbols.applescript
|
log TICKER of security ID of holding
|
LogSymbols.applescript
|
log eMsg
|
LogSymbols.applescript
|
log eNum
|
LogSymbols.applescript
|
on stringContains(theText, listOfCharsOrStrings)
|
LogSymbols.applescript
|
local ASTID, theText, listOfCharsOrStrings, i
|
LogSymbols.applescript
|
property l : listOfCharsOrStrings
|
LogSymbols.applescript
|
set len to count k's l
|
LogSymbols.applescript
|
set cur_ to k's l's item i
|
LogSymbols.applescript
|
set AppleScript's text item delimiters to cur_
|
LogSymbols.applescript
|
set i to (count theText's text items) - 1
|
LogSymbols.applescript
|
error "Can't stringContains: " & eMsg number eNum
|
LogSymbols.applescript
|
end stringContains
|
LogSymbols.applescript
|
if (currentHour > 12 and currentHour < 24) then
|
Time Of Day.applescript
|
global std, usr, fileUtil, textUtil, syseve, emoji, sessionPlist, seLib, automator, configUser
|
Create Voice Command App.applescript
|
set automator to std's import("automator")'s new()
|
Create Voice Command App.applescript
|
std's catch(me, errorNumber, errorMessage)
|
Create Voice Command App.applescript
|
usr's done()
|
Create Voice Command App.applescript
|
logger's info("This app was designed to create an app for the currently opened document in Script Editor")
|
Create Voice Command App.applescript
|
set thisAppName to text 1 thru ((offset of "." in SCRIPT_NAME) - 1) of SCRIPT_NAME
|
Create Voice Command App.applescript
|
logger's info("Switching to a test file for to create voice command for")
|
Create Voice Command App.applescript
|
set seTab to seLib's findTabWithName("hello.applescript")
|
Create Voice Command App.applescript
|
error "You must open the hello.applescript in Script Editor"
|
Create Voice Command App.applescript
|
logger's infof("Base Script Name: {}", baseScriptName)
|
Create Voice Command App.applescript
|
sessionPlist's setValue("New Script Name", baseScriptName & ".app")
|
Create Voice Command App.applescript
|
logger's info("Conditionally quitting existing automator app...")
|
Create Voice Command App.applescript
|
automator's forceQuitApp()
|
Create Voice Command App.applescript
|
set projectsPath to configUser's getValue("AppleScript Projects Path")
|
Create Voice Command App.applescript
|
if projectsPath is missing value then
|
Create Voice Command App.applescript
|
error "Projects Path was not found in config-user.plist"
|
Create Voice Command App.applescript
|
set scriptPosixPath to seTab's getPosixPath()
|
Create Voice Command App.applescript
|
set computedProjectKey to missing value
|
Create Voice Command App.applescript
|
repeat with nextPath in projectsPath
|
Create Voice Command App.applescript
|
if scriptPosixPath starts with nextPath then
|
Create Voice Command App.applescript
|
set filePathTokens to textUtil's split(nextPath, "/")
|
Create Voice Command App.applescript
|
set computedProjectKey to the last item of filePathTokens
|
Create Voice Command App.applescript
|
logger's debugf("computedProjectKey: {}", computedProjectKey)
|
Create Voice Command App.applescript
|
assertThat of std given condition:computedProjectKey is not missing value, messageOnFail:"Error: Make sure you have registered the project containing " & SCRIPT_NAME & ". See its README.md for more details."
|
Create Voice Command App.applescript
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.