Initial import of Scalos. To decrease size I have
[AROS-Contrib.git] / scalos / Plugins / OOP / wb39_plugin / wbrexx / rxtest3.rexx
blobde0b2c420fb072f22844c7272fa56e610e4f70ac
1 /* rxtest3.rexx */
3 OPTIONS RESULTS
5 ADDRESS WORKBENCH
7 window "Download:" open
9 address command "wait"
11 getattr object window.icons.all.count name "Download:" var IconCount
13 say IconCount || " Icons found."
15 getattr object window.icons.all name "Download:" stem icons
17 do n = 0 to IconCount-1
18 say "Name = <" || icons.n.name || "> Width=" || icons.n.width || " Height=" icons.n.height
19 end
22 if rc > 0 then do
23 getattr application.lasterror
24 res = result
25 fault code res
26 say "lasterror =" result
27 end