openscripting

package
v0.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Rendered for darwin/amd64

Overview

Package openscripting provides a fluent Go API over the macOS OpenScripting framework.

Construction

New… functions create objects; each With… method sets one property and returns its receiver, so configuration calls chain. A <Type>FromID constructor adopts an Objective-C object obtained elsewhere.

Lifecycle

A wrapper releases its Objective-C object automatically once the garbage collector finds it unreachable. Call Release to relinquish the reference deterministically (for objects holding scarce resources); Release is idempotent, and afterwards the wrapper's methods are no-ops returning zero values.

Index

Constants

View Source
const (
	CAccessoryProcess                         = 1885561953
	CAccessorySuitcase                        = 1685288308
	CAddress                                  = 1633969266
	CAliasFile                                = 1634494817
	CAliasList                                = 1634497396
	CAliasOrString                            = 1936072736
	CApplicationFile                          = 1634758758
	CApplicationProcess                       = 1885561200
	CApril                                    = 1634759200
	CAugust                                   = 1635084064
	CClassIdentifier                          = 1885564019
	CClippingFile                             = 1668051046
	CClippingWindow                           = 1819766372
	CClosure                                  = 1668051826
	CCoerceKataHiragana                       = 1954048872
	CCoerceLowerCase                          = 1954049135
	CCoerceOneByteToTwoByte                   = 1954047352
	CCoerceRemoveDiacriticals                 = 1954047075
	CCoerceRemoveHyphens                      = 1954048121
	CCoerceRemovePunctuation                  = 1954050147
	CCoerceRemoveWhiteSpace                   = 1954051955
	CCoerceSmallKana                          = 1954050923
	CCoerceUpperCase                          = 1954051440
	CCoerceZenkakuhankaku                     = 1954052709
	CCoercion                                 = 1668244835
	CConstant                                 = 1701737837
	CContainer                                = 1668574834
	CContainerWindow                          = 1668771428
	CContentSpace                             = 1685548644
	CControlPanelFile                         = 1667458166
	CDTPWindow                                = 1685352567
	CDecember                                 = 1684366112
	CDeskAccessoryFile                        = 1684104809
	CDesktop                                  = 1667527531
	CDesktopPrinter                           = 1685285744
	CDisk                                     = 1667524979
	CDocumentFile                             = 1685021542
	CDynamicLibrary                           = 1685679202
	CEntireContents                           = 1701016691
	CEventIdentifier                          = 1702260340
	CFebruary                                 = 1717920288
	CFolder                                   = 1667657580
	CFontFile                                 = 1718514790
	CFontSuitcase                             = 1718842740
	CFramework                                = 1718775147
	CFriday                                   = 1718774048
	CGroup                                    = 1936159344
	CHandleBreakpoint                         = 1651663211
	CHandler                                  = 1751215716
	CIconFamily                               = 1768317293
	CInfoWindow                               = 1769434724
	CInternalFinderObject                     = 1868720672
	CJanuary                                  = 1784770080
	CJuly                                     = 1786080288
	CJune                                     = 1786080800
	CKeyForm                                  = 1801876077
	CKeyIdentifier                            = 1803118948
	CLabel                                    = 1668047468
	CLinkedList                               = 1819046772
	CList                                     = 1818850164
	CListElement                              = 1667591277
	CListOrRecord                             = 1819418656
	CListOrString                             = 1819484192
	CListRecordOrString                       = 1819439904
	CMachine                                  = 1835098984
	CMarch                                    = 1835102752
	CMay                                      = 1835104544
	CMissingValue                             = 1836281447
	CMonday                                   = 1836019232
	CMonth                                    = 1835955304
	CNovember                                 = 1852798496
	CNumber                                   = 1852662386
	CNumberDateTimeOrString                   = 1852076832
	CNumberOrDateTime                         = 1852055584
	CNumberOrString                           = 1853038624
	CObjectBeingExamined                      = 1702391150
	COctober                                  = 1868788768
	COnlineDisk                               = 1668244595
	COnlineLocalDisk                          = 1668047987
	COnlineRemoteDisk                         = 1668441203
	CPackage                                  = 1885430635
	CPreferences                              = 1668313702
	CPreferencesWindow                        = 1886875236
	CPreposition                              = 1886545264
	CProcedure                                = 1886547811
	CProcess                                  = 1886544755
	CRawData                                  = 1919181172
	CReal                                     = 1685026146
	CRecord                                   = 1919247215
	CReference                                = 1868720672
	CRunningAddress                           = 1918985316
	CSaturday                                 = 1935766560
	CScript                                   = 1935896692
	CScriptingAddition                        = 1869832568
	CSeconds                                  = 1935896164
	CSeptember                                = 1936027680
	CSharableContainer                        = 1935897714
	CSharingPrivileges                        = 1886546294
	CSharingWindow                            = 1937206884
	CSmallReal                                = 1936289383
	CSound                                    = 1936614432
	CSoundFile                                = 1936614502
	CSpecialFolders                           = 1936746092
	CStatusWindow                             = 1903652452
	CStorage                                  = 1937010546
	CString                                   = 1413830740
	CStringClass                              = 1413830740
	CSuitcase                                 = 1937007475
	CSunday                                   = 1937075744
	CSymbol                                   = 1937337698
	CThursday                                 = 1953002784
	CTrash                                    = 1668575859
	CTuesday                                  = 1953850656
	CUndefined                                = 1970168934
	CUser                                     = 1668641637
	CUserIdentifier                           = 1969841184
	CVector                                   = 1986356084
	CWednesday                                = 2003133472
	CWeekday                                  = 2003526777
	CWritingCodeInfo                          = 1667855468
	CZone                                     = 2054123109
	EnumAfterDate                             = 1634100340
	EnumAliases                               = 1634494817
	EnumAllDisks                              = 1634495588
	EnumAllDocuments                          = 1634495588
	EnumAllLocalDisks                         = 1634493547
	EnumAllOpenFolders                        = 1634690671
	EnumAllRemoteDisks                        = 1634886763
	EnumAnyDate                               = 1634629988
	EnumArrangement                           = 1700885106
	EnumBeforeDate                            = 1650877556
	EnumBetweenDate                           = 1651795060
	EnumBooleanValues                         = 1651470198
	EnumConflicts                             = 1667656803
	EnumConsiderations                        = 1668247155
	EnumConsidsAndIgnores                     = 1668508007
	EnumDate                                  = 1701733473
	EnumExistingItems                         = 1702392681
	EnumFolders                               = 1718578276
	EnumFontsPanel                            = 1718644332
	EnumGeneralPanel                          = 1735421548
	EnumGestalt                               = 1735615854
	EnumIconSize                              = 1769171322
	EnumInfoWindowPanel                       = 1768975980
	EnumLargeIconSize                         = 1818716515
	EnumLastMonth                             = 1819111278
	EnumLastWeek                              = 1819764075
	EnumLastYear                              = 1819895154
	EnumMemoryPanel                           = 1836084844
	EnumMiniIconSize                          = 1835624803
	EnumMiscValues                            = 1835627363
	EnumOlderItems                            = 1869374578
	EnumOnDate                                = 1869505652
	EnumPrefsButtonViewPanel                  = 1885501040
	EnumPrefsGeneralPanel                     = 1885826672
	EnumPrefsIconViewPanel                    = 1885959792
	EnumPrefsLabelPanel                       = 1886151280
	EnumPrefsListViewPanel                    = 1886156400
	EnumPrefsWindowPanel                      = 1886415973
	EnumSharingPanel                          = 1936748140
	EnumSmallIconSize                         = 1936550243
	EnumSortDirection                         = 1936680050
	EnumSortDirectionNormal                   = 1936618093
	EnumSortDirectionReverse                  = 1936881267
	EnumStationery                            = 1937006964
	EnumStatusNConfigPanel                    = 1935896172
	EnumThisMonth                             = 1953329006
	EnumThisWeek                              = 1953981803
	EnumThisYear                              = 1954112882
	EnumToday                                 = 1952735609
	EnumViewBy                                = 1987535481
	EnumWhere                                 = 2003330418
	EnumYesterday                             = 2036621689
	ErrAEValueOutOfRange                      = -15279
	ErrFinderAppFolderProtected               = -15276
	ErrFinderBadPackageContents               = -15288
	ErrFinderBoundsWrong                      = -15278
	ErrFinderCannotPutAway                    = -15262
	ErrFinderCantDeleteImmediately            = -15292
	ErrFinderCantMoveSource                   = -15266
	ErrFinderCantMoveToAncestor               = -15269
	ErrFinderCantMoveToDestination            = -15265
	ErrFinderCantOverwrite                    = -15267
	ErrFinderCantUseTrashedItems              = -15270
	ErrFinderCorruptOpenFolderList            = -15290
	ErrFinderFileSharingMustBeOn              = -15281
	ErrFinderIncestuousMove                   = -15268
	ErrFinderIsBusy                           = -15260
	ErrFinderItemAlreadyInDest                = -15271
	ErrFinderLastReserved                     = -15379
	ErrFinderLockedItemsInTrash               = -15284
	ErrFinderMustBeActive                     = -15282
	ErrFinderNoInvisibleFiles                 = -15291
	ErrFinderOnlyLockedItemsInTrash           = -15285
	ErrFinderProgramLinkingMustBeOn           = -15286
	ErrFinderPropertyDoesNotApply             = -15280
	ErrFinderPropertyNowWindowBased           = -15275
	ErrFinderSharePointsCantInherit           = -15273
	ErrFinderSysFolderProtected               = -15277
	ErrFinderUnknownUser                      = -15272
	ErrFinderUnsupportedInsidePackages        = -15289
	ErrFinderVolumeNotFound                   = -15283
	ErrFinderWindowMustBeButtonView           = -15287
	ErrFinderWindowMustBeIconView             = -15263
	ErrFinderWindowMustBeListView             = -15264
	ErrFinderWindowNotOpen                    = -15261
	ErrFinderWindowWrongType                  = -15274
	FormAlias                                 = 1634494835
	FormCreator                               = 1717793396
	FormUserPropertyID                        = 1970500208
	KAECase                                   = 1667330917
	KAECaseConsiderMask                       = 1
	KAECaseIgnoreMask                         = 65536
	KAECleanUp                                = 1717791861
	KAEDatabaseSuite                          = 1145132097
	KAEDiacritic                              = 1684627811
	KAEDiacriticConsiderMask                  = 2
	KAEDiacriticIgnoreMask                    = 131072
	KAEEject                                  = 1701471092
	KAEEmpty                                  = 1701671028
	KAEErase                                  = 1717924449
	KAEExpansion                              = 1702391905
	KAEExpansionConsiderMask                  = 16
	KAEExpansionIgnoreMask                    = 1048576
	KAEFalse                                  = 1717660787
	KAEFinderSuite                            = 1718510706
	KAEGestalt                                = 1735619692
	KAEHyphens                                = 1752789096
	KAEHyphensConsiderMask                    = 8
	KAEHyphensIgnoreMask                      = 524288
	KAEInterceptOpen                          = 1718579310
	KAEKataHiragana                           = 1751739233
	KAEPunctuation                            = 1886744163
	KAEPunctuationConsiderMask                = 32
	KAEPunctuationIgnoreMask                  = 2097152
	KAEPutAway                                = 1886680953
	KAERebuildDesktopDB                       = 1919181922
	KAESmallKana                              = 1936420449
	KAESort                                   = 1397707348
	KAESync                                   = 1718972516
	KAETrue                                   = 1953658213
	KAEWhiteSpace                             = 2003331444
	KAEWhiteSpaceConsiderMask                 = 4
	KAEWhiteSpaceIgnoreMask                   = 262144
	KAEZenkakuHankaku                         = 2053859435
	KASAdd                                    = 723525664
	KASAnd                                    = 1095648288
	KASAppleScriptSuite                       = 1634952050
	KASComesAfter                             = 1667327602
	KASComesBefore                            = 1667393138
	KASComment                                = 1668116084
	KASCommentEvent                           = 1668116084
	KASConcatenate                            = 1667457396
	KASConsiderReplies                        = 1919775845
	KASConsiderRepliesConsiderMask            = 64
	KASConsiderRepliesIgnoreMask              = 4194304
	KASContains                               = 1668247156
	KASCurrentApplication                     = 1668641377
	KASDefaultMaxHeapSize                     = 33554432
	KASDefaultMaxStackSize                    = 16384
	KASDefaultMinHeapSize                     = 4096
	KASDefaultMinStackSize                    = 4096
	KASDefaultPreferredHeapSize               = 16384
	KASDefaultPreferredStackSize              = 16384
	KASDivide                                 = 790634528
	KASEndsWith                               = 1701733491
	KASEqual                                  = 1025515552
	KASErrorEventCode                         = 1701999136
	KASExcluding                              = 1768779896
	KASGreaterThan                            = 1042292768
	KASGreaterThanOrEqual                     = 1044193312
	KASHasOpenHandler                         = 1752395620
	KASImporting                              = 1768779890
	KASInitializeEventCode                    = 1768843636
	KASLaunchEvent                            = 1852796784
	KASLessThan                               = 1008738336
	KASLessThanOrEqual                        = 1010638880
	KASMagicEndTellEvent                      = 1952804452
	KASMagicTellEvent                         = 1952803948
	KASMinimumVersion                         = 1835626102
	KASMultiply                               = 706748448
	KASNegate                                 = 1852139296
	KASNot                                    = 1313821728
	KASNotEqual                               = -1390403552
	KASNumberOfSourceStyles                   = 18
	KASNumericStrings                         = 1853189477
	KASNumericStringsConsiderMask             = 128
	KASNumericStringsIgnoreMask               = 8388608
	KASOr                                     = 1330782240
	KASPower                                  = 1579163680
	KASPrepositionalSubroutine                = 1886610034
	KASQuotient                               = 1684633120
	KASRemainder                              = 1836016672
	KASScriptEditorSuite                      = 1416591699
	KASSelectCopySourceAttributes             = 4101
	KASSelectGetAppTerminology                = 4362
	KASSelectGetAppTerminologyObsolete        = 4357
	KASSelectGetHandler                       = 4361
	KASSelectGetHandlerNames                  = 4365
	KASSelectGetHandlerObsolete               = 4356
	KASSelectGetProperty                      = 4359
	KASSelectGetPropertyNames                 = 4364
	KASSelectGetPropertyObsolete              = 4354
	KASSelectGetSourceStyleNames              = 4100
	KASSelectGetSourceStyles                  = 4099
	KASSelectGetSysTerminology                = 4363
	KASSelectInit                             = 4097
	KASSelectSetHandler                       = 4360
	KASSelectSetHandlerObsolete               = 4355
	KASSelectSetProperty                      = 4358
	KASSelectSetPropertyObsolete              = 4353
	KASSelectSetSourceAttributes              = 4102
	KASSelectSetSourceStyles                  = 4098
	KASSourceStyleApplicationKeyword          = 3
	KASSourceStyleClass                       = 10
	KASSourceStyleComment                     = 4
	KASSourceStyleDynamicClass                = 15
	KASSourceStyleDynamicEnumValue            = 17
	KASSourceStyleDynamicEventName            = 13
	KASSourceStyleDynamicParameterName        = 14
	KASSourceStyleDynamicProperty             = 16
	KASSourceStyleEnumValue                   = 12
	KASSourceStyleEventName                   = 8
	KASSourceStyleLanguageKeyword             = 2
	KASSourceStyleLiteral                     = 5
	KASSourceStyleNormalText                  = 1
	KASSourceStyleObjectSpecifier             = 7
	KASSourceStyleParameterName               = 9
	KASSourceStyleProperty                    = 11
	KASSourceStyleString                      = 7
	KASSourceStyleUncompiledText              = 0
	KASSourceStyleUserSymbol                  = 6
	KASStartLogEvent                          = 1819240241
	KASStartsWith                             = 1650947956
	KASStopLogEvent                           = 1819240240
	KASSubroutineEvent                        = 1886610034
	KASSubtract                               = 757080096
	KASTypeNamesSuite                         = 1953525357
	KASUseEventCode                           = 1970496800
	KAppleScriptSubtype                       = 1634952050
	KCleanUpAEUT                              = 1667528052
	KDialectBundleResType                     = 1147298924
	KDigiHubBlankCD                           = 1650680864
	KDigiHubBlankDVD                          = 1650751076
	KDigiHubEventClass                        = 1684567394
	KDigiHubMusicCD                           = 1635083108
	KDigiHubPictureCD                         = 1885954916
	KDigiHubVideoDVD                          = 1986295396
	KGSSSelectGenericToRealID                 = 4101
	KGSSSelectGetDefaultScriptingComponent    = 4097
	KGSSSelectGetScriptingComponent           = 4099
	KGSSSelectGetScriptingComponentFromStored = 4100
	KGSSSelectOutOfRange                      = 4103
	KGSSSelectRealToGenericID                 = 4102
	KGSSSelectSetDefaultScriptingComponent    = 4098
	KGenericComponentVersion                  = 256
	KGetAETE                                  = 1734636645
	KGetAEUT                                  = 1734636916
	KOSACanGetSource                          = 1735619171
	KOSAComponentType                         = 1869832480
	KOSADontUsePhac                           = 1
	KOSAErrorApp                              = 1701994864
	KOSAErrorArgs                             = 1701999201
	KOSAErrorBriefMessage                     = 1701999202
	KOSAErrorExpectedType                     = 1701999220
	KOSAErrorMessage                          = 1701999219
	KOSAErrorNumber                           = 1701999214
	KOSAErrorOffendingObject                  = 1701998434
	KOSAErrorPartialResult                    = 1886678130
	KOSAErrorRange                            = 1701998183
	KOSAFileType                              = 1869832563
	KOSAGenericScriptingComponentSubtype      = 1935896692
	KOSAModeAlwaysInteract                    = 48
	KOSAModeAugmentContext                    = 4
	KOSAModeCanInteract                       = 32
	KOSAModeCantSwitchLayer                   = 64
	KOSAModeCompileIntoContext                = 2
	KOSAModeDispatchToDirectObject            = 131072
	KOSAModeDisplayForHumans                  = 8
	KOSAModeDoRecord                          = 4096
	KOSAModeDontDefine                        = 1
	KOSAModeDontGetDataForArguments           = 262144
	KOSAModeDontReconnect                     = 128
	KOSAModeDontStoreParent                   = 65536
	KOSAModeFullyQualifyDescriptors           = 524288
	KOSAModeNeverInteract                     = 16
	KOSAModeNull                              = 0
	KOSAModePreventGetSource                  = 1
	KOSANoDispatch                            = 0
	KOSANullMode                              = 0
	KOSANullScript                            = 0
	KOSARecordedText                          = 1919247204
	KOSAScriptBestType                        = 1650815860
	KOSAScriptIsModified                      = 1836016745
	KOSAScriptIsTypeCompiledScript            = 1668506482
	KOSAScriptIsTypeScriptContext             = 1668183160
	KOSAScriptIsTypeScriptValue               = 1986096245
	KOSAScriptResourceType                    = 1935896692
	KOSASelectAvailableDialectCodeList        = 1797
	KOSASelectAvailableDialects               = 1795
	KOSASelectCoerceFromDesc                  = 769
	KOSASelectCoerceToDesc                    = 770
	KOSASelectCompile                         = 259
	KOSASelectCompileExecute                  = 1538
	KOSASelectComponentSpecificStart          = 4097
	KOSASelectCopyDisplayString               = 11
	KOSASelectCopyID                          = 260
	KOSASelectCopyScript                      = 261
	KOSASelectCopySourceString                = 514
	KOSASelectDisplay                         = 4
	KOSASelectDispose                         = 6
	KOSASelectDoEvent                         = 2052
	KOSASelectDoScript                        = 1539
	KOSASelectExecute                         = 3
	KOSASelectExecuteEvent                    = 2051
	KOSASelectGetActiveProc                   = 10
	KOSASelectGetCreateProc                   = 1028
	KOSASelectGetCurrentDialect               = 1794
	KOSASelectGetDialectInfo                  = 1796
	KOSASelectGetResumeDispatchProc           = 2050
	KOSASelectGetScriptInfo                   = 8
	KOSASelectGetSendProc                     = 1026
	KOSASelectGetSource                       = 513
	KOSASelectLoad                            = 1
	KOSASelectLoadExecute                     = 1537
	KOSASelectMakeContext                     = 2053
	KOSASelectScriptError                     = 5
	KOSASelectScriptingComponentName          = 258
	KOSASelectSetActiveProc                   = 9
	KOSASelectSetCreateProc                   = 1027
	KOSASelectSetCurrentDialect               = 1793
	KOSASelectSetDefaultTarget                = 1029
	KOSASelectSetResumeDispatchProc           = 2049
	KOSASelectSetScriptInfo                   = 7
	KOSASelectSetSendProc                     = 1025
	KOSASelectStartRecording                  = 1281
	KOSASelectStopRecording                   = 1282
	KOSASelectStore                           = 2
	KOSASuite                                 = 1634952050
	KOSASupportsAECoercion                    = 8
	KOSASupportsAESending                     = 16
	KOSASupportsCompiling                     = 2
	KOSASupportsConvenience                   = 64
	KOSASupportsDialects                      = 128
	KOSASupportsEventHandling                 = 256
	KOSASupportsGetSource                     = 4
	KOSASupportsRecording                     = 32
	KOSAUseStandardDispatch                   = -1
	KUpdateAETE                               = 1969517669
	KUpdateAEUT                               = 1969517940
	Key32BitIcon                              = 1768698674
	Key4BitIcon                               = 1768123444
	Key8BitIcon                               = 1768123448
	Key8BitMask                               = 1815637355
	KeyAEErrorObject                          = 1701998434
	KeyAENoAutoRouting                        = 1919907188
	KeyAEReplacing                            = 1634497136
	KeyAETarget                               = 1952543335
	KeyAEUsing                                = 1970497902
	KeyASArg                                  = 1634887456
	KeyASPositionalArgs                       = 1885434471
	KeyASPrepositionAbout                     = 1633841013
	KeyASPrepositionAbove                     = 1633842789
	KeyASPrepositionAgainst                   = 1634169716
	KeyASPrepositionApartFrom                 = 1634759284
	KeyASPrepositionAround                    = 1634889316
	KeyASPrepositionAsideFrom                 = 1634952294
	KeyASPrepositionAt                        = 1635000352
	KeyASPrepositionBelow                     = 1650814071
	KeyASPrepositionBeneath                   = 1651405928
	KeyASPrepositionBeside                    = 1651730788
	KeyASPrepositionBetween                   = 1651799918
	KeyASPrepositionBy                        = 1652105248
	KeyASPrepositionFor                       = 1718579744
	KeyASPrepositionFrom                      = 1718775661
	KeyASPrepositionGiven                     = 1734964846
	KeyASPrepositionHas                       = 1751216928
	KeyASPrepositionIn                        = 1768824864
	KeyASPrepositionInsteadOf                 = 1769174127
	KeyASPrepositionInto                      = 1768846447
	KeyASPrepositionOn                        = 1869488160
	KeyASPrepositionOnto                      = 1869509743
	KeyASPrepositionOutOf                     = 1869968495
	KeyASPrepositionOver                      = 1870030194
	KeyASPrepositionSince                     = 1936614245
	KeyASPrepositionThrough                   = 1952999272
	KeyASPrepositionThru                      = 1953002101
	KeyASPrepositionTo                        = 1953439776
	KeyASPrepositionUnder                     = 1970168946
	KeyASPrepositionUntil                     = 1953066092
	KeyASPrepositionWith                      = 2003399784
	KeyASPrepositionWithout                   = 2003793268
	KeyASReturning                            = 1265792110
	KeyASSubroutineName                       = 1936613741
	KeyASUserRecordFields                     = 1970500198
	KeyAll                                    = 1803116908
	KeyAppHandledCoercion                     = 1768186227
	KeyGlobalPositionList                     = 1836478567
	KeyIconAndMask                            = 1229147683
	KeyLocalPositionList                      = 1836478572
	KeyMini1BitMask                           = 1768123683
	KeyMini4BitIcon                           = 1768123700
	KeyMini8BitIcon                           = 1768123704
	KeyOSADialectCode                         = 1684238180
	KeyOSADialectLangCode                     = 1684824932
	KeyOSADialectName                         = 1684955501
	KeyOSADialectScriptCode                   = 1685283684
	KeyOSASourceEnd                           = 1936876389
	KeyOSASourceStart                         = 1936876403
	KeyOldFinderItems                         = 1718838636
	KeyRedirectedDocumentList                 = 1718641772
	KeyScszResource                           = 1935897466
	KeySmall32BitIcon                         = 1769157426
	KeySmall4BitIcon                          = 1768125236
	KeySmall8BitIcon                          = 1768125240
	KeySmall8BitMask                          = 1933077867
	KeySmallIconAndMask                       = 1768125219
	KeySubjectAttr                            = 1937072746
	PARADialIn                                = 1634885988
	PASDateString                             = 1685288050
	PASDay                                    = 1684109600
	PASDays                                   = 1684109683
	PASHours                                  = 1752135026
	PASIt                                     = 1769218080
	PASMe                                     = 1835343904
	PASMinutes                                = 1835626016
	PASMonth                                  = 1835955304
	PASParent                                 = 1885434469
	PASPi                                     = 1885937696
	PASPrintDepth                             = 1886545008
	PASPrintLength                            = 1886547054
	PASQuote                                  = 1903521652
	PASRequiredImportItems                    = 1885957490
	PASResult                                 = 1920167028
	PASReturn                                 = 1919251488
	PASSeconds                                = 1936024435
	PASSpace                                  = 1936744803
	PASTab                                    = 1952539168
	PASTime                                   = 1953066341
	PASTimeString                             = 1953723506
	PASTopLevelScript                         = 1634952050
	PASWeekday                                = 2003526777
	PASWeeks                                  = 2003133803
	PASYear                                   = 2036687218
	PAboutMacintosh                           = 1633837688
	PAppPartition                             = 1634758772
	PAppleMenuItemsFolder                     = 1634561653
	PApplicationFile                          = 1634758758
	PArePrivilegesInherited                   = 1768977014
	PButtonViewArrangement                    = 1650553458
	PByCreationDateArrangement                = 1667527777
	PByKindArrangement                        = 1802071649
	PByLabelArrangement                       = 1818321505
	PByModificationDateArrangement            = 1835299937
	PByNameArrangement                        = 1851878753
	PBySizeArrangement                        = 1936292449
	PCallBackNumber                           = 1667395181
	PCanChangePassword                        = 1667461239
	PCanConnect                               = 1667460974
	PCanDoProgramLinking                      = 1667850595
	PCapacity                                 = 1667330145
	PComment                                  = 1668246900
	PCompletelyExpanded                       = 1885698147
	PContainer                                = 1668574834
	PContainerWindow                          = 1668771428
	PContentSpace                             = 1685548644
	PControlPanelsFolder                      = 1668575852
	PCreationDate                             = 1634952036
	PCreationDateOld                          = 1668445284
	PDefaultButtonViewIconSize                = 1651078010
	PDefaultIconViewIconSize                  = 1768518522
	PDefaultListViewIconSize                  = 1818850170
	PDelayBeforeSpringing                     = 1684368481
	PDescription                              = 1685283698
	PDeskAccessoryFile                        = 1684104809
	PDesktop                                  = 1684370283
	PDisk                                     = 1667524979
	PEjectable                                = 1769170282
	PEntireContents                           = 1701016691
	PExpandable                               = 1885698145
	PExpanded                                 = 1885698160
	PExported                                 = 1936029808
	PExtensionsFolder                         = 1702392942
	PFile                                     = 1718185061
	PFileCreator                              = 1717793396
	PFileShareOn                              = 1718839410
	PFileShareStartingUp                      = 1718842736
	PFileType                                 = 1634956409
	PFileTypeOld                              = 1718187120
	PFinderPreferences                        = 1885762160
	PFolder                                   = 1634952306
	PFolderOld                                = 1667657580
	PFontsFolder                              = 1718578804
	PFontsFolderPreAllegro                    = 1717988980
	PFreeSpace                                = 1718776688
	PGrid                                     = 1735551332
	PGridIcons                                = 1718055524
	PGroup                                    = 1936159344
	PGroupPrivileges                          = 1735422066
	PGuestPrivileges                          = 1735619696
	PHasScriptingTerminology                  = 1752392562
	PIconBitmap                               = 1768516967
	PIconSize                                 = 1819699571
	PIconViewArrangement                      = 1767993970
	PInfoPanel                                = 1885433452
	PInfoWindow                               = 1769434724
	PInherits                                 = 1665147742
	PInternetLocation                         = 1768714083
	PIsCollapsed                              = 2004052068
	PIsLocked                                 = 1634954347
	PIsLockedOld                              = 1769172075
	PIsOwner                                  = 1769172855
	PIsPopup                                  = 1685223282
	PIsPulledOpen                             = 1886743660
	PIsScriptable                             = 1769169250
	PIsSelected                               = 1769173868
	PIsStartup                                = 1769174116
	PIsZoomedFull                             = 2054516070
	PKeepArranged                             = 1634890343
	PKeepArrangedBy                           = 1634886265
	PKind                                     = 1802071652
	PLabel1                                   = 1818389553
	PLabel2                                   = 1818389554
	PLabel3                                   = 1818389555
	PLabel4                                   = 1818389556
	PLabel5                                   = 1818389557
	PLabel6                                   = 1818389558
	PLabel7                                   = 1818389559
	PLabelIndex                               = 1818321513
	PLangCode                                 = 1886151524
	PLargeButton                              = 1818714741
	PLargestFreeBlock                         = 1835430501
	PLength                                   = 1818586727
	PListViewIconSize                         = 1819699571
	PLocal                                    = 1769173622
	PLocalAndRemoteEvents                     = 1919252084
	PMakeChanges                              = 1886549623
	PMinAppPartition                          = 1836085876
	PModificationDate                         = 1634954607
	PModificationDateOld                      = 1836016740
	PMounted                                  = 1936551797
	PNoArrangement                            = 1851880050
	PObject                                   = 1668244074
	POriginalItem                             = 1869769063
	POwner                                    = 1936684910
	POwnerPrivileges                          = 1870098034
	PPartitionSpaceUsed                       = 1886745444
	PPhysicalSize                             = 1885895027
	PPosition                                 = 1886352238
	PPreferencesFolder                        = 1886545254
	PPreferencesWindow                        = 1886875236
	PPreviousView                             = 1937139063
	PProductVersion                           = 1986359858
	PProgramLinkingOn                         = 1767990048
	PProperties                               = 1883327564
	PRest                                     = 1919251316
	PReverse                                  = 1920365413
	PScriptCode                               = 1886610276
	PSeeFiles                                 = 1886549618
	PSeeFolders                               = 1886549619
	PSharableContainer                        = 1935897714
	PSharing                                  = 1936220530
	PSharingProtection                        = 1936749167
	PSharingWindow                            = 1937206884
	PShortCuts                                = 1935897972
	PShouldCallBack                           = 1667329122
	PShowComment                              = 1935896429
	PShowCreationDate                         = 1935893601
	PShowDate                                 = 1935958388
	PShowDiskInfo                             = 1935960430
	PShowFolderSize                           = 1936094074
	PShowKind                                 = 1936420452
	PShowLabel                                = 1936482924
	PShowModificationDate                     = 1935958388
	PShowSize                                 = 1936943482
	PShowVersion                              = 1937142387
	PShutdownFolder                           = 1936221286
	PSize                                     = 1886679930
	PSmallButton                              = 1936548469
	PSmallIcon                                = 1936550243
	PSnapToGridArrangement                    = 1735550049
	PSortDirection                            = 1936683620
	PSound                                    = 1936614432
	PSpringOpenFolders                        = 1936749159
	PStaggerIcons                             = 1718842471
	PStartingUp                               = 1635213675
	PStartupDisk                              = 1935962987
	PStartupItemsFolder                       = 1937011316
	PSuggestedAppPartition                    = 1936749172
	PSystemFolder                             = 1835098995
	PTemporaryFolder                          = 1952804208
	PTrash                                    = 1953657704
	PUseRelativeDate                          = 1970431092
	PUseShortMenus                            = 1970498917
	PUseWideGrid                              = 1970501479
	PView                                     = 1886807415
	PViewFont                                 = 1986424436
	PViewFontSize                             = 1986425722
	PViewPreferences                          = 1886812016
	PWarnOnEmpty                              = 2002874990
	PWindow                                   = 1668770158
	Type32BitIcon                             = 1768698674
	Type4BitIcon                              = 1768123444
	Type8BitIcon                              = 1768123448
	Type8BitMask                              = 1815637355
	TypeAETE                                  = 1634038885
	TypeAEUT                                  = 1634039156
	TypeASStorage                             = 1634952050
	TypeAppleScript                           = 1634952050
	TypeConceptualTime                        = 1953066339
	TypeIconAndMask                           = 1229147683
	TypeIconFamily                            = 1768317293
	TypeOSADialectInfo                        = 1684629103
	TypeOSAErrorRange                         = 1701998183
	TypeOSAGenericStorage                     = 1935896692
	TypeRelativeTime                          = 1920231789
	TypeScszResource                          = 1935897466
	TypeSmall32BitIcon                        = 1769157426
	TypeSmall4BitIcon                         = 1768125236
	TypeSmall8BitIcon                         = 1768125240
	TypeSmall8BitMask                         = 1933077867
	TypeSmallIconAndMask                      = 1768125219
	TypeSound                                 = 1936614432
	TypeUserRecordFields                      = 1818850164
)

