wswarn
Description
Enables you to enable or disable specific types of warning that could be displayed when a particular operation is performed during scripting. These warnings allow you to confirm that you would like an operation to take place, or prevent you from doing something you may have elected to do in error.
Example 344. Toggle warnings on and off
The example below will toggle warnings for file overwrites and tag clashes on or off depending on the current setting.
wswarn ^4, ^8
Syntax
wswarn toggle:i? warning:n?
wswarn
[no parameter]
|
Invoke the Warning Preferences dialog box.
|
toggle
|
The setting for each warning parameter specified:
+
|
Add warning to ignore list.
|
-
|
Remove warning from ignore list.
|
^
|
Toggle warning in ignore list.
|
|
warning
|
The type of warning to be activated/deactivated:
1
|
Revision markers
|
2
|
Multiple deletes
|
4
|
File overwrites
|
8
|
Tag clashes
|
16
|
Page not ready
|
32
|
Version warnings
|
64
|
EPS mismatches
|
128
|
Missing fonts FONTMAP
|
256
|
Imposition printing settings
|
512
|
Font license protection warnings
|
1024
|
Missing font files
|
2048
|
Old encryption method
|
4096
|
File size creation warnings
|
8192
|
Missing links
|
|
|
|
Additional Information
The wswarn keyword is used to specify warnings in scripts. To specify operational warnings during normal PTC ALD use, use wwarn.
|
If the warning preference you need is not documented, turn it on or off as required in the PTC ALD document, then look at the document in a text editor. You may be able to see what preference has changed and the number parameter used to determine that change.
|
Related Links