Dispatch - reading a file's variable

I can set a dispatch variable by "variable value from selected file(s) datacard", so i think i can read any selected file's variable . But how can i read a variable value from unselected file. Because i am going to look another files states to set some variables to selected files.

Kursad..

SolidworksSolidworks Pdm enterprise Pdm