Variables

This section is empty.

Functions

func ASCopySourceAttributes

func ASCopySourceAttributes(scriptingComponent *carboncore.ComponentInstanceRecord, resultingSourceAttributes unsafe.Pointer) int

ASCopySourceAttributes calls the OpenScripting framework function ASCopySourceAttributes.

func ASGetSourceStyleNames

func ASGetSourceStyleNames(scriptingComponent *carboncore.ComponentInstanceRecord, modeFlags int, resultingSourceStyleNamesList unsafe.Pointer) int

ASGetSourceStyleNames calls the OpenScripting framework function ASGetSourceStyleNames.

func ASGetSourceStyles

func ASGetSourceStyles(scriptingComponent *carboncore.ComponentInstanceRecord, resultingSourceStyles unsafe.Pointer) int

ASGetSourceStyles calls the OpenScripting framework function ASGetSourceStyles.

func ASInit

func ASInit(scriptingComponent *carboncore.ComponentInstanceRecord, modeFlags int, minStackSize int, preferredStackSize int, maxStackSize int, minHeapSize int, preferredHeapSize int, maxHeapSize int) int

ASInit calls the OpenScripting framework function ASInit.

func ASSetSourceAttributes

func ASSetSourceAttributes(scriptingComponent *carboncore.ComponentInstanceRecord, sourceAttributes corefoundation.CFArrayRef) int

