<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Dropzone Forums — Add OptionsNib to pass a string]]></title>
		<link>https://forums.aptonic.com/topic/624/add-optionsnib-to-pass-a-string/</link>
		<atom:link href="https://forums.aptonic.com/feed/rss/topic/624" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Add OptionsNib to pass a string.]]></description>
		<lastBuildDate>Sat, 11 Apr 2026 03:49:17 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Add OptionsNib to pass a string]]></title>
			<link>https://forums.aptonic.com/post/1630/#p1630</link>
			<description><![CDATA[<p>I tried to guess URL…but yes, thank you! That’s what I’m looking for.</p>]]></description>
			<author><![CDATA[null@example.com (microwerx)]]></author>
			<pubDate>Sat, 11 Apr 2026 03:49:17 +0000</pubDate>
			<guid>https://forums.aptonic.com/post/1630/#p1630</guid>
		</item>
		<item>
			<title><![CDATA[Re: Add OptionsNib to pass a string]]></title>
			<link>https://forums.aptonic.com/post/1629/#p1629</link>
			<description><![CDATA[<p>Here&#039;s an example of an action that does this:</p><div class="codebox"><pre><code># Dropzone Action Info
# Name: Open Different URL Scheme
# Description: Open 
# Creator: Aptonic
# URL: https://aptonic.com
# Events: Clicked
# OptionsNIB: OpenURL
# SkipConfig: No
# RunsSandboxed: Yes
# Version: 1.0
# MinDropzoneVersion: 5.0
 
def clicked
  url = ENV[&#039;url&#039;]

  if url &amp;&amp; !url.empty?
    system(&#039;open&#039;, url)
    $dz.finish(&quot;Opened: #{url}&quot;)
  else
    $dz.fail(&quot;No URL provided&quot;)
  end

  $dz.url(false)
end</code></pre></div><p>This uses the OpenURL OptionsNIB and lets you use alternative URL schemes.</p>]]></description>
			<author><![CDATA[null@example.com (John)]]></author>
			<pubDate>Fri, 10 Apr 2026 02:22:50 +0000</pubDate>
			<guid>https://forums.aptonic.com/post/1629/#p1629</guid>
		</item>
		<item>
			<title><![CDATA[Add OptionsNib to pass a string]]></title>
			<link>https://forums.aptonic.com/post/1628/#p1628</link>
			<description><![CDATA[<p>I want to make an action that acts like the Open URL action. Open URL allows you to specify the URL that you&#039;d like to open. I&#039;d like to make something similar but that uses a different URL scheme. For instance, apps are allowed to specify a custom scheme that opens that app. The built-in ones are `open:` and `shortcut:`. I have a custom app that opens with customapp://0ba204 and I could launch it on the command-line with `open &quot;customapp://0ba204&quot;`.</p><p>Maybe this is already supported, but I couldn&#039;t seem to find a way to do that.</p><p>I think that passing a string could be used to set command-line arguments for a command--so I think this could also be super useful.</p>]]></description>
			<author><![CDATA[null@example.com (microwerx)]]></author>
			<pubDate>Thu, 09 Apr 2026 14:30:52 +0000</pubDate>
			<guid>https://forums.aptonic.com/post/1628/#p1628</guid>
		</item>
	</channel>
</rss>
