[Tclresource-commits] Help TclResourceHelp.html,1.4,1.5
Status: Beta
Brought to you by:
bdesgraupes
From: Bernard D. <bde...@us...> - 2004-09-15 10:47:50
|
Update of /cvsroot/tclresource/Help In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2195 Modified Files: TclResourceHelp.html Log Message: Minor formatting fix Index: TclResourceHelp.html =================================================================== RCS file: /cvsroot/tclresource/Help/TclResourceHelp.html,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- TclResourceHelp.html 7 Sep 2004 08:22:49 -0000 1.4 +++ TclResourceHelp.html 15 Sep 2004 10:47:37 -0000 1.5 @@ -1,6 +1,6 @@ <HTML> <HEAD> -<TITLE>Resource Help </TITLE> +<TITLE>TclResourceHelp </TITLE> <META NAME=GENERATOR CONTENT="Aida Mode"> </HEAD> <BODY> @@ -18,8 +18,8 @@ <UL><UL><LI><A HREF="#M8"><B>resource attributes</B> <I>resourceRef</I> <I>option</I> <I>resourceType</I> <I>value</I> </A></UL></UL> <UL><LI><A HREF="#M9"><B>resource close</B> <I>resourceRef</I> </A></UL> <UL><LI><A HREF="#M10"><B>resource delete</B> ?<I>options</I> ? <I>resourceType</I> </A></UL> -<UL><LI><A HREF="#M11"><B>resource fork</B> <I>resourceRef</I> </A></UL> -<UL><LI><A HREF="#M12"><B>resource files</B> ?<I>resourceRef</I> ?</A></UL> +<UL><LI><A HREF="#M11"><B>resource files</B> ?<I>resourceRef</I> ?</A></UL> +<UL><LI><A HREF="#M12"><B>resource fork</B> <I>resourceRef</I> </A></UL> <UL><LI><A HREF="#M13"><B>resource id</B> <I>resourceType</I> <I>resourceName</I> <I>resourceRef</I> </A></UL> <UL><LI><A HREF="#M14"><B>resource list</B> ?<I>-ids</I> ? <I>resourceType</I> ?<I>resourceRef</I> ?</A></UL> <UL><LI><A HREF="#M15"><B>resource name</B> <I>resourceType</I> <I>resourceId</I> <I>resourceRef</I> </A></UL> @@ -101,19 +101,19 @@ path will be deleted. To inspect the file path, use the resource files command. -</UL><P><H3><A NAME="M11"></A><B>resource fork</B> <I>resourceRef</I> </H3> +</UL><P><H3><A NAME="M11"></A><B>resource files</B> ?<I>resourceRef</I> ?</H3> + If resourceRef is not provided, this command returns a Tcl list of the + resource references for all the currently open resource files. The list + is in the normal Macintosh search order for resources. If <I>resourceRef</I> is + specified, the command will return the path to the file whose resource + fork is represented by that token.<P><H3><A NAME="M12"></A><B>resource fork</B> <I>resourceRef</I> </H3> Returns which fork (either data fork or resource fork) contains the resource map specified by the argument <I>resourceRef</I> . The return value will be <I>datafork</I> , <I>resourcefork</I> or <I>unknown</I> . The value <I>unknown</I> is returned for the resource maps listed by the command <B>resource list</B> which were not opened explicitely by a resource open command but were already in memory. <P> Note that the <B>resource fork</B> command is available only since version 1.1 - of the Tclresource extension.<P><H3><A NAME="M12"></A><B>resource files</B> ?<I>resourceRef</I> ?</H3> - If resourceRef is not provided, this command returns a Tcl list of the - resource references for all the currently open resource files. The list - is in the normal Macintosh search order for resources. If <I>resourceRef</I> is - specified, the command will return the path to the file whose resource - fork is represented by that token.<P><H3><A NAME="M13"></A><B>resource id</B> <I>resourceType</I> <I>resourceName</I> <I>resourceRef</I> </H3> + of the Tclresource extension.<P><H3><A NAME="M13"></A><B>resource id</B> <I>resourceType</I> <I>resourceName</I> <I>resourceRef</I> </H3> Returns the id of the resource of type <I>resourceType</I> with name <I>resourceName</I> in the resource map designated by the argument <I>resourceRef</I> . This is the reverse of command [resource name].<P><H3><A NAME="M14"></A><B>resource list</B> ?<I>-ids</I> ? <I>resourceType</I> ?<I>resourceRef</I> ?</H3> @@ -207,7 +207,7 @@ <I>mapChanged</I> attributes for the resource map with reference <I>resourceRef</I> , one would write: <PRE> - resource attributes ((i resourceRef i)) 160 + resource attributes resourceRef 160 </PRE><P>The allowable attributes for individual resources are: <P> <P><TABLE BORDER=1 CELLPADDING=1> |