Action script

(imported topic written by jpeppers91)

Would the “not” be valid in this action script?

if not {exists file “c:\winnt\etsc.scr”}

dos copy “__download\icons.scr” “c:\winnt\etsc.scr”


(imported comment written by NoahSalzman)

You need to put the “not” in the Relevance substitution. Here is an example from the ActionScript guide:

if {not exists key “foo” of registry}

prefetch windows_file …

else if {not exists package “bar” of rpm}

prefetch unix_file …