ASSetSourceAttributes calls the OpenScripting framework function ASSetSourceAttributes.

func ASSetSourceStyles

func ASSetSourceStyles(scriptingComponent *carboncore.ComponentInstanceRecord, sourceStyles unsafe.Pointer) int

ASSetSourceStyles calls the OpenScripting framework function ASSetSourceStyles.

func OSAAddStorageType

func OSAAddStorageType(scriptData unsafe.Pointer, dscType int) int16

OSAAddStorageType calls the OpenScripting framework function OSAAddStorageType.

func OSAAvailableDialectCodeList

func OSAAvailableDialectCodeList(scriptingComponent *carboncore.ComponentInstanceRecord, resultingDialectCodeList unsafe.Pointer) int

OSAAvailableDialectCodeList calls the OpenScripting framework function OSAAvailableDialectCodeList.

func OSAAvailableDialects

func OSAAvailableDialects(scriptingComponent *carboncore.ComponentInstanceRecord, resultingDialectInfoList unsafe.Pointer) int

OSAAvailableDialects calls the OpenScripting framework function OSAAvailableDialects.

func OSACoerceFromDesc

func OSACoerceFromDesc(scriptingComponent *carboncore.ComponentInstanceRecord, scriptData unsafe.Pointer, modeFlags int) (result int, resultingScriptID int)

