Got sick of moving ScriptListener in and out of plugins everytime to turn it on/off.
script listener has to be in plugin's folder for this to work and initially on. just move it into plugin's folder. then turn it off with script. also will only work for CS4, if there is more of a demand I might make it for other version.
made it with automator to make it easier to turn it on/off. there might be a better way so if you got one lets hear it :] or let me know if it does/doesn't work too.
http://localhostr.com/files/ee75f0/scriptlistener.zip
ScriptListening on/off shortcut (mac only)
ScriptListening on/off shortcut (mac only)
You can also write a pair of javascripts to toggle the scriptlistner plugin. Have one script rename the file with a '~' prefix and another to remove the prefix. If a plug-in has a '~' prefix Photoshop does not load it.
I think a better way to toggle the logs is to have a pair of javascripts that sets the logs to read only and back. That way you can toggle the logs without restarting Photoshop. In fact because I don't use the VB log, I leave it set to read only.
I think a better way to toggle the logs is to have a pair of javascripts that sets the logs to read only and back. That way you can toggle the logs without restarting Photoshop. In fact because I don't use the VB log, I leave it set to read only.
ScriptListening on/off shortcut (mac only)
I actually tried that, however photoshop still recognizes it as a plugin unfortunately when you change the extension. I think it still see's it as a package and reads its contents.
it would seem it would make it still laggy and glitch if you set it to read only though since its still attempting to write and is failing to do so. Wouldn't this cause issues? I know when my log file gets big I start having some really funky errors.
it would seem it would make it still laggy and glitch if you set it to read only though since its still attempting to write and is failing to do so. Wouldn't this cause issues? I know when my log file gets big I start having some really funky errors.
ScriptListening on/off shortcut (mac only)
lukasz wrote:it would seem it would make it still laggy and glitch if you set it to read only though since its still attempting to write and is failing to do so. Wouldn't this cause issues? I know when my log file gets big I start having some really funky errors.
I have had the VB log set to read only for a few years and it has never caused me any problems. I always have the scriptlistner plug-in installed. Every so often when I know that I don't want anything in the js log I run a script that deletes that log to keep it from getting too large.
It seems to me the only times scriptlistner gets laggy is when it is trying to append to a large log because of the disk I/O. With the log small or read only I don't see any lag.
I have had the VB log set to read only for a few years and it has never caused me any problems. I always have the scriptlistner plug-in installed. Every so often when I know that I don't want anything in the js log I run a script that deletes that log to keep it from getting too large.
It seems to me the only times scriptlistner gets laggy is when it is trying to append to a large log because of the disk I/O. With the log small or read only I don't see any lag.