PSPX: CommandsCollection.PspScript-output

Corel Paint Shop Pro

Moderator: Kathy_9

Post Reply
hajo
Posts: 17
Joined: Wed May 11, 2011 11:42 am
operating_system: Windows XP Home
System_Drive: C
32bit or 64bit: 32 Bit

PSPX: CommandsCollection.PspScript-output

Post by hajo »

Hi,

Code:
def Do(Environment):
for cmdName in App.Commands:
try:
Info = App.Do(Environment, 'GetCommandInfo', { 'TargetCmd': cmdName } )
# print command name and descriptions
print '%s: %s' % (cmdName, Info[ 'Description' ] )

produces the output:

.......
Running GetCommandInfo

Running GetCommandInfo

Running GetCommandInfo
Vector select none: Raise the vector selection.
Running GetCommandInfo
.......

How can the lines 'running GetCommandInfo' be suppressed?

Thanks and Greetings
Hajo
Post Reply