OSACoerceFromDesc calls the OpenScripting framework function OSACoerceFromDesc.

func OSACoerceToDesc

func OSACoerceToDesc(scriptingComponent *carboncore.ComponentInstanceRecord, scriptID int, desiredType int, modeFlags int, result unsafe.Pointer) int

OSACoerceToDesc calls the OpenScripting framework function OSACoerceToDesc.

func OSACompile

func OSACompile(scriptingComponent *carboncore.ComponentInstanceRecord, sourceData unsafe.Pointer, modeFlags int) (result int, previousAndResultingScriptID int)

OSACompile calls the OpenScripting framework function OSACompile.

func OSACompileExecute

func OSACompileExecute(scriptingComponent *carboncore.ComponentInstanceRecord, sourceData unsafe.Pointer, contextID int, modeFlags int) (result int, resultingScriptValueID int)

OSACompileExecute calls the OpenScripting framework function OSACompileExecute.

func OSACopyDisplayString

func OSACopyDisplayString(scriptingComponent *carboncore.ComponentInstanceRecord, scriptID int, modeFlags int, result unsafe.Pointer) int

OSACopyDisplayString calls the OpenScripting framework function OSACopyDisplayString.

func OSACopyID

func OSACopyID(scriptingComponent *carboncore.ComponentInstanceRecord, fromID int) (result int, toID int)

