home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / icon_192.zip / icon.HLP (.txt) < prev    next >
OS/2 Help File  |  1999-09-11  |  14KB  |  375 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. About ICONTOOL ΓòÉΓòÉΓòÉ
  3.  
  4. ICONTOOL by Henk Kelder 
  5.  
  6. ICONTOOL allows you to do the following things: 
  7.  
  8.      Change an objects icon by dropping an icon on it. 
  9.      Change the name shown on the workplace shell without changing the name on 
  10.       disk. 
  11.      Copy and move non-abstract files and directories. 
  12.      Delete objects. 
  13.      Extract icons from objects. 
  14.      Open objects and change objects settings. 
  15.      Allows to modify some extended attributes for files 
  16.      Allows you to query the setupstring for objects 
  17.  
  18.  See the following for more information: 
  19.  
  20.  Disclaimer 
  21.  General information 
  22.  Changing directories and drives 
  23.  Manipulating files 
  24.  Changing object titles 
  25.  Extracting icons 
  26.  Setting the default icon 
  27.  Abstract objects 
  28.  Known problems in ICONTOOL 
  29.  ICONTOOL.TXT 
  30.  
  31.  
  32. ΓòÉΓòÉΓòÉ 2. General Help ΓòÉΓòÉΓòÉ
  33.  
  34. Use this choice to get general help for the program. General help provides 
  35. general information about the Association editor. 
  36.  
  37.  
  38. ΓòÉΓòÉΓòÉ 3. Extended ΓòÉΓòÉΓòÉ
  39.  
  40. Use this choice to obtain information on how to use the Help facility. 
  41.  
  42.  
  43. ΓòÉΓòÉΓòÉ 4. Index ΓòÉΓòÉΓòÉ
  44.  
  45. Use this choice to display the help index. 
  46.  
  47. The help index lists the titles of the help information that is available. 
  48.  
  49.  
  50. ΓòÉΓòÉΓòÉ 5. Tutorial of Keys ΓòÉΓòÉΓòÉ
  51.  
  52. Use this choice to see a list of keys and a description of the function of the 
  53. keys. 
  54.  
  55.  
  56. ΓòÉΓòÉΓòÉ 6. Information ΓòÉΓòÉΓòÉ
  57.  
  58. This dialog displays information about the application, such as version number 
  59. and the author. 
  60.  
  61.  
  62. ΓòÉΓòÉΓòÉ 6.1. Keys Help ΓòÉΓòÉΓòÉ
  63.  
  64. ICONTOOLs conforms itself to the general usage of keys for folders. If you need 
  65. information about these keys, select an icon on your desktop and select Keys 
  66. Help from the menu. 
  67.  
  68.  
  69. ΓòÉΓòÉΓòÉ 7. Disclaimer ΓòÉΓòÉΓòÉ
  70.  
  71. I allow you to use and distribute ICON.EXE freely under the condition that I am 
  72. in no way responsible for any damage or loss you may suffer. 
  73.  
  74. Henk Kelder 
  75.  
  76.  
  77. ΓòÉΓòÉΓòÉ 8. General information ΓòÉΓòÉΓòÉ
  78.  
  79. ICON.EXE was written in 'plain old' C using the C/2 Set compiler and OS/2 2.0 
  80. toolkit. No 'SOM' programming was used. All information about abstract objects 
  81. is gotten out (hacked) off the ini-files. Clearly the latter is fully 
  82. UNDOCUMENTED ! (but it seems to work reasonally well.) 
  83.  
  84. ICON.EXE is a PM program for OS/2 2.0 that I initially wrote because I did not 
  85. like the complex way to set an icon for a workplace shell object and other 
  86. objects (read: files and directories) on my harddisk and of attached network 
  87. drives. 
  88.  
  89. Furthermore, since the workplace shell claims to support drag-drop operations I 
  90. wanted to experiment with this. Why shouldn't I be able to drag an iconfile and 
  91. drop it on something else so that the icon would be assigned to this something 
  92. else. 
  93.  
  94. Initialy I tried to write it so it would show icons only and one could then 
  95. drag the icon on an object on the desktop. Unfortunately the desktop itself 
  96. doesn't seem to follow the specifications for drag-drop operations completely. 
  97. The solutions for this was that ICONTOOL allows you to open two windows and you 
  98. can do draging and dropping between these two windows. 
  99.  
  100.  
  101. ΓòÉΓòÉΓòÉ 9. Changing directories and drives ΓòÉΓòÉΓòÉ
  102.  
  103. When ICONTOOL is configured to show drives and/or directories you can simply 
  104. change to these drives and/or directories by selecting 'open' or by double 
  105. clicking on them. ICONTOOL will no open a new folder but will replace the 
  106. contents of the open window. 
  107.  
  108.  
  109. ΓòÉΓòÉΓòÉ 10. Manipulating files or directories ΓòÉΓòÉΓòÉ
  110.  
  111. Although not it main purpose, you could also use this program to do the 
  112. following operations on most objects: 
  113.  
  114. Copy files 
  115.  
  116. You can copy a file or directory the by dragging it to another location while 
  117. you keep the control-button pressed. This can be the second window ICONTOOL 
  118. allows you to open, but it can also be a workplace shell folder. 
  119. You cannot copy abstract objects with ICONTOOL! 
  120.  
  121. Move files 
  122.  
  123. You can move a file or directory by dragging it to another location without 
  124. pressing any keys. This can be the second window ICONTOOL allows you to open, 
  125. but it can also be a workplace shell folder. 
  126. You cannot move abstract objects with ICONTOOL! 
  127.  
  128. Make shadows of files or directories 
  129.  
  130. You can make a shadow of a file by dragging it to another location while 
  131. pressing the control and shift key. This can not be the second window ICONTOOL 
  132. allows you to open, but it can be a workplace shell folder. 
  133. You cannot make shadows of abstract objects with ICONTOOL! 
  134.  
  135. Note:  The here mentioned key combinations can be different on your desktop if 
  136. you have changed the defaults. 
  137.  
  138. Related information: 
  139.  
  140. Abstract objects 
  141.  
  142.  
  143. ΓòÉΓòÉΓòÉ 11. Changing object titles ΓòÉΓòÉΓòÉ
  144.  
  145. When the program allowed me to do this I found that I would also like to change 
  146. the titles of objects WITHOUT changing the underlying fysical filename of an 
  147. object. I found the the workplace shell uses the .LONGNAME extended attribute, 
  148. if present, as a title. It was no big deal to show these .LONGNAME ea's. (It is 
  149. an option you can set under 'Open->Settings'.) 
  150.  
  151. If ICON.EXE shows longnames, one can change the names as one would change the 
  152. name of objects on the desktop. Please remember that only the .LONGNAME 
  153. extented attribute is changed and NOT the fysical filename. 
  154.  
  155. You can change names by using the standard way to rename workplace shell 
  156. objects (alt and leftmouse button or shift-f9). 
  157.  
  158.  
  159. ΓòÉΓòÉΓòÉ 12. Extracting icons ΓòÉΓòÉΓòÉ
  160.  
  161. Another nice feature would be the possibility to 'extract' an icon to an 
  162. iconfile. When this option is chosen the program first looks if there is an 
  163. .ICON ea and if so writes this ea as a file to disk. If there is no .ICON ea 
  164. the iconfile is constucted from the icon bitmap as it is visible on the screen. 
  165. In the latter case the iconfile only contains a bitmap for the device it is 
  166. extracted from. 
  167.  
  168. You can extract an icon from an object by selecting the extract option from the 
  169. objects popup menu. 
  170.  
  171.  
  172. ΓòÉΓòÉΓòÉ 13. Setting the default icon ΓòÉΓòÉΓòÉ
  173.  
  174. Setting the default icon means that the .ICON ea is removed. 
  175.  
  176. You can set the default icon for an object by selecting the default option from 
  177. the objects popup menu. 
  178.  
  179.  
  180. ΓòÉΓòÉΓòÉ 14. Abstract objects ΓòÉΓòÉΓòÉ
  181.  
  182. Wat is an abstract object? 
  183.  
  184. An abstract object is an object that is defined in your ini-files. Non-abstract 
  185. are always present on a disk as a file or a directory. 
  186. An example of an abstract object is the color palette. 
  187.  
  188. Icons shown for abstract objects 
  189.  
  190. ICONTOOL also displays abstract objects. In some cases the icon for an abstract 
  191. object is somewere deep in an OS/2 dll. In such a case I'm not able to 
  192. determine the icon and a questionmark icon is shown. 
  193.  
  194. Opening abstract objects 
  195.  
  196. With ICONTOOL you can open all abstract objects with the exception of the color 
  197. palette. This is that the api-call I use to open abstract objects 
  198. (WinSetObjectData(hObject, "OPEN=DEFAULT") resets a color palette object to a 5 
  199. by 4 palette all of them being a 'New scheme'. 
  200.  
  201. Deleting abstract objects 
  202.  
  203. ICONTOOL allows you to delete abstract objects, including non-deleteable 
  204. objects 
  205.  
  206.  
  207. ΓòÉΓòÉΓòÉ 15. Known problems ΓòÉΓòÉΓòÉ
  208.  
  209. When draging-dropping to another application (e.g. the workplace shell itself) 
  210. the graphical display gets distorded. This is due to a bug in OS/2 itself, 
  211. don't call me, call IBM ! This problem only appears in the original OS/2 2.0 GA 
  212. version. 
  213.  
  214. ICON.EXE terminates or causes your desktop to hang when starting in WINOS2 
  215. Program in early OS/2 2.00.1 BETA version. It works properly in GA, GA+SP, BETA 
  216. 2.1, OS/2 2.1, 2.11 en OS/2 3.0 versions. 
  217.  
  218.  
  219. ΓòÉΓòÉΓòÉ 16. ICONTOOL.TXT ΓòÉΓòÉΓòÉ
  220.  
  221.             === DISCLAIMER ===
  222.  
  223.  
  224. I allow you to use and distribute ICON.EXE freely under the condition
  225. that I am in no way responsible for any damage or loss you may suffer.
  226.  
  227. Henk Kelder, hkelder@capgemini.nl
  228.  
  229.         === NOTES ON ICONTOOL ===
  230.  
  231. General
  232.  
  233. ICON.EXE was written in 'plain old' C using the C/2 Set compiler and
  234. OS/2 2.0 toolkit. No 'Som' programming was used. All information about
  235. abstract objects is gotten out (hacked) off the ini-files. Clearly the
  236. latter is fully UNDOCUMENTED ! (but it seems to work reasonally well.)
  237.  
  238.  
  239. Drag-drop of icons
  240.  
  241. ICON.EXE is a PM program for OS/2 2.0 that I initially wrote because I did
  242. not like the complex way to set an icon for a workplace shell object and
  243. other objects (read: files and directories) on my harddisk of attached
  244. network drives.
  245. Furthermore, since the workplace shell claims to support drag-drop
  246. operations I wanted to experiment with this. Why shouldn't I be able to drag
  247. an iconfile and drop it on something else so that the icon would be assigned
  248. to this something else.
  249.  
  250. Initialy I tried to write it so it would show icons only and one could then
  251. drag the icon on an object on the desktop. Unfortunately the desktop itself
  252. doesn't seem to follow the specifications for drag-drop operations
  253. completely. The solutions for this was that ICONTOOL allows you to open two
  254. windows and you can do draging and dropping between these two windows.
  255.  
  256.  
  257. Changing directories or drives (open other folders)
  258.  
  259. When icontool is configured to show drives and/or directories you can simply
  260. change to these drives and/or directories by selecting 'open' or by double
  261. clicking on them. Icontool will no open a new folder but will replace the
  262. contents of the open window.
  263.  
  264.  
  265. Copying, moving and deleting of objects
  266.  
  267. Although not it main purpose, you could also use this program to do these
  268. operations on most objects.
  269.  
  270.  
  271.  
  272. Changing object titles
  273.  
  274. When the program allowed me to do this I found that I would also like to
  275. change the titles of objects WITHOUT changing the underlying fysical
  276. filename of an object. I found the the workplace shell uses the .LONGNAME
  277. extended attribute, if present, as a title. It was no big deal to show
  278. these .LONGNAME ea's. (It is an option you can set under 'Open->Settings'.)
  279.  
  280. If ICON.EXE shows longnames, one can change the names as one would change
  281. the name of objects on the desktop. Please remember that only the .LONGNAME
  282. extented attribute is changed and NOT the fysical filename.
  283.  
  284.  
  285. Extracting Icons
  286.  
  287. Another nice feature would be the possibility to 'extract' an icon to an
  288. iconfile. When this option is chosen the program first looks if there is an
  289. an .ICON ea and if so writes this ea as a file to disk. If there is
  290. no .ICON ea the iconfile is constucted from the icon bitmap as it is visible
  291. on the screen. In the latter case the iconfile only contains a bitmap for
  292. the device it is extracted from.
  293.  
  294.  
  295. Setting default Icon
  296.  
  297. Setting the default icon means that the .ICON ea is removed.
  298.  
  299. Abstract objects
  300.  
  301. ICONTOOL also displays abstract objects. In some cases the icon for an
  302. abstract object is somewere deep in an OS/2 dll. In such a case I'm not able
  303. to determine the icon and a questionmark icon is shown.
  304. With Icontool you can open all abstract objects with the exception of the
  305. color palette. This is because the api-call I use to open abstract objects
  306. (WinSetObjectData(hObject, "OPEN=DEFAULT") resets a color palette object to
  307. a 5 by 4 palette all of them being a 'New scheme'.
  308.  
  309.  
  310.  
  311. Known problems:
  312.  
  313. - When draging-dropping to another application (e.g. the workplace shell
  314.  itself) the graphical display gets distorded. This is due to a bug in OS/2
  315.  itself, don't call me, call IBM ! This problem occurs only in the original
  316.  first release of OS/2 2.0 (GA version).
  317.  
  318. - For testing reasons a lot of error and/or warning message are build in.
  319.  Normally you should not see them, but on the Novell Network I work with
  320.  myself I sometimes see 'Not enoug memory' messages. These messages result
  321.  from the Novell Requestor for OS/2 2.0 reporting very L A R G E
  322.  extended attribute sizes. So don't call me, call Novell !
  323.  
  324.  
  325. Updates in version 1.5:
  326.  
  327. - This version now supports OS/2 2.00.1 beta (32 bits GRE)
  328.  
  329. - Also, the mechanism for reading extended attributes has been improved.
  330.  This was needed because the new 2.00.1 (or 2.01 BETA) appearantly has
  331.  a bug that returns un incorrect size for extented attributes when using
  332.  DosQueryPathInfo.
  333.  Appearantly this same bug appears to be in the Novell Netware Requester,
  334.  since I haven't seen the problem mentioned above after I made the changes.
  335.  
  336. - Known problems: ICON.EXE terminates or causes your desktop to hang
  337.          when starting in WINOS/2 Program
  338.          in the early 2.00.1 BETA version. It works properly in GA version.
  339.  
  340. Updates in version 1.6:
  341.  
  342. - Icon.exe now works properly after the service pack (October 1992) has
  343.  been installed!.
  344.  
  345.  
  346. Updates in version 1.61:
  347.  
  348. - ICON.EXE allows the user to specify a directory where extracted icons
  349.  will be placed. (open->settings)
  350.  
  351. - ICON.EXE now works properly with OS/2 2.1 BETA. (Released december '92)
  352.  
  353.  
  354. Updates in version 1.70:
  355.  
  356. - ICON.EXE now works properly with OS/2 2.1 BETA (Released march '93)
  357.  
  358.  
  359. Update in version 1.80:
  360.  
  361. -  ICON.EXE now works with OS/2 3.0 (or WARP)
  362.  
  363. -  ICON.EXE allows you to modify several extended attributes.
  364.  
  365. Update in version 1.90:
  366.  
  367. -  ICON.EXE now utilizes WPTOOLS.DLL to query object settings, both
  368.   formatted and unformatted.
  369.  
  370. -  ICON.EXE still works very nice with WARP 4.
  371.  
  372. Update in version 1.91:
  373. -  Didn't recoqnize objecthandles with a 4 in the hiword as an file system
  374.   object.
  375.