This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > PainShop Pro Scripting > May 2006 > Retrieving command parameter values





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Retrieving command parameter values
Big Bad Dave

2006-05-23, 4:25 am

Hi

I've been trying to work out a way of getting the value of command
parameters into a script. For example, I'd like to get the current 'Folder'
string parameter from the 'Browse' command. I thought that the
'GetCommandInfo' command with the 'LastUsed' option would do it for me, but
it doesn't.

I've been through all the documentation, example scripts and Python library
files that I can find, but nothing obviously does what I want.

I even tried looking in the registry, and did find the keys that I'm after
(HKCU/Software/Jasc/Paint Shop Pro 9/Browser/BrowseDir). Unfortunately, the
registry isn't updated until the application shuts down, so the key isn't up
to date.

Help !!!

Dave


Sponsored Links


Copyright 2003 - 2009 forum4designers.com  Software forum  Computer Hardware reviews