OSACopyID calls the OpenScripting framework function OSACopyID.

func OSACopyScript

func OSACopyScript(scriptingComponent *carboncore.ComponentInstanceRecord, fromID int) (result int, toID int)

OSACopyScript calls the OpenScripting framework function OSACopyScript.

func OSACopyScriptingDefinition

func OSACopyScriptingDefinition(ref *carboncore.FSRef, modeFlags int, sdef unsafe.Pointer) int

OSACopyScriptingDefinition calls the OpenScripting framework function OSACopyScriptingDefinition.

func OSACopyScriptingDefinitionFromURL

func OSACopyScriptingDefinitionFromURL(url corefoundation.CFURLRef, modeFlags int, sdef unsafe.Pointer) int

OSACopyScriptingDefinitionFromURL calls the OpenScripting framework function OSACopyScriptingDefinitionFromURL.

func OSACopySourceString

func OSACopySourceString(scriptingComponent *carboncore.ComponentInstanceRecord, scriptID int, modeFlags int, result unsafe.Pointer) int

OSACopySourceString calls the OpenScripting framework function OSACopySourceString.

func OSADisplay

func OSADisplay(scriptingComponent *carboncore.ComponentInstanceRecord, scriptValueID int, desiredType int, modeFlags int, resultingText unsafe.Pointer) int

OSADisplay calls the OpenScripting framework function OSADisplay.

func OSADispose

func OSADispose(scriptingComponent *carboncore.ComponentInstanceRecord, scriptID int) int

OSADispose calls the OpenScripting framework function OSADispose.

func OSADoEvent

func OSADoEvent(scriptingComponent *carboncore.ComponentInstanceRecord, theAppleEvent unsafe.Pointer, contextID int, modeFlags int, reply unsafe.Pointer) int

OSADoEvent calls the OpenScripting framework function OSADoEvent.

func OSADoScript

func OSADoScript(scriptingComponent *carboncore.ComponentInstanceRecord, sourceData unsafe.Pointer, contextID int, desiredType int, modeFlags int, resultingText unsafe.Pointer) int

OSADoScript calls the OpenScripting framework function OSADoScript.

func OSADoScriptFile

func OSADoScriptFile(scriptingComponent *carboncore.ComponentInstanceRecord, scriptFile *carboncore.FSRef, contextID int, desiredType int, modeFlags int, resultingText unsafe.Pointer) int

OSADoScriptFile calls the OpenScripting framework function OSADoScriptFile.

func OSAExecute

func OSAExecute(scriptingComponent *carboncore.ComponentInstanceRecord, compiledScriptID int, contextID int, modeFlags int) (result int, resultingScriptValueID int)

OSAExecute calls the OpenScripting framework function OSAExecute.

func OSAExecuteEvent

func OSAExecuteEvent(scriptingComponent *carboncore.ComponentInstanceRecord, theAppleEvent unsafe.Pointer, contextID int, modeFlags int) (result int, resultingScriptValueID int)

OSAExecuteEvent calls the OpenScripting framework function OSAExecuteEvent.

func OSAGenericToRealID

func OSAGenericToRealID(genericScriptingComponent *carboncore.ComponentInstanceRecord, theExactComponent unsafe.Pointer) (result int, theScriptID int)

OSAGenericToRealID calls the OpenScripting framework function OSAGenericToRealID.

func OSAGetActiveProc

func OSAGetActiveProc(scriptingComponent *carboncore.ComponentInstanceRecord, activeProc unsafe.Pointer, refCon unsafe.Pointer) int

OSAGetActiveProc calls the OpenScripting framework function OSAGetActiveProc.

func OSAGetCreateProc

func OSAGetCreateProc(scriptingComponent *carboncore.ComponentInstanceRecord, createProc unsafe.Pointer, refCon unsafe.Pointer) int

OSAGetCreateProc calls the OpenScripting framework function OSAGetCreateProc.

func OSAGetCurrentDialect

func OSAGetCurrentDialect(scriptingComponent *carboncore.ComponentInstanceRecord) (result int, resultingDialectCode int16)

OSAGetCurrentDialect calls the OpenScripting framework function OSAGetCurrentDialect.

func OSAGetDefaultScriptingComponent

func OSAGetDefaultScriptingComponent(genericScriptingComponent *carboncore.ComponentInstanceRecord) (result int, scriptingSubType int)

OSAGetDefaultScriptingComponent calls the OpenScripting framework function OSAGetDefaultScriptingComponent.

func OSAGetDialectInfo

func OSAGetDialectInfo(scriptingComponent *carboncore.ComponentInstanceRecord, dialectCode int16, selector int, resultingDialectInfo unsafe.Pointer) int

OSAGetDialectInfo calls the OpenScripting framework function OSAGetDialectInfo.

func OSAGetHandler

func OSAGetHandler(scriptingComponent *carboncore.ComponentInstanceRecord, modeFlags int, contextID int, handlerName unsafe.Pointer) (result int, resultingCompiledScriptID int)

OSAGetHandler calls the OpenScripting framework function OSAGetHandler.

func OSAGetHandlerNames

func OSAGetHandlerNames(scriptingComponent *carboncore.ComponentInstanceRecord, modeFlags int, contextID int, resultingHandlerNames unsafe.Pointer) int

OSAGetHandlerNames calls the OpenScripting framework function OSAGetHandlerNames.

func OSAGetProperty

func OSAGetProperty(scriptingComponent *carboncore.ComponentInstanceRecord, modeFlags int, contextID int, variableName unsafe.Pointer) (result int, resultingScriptValueID int)

OSAGetProperty calls the OpenScripting framework function OSAGetProperty.

func OSAGetPropertyNames

func OSAGetPropertyNames(scriptingComponent *carboncore.ComponentInstanceRecord, modeFlags int, contextID int, resultingPropertyNames unsafe.Pointer) int

OSAGetPropertyNames calls the OpenScripting framework function OSAGetPropertyNames.

func OSAGetResumeDispatchProc

func OSAGetResumeDispatchProc(scriptingComponent *carboncore.ComponentInstanceRecord, resumeDispatchProc unsafe.Pointer, refCon unsafe.Pointer) int

OSAGetResumeDispatchProc calls the OpenScripting framework function OSAGetResumeDispatchProc.

func OSAGetScriptDataFromURL

func OSAGetScriptDataFromURL(scriptURL corefoundation.CFURLRef, modeFlags int, resultingScriptData unsafe.Pointer) (result int, storable uint8)

OSAGetScriptDataFromURL calls the OpenScripting framework function OSAGetScriptDataFromURL.

func OSAGetScriptInfo

func OSAGetScriptInfo(scriptingComponent *carboncore.ComponentInstanceRecord, scriptID int, selector int) (result int, result_ int64)

OSAGetScriptInfo calls the OpenScripting framework function OSAGetScriptInfo.

func OSAGetScriptingComponent

func OSAGetScriptingComponent(genericScriptingComponent *carboncore.ComponentInstanceRecord, scriptingSubType int, scriptingInstance unsafe.Pointer) int

OSAGetScriptingComponent calls the OpenScripting framework function OSAGetScriptingComponent.

func OSAGetScriptingComponentFromStored

func OSAGetScriptingComponentFromStored(genericScriptingComponent *carboncore.ComponentInstanceRecord, scriptData unsafe.Pointer) (result int, scriptingSubType int)

OSAGetScriptingComponentFromStored calls the OpenScripting framework function OSAGetScriptingComponentFromStored.

func OSAGetSendProc

func OSAGetSendProc(scriptingComponent *carboncore.ComponentInstanceRecord, sendProc unsafe.Pointer, refCon unsafe.Pointer) int

OSAGetSendProc calls the OpenScripting framework function OSAGetSendProc.

func OSAGetSource

func OSAGetSource(scriptingComponent *carboncore.ComponentInstanceRecord, scriptID int, desiredType int, resultingSourceData unsafe.Pointer) int

OSAGetSource calls the OpenScripting framework function OSAGetSource.

func OSAGetStorageType

func OSAGetStorageType(scriptData unsafe.Pointer) (result int16, dscType int)

OSAGetStorageType calls the OpenScripting framework function OSAGetStorageType.

func OSAGetSysTerminology

func OSAGetSysTerminology(scriptingComponent *carboncore.ComponentInstanceRecord, modeFlags int, terminologyID int16, terminologyList unsafe.Pointer) int

OSAGetSysTerminology calls the OpenScripting framework function OSAGetSysTerminology.

func OSALoad

func OSALoad(scriptingComponent *carboncore.ComponentInstanceRecord, scriptData unsafe.Pointer, modeFlags int) (result int, resultingScriptID int)

OSALoad calls the OpenScripting framework function OSALoad.

func OSALoadExecute

func OSALoadExecute(scriptingComponent *carboncore.ComponentInstanceRecord, scriptData unsafe.Pointer, contextID int, modeFlags int) (result int, resultingScriptValueID int)

