Kann ich innerhalb eines von Paint Shop Pro X erzeugten Skripts (ProcessDirectory.PspScript)
ein weiteres Skript (Groesse-72dpi-20cm-breit.PspScript) aufrufen?
Beide befinden sich Ordner \Programme\PSPX\Skripts (vertrauenswürdig).
Wenn ja, bitte wie?
Muß das aufgerufene Skript irgendwie angepaßt werden?
Trotz verzweifelter Suche habe ich bisher keine Beschreibung der Skript-Sprache gefunden;
wie z.B. der Makro-Editor in Microsoft-WORD.
Kann auch hier jemand helfen?
Code: Alles auswählen
for File in CandidateFiles:
print 'Opening file ', File
# open the file
try:
App.Do( Environment, 'FileOpen', {
'FileList': [ File ],
'GeneralSettings': {
'ExecutionMode': App.Constants.ExecutionMode.Silent,
'AutoActionMode': App.Constants.AutoActionMode.Match
}
})
except:
print >>sys.stderr, 'Error opening file %s - skipping' % File
# for simplicity, place your code in the ProcessFile method
# hier soll der Aufruf eingefügt werden. ######################
# save the file
try:
if SaveFilesAfterProcessing == App.Constants.Boolean.true:
App.Do( Environment, 'FileSave' )
# close the file before going on to the next
App.Do( Environment, 'FileClose' )
Danke und freundliche Grüße
hajo