MCPcopy Create free account

hub / github.com/creold/photoshop-scripts / functions

Functions113 in github.com/creold/photoshop-scripts

↓ 17 callersFunctioncTID
(s)
jsx/ArtboardsFromCSV.jsx:402
↓ 16 callersFunctioncTID
(s)
jsx/SelectShapesByColor.jsx:222
↓ 12 callersFunctionsTID
(s)
jsx/RenameArtboardAsSize.jsx:256
↓ 12 callersFunctionsTID
(s)
jsx/ArtboardsFromCSV.jsx:406
↓ 10 callersFunctioncTID
* Convert a string identifier to a character identifier * * @param {string} s - The string identifier * @returns {number} - The corresponding chara
jsx/TextBlock.jsx:351
↓ 10 callersFunctioncTID
* Convert a string identifier to a character identifier * * @param {string} s - The string identifier * @returns {number} - The corresponding chara
jsx/MultiEditText.jsx:360
↓ 10 callersFunctionsTID
(s)
jsx/SelectShapesByColor.jsx:226
↓ 10 callersFunctionsTID
(s)
jsx/ExportPathsToAi.jsx:128
↓ 8 callersFunctioncTID
(s)
jsx/ExportPathsToAi.jsx:124
↓ 6 callersFunctionpreview
* Toggles the preview mode for text changes
jsx/MultiEditText.jsx:216
↓ 4 callersFunctionconvertUnit
(number, size)
jsx/TIFF2Print.jsx:278
↓ 4 callersFunctionisInteger
(number)
jsx/TIFF2Print.jsx:274
↓ 4 callersFunctionparseUnits
* Parse units from a mixed string * * @param {string} str - The input string containing the numeric value and units (e.g., '10px'). * @param {stri
jsx/TextBlock.jsx:440
↓ 3 callersFunctionconvertUnits
(value, currUnits, newUnits)
jsx/ArtboardsFromCSV.jsx:240
↓ 3 callersFunctionforEach
(collection, fn)
jsx/SelectShapesByColor.jsx:216
↓ 3 callersFunctiongetInputText
* Retrieve the text based on the configuration settings and temporary text storage * * @param {string} def - The default text to return if no va
jsx/MultiEditText.jsx:204
↓ 3 callersFunctionisEmpty
* Check if a string is empty or contains only whitespace characters * * @param {string} str - The string to check for emptiness * @returns {boolean
jsx/MultiEditText.jsx:485
↓ 3 callersFunctionstrToNum
* Convert string to absolute number * * @param {string} str - The string to convert to a number * @param {number} def - The default value to retur
jsx/TextBlock.jsx:474
↓ 3 callersFunctiontoAbsNum
(str, def)
jsx/ArtboardsFromCSV.jsx:249
↓ 2 callersFunctionbindStepperKeys
* Handle keyboard input to shift numerical values * @param {Object} input - The input element to which the event listener will be attached * @pa
jsx/TextBlock.jsx:222
↓ 2 callersFunctionchangeTexts
* Change the text content of selected text layers based on the provided input text
jsx/MultiEditText.jsx:234
↓ 2 callersFunctionconvertUnits
* Convert a value from one set of units to another * * @param {string} value - The numeric value to be converted * @param {string} currUnits - The cur
jsx/TextBlock.jsx:463
↓ 2 callersFunctionconvertUnits
(value, currUnits, newUnits)
jsx/RenameArtboardAsSize.jsx:261
↓ 2 callersFunctionextractContents
* Extract the contents of text layers from a given collection * * @param {Array} coll - The collection of text layers * @param {string} softBreak
jsx/MultiEditText.jsx:435
↓ 2 callersFunctiongetColor
(layer)
jsx/SelectShapesByColor.jsx:76
↓ 2 callersFunctionreverseText
* Reverse the order of texts within a string separated by a specified divider * @param {string} str - The delimited string to reverse * @param {stri
jsx/MultiEditText.jsx:470
↓ 2 callersFunctionsTID
* Convert a string identifier to a type identifier * * @param {string} s - The string identifier * @returns {number} - The corresponding type ident
jsx/TextBlock.jsx:361
↓ 2 callersFunctionsTID
* Convert a string identifier to a type identifier * * @param {string} s - The string identifier * @returns {number} - The corresponding type ident
jsx/MultiEditText.jsx:370
↓ 2 callersFunctionsaveFile
(fileName, ext)
jsx/TIFF2Print.jsx:371
↓ 1 callersFunctionSaveTIFF
(fileName, ext, compression)
jsx/TIFF2Print.jsx:340
↓ 1 callersFunctionalignToCenter
* Center an item within the document canvas * * @param {Object} doc - The Photoshop document * @param {Object} item - The layer or group to be cent
jsx/TextBlock.jsx:490
↓ 1 callersFunctioncalcSize
(doc, value)
jsx/TIFF2Print.jsx:253
↓ 1 callersFunctionclearAllGuides
(enabled, withDialog)
jsx/GeneratePreview.jsx:81
↓ 1 callersFunctionclearAllGuides
(enabled, withDialog)
jsx/TIFF2Print.jsx:309
↓ 1 callersFunctioncollectAllLayers
(doc, allLayers)
jsx/ToggleLayersLocksByName.jsx:70
↓ 1 callersFunctioncreateArtboard
(w, h, delta, name, bg)
jsx/ArtboardsFromCSV.jsx:302
↓ 1 callersFunctiondelPaths
(target)
jsx/TIFF2Print.jsx:320
↓ 1 callersFunctiondeselect
()
jsx/SelectShapesByColor.jsx:196
↓ 1 callersFunctiondeselect
()
jsx/ExportPathsToAi.jsx:133
↓ 1 callersFunctionduplicateDoc
(enabled, withDialog)
jsx/GeneratePreview.jsx:70
↓ 1 callersFunctionduplicateDoc
(enabled, withDialog)
jsx/TIFF2Print.jsx:298
↓ 1 callersFunctionexportJPG
(doc, fileName, ext)
jsx/GeneratePreview.jsx:104
↓ 1 callersFunctionexportPaths
(folder, name, ext)
jsx/ExportPathsToAi.jsx:155
↓ 1 callersFunctionfillZero
(number, size)
jsx/GeneratePreview.jsx:128
↓ 1 callersFunctionfillZero
(number, size)
jsx/TIFF2Print.jsx:391
↓ 1 callersFunctiongetArtboardSize
(layer)
jsx/RenameArtboardAsSize.jsx:233
↓ 1 callersFunctiongetLayerDescriptor
(layer)
jsx/SelectShapesByColor.jsx:100
↓ 1 callersFunctiongetLayerType
(layer)
jsx/SelectShapesByColor.jsx:175
↓ 1 callersFunctiongetLayers
(collection)
jsx/SelectShapesByColor.jsx:157
↓ 1 callersFunctiongetSelectedLayersIdx
()
jsx/ClearLayer.jsx:42
↓ 1 callersFunctiongetSelectedLayersIdx
* Get the indexes of all selected layers in the active Photoshop document * https://community.adobe.com/t5/photoshop-ecosystem-discussions/how-to-fin
jsx/TextBlock.jsx:312
↓ 1 callersFunctiongetSelectedLayersIdx
* Get the indexes of all selected layers in the active Photoshop document * https://community.adobe.com/t5/photoshop-ecosystem-discussions/how-to-fin
jsx/MultiEditText.jsx:322
↓ 1 callersFunctiongetTextLayers
* Get all text layers from the given layers array that match the provided indexes * * @param {[Object|Array]} layers - The layers array to search *
jsx/TextBlock.jsx:372
↓ 1 callersFunctiongetTextLayers
* Get all text layers from the given layers array that match the provided indexes * * @param {[Object|Array]} layers - The layers array to search *
jsx/MultiEditText.jsx:381
↓ 1 callersFunctiongetUnits
()
jsx/RenameArtboardAsSize.jsx:189
↓ 1 callersFunctiongetUnits
()
jsx/ArtboardsFromCSV.jsx:221
↓ 1 callersFunctiongetVisShapes
(collection)
jsx/ExportPathsToAi.jsx:92
↓ 1 callersFunctioninitSettings
()
jsx/TIFF2Print.jsx:215
↓ 1 callersFunctioninvokeUI
(prefs)
jsx/RenameArtboardAsSize.jsx:56
↓ 1 callersFunctionisCorrectEnv
()
jsx/ToggleLayersLocksByName.jsx:47
↓ 1 callersFunctionisCorrectEnv
()
jsx/TIFF2Print.jsx:68
↓ 1 callersFunctionisCorrectEnv
* Checks if the script is running in the correct environment * * @returns {boolean} - Returns `true` if the environment is correct
jsx/TextBlock.jsx:283
↓ 1 callersFunctionisCorrectEnv
()
jsx/SelectShapesByColor.jsx:52
↓ 1 callersFunctionisCorrectEnv
()
jsx/RenameArtboardAsSize.jsx:208
↓ 1 callersFunctionisCorrectEnv
()
jsx/ArtboardsFromCSV.jsx:197
↓ 1 callersFunctionisCorrectEnv
()
jsx/ExportPathsToAi.jsx:68
↓ 1 callersFunctionisEqualContents
* Check if the contents of all texts in the collection are equal * * @param {Array} coll - The collection of texts to compare * @param {string} so
jsx/MultiEditText.jsx:453
↓ 1 callersFunctionisType
(layer, code)
jsx/ExportPathsToAi.jsx:111
↓ 1 callersFunctionloadSettings
* Load options from Photoshop preferences
jsx/TextBlock.jsx:257
↓ 1 callersFunctionloadSettings
()
jsx/RenameArtboardAsSize.jsx:132
↓ 1 callersFunctionloadSettings
()
jsx/ArtboardsFromCSV.jsx:176
↓ 1 callersFunctionloadSettings
* Load options from Photoshop preferences
jsx/MultiEditText.jsx:295
↓ 1 callersFunctionmain
()
jsx/GeneratePreview.jsx:45
↓ 1 callersFunctionmain
()
jsx/ToggleLayersLocksByName.jsx:29
↓ 1 callersFunctionmain
()
jsx/TIFF2Print.jsx:62
↓ 1 callersFunctionmain
()
jsx/TextBlock.jsx:38
↓ 1 callersFunctionmain
()
jsx/SelectShapesByColor.jsx:33
↓ 1 callersFunctionmain
()
jsx/RenameArtboardAsSize.jsx:34
↓ 1 callersFunctionmain
()
jsx/ArtboardsFromCSV.jsx:37
↓ 1 callersFunctionmain
()
jsx/ExportPathsToAi.jsx:36
↓ 1 callersFunctionmakeActiveByIndex
(idx, visible)
jsx/ClearLayer.jsx:72
↓ 1 callersFunctionopenURL
(url)
jsx/TIFF2Print.jsx:397
↓ 1 callersFunctionopenURL
* Open a URL in the default web browser * * @param {string} url - The URL to open in the web browser * @returns {void}
jsx/TextBlock.jsx:513
↓ 1 callersFunctionopenURL
(url)
jsx/RenameArtboardAsSize.jsx:271
↓ 1 callersFunctionopenURL
(url)
jsx/ArtboardsFromCSV.jsx:411
↓ 1 callersFunctionopenURL
* Open a URL in the default web browser * * @param {string} url - The URL to open in the web browser * @returns {void}
jsx/MultiEditText.jsx:495
↓ 1 callersFunctionparseCsvData
(f, units, nameKey)
jsx/ArtboardsFromCSV.jsx:259
↓ 1 callersFunctionprepareName
(doc)
jsx/GeneratePreview.jsx:59
↓ 1 callersFunctionprepareName
(doc)
jsx/TIFF2Print.jsx:287
↓ 1 callersFunctionreadCSV
(f)
jsx/ArtboardsFromCSV.jsx:294
↓ 1 callersFunctionrenameArtboard
(ab, prefs)
jsx/RenameArtboardAsSize.jsx:163
↓ 1 callersFunctionresizeDoc
(doc, size)
jsx/GeneratePreview.jsx:92
↓ 1 callersFunctionresizeDoc
(doc, size)
jsx/TIFF2Print.jsx:327
↓ 1 callersFunctionsaveJPEG
(fileName, ext, quality)
jsx/TIFF2Print.jsx:355
↓ 1 callersFunctionsaveSettings
()
jsx/TIFF2Print.jsx:234
↓ 1 callersFunctionsaveSettings
* Save UI options in Photoshop preferences
jsx/TextBlock.jsx:243
↓ 1 callersFunctionsaveSettings
()
jsx/RenameArtboardAsSize.jsx:149
↓ 1 callersFunctionsaveSettings
()
jsx/ArtboardsFromCSV.jsx:167
↓ 1 callersFunctionsaveSettings
* Save UI options in Photoshop preferences
jsx/MultiEditText.jsx:284
↓ 1 callersFunctionsearch
(sample, inclSolid)
jsx/SelectShapesByColor.jsx:139
next →1–100 of 113, ranked by callers