OSALoadExecute calls the OpenScripting framework function OSALoadExecute.

func OSALoadExecuteFile

func OSALoadExecuteFile(scriptingComponent *carboncore.ComponentInstanceRecord, scriptFile *carboncore.FSRef, contextID int, modeFlags int) (result int, resultingScriptValueID int)

OSALoadExecuteFile calls the OpenScripting framework function OSALoadExecuteFile.

func OSALoadFile

func OSALoadFile(scriptingComponent *carboncore.ComponentInstanceRecord, scriptFile *carboncore.FSRef, modeFlags int) (result int, storable uint8, resultingScriptID int)

OSALoadFile calls the OpenScripting framework function OSALoadFile.

func OSALoadScriptData

func OSALoadScriptData(scriptingComponent *carboncore.ComponentInstanceRecord, scriptData unsafe.Pointer, fromURL corefoundation.CFURLRef, modeFlags int) (result int, resultingScriptID int)

OSALoadScriptData calls the OpenScripting framework function OSALoadScriptData.

func OSAMakeContext

func OSAMakeContext(scriptingComponent *carboncore.ComponentInstanceRecord, contextName unsafe.Pointer, parentContext int) (result int, resultingContextID int)

OSAMakeContext calls the OpenScripting framework function OSAMakeContext.

func OSARealToGenericID

func OSARealToGenericID(genericScriptingComponent *carboncore.ComponentInstanceRecord, theExactComponent *carboncore.ComponentInstanceRecord) (result int, theScriptID int)

OSARealToGenericID calls the OpenScripting framework function OSARealToGenericID.

func OSARemoveStorageType

func OSARemoveStorageType(scriptData unsafe.Pointer) int16

OSARemoveStorageType calls the OpenScripting framework function OSARemoveStorageType.

func OSAScriptError

func OSAScriptError(scriptingComponent *carboncore.ComponentInstanceRecord, selector int, desiredType int, resultingErrorDescription unsafe.Pointer) int

OSAScriptError calls the OpenScripting framework function OSAScriptError.

func OSAScriptingComponentName

func OSAScriptingComponentName(scriptingComponent *carboncore.ComponentInstanceRecord, resultingScriptingComponentName unsafe.Pointer) int

OSAScriptingComponentName calls the OpenScripting framework function OSAScriptingComponentName.

func OSASetActiveProc

func OSASetActiveProc(scriptingComponent *carboncore.ComponentInstanceRecord, activeProc unsafe.Pointer, refCon unsafe.Pointer) int

OSASetActiveProc calls the OpenScripting framework function OSASetActiveProc.

func OSASetCreateProc

func OSASetCreateProc(scriptingComponent *carboncore.ComponentInstanceRecord, createProc unsafe.Pointer, refCon unsafe.Pointer) int

OSASetCreateProc calls the OpenScripting framework function OSASetCreateProc.

func OSASetCurrentDialect

func OSASetCurrentDialect(scriptingComponent *carboncore.ComponentInstanceRecord, dialectCode int16) int

OSASetCurrentDialect calls the OpenScripting framework function OSASetCurrentDialect.

func OSASetDefaultScriptingComponent

func OSASetDefaultScriptingComponent(genericScriptingComponent *carboncore.ComponentInstanceRecord, scriptingSubType int) int

OSASetDefaultScriptingComponent calls the OpenScripting framework function OSASetDefaultScriptingComponent.

func OSASetDefaultTarget

func OSASetDefaultTarget(scriptingComponent *carboncore.ComponentInstanceRecord, target unsafe.Pointer) int

OSASetDefaultTarget calls the OpenScripting framework function OSASetDefaultTarget.

func OSASetHandler

func OSASetHandler(scriptingComponent *carboncore.ComponentInstanceRecord, modeFlags int, contextID int, handlerName unsafe.Pointer, compiledScriptID int) int

OSASetHandler calls the OpenScripting framework function OSASetHandler.

func OSASetProperty

func OSASetProperty(scriptingComponent *carboncore.ComponentInstanceRecord, modeFlags int, contextID int, variableName unsafe.Pointer, scriptValueID int) int

OSASetProperty calls the OpenScripting framework function OSASetProperty.

func OSASetResumeDispatchProc

func OSASetResumeDispatchProc(scriptingComponent *carboncore.ComponentInstanceRecord, resumeDispatchProc unsafe.Pointer, refCon unsafe.Pointer) int

OSASetResumeDispatchProc calls the OpenScripting framework function OSASetResumeDispatchProc.

func OSASetScriptInfo

func OSASetScriptInfo(scriptingComponent *carboncore.ComponentInstanceRecord, scriptID int, selector int, value int) int

OSASetScriptInfo calls the OpenScripting framework function OSASetScriptInfo.

func OSASetSendProc

func OSASetSendProc(scriptingComponent *carboncore.ComponentInstanceRecord, sendProc unsafe.Pointer, refCon unsafe.Pointer) int

OSASetSendProc calls the OpenScripting framework function OSASetSendProc.

func OSAStartRecording

func OSAStartRecording(scriptingComponent *carboncore.ComponentInstanceRecord) (result int, compiledScriptToModifyID int)

OSAStartRecording calls the OpenScripting framework function OSAStartRecording.

func OSAStopRecording

func OSAStopRecording(scriptingComponent *carboncore.ComponentInstanceRecord, compiledScriptID int) int

OSAStopRecording calls the OpenScripting framework function OSAStopRecording.

func OSAStore

func OSAStore(scriptingComponent *carboncore.ComponentInstanceRecord, scriptID int, desiredType int, modeFlags int, resultingScriptData unsafe.Pointer) int

OSAStore calls the OpenScripting framework function OSAStore.

func OSAStoreFile

func OSAStoreFile(scriptingComponent *carboncore.ComponentInstanceRecord, scriptID int, desiredType int, modeFlags int, scriptFile *carboncore.FSRef) int

OSAStoreFile calls the OpenScripting framework function OSAStoreFile.

Types

type Clockid added in v0.17.0

type Clockid int32
const (
	ClockidRealtime           Clockid = 0
	ClockidMonotonic          Clockid = 6
	ClockidMonotonicRaw       Clockid = 4
	ClockidMonotonicRawApprox Clockid = 5
	ClockidUptimeRaw          Clockid = 8
	ClockidUptimeRawApprox    Clockid = 9
	ClockidProcessCputimeID   Clockid = 12
	ClockidThreadCputimeID    Clockid = 16
)

func (Clockid) String added in v0.17.0

func (e Clockid) String() string

String returns the Clockid constant's name, or its numeric form when the value is not a known constant.

type DispatchAutoreleaseFrequency added in v0.17.0

type DispatchAutoreleaseFrequency uint64
const (
	DispatchAutoreleaseFrequencyInherit  DispatchAutoreleaseFrequency = 0
	DispatchAutoreleaseFrequencyWorkItem DispatchAutoreleaseFrequency = 1
	DispatchAutoreleaseFrequencyNever    DispatchAutoreleaseFrequency = 2
)

func (DispatchAutoreleaseFrequency) String added in v0.17.0

String returns the DispatchAutoreleaseFrequency constant's name, or its numeric form when the value is not a known constant.

type DispatchBlockFlags added in v0.17.0

type DispatchBlockFlags uint64

Bitmask — values may be combined with |.

const (
	DispatchBlockFlagsBarrier         DispatchBlockFlags = 1
	DispatchBlockFlagsDetached        DispatchBlockFlags = 2
	DispatchBlockFlagsAssignCurrent   DispatchBlockFlags = 4
	DispatchBlockFlagsNoQosClass      DispatchBlockFlags = 8
	DispatchBlockFlagsInheritQosClass DispatchBlockFlags = 16
	DispatchBlockFlagsEnforceQosClass DispatchBlockFlags = 32
)

func (DispatchBlockFlags) String added in v0.17.0

func (e DispatchBlockFlags) String() string

String returns the DispatchBlockFlags constant's name, or its numeric form when the value is not a known constant.

type EntryID added in v0.17.0

type EntryID int32
const (
	EntryIDFirstEntry EntryID = 0
	EntryIDNextEntry  EntryID = -1
	EntryIDLastEntry  EntryID = -2
)

func (EntryID) String added in v0.17.0

func (e EntryID) String() string

String returns the EntryID constant's name, or its numeric form when the value is not a known constant.

type EvCmd

type EvCmd int32
const (
	EVNOP   EvCmd = 0
	EVHIDE  EvCmd = 1
	EVSHOW  EvCmd = 2
	EVMOVE  EvCmd = 3
	EVLEVEL EvCmd = 4
)

func (EvCmd) String

func (e EvCmd) String() string

String returns the EvCmd constant's name, or its numeric form when the value is not a known constant.

type FilesecProperty added in v0.17.0

type FilesecProperty int32
const (
	FilesecPropertyOwner        FilesecProperty = 1
	FilesecPropertyGroup        FilesecProperty = 2
	FilesecPropertyUUID         FilesecProperty = 3
	FilesecPropertyMode         FilesecProperty = 4
	FilesecPropertyACL          FilesecProperty = 5
	FilesecPropertyGrpuuid      FilesecProperty = 6
	FilesecPropertyACLRaw       FilesecProperty = 100
	FilesecPropertyACLAllocsize FilesecProperty = 101
)

func (FilesecProperty) String added in v0.17.0

func (e FilesecProperty) String() string

