tag:blogger.com,1999:blog-3008920438746863914.post3452225421006215280..comments2024-02-05T00:20:57.561-08:00Comments on Pete Hanshaw: Use Python to use JavaScript to get Photoshop to do stuff... and tell you about it!Petehttp://www.blogger.com/profile/09046143727527188004noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-3008920438746863914.post-54187398297790015522022-01-17T11:55:38.270-08:002022-01-17T11:55:38.270-08:00Hi Pete, Thank you so much for sharing this!
I am...Hi Pete, Thank you so much for sharing this!<br /><br />I am trying to get it this to work on mac, but I can't seem to get it to open with subprocess.popen.<br /><br />At 'ret = subprocess.Popen(self.target)' I get:<br /><br />FileNotFoundError: [Errno 2] No such file or directory: '"/Applications/Adobe Photoshop 2022/Adobe Photoshop 2022.app" "/Users/gebruiker/temp.jsx"': '"/Applications/Adobe Photoshop 2022/Adobe Photoshop 2022.app" "/Users/gebruiker/temp.jsx"'<br /><br />Any ideas? Would be awesome<br />Anonymoushttps://www.blogger.com/profile/07914559005062104591noreply@blogger.comtag:blogger.com,1999:blog-3008920438746863914.post-76769832551600824282020-07-16T15:07:37.809-07:002020-07-16T15:07:37.809-07:00Glad you were able to work it out! Thanks for shar...Glad you were able to work it out! Thanks for sharing the solution. Petehttps://www.blogger.com/profile/09046143727527188004noreply@blogger.comtag:blogger.com,1999:blog-3008920438746863914.post-42701057814140628082020-04-15T14:21:52.049-07:002020-04-15T14:21:52.049-07:00Got it working, needed to allow the winreg to see ...Got it working, needed to allow the winreg to see 64 bit programs<br /><br />https://stackoverflow.com/questions/61235839/how-do-i-make-pythons-winreg-see-registries-that-can-be-found-in-the-regestry-e/61238282#61238282Anonymoushttps://www.blogger.com/profile/05505988101801945422noreply@blogger.comtag:blogger.com,1999:blog-3008920438746863914.post-2471485131922447522020-04-15T09:44:37.250-07:002020-04-15T09:44:37.250-07:00Hey Pete, Thanks for making this script! I'm r...Hey Pete, Thanks for making this script! I'm really interested in trying it out, but for some reason Python's winreg dosnt seem to be able to see any of the applications that i can see in my Registry Editor. Any thoughts as to why it wouldn't be able to read the Registry fully? I posted a related pic in this thread where i though the script had originated earlier:<br /><br />https://community.adobe.com/t5/after-effects/python-and-after-effects-scripting-on-windows/m-p/11051476?page=1#M108998Anonymoushttps://www.blogger.com/profile/05505988101801945422noreply@blogger.com