Main Page

BridgePlus.framework, SMSForder Class Methods

The BridgePlus.scptd bundle contains a framework that includes many methods useful to scripters. The library does not contain terminology for these methods, but by including use script "BridgePlus" in your scripts, you can access these methods directly.

This is a list of the available methods, all of which are class methods of the SMSForder class. You should generally use the BridgePlus.scpt library's ASify from command to convert the results to AppleScript classes. Also note that all indexes are zero-based.

These pages are a work in progress. Special thanks to Takaaki Naganoya and Yvan Koenig for their valuable testing and feedback.

House-keeping methods

frameworkVersion

frameworkDate

List manipulation methods

subarraysIn:paddedWith:error:

colsToRowsIn:error:

arrayByFlattening:

arrayByFullyFlattening:

subarraysFrom:groupedBy:error:

subarraysIn:withItems:insertedAtIndex:error:

arrayByInsertingItems:inArray:atIndex:error:

arrayByMovingItemAt:toIndex:inArray:error:

arrayByDeletingBlanksIn:

arrayByTrimmingTrailingBlanksFrom:

arrayByTrimmingBlanksFrom:

arrayByReplacingNullsIn:withItem:

arrayWithPattern:startNumber:endNumber:minDigits:

sumMaxMinOf:error:

subarraysIn:sortedByIndexes:ascending:sortTypes:error:

subarraysIn:sortedByIndexes:ascending:sortTypes:sortKeys:error:

arrayByMergingTextAtIndexes:inArray:inserting:error:

indexesOfItem:inArray:inverting:

indexesOfItems:inArray:inverting:

subarraysIn:asDictionariesUsingLabels:error:

subarraysFrom:usingKeys:outKeys:error:

arrayWithIndexSet:

arrayByAddingInteger:inArray:

sortedArrayFrom:stableSort:usingSelector:target:

indexSetWithArray:

splitArray:byKey:sortKeys:

sortedArrayFrom:byKeys:

URL and File related methods

metadataFromImage:error:

infoForFile:

sizeInfoForFile:

resourceValueForKey:forURLsOrFiles:

resourceValuesForKeys:forURLsOrFiles:

itemsIn:recursive:skipHidden:skipInsidePackages:asPaths:

itemsIn:recursive:asPaths:

filesIn:recursive:skipHidden:skipInsidePackages:asPaths:

filesIn:recursive:asPaths:

foldersIn:recursive:skipHidden:skipInsidePackages:asPaths:

foldersIn:recursive:asPaths:

resourceValuesForKeys:forItemsIn:recursive:skipHidden:skipInsidePackages:

resourceValuesForKeys:forItemsIn:recursive:

resourceValuesForKeys:forFilesIn:recursive:skipHidden:skipInsidePackages:

resourceValuesForKeys:forFilesIn:recursive:

resourceValuesForKeys:forFoldersIn:recursive:skipHidden:skipInsidePackages:

resourceValuesForKeys:forFoldersIn:recursive:

copyItemAt:toItem:replace:error:

moveItemAt:toItem:replace:error:

UTIForExtension:

runSpotlightQuery:inFolders:error:

runSpotlightQuery:queryValues:inFolders:error:

spotlightDataFor:

Miscellaneous methods

bezierForAI:

bezierForID:

pathOfBezier:

lineDashCountAndPhaseOfBezier:

componentsOfColor:

fordEvent

passForGenericItem:account:error:

passForGenericItem:account:keychainPath:error:

passForInternetItem:account:server:path:port:error:

passForInternetItem:account:server:path:port:keychainPath:error:

dateValuesFrom:

extraDateValuesFrom:

timeValuesFrom:

Regular Expression methods

findFirstMatch:inString:options:

findFirstMatchRecord:inString:options:

findMatches:inString:options:

findMatchRecords:inString:options:

findMatches:inString:options:captureGroups:

findMatchRecords:inString:options:captureGroups:

Keyboard input source methods

availableInputSourceIDs

allAvailableInputSourceIDs

currentKeyboardInputSourceID

currentKeyboardLayoutInputSourceID

changeInputSourceTo:

String manipulation methods

datesFromStrings:format:

stringsFromDates:format:

arrayFromTSV:

arrayFromCSV:commaIs:

transformedFrom:ICUTransform:inverse:

encodedXMLFrom:

unencodedForXMLFrom:

encodedDecimalFrom:

decodedDecimalFrom:

encodedHexFrom:

MD5From:

smartQuotedFrom:

unsmartQuotedFrom:

cleanSpacedFrom:

emptyLineFreeFrom:

Substring extraction methods

charactersOfString:

wordsOfString:

localizedWordsOfString:

sentencesOfString:

localizedSentencesOfString:

paragraphsOfString:

linesOfString:

stringsOfString:inString:options:

stringsOfString:inString:options:locale:

Substring range methods

rangesOfCharactersOfString:

rangesOfWordsOfString:

rangesOfLocalizedWordsOfString:

rangesOfSentencesOfString:

rangesOfLocalizedSentencesOfString:

rangesOfParagraphsOfString:

rangesOfLinesOfString:

rangesOfString:inString:options:

rangesOfString:inString:options:locale:

Offset vs Range methods

locationOfCharacterAt:inString:

rangeOfCharacterAt:inString:

offsetOfLocation:inString:

offsetsOfRange:inString:

Substring counting methods

characterCountOfString:

wordCountOfString:

localizedWordCountOfString:

sentenceCountOfString:

localizedSentenceCountOfString:

paragraphCountOfString:

lineCountOfString:

Trigonometry methods

tanValueOf:

sinValueOf:

cosValueOf:

atanValueOf:

asinValueOf:

acosValueOf:

tanhValueOf:

sinhValueOf:

coshValueOf:

atanhValueOf:

asinhValueOf:

acoshValueOf:

logValueOf:

log10ValueOf:

AppleScript to Cocoa conversion methods

CocoaifyFrom:

CocoaifyFrom:forTypes:

Cocoa to AppleScript conversion methods

ASifyFrom:

ASifyInListFrom:

ASifyFrom:forTypes:

ASifyInListFrom:forTypes:

Specialist conversion methods

URLFrom:

URLsFrom:

fileFromURL:

HFSPathFromURL:

HFSPathFromURL:colonForPackages: