<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>REALbasic City &#187; applescript</title>
	<atom:link href="http://realbasic.tutspolis.com/tag/applescript/feed/" rel="self" type="application/rss+xml" />
	<link>http://realbasic.tutspolis.com</link>
	<description>Tutorials - Tutspolis.com</description>
	<lastBuildDate>Sat, 29 May 2010 23:10:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>RBCAppleScript Class for REALbasic</title>
		<link>http://realbasic.tutspolis.com/plugins/rbcapplescript-class-for-realbasic/</link>
		<comments>http://realbasic.tutspolis.com/plugins/rbcapplescript-class-for-realbasic/#comments</comments>
		<pubDate>Sun, 10 Jan 2010 16:56:13 +0000</pubDate>
		<dc:creator>Jakub Pawlak</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[applescript]]></category>
		<category><![CDATA[rbcapplescript]]></category>
		<category><![CDATA[realbasic]]></category>

		<guid isPermaLink="false">http://realbasic.tutspolis.com/?p=228</guid>
		<description><![CDATA[<!-- isPostPurchased ,postID 228, userID 0, combination 1 -->
			
				
			
		
RBCAppleScript Class is a free REALbasic Class (for premium accounts users) that allows you to compile and run AppleScript code inside REALbasic without need to add AppleScript files to REALbasic Project. Hope you will find it useful and thx for support!


RBCAppleScript Class simple example
First add your RBCAppleScript Class to Project Tab and you reedy to [...]]]></description>
			<content:encoded><![CDATA[<!-- isPostPurchased ,postID 228, userID 0, combination 1 --><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Frealbasic.tutspolis.com%2Fplugins%2Frbcapplescript-class-for-realbasic%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Frealbasic.tutspolis.com%2Fplugins%2Frbcapplescript-class-for-realbasic%2F&amp;source=REALbasicCity&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>RBCAppleScript Class is a free REALbasic Class (for premium accounts users) that allows you to compile and run AppleScript code inside REALbasic without need to add AppleScript files to REALbasic Project. Hope you will find it useful and thx for support!</p>
<p><span id="more-228"></span></p>
<div style="margin-left:19px;float:left">
<h2>RBCAppleScript Class simple example</h2>
<p>First add your RBCAppleScript Class to Project Tab and you reedy to rock.  In this example we will tell application iTunes to play the music. If it&#8217;s not running then iTunes will  automatically start.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="vb" style="font-family:monospace;"><span style="color: #000080;">Dim</span> applescript <span style="color: #000080;">As</span> <span style="color: #000080;">New</span> RBCAppleScript
<span style="color: #000080;">Dim</span> ascode <span style="color: #000080;">As</span> <span style="color: #000080;">String</span>
&nbsp;
ascode= <span style="color: #800000;">&quot;tell application &quot;</span><span style="color: #800000;">&quot;iTunes&quot;</span><span style="color: #800000;">&quot; to play&quot;</span>
applescript.Run(ascode)</pre></td></tr></table></div>

<h2>RBCAppleScript Class receive data from AppleScript</h2>
<p>Using RBCAppleScript is also extremely easy to receive the data from AppleScript using RBCAppleScript.Result method. For example we can use AppleScript to get the name of every person from our Address Book app. This code will do this and display the received data in MsgBox, but a better way is adding it to a Array.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="vb" style="font-family:monospace;"><span style="color: #000080;">Dim</span> applescript <span style="color: #000080;">As</span> <span style="color: #000080;">New</span> RBCAppleScript
<span style="color: #000080;">Dim</span> ascode <span style="color: #000080;">As</span> <span style="color: #000080;">String</span>
&nbsp;
ascode= <span style="color: #800000;">&quot;tell application &quot;</span><span style="color: #800000;">&quot;Address Book&quot;</span><span style="color: #800000;">&quot; to get the name of every person&quot;</span>
applescript.Run(ascode)
&nbsp;
MsgBox applescript.Result</pre></td></tr></table></div>

<h2>Run multiline AppleScript in REALbasic</h2>
<p>RBCAppleScript allows you also to run multiline AppleScript code. To define next line use EndOfLine function like in this example:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code"><pre class="vb" style="font-family:monospace;"><span style="color: #000080;">Dim</span> applescript <span style="color: #000080;">As</span> <span style="color: #000080;">New</span> RBCAppleScript
<span style="color: #000080;">Dim</span> ascode <span style="color: #000080;">As</span> <span style="color: #000080;">String</span>
&nbsp;
ascode= <span style="color: #800000;">&quot;tell app &quot;</span><span style="color: #800000;">&quot;Finder&quot;</span><span style="color: #800000;">&quot;&quot;</span> + EndOfLine + <span style="color: #800000;">&quot;'Activate'&quot;</span> + EndOfLine + <span style="color: #800000;">&quot;display dialog &quot;</span><span style="color: #800000;">&quot;REALbasic City&quot;</span><span style="color: #800000;">&quot;&quot;</span> + EndOfLine + <span style="color: #800000;">&quot;end&quot;</span>
&nbsp;
applescript.Run(ascode)
&nbsp;
MsgBox applescript.Result</pre></td></tr></table></div>

<p>The original AppleScript looks so:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="applescript" style="font-family:monospace;"><span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;Finder&quot;</span>
	<span style="color: #0066ff;">activate</span>
	<span style="color: #0066ff;">display dialog</span> <span style="color: #009900;">&quot;REALbasic City&quot;</span>
<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span></pre></td></tr></table></div>

<h3>Download</h3>
<p>	<div class='ArePayPalContent'>
	<p class='ArePayPalTextToShowIfNotLogedIn'>If you see this message you probably want access special material for Premium Members (Source Files, Bonus Tutorials, free Classes and More). You can do this by subscribing REALbasic City site for 10 USD (access for 3 months). There is also a option to buy access only to this material. Login or register to get option to buy and support REALbasic City.</p>
	<a class='ArePayPalLoginButton' href='http://tutspolis.com/wp-login.php'>Log in</a>
	</div></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://realbasic.tutspolis.com/plugins/rbcapplescript-class-for-realbasic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introduction to AppleScript</title>
		<link>http://realbasic.tutspolis.com/tutorials/introduction-to-applescript/</link>
		<comments>http://realbasic.tutspolis.com/tutorials/introduction-to-applescript/#comments</comments>
		<pubDate>Sun, 10 Jan 2010 13:01:28 +0000</pubDate>
		<dc:creator>Jakub Pawlak</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[applescript]]></category>
		<category><![CDATA[realbasic]]></category>

		<guid isPermaLink="false">http://realbasic.tutspolis.com/?p=227</guid>
		<description><![CDATA[<!-- isPostPurchased ,postID 227, userID 0, combination 1 -->
			
				
			
		
This tutorial will show you some basic in using AppleScript and REALbasic. The AppleScript is offering users an intelligent mechanism to control applications, and access and modify information and documents. We can use it in REALbasic for example to play music in iTunes, display contact from Address Book etc.


AppleScript Terminology
How can we know that for [...]]]></description>
			<content:encoded><![CDATA[<!-- isPostPurchased ,postID 227, userID 0, combination 1 --><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Frealbasic.tutspolis.com%2Ftutorials%2Fintroduction-to-applescript%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Frealbasic.tutspolis.com%2Ftutorials%2Fintroduction-to-applescript%2F&amp;source=REALbasicCity&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>This tutorial will show you some basic in using AppleScript and REALbasic. The AppleScript is offering users an intelligent mechanism to control applications, and access and modify information and documents. We can use it in REALbasic for example to play music in iTunes, display contact from Address Book etc.</p>
<p><span id="more-227"></span></p>
<div style="margin-left:19px;float:left">
<h2>AppleScript Terminology</h2>
<p>How can we know that for example iTunes offers a option to play and pause the music using AppleScript? The answer is quite easy. To get the list of iTunes options available for AppleScript we must only drag and drop iTunes app into AppleScript Editor icon displayed in Dock. The Terminology window will open like on the screen below.</p>
<p><img src="http://realbasic.tutspolis.com/files/tutorials/applescriptdictionary.jpg" alt="Introduction to AppleScript for REALbasic" /></p>
<h2>AppleScript example &#8211; iTunes play</h2>
<p>Open AppleScript Editor and write this code into this editor. Next Compile it and click on Run button. When everything will go good your iTunes should lunch and play the music. If it&#8217;s already running then it will only play the music.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="applescript" style="font-family:monospace;"><span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;iTunes&quot;</span>
	play
<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span></pre></td></tr></table></div>

<h2>AppleScript multiline command example</h2>
<p>We can also add more commands to our AppleScript file, like in this example. This code will return the number of files available in &#8220;Application&#8221; folder.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="applescript" style="font-family:monospace;"><span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;Finder&quot;</span>
    <span style="color: #ff0033; font-weight: bold;">if</span> <span style="color: #0066ff;">folder</span> <span style="color: #009900;">&quot;Applications&quot;</span> <span style="color: #ff0033; font-weight: bold;">of</span> startup <span style="color: #0066ff;">disk</span> <span style="color: #0066ff;">exists</span> <span style="color: #ff0033; font-weight: bold;">then</span>
        <span style="color: #ff0033; font-weight: bold;">return</span> <span style="color: #0066ff;">count</span> <span style="color: #0066ff;">files</span> <span style="color: #ff0033; font-weight: bold;">in</span> <span style="color: #0066ff;">folder</span> <span style="color: #009900;">&quot;Applications&quot;</span> <span style="color: #ff0033; font-weight: bold;">of</span> startup <span style="color: #0066ff;">disk</span>
    <span style="color: #ff0033; font-weight: bold;">else</span>
        <span style="color: #ff0033; font-weight: bold;">return</span> <span style="color: #000000;">0</span>
    <span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">if</span>
<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span></pre></td></tr></table></div>

<h2>Add parameters to AppleScript</h2>
<p>There is also a option to add some parameters in &#8220;on run&#8221; event. This example runs the  Growl Notification System and pass the growlDescription and growlTitle to GrowlHelperApp. If you like to know how to interact this kind of AppleScript with REALbasic then go to my tutorial <a href="http://realbasic.tutspolis.com/tutorials/growl-notification-system-for-realbasic/">Growl notification system for REALbasic</a>.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
</pre></td><td class="code"><pre class="applescript" style="font-family:monospace;"><span style="color: #ff0033; font-weight: bold;">on</span> <span style="color: #0066ff;">run</span> <span style="color: #000000;">&#123;</span>growlDescription, growlTitle<span style="color: #000000;">&#125;</span>
&nbsp;
	<span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;GrowlHelperApp&quot;</span>
&nbsp;
		<span style="color: #ff0033; font-weight: bold;">set</span> <span style="color: #ff0033;">the</span> allNotificationsList <span style="color: #ff0033; font-weight: bold;">to</span> ¬
			<span style="color: #000000;">&#123;</span><span style="color: #009900;">&quot;Notification&quot;</span><span style="color: #000000;">&#125;</span>
&nbsp;
&nbsp;
		<span style="color: #ff0033; font-weight: bold;">set</span> <span style="color: #ff0033;">the</span> enabledNotificationsList <span style="color: #ff0033; font-weight: bold;">to</span> ¬
			<span style="color: #000000;">&#123;</span><span style="color: #009900;">&quot;Notification&quot;</span><span style="color: #000000;">&#125;</span>
&nbsp;
&nbsp;
		register <span style="color: #ff0033;">as</span> <span style="color: #0066ff;">application</span> ¬
			<span style="color: #009900;">&quot;Our application name&quot;</span> all notifications allNotificationsList ¬
			default notifications enabledNotificationsList ¬
			icon <span style="color: #ff0033; font-weight: bold;">of</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;Safari&quot;</span>
		notify <span style="color: #ff0033; font-weight: bold;">with</span> <span style="color: #0066ff;">name</span> ¬
			<span style="color: #009900;">&quot;Notification&quot;</span> title ¬
			growlTitle description ¬
			growlDescription <span style="color: #0066ff;">application</span> <span style="color: #0066ff;">name</span> <span style="color: #009900;">&quot;Our application name&quot;</span>
&nbsp;
	<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span>
&nbsp;
<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #0066ff;">run</span></pre></td></tr></table></div>

</div>
]]></content:encoded>
			<wfw:commentRss>http://realbasic.tutspolis.com/tutorials/introduction-to-applescript/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>REALbasic Tip: AppleScript protection</title>
		<link>http://realbasic.tutspolis.com/articles/realbasic-tip-applescript-protection/</link>
		<comments>http://realbasic.tutspolis.com/articles/realbasic-tip-applescript-protection/#comments</comments>
		<pubDate>Sun, 03 Jan 2010 10:35:31 +0000</pubDate>
		<dc:creator>Jakub Pawlak</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[applescript]]></category>
		<category><![CDATA[protection]]></category>
		<category><![CDATA[realbasic]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://realbasic.tutspolis.com/?p=215</guid>
		<description><![CDATA[<!-- isPostPurchased ,postID 215, userID 0, combination 1 -->
			
				
			
		
When we learned some time ago how can we create a Growl notification system for REALbasic using AppleScript I forgot to add how to protect our script from stealing. In this quick tip we will learn this. Watch it, learn it, enjoy it!


Run only = protect AppleScript
To protect our AppleScript against copy or edit we [...]]]></description>
			<content:encoded><![CDATA[<!-- isPostPurchased ,postID 215, userID 0, combination 1 --><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Frealbasic.tutspolis.com%2Farticles%2Frealbasic-tip-applescript-protection%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Frealbasic.tutspolis.com%2Farticles%2Frealbasic-tip-applescript-protection%2F&amp;source=REALbasicCity&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>When we learned some time ago how can we create a <a href="http://realbasic.tutspolis.com/tutorials/growl-notification-system-for-realbasic/">Growl notification system for REALbasic</a> using AppleScript I forgot to add how to protect our script from stealing. In this quick tip we will learn this. Watch it, learn it, enjoy it!</p>
<p><span id="more-215"></span></p>
<div style="margin-left:19px;float:left">
<h2>Run only = protect AppleScript</h2>
<p>To protect our AppleScript against copy or edit we must save it with Run only option checked. So if your AppleScript is ready to rock Compile it and then go to File -&gt; Save As&#8230; and like on the screenshot select the Run only option and save the file. Now when you will use it in your REALbasic application everything will work as you think, but if someone will want to preview your AppleScript he will get a message that this is impossible. Hope you like this tip and see you next time!</p>
<p><img src="http://realbasic.tutspolis.com/files/tutorials/applescriptrunonly.png" alt="REALbasic AppleScript protection" /></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://realbasic.tutspolis.com/articles/realbasic-tip-applescript-protection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Growl notification system for REALbasic</title>
		<link>http://realbasic.tutspolis.com/tutorials/growl-notification-system-for-realbasic/</link>
		<comments>http://realbasic.tutspolis.com/tutorials/growl-notification-system-for-realbasic/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 10:03:38 +0000</pubDate>
		<dc:creator>Jakub Pawlak</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[applescript]]></category>
		<category><![CDATA[growl]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[realbasic]]></category>

		<guid isPermaLink="false">http://realbasic.tutspolis.com/?p=171</guid>
		<description><![CDATA[<!-- isPostPurchased ,postID 171, userID 0, combination 1 -->
			
				
			
		
In this tutorial we will learn how to integrate Growl notification system with our REALbasic applications. As always this will be a very easy and fun tutorial so watch it, learn it, enjoy it! Now there is also a option to use RBCGrowl Class.


What are notifications?
Notifications are a way for your applications to provide you [...]]]></description>
			<content:encoded><![CDATA[<!-- isPostPurchased ,postID 171, userID 0, combination 1 --><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Frealbasic.tutspolis.com%2Ftutorials%2Fgrowl-notification-system-for-realbasic%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Frealbasic.tutspolis.com%2Ftutorials%2Fgrowl-notification-system-for-realbasic%2F&amp;source=REALbasicCity&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>In this tutorial we will learn how to integrate Growl notification system with our REALbasic applications. As always this will be a very easy and fun tutorial so watch it, learn it, enjoy it! Now there is also a option to use <a href="http://realbasic.tutspolis.com/plugins/rbcgrowl-class-gives-growl-notification-support-for-realbasic/">RBCGrowl Class</a>.</p>
<p><span id="more-171"></span></p>
<div style="margin-left:19px;float:left">
<h2>What are notifications?</h2>
<p>Notifications are a way for your applications to provide you with new information, without you having to switch from the application you&#8217;re already in. Growl is a very popular and powerful Mac OS system notification used by many kind of software (Firefox, Skype, Adium, Coda, Espresso, Transmission).</p>
<p><img src="http://realbasic.tutspolis.com/files/tutorials/realbasicgrowl.jpg" alt="Growl notification system for REALbasic" /></p>
<h2>Growl REALbasic support</h2>
<p>AppleScript is the easiest way to integrate Growl notification system with REALbasic. Simply run AppleScript Editor and enter there code available below. You can do this by tipping in Spotlight &#8220;AppleScript Editor&#8221; or go to Utilities folder in Applications and run AppleScript Editor. After copping the code to AppleScript Editor remove all comments from the code and click on Compile button. Now save the file on your Desktop and name it growl.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
</pre></td><td class="code"><pre class="applescript" style="font-family:monospace;"><span style="color: #ff0033; font-weight: bold;">on</span> <span style="color: #0066ff;">run</span> <span style="color: #000000;">&#123;</span>growlDescription, growlTitle<span style="color: #000000;">&#125;</span> <span style="color: #000000;">//</span>parameters for data transfer
&nbsp;
	<span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;GrowlHelperApp&quot;</span>
&nbsp;
		<span style="color: #ff0033; font-weight: bold;">set</span> <span style="color: #ff0033;">the</span> allNotificationsList <span style="color: #ff0033; font-weight: bold;">to</span> ¬
			<span style="color: #000000;">&#123;</span><span style="color: #009900;">&quot;Notification&quot;</span><span style="color: #000000;">&#125;</span>
&nbsp;
&nbsp;
		<span style="color: #ff0033; font-weight: bold;">set</span> <span style="color: #ff0033;">the</span> enabledNotificationsList <span style="color: #ff0033; font-weight: bold;">to</span> ¬
			<span style="color: #000000;">&#123;</span><span style="color: #009900;">&quot;Notification&quot;</span><span style="color: #000000;">&#125;</span>
&nbsp;
&nbsp;
		register <span style="color: #ff0033;">as</span> <span style="color: #0066ff;">application</span> ¬
			<span style="color: #009900;">&quot;Our application name&quot;</span> all notifications allNotificationsList ¬ <span style="color: #000000;">//</span><span style="color: #0066ff;">name</span> registered <span style="color: #ff0033; font-weight: bold;">in</span> Growl <span style="color: #0066ff;">Application</span> settings
			default notifications enabledNotificationsList ¬
			icon <span style="color: #ff0033; font-weight: bold;">of</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;Safari&quot;</span> <span style="color: #000000;">//</span><span style="color: #0066ff;">name</span> <span style="color: #ff0033; font-weight: bold;">of</span> software <span style="color: #ff0033; font-weight: bold;">in</span> <span style="color: #0066ff;">Application</span> <span style="color: #0066ff;">folder</span> 
&nbsp;
		notify <span style="color: #ff0033; font-weight: bold;">with</span> <span style="color: #0066ff;">name</span> ¬
			<span style="color: #009900;">&quot;Notification&quot;</span> title ¬
			growlTitle description ¬
			growlDescription <span style="color: #0066ff;">application</span> <span style="color: #0066ff;">name</span> <span style="color: #009900;">&quot;Our application name&quot;</span>
&nbsp;
	<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span>
&nbsp;
<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #0066ff;">run</span></pre></td></tr></table></div>

<h2>REALbasic and Apple Script support</h2>
<p>This part of tutorial is also very easy. Drag and drop the growl.scpt file to your REALbasic Project Tab and next go to Code Editor. We will now use the script to inform user with Growl notification system that our REALbasic application is starting. In Event Handlers Sub Open () enter:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="vb" style="font-family:monospace;">growl( <span style="color: #800000;">&quot;This software launched&quot;</span>, <span style="color: #800000;">&quot;REALbasic City&quot;</span> ) // (description, title)</pre></td></tr></table></div>

<h3>Download</h3>
<p>	<div class='ArePayPalContent'>
	<p class='ArePayPalTextToShowIfNotLogedIn'>If you see this message you probably want access special material for Premium Members (Source Files, Bonus Tutorials, free Classes and More). You can do this by subscribing REALbasic City site for 10 USD (access for 3 months). There is also a option to buy access only to this material. Login or register to get option to buy and support REALbasic City.</p>
	<a class='ArePayPalLoginButton' href='http://tutspolis.com/wp-login.php'>Log in</a>
	</div></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://realbasic.tutspolis.com/tutorials/growl-notification-system-for-realbasic/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
