Is there a way to prevent the image window from refreshing each step when running .jsx files? I would just like for it to refesh only when the script tells it to by using app.refresh().
I have a script that refreshes the view for almost every step when running is CS5. It doesn't do this in CS4 or lower. Also, it never used to refresh in CS5 until recently. It seems this is slowing the script down considerably though. I have not made any changes to the script or to my system. Maybe it was a Photoshop update that triggered it to start this excessive screen refreshing?
Anyway, I'm not sure if this can be disabled somehow.
Prevent screen refeshing when running?
Prevent screen refeshing when running?
It sounds like maybe your playback options were changed. In the panel menu for actions make sure playback options( about middle of menu ) are set to accelerated.
Prevent screen refeshing when running?
Thanks!, I didn't even realize those options affected the .jsx scripts. It got set to pause for 60 seconds somehow. Changing it to accelerating fixed it so it's running fast again.
It looks like changing this option records in the script listener. I should be able to build into the script to store the user's current setting, change it to accelerated, and then change it back to the user's original setting when the script is done.
I'm trying to figure out how to get the users current Action Playback setting into a variable? I can't find reference to this setting in Adobe's Javascript Reference. Is there a way to use the script listener code to determine the path to the Object? It seems that I should be able to figure this out from the script listener code generated when changing the setting. However, its cryptic and I just can't quite wrap my brain around it.
It looks like changing this option records in the script listener. I should be able to build into the script to store the user's current setting, change it to accelerated, and then change it back to the user's original setting when the script is done.
I'm trying to figure out how to get the users current Action Playback setting into a variable? I can't find reference to this setting in Adobe's Javascript Reference. Is there a way to use the script listener code to determine the path to the Object? It seems that I should be able to figure this out from the script listener code generated when changing the setting. However, its cryptic and I just can't quite wrap my brain around it.
Prevent screen refeshing when running?
There are some things action manager(scriptlistener) can set but not get. This is one, a script can change the action playback options but it can't determine the current settings. At least I have never been able to find a way.
Prevent screen refeshing when running?
Good to know.
I guess I'll just have my scripts set the mode to accelerated whenever the script runs but not worry about if it was changed or not. Most people probably have this set to accelerated anyway so it won't be a big deal.
I guess I'll just have my scripts set the mode to accelerated whenever the script runs but not worry about if it was changed or not. Most people probably have this set to accelerated anyway so it won't be a big deal.