<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://www.orx-project.org/wiki/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://www.orx-project.org/wiki/feed.php">
        <title>Orx Learning - en:examples:resource_management</title>
        <description></description>
        <link>https://www.orx-project.org/wiki/</link>
        <image rdf:resource="https://www.orx-project.org/wiki/_media/favicon.ico" />
       <dc:date>2026-04-15T03:06:08+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://www.orx-project.org/wiki/en/examples/resource_management/locate_file?rev=1759253179&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.orx-project.org/wiki/en/examples/resource_management/main?rev=1759253179&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.orx-project.org/wiki/en/examples/resource_management/screen_shots?rev=1759253179&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://www.orx-project.org/wiki/_media/favicon.ico">
        <title>Orx Learning</title>
        <link>https://www.orx-project.org/wiki/</link>
        <url>https://www.orx-project.org/wiki/_media/favicon.ico</url>
    </image>
    <item rdf:about="https://www.orx-project.org/wiki/en/examples/resource_management/locate_file?rev=1759253179&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-09-30T17:26:19+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Find the Path of a File</title>
        <link>https://www.orx-project.org/wiki/en/examples/resource_management/locate_file?rev=1759253179&amp;do=diff</link>
        <description>Find the Path of a File

Finding the path of a file bundled with Orx&#039;s config files and image can be non-trivial without Orx&#039;s utilities in a platform independent manner.

Code


const orxSTRING zLocation = orxResource_Locate(&quot;Magic&quot;, &quot;Awesome.mag&quot;);
// zLocation looks like &quot;file:/path/to/Awesome.mag&quot; if found
if(zLocation)
{
  const orxSTRING zPath = orxString_SearchChar(zLocation, orxRESOURCE_KC_LOCATION_SEPARATOR) + 1;
  // zPath looks like /path/to/Awesome.mag
}</description>
    </item>
    <item rdf:about="https://www.orx-project.org/wiki/en/examples/resource_management/main?rev=1759253179&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-09-30T17:26:19+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Resource Management</title>
        <link>https://www.orx-project.org/wiki/en/examples/resource_management/main?rev=1759253179&amp;do=diff</link>
        <description>Resource Management

locate_file 
Find the Path of a File
screen_shots 
Taking a screenshot
writing_a_file 
Writing a file
resources 
See Resource Tutorials</description>
    </item>
    <item rdf:about="https://www.orx-project.org/wiki/en/examples/resource_management/screen_shots?rev=1759253179&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-09-30T17:26:19+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Taking a screen shot or screen capture</title>
        <link>https://www.orx-project.org/wiki/en/examples/resource_management/screen_shots?rev=1759253179&amp;do=diff</link>
        <description>Taking a screen shot or screen capture


[Input]
SetList = ControlInputs

[ControlInputs]
KEY_F11 = ScreenShot



orxSTATUS orxFASTCALL Run()
{
	if (orxInput_IsActive(&quot;ScreenShot&quot;) == orxFALSE &amp;&amp; orxInput_HasNewStatus(&quot;ScreenShot&quot;)) {
		orxScreenshot_Capture();
	}</description>
    </item>
</rdf:RDF>