String returns the FilesecProperty constant's name, or its numeric form when the value is not a known constant.

type Flag added in v0.17.0

type Flag int32
const (
	FlagFlagDeferInherit      Flag = 1
	FlagFlagNoInherit         Flag = 131072
	FlagEntryInherited        Flag = 16
	FlagEntryFileInherit      Flag = 32
	FlagEntryDirectoryInherit Flag = 64
	FlagEntryLimitInherit     Flag = 128
	FlagEntryOnlyInherit      Flag = 256
)

func (Flag) String added in v0.17.0

func (e Flag) String() string

String returns the Flag constant's name, or its numeric form when the value is not a known constant.

type Idtype added in v0.17.0

type Idtype int32
const (
	IdtypeAll  Idtype = 0
	IdtypePid  Idtype = 1
	IdtypePgid Idtype = 2
)

func (Idtype) String added in v0.17.0

func (e Idtype) String() string

String returns the Idtype constant's name, or its numeric form when the value is not a known constant.

type IpcInfoObjectType added in v0.17.0

type IpcInfoObjectType uint32
const (
	IpcInfoObjectTypeNone               IpcInfoObjectType = 0
	IpcInfoObjectTypeThreadControl      IpcInfoObjectType = 1
	IpcInfoObjectTypeTaskControl        IpcInfoObjectType = 2
	IpcInfoObjectTypeHost               IpcInfoObjectType = 3
	IpcInfoObjectTypeHostPriv           IpcInfoObjectType = 4
	IpcInfoObjectTypeProcessor          IpcInfoObjectType = 5
	IpcInfoObjectTypeProcessorSet       IpcInfoObjectType = 6
	IpcInfoObjectTypeProcessorSetName   IpcInfoObjectType = 7
	IpcInfoObjectTypeTimer              IpcInfoObjectType = 8
	IpcInfoObjectTypePortSubstOnce      IpcInfoObjectType = 9
	IpcInfoObjectTypeMig                IpcInfoObjectType = 10
	IpcInfoObjectTypeMemoryObject       IpcInfoObjectType = 11
	IpcInfoObjectTypeXmmPager           IpcInfoObjectType = 12
	IpcInfoObjectTypeXmmKernel          IpcInfoObjectType = 13
	IpcInfoObjectTypeXmmReply           IpcInfoObjectType = 14
	IpcInfoObjectTypeUndReply           IpcInfoObjectType = 15
	IpcInfoObjectTypeHostNotify         IpcInfoObjectType = 16
	IpcInfoObjectTypeHostSecurity       IpcInfoObjectType = 17
	IpcInfoObjectTypeLedger             IpcInfoObjectType = 18
	IpcInfoObjectTypeMainDevice         IpcInfoObjectType = 19
	IpcInfoObjectTypeTaskName           IpcInfoObjectType = 20
	IpcInfoObjectTypeSubsystem          IpcInfoObjectType = 21
	IpcInfoObjectTypeIODoneQueue        IpcInfoObjectType = 22
	IpcInfoObjectTypeSemaphore          IpcInfoObjectType = 23
	IpcInfoObjectTypeLockSet            IpcInfoObjectType = 24
	IpcInfoObjectTypeClock              IpcInfoObjectType = 25
	IpcInfoObjectTypeClockCtrl          IpcInfoObjectType = 26
	IpcInfoObjectTypeIokitIdent         IpcInfoObjectType = 27
	IpcInfoObjectTypeNamedEntry         IpcInfoObjectType = 28
	IpcInfoObjectTypeIokitConnect       IpcInfoObjectType = 29
	IpcInfoObjectTypeIokitObject        IpcInfoObjectType = 30
	IpcInfoObjectTypeUpl                IpcInfoObjectType = 31
	IpcInfoObjectTypeMemObjControl      IpcInfoObjectType = 32
	IpcInfoObjectTypeAuSessionport      IpcInfoObjectType = 33
	IpcInfoObjectTypeFileport           IpcInfoObjectType = 34
	IpcInfoObjectTypeLabelh             IpcInfoObjectType = 35
	IpcInfoObjectTypeTaskResume         IpcInfoObjectType = 36
	IpcInfoObjectTypeVoucher            IpcInfoObjectType = 37
	IpcInfoObjectTypeVoucherAttrControl IpcInfoObjectType = 38
	IpcInfoObjectTypeWorkInterval       IpcInfoObjectType = 39
	IpcInfoObjectTypeUxHandler          IpcInfoObjectType = 40
	IpcInfoObjectTypeUextObject         IpcInfoObjectType = 41
	IpcInfoObjectTypeArcadeReg          IpcInfoObjectType = 42
	IpcInfoObjectTypeEventlink          IpcInfoObjectType = 43
	IpcInfoObjectTypeTaskInspect        IpcInfoObjectType = 44
	IpcInfoObjectTypeTaskRead           IpcInfoObjectType = 45
	IpcInfoObjectTypeThreadInspect      IpcInfoObjectType = 46
	IpcInfoObjectTypeThreadRead         IpcInfoObjectType = 47
	IpcInfoObjectTypeSuidCred           IpcInfoObjectType = 48
	IpcInfoObjectTypeHypervisor         IpcInfoObjectType = 49
	IpcInfoObjectTypeTaskIDToken        IpcInfoObjectType = 50
	IpcInfoObjectTypeTaskFatal          IpcInfoObjectType = 51
	IpcInfoObjectTypeKcdata             IpcInfoObjectType = 52
	IpcInfoObjectTypeExclavesResource   IpcInfoObjectType = 53
	IpcInfoObjectTypeThreadResume       IpcInfoObjectType = 54
	IpcInfoObjectTypeUnknown            IpcInfoObjectType = 4294967295
)

func (IpcInfoObjectType) String added in v0.17.0

func (e IpcInfoObjectType) String() string

String returns the IpcInfoObjectType constant's name, or its numeric form when the value is not a known constant.

type LaunchDataType added in v0.17.0

type LaunchDataType int32
const (
	LaunchDataTypeDictionary LaunchDataType = 1
	LaunchDataTypeArray      LaunchDataType = 2
	LaunchDataTypeFd         LaunchDataType = 3
	LaunchDataTypeInteger    LaunchDataType = 4
	LaunchDataTypeReal       LaunchDataType = 5
	LaunchDataTypeBool       LaunchDataType = 6
	LaunchDataTypeString     LaunchDataType = 7
	LaunchDataTypeOpaque     LaunchDataType = 8
	LaunchDataTypeErrno      LaunchDataType = 9
	LaunchDataTypeMachport   LaunchDataType = 10
)

func (LaunchDataType) String added in v0.17.0

func (e LaunchDataType) String() string

String returns the LaunchDataType constant's name, or its numeric form when the value is not a known constant.

type MDLabelDomain

type MDLabelDomain int32

These constants are used to specify a domain to MDLabelCreate().

const (
	KMDLabelUserDomain  MDLabelDomain = 0
	KMDLabelLocalDomain MDLabelDomain = 1
)

func (MDLabelDomain) String

func (e MDLabelDomain) String() string

String returns the MDLabelDomain constant's name, or its numeric form when the value is not a known constant.

type MDQueryOptionFlags

type MDQueryOptionFlags int32
const (
	KMDQuerySynchronous        MDQueryOptionFlags = 1
	KMDQueryWantsUpdates       MDQueryOptionFlags = 4
	KMDQueryAllowFSTranslation MDQueryOptionFlags = 8
)

func (MDQueryOptionFlags) String

func (e MDQueryOptionFlags) String() string

String returns the MDQueryOptionFlags constant's name, or its numeric form when the value is not a known constant.

type MDQuerySortOptionFlags

type MDQuerySortOptionFlags int32
const (
	KMDQueryReverseSortOrderFlag MDQuerySortOptionFlags = 1
)

func (MDQuerySortOptionFlags) String

func (e MDQuerySortOptionFlags) String() string

String returns the MDQuerySortOptionFlags constant's name, or its numeric form when the value is not a known constant.

type MachVMRangeFlags added in v0.17.0

type MachVMRangeFlags uint64

Bitmask — values may be combined with |.

const (
	MachVMRangeFlagsNone MachVMRangeFlags = 0
)

func (MachVMRangeFlags) String added in v0.17.0

func (e MachVMRangeFlags) String() string

String returns the MachVMRangeFlags constant's name, or its numeric form when the value is not a known constant.

type MachVMRangeFlavor added in v0.17.0

type MachVMRangeFlavor uint32
const (
	MachVMRangeFlavorInvalid MachVMRangeFlavor = 0
	MachVMRangeFlavorV1      MachVMRangeFlavor = 1
)

func (MachVMRangeFlavor) String added in v0.17.0

func (e MachVMRangeFlavor) String() string

String returns the MachVMRangeFlavor constant's name, or its numeric form when the value is not a known constant.

type MachVMRangeTag added in v0.17.0

type MachVMRangeTag uint16
const (
	MachVMRangeTagDefault MachVMRangeTag = 0
	MachVMRangeTagData    MachVMRangeTag = 1
	MachVMRangeTagFixed   MachVMRangeTag = 2
)

func (MachVMRangeTag) String added in v0.17.0

func (e MachVMRangeTag) String() string

String returns the MachVMRangeTag constant's name, or its numeric form when the value is not a known constant.

type MpoFlags added in v0.17.0

type MpoFlags uint32

Bitmask — values may be combined with |.

