<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.appstudio.dev/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mjhill1967</id>
	<title>NSB App Studio - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.appstudio.dev/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mjhill1967"/>
	<link rel="alternate" type="text/html" href="https://wiki.appstudio.dev/Special:Contributions/Mjhill1967"/>
	<updated>2026-08-27T18:19:29Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://wiki.appstudio.dev/index.php?title=InputBox&amp;diff=11302</id>
		<title>InputBox</title>
		<link rel="alternate" type="text/html" href="https://wiki.appstudio.dev/index.php?title=InputBox&amp;diff=11302"/>
		<updated>2022-03-05T06:29:43Z</updated>

		<summary type="html">&lt;p&gt;Mjhill1967: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;InputBox(&#039;&#039;prompt&#039;&#039;[, &#039;&#039;title&#039;&#039;[, &#039;&#039;default&#039;&#039;]])&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
InputBox opens a dialog box to prompt a user to input text or click a button. A string is returned containing the contents of the text field from the dialog box. The required parameter, &#039;&#039;prompt&#039;&#039;, is a string expression that is displayed in the body of the dialog box. The optional parameter, &#039;&#039;title&#039;&#039;, is ignored: it is only for backwards compatibility. The optional parameter, &#039;&#039;default&#039;&#039;, is a string expression that is displayed in the text field of the dialog box. &lt;br /&gt;
&lt;br /&gt;
If the user taps OK or presses the Enter key, InputBox returns the text in the input field or an empty string (&amp;quot;&amp;quot;) if the input field is empty; if the user taps Cancel or presses the escape key (Esc), InputBox returns “null”.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tabber&amp;gt;&lt;br /&gt;
 JavaScript=&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;
var txtReturn;&lt;br /&gt;
txtReturn = NSB.InputBox(&amp;quot;Message area&amp;quot;, &amp;quot;&amp;quot;, &amp;quot;Default text&amp;quot;)&lt;br /&gt;
NSB.Print(&amp;quot;You entered: &amp;quot; + txtReturn);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-|&lt;br /&gt;
 BASIC=&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;vb.net&amp;quot;&amp;gt;&lt;br /&gt;
Dim txtReturn&lt;br /&gt;
txtReturn = InputBox(&amp;quot;Message area&amp;quot;, &amp;quot;&amp;quot;, &amp;quot;Default text&amp;quot;)&lt;br /&gt;
Print &amp;quot;You entered:&amp;quot;, txtReturn&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/tabber&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Output ==&lt;br /&gt;
&lt;br /&gt;
[[file:InputBox.jpg]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
You entered:  Default Text&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Related Items ==&lt;br /&gt;
&lt;br /&gt;
[[nsb.inputbox|Nsb.InputBox]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Language Reference]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Messages]]&lt;/div&gt;</summary>
		<author><name>Mjhill1967</name></author>
	</entry>
	<entry>
		<id>https://wiki.appstudio.dev/index.php?title=PhoneGap_AuthToken&amp;diff=6887</id>
		<title>PhoneGap AuthToken</title>
		<link rel="alternate" type="text/html" href="https://wiki.appstudio.dev/index.php?title=PhoneGap_AuthToken&amp;diff=6887"/>
		<updated>2015-02-03T07:50:04Z</updated>

		<summary type="html">&lt;p&gt;Mjhill1967: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In May 2014, PhoneGap Build switched to a new [http://phonegap.com/blog/2014/04/16/removing-legacy-logins/ authentication scheme] for its users. It&#039;s based on OAuth, which is much more secure. Starting with AppStudio 4.1, AppStudio uses this new authorization scheme. The new scheme is already active.&lt;br /&gt;
&lt;br /&gt;
For people using the default PhoneGap Build account which is built into AppStudio, there will be no change. Just make sure you are on AppStudio 4.1 and higher, and continue working as before.&lt;br /&gt;
&lt;br /&gt;
If you have your own PhoneGap account, you will need to log into it and get your authentication code. Enter that code into AppStudio and you&#039;ll be all set. (You need your own PhoneGap Build account to create apps which can be submitted to app stores.)&lt;br /&gt;
&lt;br /&gt;
=== How to set up PhoneGap Authentication ===&lt;br /&gt;
&lt;br /&gt;
# Sign into your [https://build.phonegap.com/apps PhoneGap Build] account. &lt;br /&gt;
# Click on the head icon on top line and choose &amp;quot;Edit Account&amp;quot;&lt;br /&gt;
# Choose the Client Applications tab&lt;br /&gt;
# Under Authentication Tokens, click on the Reset button&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Phonegapauth.png|428px]]&lt;br /&gt;
&lt;br /&gt;
# Copy the Authentication Token&lt;br /&gt;
# Go into AppStudio Preferences&lt;br /&gt;
# Paste the Authentication Token into Auth Token in the PhoneGap section.&lt;br /&gt;
&lt;br /&gt;
[[File:Preferences.png|428px]]&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Build Native App with PhoneGap&amp;quot; on the Run menu will now use your authorization token to upload to your PhoneGap account. Note: You must make sure that the &amp;quot;Deploy&amp;quot; option in your AppStudio preferences is set to &amp;quot;Global location&amp;quot; to enable your app to be uploaded to your PhoneGap account.&lt;/div&gt;</summary>
		<author><name>Mjhill1967</name></author>
	</entry>
</feed>