Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/creold/photoshop-scripts
/ functions
Functions
113 in github.com/creold/photoshop-scripts
⨍
Functions
113
◇
Types & classes
0
↓ 17 callers
Function
cTID
(s)
jsx/ArtboardsFromCSV.jsx:402
↓ 16 callers
Function
cTID
(s)
jsx/SelectShapesByColor.jsx:222
↓ 12 callers
Function
sTID
(s)
jsx/RenameArtboardAsSize.jsx:256
↓ 12 callers
Function
sTID
(s)
jsx/ArtboardsFromCSV.jsx:406
↓ 10 callers
Function
cTID
* Convert a string identifier to a character identifier * * @param {string} s - The string identifier * @returns {number} - The corresponding chara
jsx/TextBlock.jsx:351
↓ 10 callers
Function
cTID
* Convert a string identifier to a character identifier * * @param {string} s - The string identifier * @returns {number} - The corresponding chara
jsx/MultiEditText.jsx:360
↓ 10 callers
Function
sTID
(s)
jsx/SelectShapesByColor.jsx:226
↓ 10 callers
Function
sTID
(s)
jsx/ExportPathsToAi.jsx:128
↓ 8 callers
Function
cTID
(s)
jsx/ExportPathsToAi.jsx:124
↓ 6 callers
Function
preview
* Toggles the preview mode for text changes
jsx/MultiEditText.jsx:216
↓ 4 callers
Function
convertUnit
(number, size)
jsx/TIFF2Print.jsx:278
↓ 4 callers
Function
isInteger
(number)
jsx/TIFF2Print.jsx:274
↓ 4 callers
Function
parseUnits
* 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 callers
Function
convertUnits
(value, currUnits, newUnits)
jsx/ArtboardsFromCSV.jsx:240
↓ 3 callers
Function
forEach
(collection, fn)
jsx/SelectShapesByColor.jsx:216
↓ 3 callers
Function
getInputText
* 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 callers
Function
isEmpty
* 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 callers
Function
strToNum
* 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 callers
Function
toAbsNum
(str, def)
jsx/ArtboardsFromCSV.jsx:249
↓ 2 callers
Function
bindStepperKeys
* 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 callers
Function
changeTexts
* Change the text content of selected text layers based on the provided input text
jsx/MultiEditText.jsx:234
↓ 2 callers
Function
convertUnits
* 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 callers
Function
convertUnits
(value, currUnits, newUnits)
jsx/RenameArtboardAsSize.jsx:261
↓ 2 callers
Function
extractContents
* 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 callers
Function
getColor
(layer)
jsx/SelectShapesByColor.jsx:76
↓ 2 callers
Function
reverseText
* 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 callers
Function
sTID
* 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 callers
Function
sTID
* 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 callers
Function
saveFile
(fileName, ext)
jsx/TIFF2Print.jsx:371
↓ 1 callers
Function
SaveTIFF
(fileName, ext, compression)
jsx/TIFF2Print.jsx:340
↓ 1 callers
Function
alignToCenter
* 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 callers
Function
calcSize
(doc, value)
jsx/TIFF2Print.jsx:253
↓ 1 callers
Function
clearAllGuides
(enabled, withDialog)
jsx/GeneratePreview.jsx:81
↓ 1 callers
Function
clearAllGuides
(enabled, withDialog)
jsx/TIFF2Print.jsx:309
↓ 1 callers
Function
collectAllLayers
(doc, allLayers)
jsx/ToggleLayersLocksByName.jsx:70
↓ 1 callers
Function
createArtboard
(w, h, delta, name, bg)
jsx/ArtboardsFromCSV.jsx:302
↓ 1 callers
Function
delPaths
(target)
jsx/TIFF2Print.jsx:320
↓ 1 callers
Function
deselect
()
jsx/SelectShapesByColor.jsx:196
↓ 1 callers
Function
deselect
()
jsx/ExportPathsToAi.jsx:133
↓ 1 callers
Function
duplicateDoc
(enabled, withDialog)
jsx/GeneratePreview.jsx:70
↓ 1 callers
Function
duplicateDoc
(enabled, withDialog)
jsx/TIFF2Print.jsx:298
↓ 1 callers
Function
exportJPG
(doc, fileName, ext)
jsx/GeneratePreview.jsx:104
↓ 1 callers
Function
exportPaths
(folder, name, ext)
jsx/ExportPathsToAi.jsx:155
↓ 1 callers
Function
fillZero
(number, size)
jsx/GeneratePreview.jsx:128
↓ 1 callers
Function
fillZero
(number, size)
jsx/TIFF2Print.jsx:391
↓ 1 callers
Function
getArtboardSize
(layer)
jsx/RenameArtboardAsSize.jsx:233
↓ 1 callers
Function
getLayerDescriptor
(layer)
jsx/SelectShapesByColor.jsx:100
↓ 1 callers
Function
getLayerType
(layer)
jsx/SelectShapesByColor.jsx:175
↓ 1 callers
Function
getLayers
(collection)
jsx/SelectShapesByColor.jsx:157
↓ 1 callers
Function
getSelectedLayersIdx
()
jsx/ClearLayer.jsx:42
↓ 1 callers
Function
getSelectedLayersIdx
* 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 callers
Function
getSelectedLayersIdx
* 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 callers
Function
getTextLayers
* 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 callers
Function
getTextLayers
* 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 callers
Function
getUnits
()
jsx/RenameArtboardAsSize.jsx:189
↓ 1 callers
Function
getUnits
()
jsx/ArtboardsFromCSV.jsx:221
↓ 1 callers
Function
getVisShapes
(collection)
jsx/ExportPathsToAi.jsx:92
↓ 1 callers
Function
initSettings
()
jsx/TIFF2Print.jsx:215
↓ 1 callers
Function
invokeUI
(prefs)
jsx/RenameArtboardAsSize.jsx:56
↓ 1 callers
Function
isCorrectEnv
()
jsx/ToggleLayersLocksByName.jsx:47
↓ 1 callers
Function
isCorrectEnv
()
jsx/TIFF2Print.jsx:68
↓ 1 callers
Function
isCorrectEnv
* Checks if the script is running in the correct environment * * @returns {boolean} - Returns `true` if the environment is correct
jsx/TextBlock.jsx:283
↓ 1 callers
Function
isCorrectEnv
()
jsx/SelectShapesByColor.jsx:52
↓ 1 callers
Function
isCorrectEnv
()
jsx/RenameArtboardAsSize.jsx:208
↓ 1 callers
Function
isCorrectEnv
()
jsx/ArtboardsFromCSV.jsx:197
↓ 1 callers
Function
isCorrectEnv
()
jsx/ExportPathsToAi.jsx:68
↓ 1 callers
Function
isEqualContents
* 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 callers
Function
isType
(layer, code)
jsx/ExportPathsToAi.jsx:111
↓ 1 callers
Function
loadSettings
* Load options from Photoshop preferences
jsx/TextBlock.jsx:257
↓ 1 callers
Function
loadSettings
()
jsx/RenameArtboardAsSize.jsx:132
↓ 1 callers
Function
loadSettings
()
jsx/ArtboardsFromCSV.jsx:176
↓ 1 callers
Function
loadSettings
* Load options from Photoshop preferences
jsx/MultiEditText.jsx:295
↓ 1 callers
Function
main
()
jsx/GeneratePreview.jsx:45
↓ 1 callers
Function
main
()
jsx/ToggleLayersLocksByName.jsx:29
↓ 1 callers
Function
main
()
jsx/TIFF2Print.jsx:62
↓ 1 callers
Function
main
()
jsx/TextBlock.jsx:38
↓ 1 callers
Function
main
()
jsx/SelectShapesByColor.jsx:33
↓ 1 callers
Function
main
()
jsx/RenameArtboardAsSize.jsx:34
↓ 1 callers
Function
main
()
jsx/ArtboardsFromCSV.jsx:37
↓ 1 callers
Function
main
()
jsx/ExportPathsToAi.jsx:36
↓ 1 callers
Function
makeActiveByIndex
(idx, visible)
jsx/ClearLayer.jsx:72
↓ 1 callers
Function
openURL
(url)
jsx/TIFF2Print.jsx:397
↓ 1 callers
Function
openURL
* 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 callers
Function
openURL
(url)
jsx/RenameArtboardAsSize.jsx:271
↓ 1 callers
Function
openURL
(url)
jsx/ArtboardsFromCSV.jsx:411
↓ 1 callers
Function
openURL
* 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 callers
Function
parseCsvData
(f, units, nameKey)
jsx/ArtboardsFromCSV.jsx:259
↓ 1 callers
Function
prepareName
(doc)
jsx/GeneratePreview.jsx:59
↓ 1 callers
Function
prepareName
(doc)
jsx/TIFF2Print.jsx:287
↓ 1 callers
Function
readCSV
(f)
jsx/ArtboardsFromCSV.jsx:294
↓ 1 callers
Function
renameArtboard
(ab, prefs)
jsx/RenameArtboardAsSize.jsx:163
↓ 1 callers
Function
resizeDoc
(doc, size)
jsx/GeneratePreview.jsx:92
↓ 1 callers
Function
resizeDoc
(doc, size)
jsx/TIFF2Print.jsx:327
↓ 1 callers
Function
saveJPEG
(fileName, ext, quality)
jsx/TIFF2Print.jsx:355
↓ 1 callers
Function
saveSettings
()
jsx/TIFF2Print.jsx:234
↓ 1 callers
Function
saveSettings
* Save UI options in Photoshop preferences
jsx/TextBlock.jsx:243
↓ 1 callers
Function
saveSettings
()
jsx/RenameArtboardAsSize.jsx:149
↓ 1 callers
Function
saveSettings
()
jsx/ArtboardsFromCSV.jsx:167
↓ 1 callers
Function
saveSettings
* Save UI options in Photoshop preferences
jsx/MultiEditText.jsx:284
↓ 1 callers
Function
search
(sample, inclSolid)
jsx/SelectShapesByColor.jsx:139
next →
1–100 of 113, ranked by callers