const (
	MpoFlagsPort                        MpoFlags = 0
	MpoFlagsServicePort                 MpoFlags = 1024
	MpoFlagsConnectionPort              MpoFlags = 2048
	MpoFlagsReplyPort                   MpoFlags = 4096
	MpoFlagsWeakReplyPort               MpoFlags = 16384
	MpoFlagsNotificationPort            MpoFlags = 17408
	MpoFlagsExceptionPort               MpoFlags = 32768
	MpoFlagsConnectionPortWithPortArray MpoFlags = 65536
)

func (MpoFlags) String added in v0.17.0

func (e MpoFlags) String() string

String returns the MpoFlags constant's name, or its numeric form when the value is not a known constant.

type NXMouseButton

type NXMouseButton int32
const (
	NX_OneButton   NXMouseButton = 0
	NX_LeftButton  NXMouseButton = 1
	NX_RightButton NXMouseButton = 2
)

func (NXMouseButton) String

func (e NXMouseButton) String() string

String returns the NXMouseButton constant's name, or its numeric form when the value is not a known constant.

type OSClockid added in v0.17.0

type OSClockid uint32
const (
	OSClockidTime OSClockid = 32
)

func (OSClockid) String added in v0.17.0

func (e OSClockid) String() string

String returns the OSClockid constant's name, or its numeric form when the value is not a known constant.

type PMPageToPaperMappingType

type PMPageToPaperMappingType int32
const (
	KPMPageToPaperMappingNone       PMPageToPaperMappingType = 1
	KPMPageToPaperMappingScaleToFit PMPageToPaperMappingType = 2
)

func (PMPageToPaperMappingType) String

func (e PMPageToPaperMappingType) String() string

String returns the PMPageToPaperMappingType constant's name, or its numeric form when the value is not a known constant.

type Perm added in v0.17.0

type Perm int32
const (
	PermReadData           Perm = 2
	PermListDirectory      Perm = 2
	PermWriteData          Perm = 4
	PermAddFile            Perm = 4
	PermExecute            Perm = 8
	PermSearch             Perm = 8
	PermDelete             Perm = 16
	PermAppendData         Perm = 32
	PermAddSubdirectory    Perm = 32
	PermDeleteChild        Perm = 64
	PermReadAttributes     Perm = 128
	PermWriteAttributes    Perm = 256
	PermReadExtattributes  Perm = 512
	PermWriteExtattributes Perm = 1024
	PermReadSecurity       Perm = 2048
	PermWriteSecurity      Perm = 4096
	PermChangeOwner        Perm = 8192
	PermSynchronize        Perm = 1048576
)

func (Perm) String added in v0.17.0

func (e Perm) String() string

String returns the Perm constant's name, or its numeric form when the value is not a known constant.

type PtrauthKey added in v0.17.0

type PtrauthKey int32
const (
	Ptrauth_key_none                     PtrauthKey = -1
	Ptrauth_key_asia                     PtrauthKey = 0
	Ptrauth_key_asib                     PtrauthKey = 1
	Ptrauth_key_asda                     PtrauthKey = 2
	Ptrauth_key_asdb                     PtrauthKey = 3
	Ptrauth_key_process_independent_code PtrauthKey = 0
	Ptrauth_key_process_dependent_code   PtrauthKey = 1
	Ptrauth_key_process_independent_data PtrauthKey = 2
	Ptrauth_key_process_dependent_data   PtrauthKey = 3
	Ptrauth_key_return_address           PtrauthKey = 1
	Ptrauth_key_frame_pointer            PtrauthKey = 3
	Ptrauth_key_function_pointer         PtrauthKey = 0
	Ptrauth_key_block_function           PtrauthKey = 0
	Ptrauth_key_cxx_vtable_pointer       PtrauthKey = 2
	Ptrauth_key_method_list_pointer      PtrauthKey = 2
	Ptrauth_key_objc_isa_pointer         PtrauthKey = 2
	Ptrauth_key_objc_super_pointer       PtrauthKey = 2
	Ptrauth_key_objc_sel_pointer         PtrauthKey = 3
	Ptrauth_key_objc_class_ro_pointer    PtrauthKey = 2
	Ptrauth_key_block_descriptor_pointer PtrauthKey = 2
	Ptrauth_key_init_fini_pointer        PtrauthKey = 0
)

func (PtrauthKey) String added in v0.17.0

func (e PtrauthKey) String() string

String returns the PtrauthKey constant's name, or its numeric form when the value is not a known constant.

type QosClass added in v0.17.0

type QosClass uint32
const (
	QosClassUserInteractive QosClass = 33
	QosClassUserInitiated   QosClass = 25
	QosClassDefault         QosClass = 21
	QosClassUtility         QosClass = 17
	QosClassBackground      QosClass = 9
	QosClassUnspecified     QosClass = 0
)

func (QosClass) String added in v0.17.0

func (e QosClass) String() string

String returns the QosClass constant's name, or its numeric form when the value is not a known constant.

type Tag added in v0.17.0

type Tag int32
const (
	TagUndefinedTag  Tag = 0
	TagExtendedAllow Tag = 1
	TagExtendedDeny  Tag = 2
)

func (Tag) String added in v0.17.0

func (e Tag) String() string

String returns the Tag constant's name, or its numeric form when the value is not a known constant.

type Type added in v0.17.0

type Type int32
const (
	TypeExtended Type = 256
	TypeAccess   Type = 0
	TypeDefault  Type = 1
	TypeAfs      Type = 2
	TypeCoda     Type = 3
	TypeNtfs     Type = 4
	TypeNwfs     Type = 5
)

func (Type) String added in v0.17.0

func (e Type) String() string

String returns the Type constant's name, or its numeric form when the value is not a known constant.

type VirtualMemoryGuardExceptionCode added in v0.17.0

type VirtualMemoryGuardExceptionCode uint32
const (
	KGUARD_EXC_DEALLOC_GAP                   VirtualMemoryGuardExceptionCode = 1
	KGUARD_EXC_RECLAIM_COPYIO_FAILURE        VirtualMemoryGuardExceptionCode = 2
	KGUARD_EXC_RECLAIM_INDEX_FAILURE         VirtualMemoryGuardExceptionCode = 4
	KGUARD_EXC_RECLAIM_DEALLOCATE_FAILURE    VirtualMemoryGuardExceptionCode = 8
	KGUARD_EXC_RECLAIM_ACCOUNTING_FAILURE    VirtualMemoryGuardExceptionCode = 9
	KGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE         VirtualMemoryGuardExceptionCode = 10
	KGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE         VirtualMemoryGuardExceptionCode = 11
	KGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION  VirtualMemoryGuardExceptionCode = 12
	KGUARD_EXC_LARGE_ALLOCATION_TELEMETRY    VirtualMemoryGuardExceptionCode = 13
	KGUARD_EXC_SEC_ACCESS_FAULT              VirtualMemoryGuardExceptionCode = 98
	KGUARD_EXC_SEC_ASYNC_ACCESS_FAULT        VirtualMemoryGuardExceptionCode = 99
	KGUARD_EXC_SEC_COPY_DENIED               VirtualMemoryGuardExceptionCode = 100
	KGUARD_EXC_SEC_SHARING_DENIED            VirtualMemoryGuardExceptionCode = 101
	KGUARD_EXC_MTE_SYNC_FAULT                VirtualMemoryGuardExceptionCode = 200
	KGUARD_EXC_MTE_ASYNC_USER_FAULT          VirtualMemoryGuardExceptionCode = 201
	KGUARD_EXC_MTE_ASYNC_KERN_FAULT          VirtualMemoryGuardExceptionCode = 202
	KGUARD_EXC_GUARD_OBJECT_ASYNC_USER_FAULT VirtualMemoryGuardExceptionCode = 203
	KGUARD_EXC_GUARD_OBJECT_ASYNC_KERN_FAULT VirtualMemoryGuardExceptionCode = 204
)

func (VirtualMemoryGuardExceptionCode) String added in v0.17.0

String returns the VirtualMemoryGuardExceptionCode constant's name, or its numeric form when the value is not a known constant.

type XpcListenerCreateFlags added in v0.17.0

type XpcListenerCreateFlags uint64

Bitmask — values may be combined with |.

const (
	XpcListenerCreateFlagsNone            XpcListenerCreateFlags = 0
	XpcListenerCreateFlagsInactive        XpcListenerCreateFlags = 1
	XpcListenerCreateFlagsForceMach       XpcListenerCreateFlags = 2
	XpcListenerCreateFlagsForceXpcservice XpcListenerCreateFlags = 4
)

func (XpcListenerCreateFlags) String added in v0.17.0

func (e XpcListenerCreateFlags) String() string

String returns the XpcListenerCreateFlags constant's name, or its numeric form when the value is not a known constant.

type XpcSessionCreateFlags added in v0.17.0

type XpcSessionCreateFlags uint64

Bitmask — values may be combined with |.

const (
	XpcSessionCreateFlagsNone           XpcSessionCreateFlags = 0
	XpcSessionCreateFlagsInactive       XpcSessionCreateFlags = 1
	XpcSessionCreateFlagsMachPrivileged XpcSessionCreateFlags = 2
)

func (XpcSessionCreateFlags) String added in v0.17.0

func (e XpcSessionCreateFlags) String() string

String returns the XpcSessionCreateFlags constant's name, or its numeric form when the value is not a known constant.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL