Search found 4 matches
- Tue Apr 16, 2024 3:11 pm
- Forum: Node.js scripting
- Topic: Use $outfolder in Node.js
- Replies: 1
- Views: 582
Re: Use $outfolder in Node.js
Seems like I've found a solution to my Problem. I just create a temporary folder with: let outfolder = tmp.dirSync().name; And pass it on to AppleScript and JSX. Seems to work. A new problem that occured, is that I also need to pass the Job to AppleScript and JSX so that Photoshop can use a JSX Scri...
- Wed Apr 10, 2024 8:30 am
- Forum: Node.js scripting
- Topic: Use $outfolder in Node.js
- Replies: 1
- Views: 582
Use $outfolder in Node.js
Hello, I'm new to Node.js and I'm trying to develop a Node.js-Script that runs AppleScript which then runs a JSX-Script. That works just fine. The Problem is, that I need to use $outfolder inside of that JSX-Script, so I need to read it via Node to pass it on. I can't seem to find a way to get that ...
- Tue Apr 09, 2024 2:11 pm
- Forum: Switch
- Topic: [Solved] Job disappears during Process of passing it to AppleScript
- Replies: 1
- Views: 391
Re: Job disappears during Process of passing it to AppleScript
SOLVED - had to promisify the AppleScript execution so that the Job doesn't run through all of the TypeScript before processing the AppleScript
- Mon Apr 08, 2024 11:46 am
- Forum: Switch
- Topic: [Solved] Job disappears during Process of passing it to AppleScript
- Replies: 1
- Views: 391
[Solved] Job disappears during Process of passing it to AppleScript
Hello, I'm trying to develop a Switch-Script that allows me to use multiple Photoshop-versions (as it is not possible with the existing Photoshop App). So my Script is passing a Job to AppleScript, which then runs a jsx-Script that opens the Job in a certain Photoshop version. The Problem is, that t...