Ever wanted to pass your CallHelix attributes to your script on the command line? Try this:
on run argv
set myColl to item 1 of argv
set myUser to item 2 of argv
set myPass to item 3 of argv
set myRelation to item 4 of argv
set myView to item 5 of argv
tell application "Helix Scripting"
set procid to CallHelix {myColl, myUser,
myPass, myRelation, myView} selector 100
end tell
end run
Then, on the command line, call it in the following way:
$ osascript CH.scpt AEEA.hlx60 User "" Relation View