Search found 29 matches

by JavierAroche
Tue Oct 25, 2016 6:14 am
Forum: Help Me
Topic: Accessing Layer Comp position recordings in javascript
Replies: 4
Views: 5903

Re: Accessing Layer Comp position recordings in javascript

This is gold man! Why is this not documented?? Did Thomas Ruark and Tim Wright point you to any specific documentation? I modified your example a bit to get the current document's entire info, including its placed smart objects. It's super fast, just like generator, but from ExtendScript! It uses th...
by JavierAroche
Sat Aug 06, 2016 5:20 pm
Forum: Help Me
Topic: Creative Cloud Extension Builder question
Replies: 4
Views: 5881

Re: Creative Cloud Extension Builder question

Hey Jo, Check out this other topic https://www.ps-scripts.com/viewtopic.php?f=77&t=24371 As Davide said, there are several ways of doing this. In your hostscript, you can include other files by putting them at the top of your script like this #include 'script1.jsx' #include 'script2.jsx' ... Tha...
by JavierAroche
Sat Aug 06, 2016 6:59 am
Forum: Photoshop Scripting - General Discussion
Topic: how to run scripts within another scripts
Replies: 9
Views: 23590

Re: how to run scripts within another scripts

You can execute another script with a little Action Descriptor. Execute a script that's already in your Scripts folder, by simply using its name. function executeScript(NameOfYourScript) { var idAdobeScriptAutomationScripts = stringIDToTypeID( "AdobeScriptAutomation Scripts" ); var desc320...
by JavierAroche
Sun Jul 31, 2016 7:21 pm
Forum: Help Me
Topic: How to open the files in subfolders"photo1,photo2,photo3"
Replies: 12
Views: 17660

Re: How to open the files in subfolders"photo1,photo2,photo3"

That's really weird. Kukurykus' answer didn't show up until today. Glad you got it working! :)
by JavierAroche
Sun Jul 31, 2016 8:03 am
Forum: Help Me
Topic: How to open the files in subfolders"photo1,photo2,photo3"
Replies: 12
Views: 17660

Re: How to open the files in subfolders"photo1,photo2,photo3"

I just tested this code and it works. Double check your path "~/desktop/photo". Does the ~ work as the user path on windows? Try a full absolute path to the folder.
by JavierAroche
Sat Jul 30, 2016 10:28 pm
Forum: Help Me
Topic: How to open the files in subfolders"photo1,photo2,photo3"
Replies: 12
Views: 17660

Re: How to open the files in "photo1,photo2,photo3"

The getFiles() function only collects files from the specified directory. You will need to use a recursive function to iterate through all the subfolders and retrieve their files. There's a really nice function in this thread where they do exactly what you need. You can even use a filter to retrieve...
by JavierAroche
Sat Jul 30, 2016 4:46 am
Forum: Photoshop Scripts
Topic: Brackets to Photoshop (Brackets Extension)
Replies: 3
Views: 10618

Brackets to Photoshop (Brackets Extension)

Hey everyone, I made a little Brackets extension called Brackets to Photoshop that executes a JSX file in Photoshop using the osa module (osascript). It uses Photoshop's AppleScript API, so it only works on MacOS. You can find instructions in the repo. https://github.com/JavierAroche/brackets-to-pho...
by JavierAroche
Sat Jul 30, 2016 4:04 am
Forum: Photoshop Scripting - General Discussion
Topic: Welcome back fellow developers!
Replies: 10
Views: 16518

Re: Welcome back fellow developers!

Me and Antonio have been following the relaunch of this website. It's really exciting to see it back up. There's a lot of great knowledge in this place. I can't wait to learn from everyone and start contributing.

The paypal donation is not a bad idea :)