Search found 33 matches

by schroef
Fri Apr 23, 2021 6:22 pm
Forum: Help Me
Topic: return specific coordinates of selection. PathItem?
Replies: 6
Views: 4705

Re: return specific coordinates of selection. PathItem?

Its fun trying to figure this one out. I cant seem to figure out how the original image should look. But with my example it always seems to crop it. If i alter that second crop function and change you method of cropping. I did get it to almost straighten this image. Thats pretty impressive But i thi...
by schroef
Fri Apr 23, 2021 5:53 pm
Forum: Help Me
Topic: return specific coordinates of selection. PathItem?
Replies: 6
Views: 4705

Re: return specific coordinates of selection. PathItem?

I ran another test, it seems to stop on PSD files as well as if there are subolders in the source folder. I created a test image with a green rotated rectangle. It does seem to find bound edges, not sure what the rotate should do. Perhaps i got the wrong threshold. Its an interesting script, i alway...
by schroef
Fri Apr 23, 2021 5:03 pm
Forum: Help Me
Topic: return specific coordinates of selection. PathItem?
Replies: 6
Views: 4705

Re: return specific coordinates of selection. PathItem?

I was curious for this script but does seem to work no more in PS 22. It stops at the first image just after the path is created. On Windows i dont get any error nor feedback? I ran a check with alerts and it stops after the function "smallX = findSmallestX(pathLength, origAnchor);" I foun...
by schroef
Sat Jan 02, 2021 12:45 am
Forum: Flex, Flash & CS SDK Scripts
Topic: Smart Object links panel
Replies: 21
Views: 78227

Re: Smart Object links panel

It only works on older PS version because of the flash panel. Wonder if this still would be useful in current days
by schroef
Mon Dec 28, 2020 11:29 pm
Forum: Photoshop Scripting - General Discussion
Topic: Packing/Concealing external resources
Replies: 4
Views: 6983

Re: Packing/Concealing external resources

@undavide,

do you perhaps now the title of the psot. The devs of Adobe kinda screwed over the forum when they did the redesign a while back. Cant understand they didnt try to keep old urls or somehow convert them?!?
by schroef
Mon Dec 28, 2020 11:23 pm
Forum: Help Me
Topic: icon to binary/hex code !
Replies: 5
Views: 8893

Re: icon to binary/hex code !

Dormeur74 wrote: Mon Nov 28, 2016 7:39 am
Does anyone tried this generator in newer versions and got it working. It doesnt do anything on OSX using 2018cc. No file is create. I double checked by using an alert. Its complete empty, its returns this

Code: Select all

(new String(""))
by schroef
Fri Jul 17, 2020 2:39 am
Forum: Help Me
Topic: Home key script or action needed
Replies: 7
Views: 3824

Re: Home key script or action needed

Man i did not think AppleScript would work from JSX!!! Thanks you very much if been looking to execute a keypress using java for 2 nights in a row. Tried dozens of methods. I want to use this to make a a global timeline scrubber for the video timeline. I got most parts work but i could get it to foc...
by schroef
Fri Jul 10, 2020 10:04 pm
Forum: Photoshop Scripting - General Discussion
Topic: Get timeline frame number?
Replies: 4
Views: 9471

Re: Get timeline frame number?

Sorry nevermind me... I should have checked the code better and re-read it. I thought this was executing commands and putting timeline at a certain point.

This is super great!!!!

How did you find this?
by schroef
Fri Jul 10, 2020 9:58 pm
Forum: Photoshop Scripting - General Discussion
Topic: Get timeline frame number?
Replies: 4
Views: 9471

Re: Get timeline frame number?

@Jaroslav Bereza Could you perhaps explain how to use this? I see comparisons to code from scriptlistner. I tried using your version but keeps telling me "this command is not available" This is code extracted from scriptlistner. I see parts which match, kindof. // Move playhead 1 second va...
by schroef
Tue Jul 07, 2020 5:05 am
Forum: Photoshop Scripting: Code Snippets
Topic: UI progressbar example
Replies: 32
Views: 100026

Re: UI progressbar example

My trick for that is use the following colder. But it doesn't work on very slow systems i noticed. Im currently for time being on a 2009 mac book and the progressbar doesn't show my prior trick. To get the window to hide i use show and hide right after each other.

win.show();
win.hide();