<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rss version="2.0">
  <channel>
  <title>microsoft.public.scripting.jscript Google Group</title>
  <link>http://groups.google.com.gh/group/microsoft.public.scripting.jscript</link>
  <description>Microsoft scripting newsgroup.</description>
  <language>en</language>
  <item>
  <title>Re: javascript &quot;in&quot; operator syntax question</title>
  <link>http://groups.google.com.gh/group/microsoft.public.scripting.jscript/browse_thread/thread/2ca56e02ed624ee3/680828a534132669?show_docid=680828a534132669</link>
  <description>
  Hehe, and we&#39;re back to regular expressions once again. I didn&#39;t &lt;br&gt; even think of this. &lt;br&gt; Hans-Georg
  </description>
  <guid isPermaLink="true">http://groups.google.com.gh/group/microsoft.public.scripting.jscript/browse_thread/thread/2ca56e02ed624ee3/680828a534132669?show_docid=680828a534132669</guid>
  <author>
  hans-georgnoemailple...@michna.com
  (Hans-Georg Michna)
  </author>
  <pubDate>Mon, 15 Mar 2010 22:18:59 UT
</pubDate>
  </item>
  <item>
  <title>Re: WSHShell.SendKeys &quot;{F5}&quot; - doesn&#39;t work</title>
  <link>http://groups.google.com.gh/group/microsoft.public.scripting.jscript/browse_thread/thread/9ac8d6b4dbd8bb93/72b0b2623b9b1584?show_docid=72b0b2623b9b1584</link>
  <description>
  If you wish to refresh the desktop, use the following instead since &lt;br&gt; SendKeys can &amp;quot;miss&amp;quot;: &lt;br&gt; VBS: &lt;br&gt; ------------------------------ ------------ &lt;br&gt; Dim oShell : Set oShell = CreateObject(&amp;quot;WScript.shell&amp;quot;) &lt;br&gt; oShell.Run &amp;quot;%windir%\System32\RUNDLL32.EX E &lt;br&gt; user32.dll,UpdatePerUserSystem Parameters&amp;quot;,1,True &lt;br&gt; ------------------------------ ------------
  </description>
  <guid isPermaLink="true">http://groups.google.com.gh/group/microsoft.public.scripting.jscript/browse_thread/thread/9ac8d6b4dbd8bb93/72b0b2623b9b1584?show_docid=72b0b2623b9b1584</guid>
  <author>
  tno.thenewobject...@gmail.com
  (-TNO-)
  </author>
  <pubDate>Mon, 15 Mar 2010 22:03:07 UT
</pubDate>
  </item>
  <item>
  <title>Re: WSHShell.SendKeys &quot;{F5}&quot; - doesn&#39;t work</title>
  <link>http://groups.google.com.gh/group/microsoft.public.scripting.jscript/browse_thread/thread/9ac8d6b4dbd8bb93/168f967e77481c8b?show_docid=168f967e77481c8b</link>
  <description>
  &amp;lt;-&amp;gt; wrote in message &lt;a target=&quot;_blank&quot; href=&quot;http://groups.google.com/groups?as_umsgid=OxurLFGxKHA.3408@TK2MSFTNGP06.phx.gbl&quot;&gt;news:OxurLFGxKHA.3408@TK2MSFTNGP06.phx.gbl&lt;/a&gt;... &lt;br&gt; Your program is a macro program and, like all macro programs, it is fragile. &lt;br&gt; You can never be sure that the keystrokes are issued in the right context &lt;br&gt; and any number of conditions can disturb your plans. &lt;br&gt; In your case the code most likely fails to work because you&#39;re issuing the
  </description>
  <guid isPermaLink="true">http://groups.google.com.gh/group/microsoft.public.scripting.jscript/browse_thread/thread/9ac8d6b4dbd8bb93/168f967e77481c8b?show_docid=168f967e77481c8b</guid>
  <author>
  n...@microsoft.com
  (Pegasus [MVP])
  </author>
  <pubDate>Mon, 15 Mar 2010 17:13:33 UT
</pubDate>
  </item>
  <item>
  <title>WSHShell.SendKeys &quot;{F5}&quot; - doesn&#39;t work</title>
  <link>http://groups.google.com.gh/group/microsoft.public.scripting.jscript/browse_thread/thread/9ac8d6b4dbd8bb93/112fc8565bdaefc7?show_docid=112fc8565bdaefc7</link>
  <description>
  I&#39;ve been trying with every sample script I can find on the Net, but the &lt;br&gt; double clicking the VBS just flashes the hourglass and then nothing. All &lt;br&gt; these scripts can&#39;t be wrong. It just simply doesn&#39;t refresh the desktop. &lt;br&gt; I&#39;m doing the Outlook desktop icon thing and if this doesn&#39;t work i&#39;m going
  </description>
  <guid isPermaLink="true">http://groups.google.com.gh/group/microsoft.public.scripting.jscript/browse_thread/thread/9ac8d6b4dbd8bb93/112fc8565bdaefc7?show_docid=112fc8565bdaefc7</guid>
  <author>
  </author>
  <pubDate>Mon, 15 Mar 2010 17:02:27 UT
</pubDate>
  </item>
  <item>
  <title>Re: javascript &quot;in&quot; operator syntax question</title>
  <link>http://groups.google.com.gh/group/microsoft.public.scripting.jscript/browse_thread/thread/2ca56e02ed624ee3/80b774232e0ec4a2?show_docid=80b774232e0ec4a2</link>
  <description>
  In microsoft.public.scripting.jsc ript message &amp;lt;ghrmp51la4ictvss6755vu0vs &lt;br&gt; 2j3p0k...@4ax.com&amp;gt;, Sat, 13 Mar 2010 12:12:30, Hans-Georg Michna &amp;lt;hans- &lt;br&gt; georgNoEmailPle...@michna.com&amp;gt; posted: &lt;br&gt; An array of strings not containing any awkward characters can be handled &lt;br&gt; using a RegExp as in &lt;br&gt; A = [&amp;quot;a&amp;quot;, &amp;quot;b&amp;quot;, &amp;quot;c&amp;quot;, &amp;quot;d&amp;quot;, &amp;quot;e&amp;quot;, &amp;quot;Hans-Georg&amp;quot;]
  </description>
  <guid isPermaLink="true">http://groups.google.com.gh/group/microsoft.public.scripting.jscript/browse_thread/thread/2ca56e02ed624ee3/80b774232e0ec4a2?show_docid=80b774232e0ec4a2</guid>
  <author>
  reply1...@merlyn.demon.co.uk
  (Dr J R Stockton)
  </author>
  <pubDate>Sun, 14 Mar 2010 20:14:09 UT
</pubDate>
  </item>
  <item>
  <title>Re: javascript &quot;in&quot; operator syntax question</title>
  <link>http://groups.google.com.gh/group/microsoft.public.scripting.jscript/browse_thread/thread/2ca56e02ed624ee3/b9482660165826b9?show_docid=b9482660165826b9</link>
  <description>
  I meant cases with just a few short or even single-letter &lt;br&gt; strings. &lt;br&gt; For a long list of longer strings the array may be preferable &lt;br&gt; (obviously in particular if the strings already happen to come &lt;br&gt; in the form of an array). &lt;br&gt; Hans-Georg
  </description>
  <guid isPermaLink="true">http://groups.google.com.gh/group/microsoft.public.scripting.jscript/browse_thread/thread/2ca56e02ed624ee3/b9482660165826b9?show_docid=b9482660165826b9</guid>
  <author>
  hans-georgnoemailple...@michna.com
  (Hans-Georg Michna)
  </author>
  <pubDate>Sat, 13 Mar 2010 22:53:24 UT
</pubDate>
  </item>
  <item>
  <title>Re: javascript &quot;in&quot; operator syntax question</title>
  <link>http://groups.google.com.gh/group/microsoft.public.scripting.jscript/browse_thread/thread/2ca56e02ed624ee3/dc41ef76e0b4640e?show_docid=dc41ef76e0b4640e</link>
  <description>
  On Mar 13, 5:12 am, Hans-Georg Michna &amp;lt;hans- &lt;br&gt; &amp;quot;cases like this&amp;quot;? &lt;br&gt; If efficiency is a concern, then a method call may be too expensive. &lt;br&gt; We don&#39;t have enough information from the OP to know what the best &lt;br&gt; solution would be in his case since we have no context. Mentioning re &lt;br&gt; is indeed something not to overlook though.
  </description>
  <guid isPermaLink="true">http://groups.google.com.gh/group/microsoft.public.scripting.jscript/browse_thread/thread/2ca56e02ed624ee3/dc41ef76e0b4640e?show_docid=dc41ef76e0b4640e</guid>
  <author>
  tno.thenewobject...@gmail.com
  (-TNO-)
  </author>
  <pubDate>Sat, 13 Mar 2010 12:59:03 UT
</pubDate>
  </item>
  <item>
  <title>Re: javascript &quot;in&quot; operator syntax question</title>
  <link>http://groups.google.com.gh/group/microsoft.public.scripting.jscript/browse_thread/thread/2ca56e02ed624ee3/469a478d54c5cd7a?show_docid=469a478d54c5cd7a</link>
  <description>
  About time somebody mentioned this. Thanks. &lt;br&gt; However, if a to e was only an oversimplified example and the &lt;br&gt; actual case contains longer strings, then that would not work, &lt;br&gt; though similar other constructs would. Example: &lt;br&gt; Instead of &lt;br&gt; if (x === &amp;quot;a&amp;quot; || x === &amp;quot;bb&amp;quot; | x === &amp;quot;ccc&amp;quot;) ... &lt;br&gt; one could write &lt;br&gt; if (/a|bb|ccc/.test(x)) ...
  </description>
  <guid isPermaLink="true">http://groups.google.com.gh/group/microsoft.public.scripting.jscript/browse_thread/thread/2ca56e02ed624ee3/469a478d54c5cd7a?show_docid=469a478d54c5cd7a</guid>
  <author>
  hans-georgnoemailple...@michna.com
  (Hans-Georg Michna)
  </author>
  <pubDate>Sat, 13 Mar 2010 11:12:30 UT
</pubDate>
  </item>
  <item>
  <title>Re: javascript &quot;in&quot; operator syntax question</title>
  <link>http://groups.google.com.gh/group/microsoft.public.scripting.jscript/browse_thread/thread/2ca56e02ed624ee3/cc98cfed53af76e0?show_docid=cc98cfed53af76e0</link>
  <description>
  In microsoft.public.dotnet.langua ges.jscript message &amp;lt;EB0B8876-7D9E- &lt;br&gt; 43F1-9C84-0842ACA42...@microso ft.com&amp;gt;, Wed, 10 Mar 2010 15:01:02, &lt;br&gt; Undrline &amp;lt;Undrl...@discussions.microsof t.com&amp;gt; posted: &lt;br&gt; [...] is a literal array, not a set. &lt;br&gt; I don&#39;t often go to that trouble for the anonymous. &lt;br&gt; Use if ( /^[a-e]$/.test(&amp;quot;b&amp;quot;) ) .
  </description>
  <guid isPermaLink="true">http://groups.google.com.gh/group/microsoft.public.scripting.jscript/browse_thread/thread/2ca56e02ed624ee3/cc98cfed53af76e0?show_docid=cc98cfed53af76e0</guid>
  <author>
  reply1...@merlyn.demon.co.uk
  (Dr J R Stockton)
  </author>
  <pubDate>Thu, 11 Mar 2010 19:17:59 UT
</pubDate>
  </item>
  <item>
  <title>Re: javascript &quot;in&quot; operator syntax question</title>
  <link>http://groups.google.com.gh/group/microsoft.public.scripting.jscript/browse_thread/thread/2ca56e02ed624ee3/bfdf69f1a487f807?show_docid=bfdf69f1a487f807</link>
  <description>
  The &amp;quot;in&amp;quot; operator tests if an object has a property. The construct &lt;br&gt; {&amp;quot;a&amp;quot;:1 ... } is an ojbect literal that has properties a, b, c, d, and e. &lt;br&gt; Those properties have the values after the colon. The &amp;quot;in&amp;quot; operator &lt;br&gt; doesn&#39;t care what the value of a property is; it just tests if the &lt;br&gt; property exists. Your if statement is testing if the variable x contains
  </description>
  <guid isPermaLink="true">http://groups.google.com.gh/group/microsoft.public.scripting.jscript/browse_thread/thread/2ca56e02ed624ee3/bfdf69f1a487f807?show_docid=bfdf69f1a487f807</guid>
  <author>
  cerberu...@gmail.com
  (Steve)
  </author>
  <pubDate>Wed, 10 Mar 2010 23:10:58 UT
</pubDate>
  </item>
  <item>
  <title>Re: javascript &quot;in&quot; operator syntax question</title>
  <link>http://groups.google.com.gh/group/microsoft.public.scripting.jscript/browse_thread/thread/2ca56e02ed624ee3/27dfd208177a8a2a?show_docid=27dfd208177a8a2a</link>
  <description>
  Good catch, I forgot that JScript is far from parity with modern &lt;br&gt; JavaScript. Here is how to get it to work for arrays as well: &lt;br&gt; if(!Array.prototype.indexOf){ &lt;br&gt; Array.prototype.indexOf = function(elt, from){ &lt;br&gt; var len = this.length, from = +from || 0; &lt;br&gt; from = (from &amp;lt; 0) ? Math.ceil(from) + len : Math.floor(from);
  </description>
  <guid isPermaLink="true">http://groups.google.com.gh/group/microsoft.public.scripting.jscript/browse_thread/thread/2ca56e02ed624ee3/27dfd208177a8a2a?show_docid=27dfd208177a8a2a</guid>
  <author>
  tno.thenewobject...@gmail.com
  (-TNO-)
  </author>
  <pubDate>Thu, 11 Mar 2010 08:49:40 UT
</pubDate>
  </item>
  <item>
  <title>Re: javascript &quot;in&quot; operator syntax question</title>
  <link>http://groups.google.com.gh/group/microsoft.public.scripting.jscript/browse_thread/thread/2ca56e02ed624ee3/efcab22177bf5952?show_docid=efcab22177bf5952</link>
  <description>
  On Mar 10, 4:04 pm, Undrline &amp;lt;Undrl...@discussions.microsof t.com&amp;gt; &lt;br&gt; wrote: &lt;br&gt; {} is an object literal used to declare objects. When used you have to &lt;br&gt; define a property and a value. &lt;br&gt; {&amp;quot;a&amp;quot;:1,&amp;quot;b&amp;quot;:1,&amp;quot;c&amp;quot;:1,&amp;quot;d&amp;quot;:1,&amp;quot;e&amp;quot;:1 } is an object with 5 properties. &lt;br&gt; An object is not an array, so this is not possible. but this is:
  </description>
  <guid isPermaLink="true">http://groups.google.com.gh/group/microsoft.public.scripting.jscript/browse_thread/thread/2ca56e02ed624ee3/efcab22177bf5952?show_docid=efcab22177bf5952</guid>
  <author>
  trevo...@canberra
  (Trevor Lawrence)
  </author>
  <pubDate>Thu, 11 Mar 2010 02:39:09 UT
</pubDate>
  </item>
  <item>
  <title>Re: javascript &quot;in&quot; operator syntax question</title>
  <link>http://groups.google.com.gh/group/microsoft.public.scripting.jscript/browse_thread/thread/2ca56e02ed624ee3/96b7a670c2d34ae5?show_docid=96b7a670c2d34ae5</link>
  <description>
  On Mar 10, 4:04 pm, Undrline &amp;lt;Undrl...@discussions.microsof t.com&amp;gt; &lt;br&gt; wrote: &lt;br&gt; {} is an object literal used to declare objects. When used you have to &lt;br&gt; define a property and a value. &lt;br&gt; {&amp;quot;a&amp;quot;:1,&amp;quot;b&amp;quot;:1,&amp;quot;c&amp;quot;:1,&amp;quot;d&amp;quot;:1,&amp;quot;e&amp;quot;:1 } is an object with 5 properties. &lt;br&gt; An object is not an array, so this is not possible. but this is:
  </description>
  <guid isPermaLink="true">http://groups.google.com.gh/group/microsoft.public.scripting.jscript/browse_thread/thread/2ca56e02ed624ee3/96b7a670c2d34ae5?show_docid=96b7a670c2d34ae5</guid>
  <author>
  tno.thenewobject...@gmail.com
  (-TNO-)
  </author>
  <pubDate>Wed, 10 Mar 2010 22:49:30 UT
</pubDate>
  </item>
  <item>
  <title>javascript &quot;in&quot; operator syntax question</title>
  <link>http://groups.google.com.gh/group/microsoft.public.scripting.jscript/browse_thread/thread/2ca56e02ed624ee3/5409d272b4b926f9?show_docid=5409d272b4b926f9</link>
  <description>
  It was really annoying me to write lots of &amp;quot;or&amp;quot; conditionals for the same &lt;br&gt; variable such as: &lt;br&gt; if( x==&amp;quot;a&amp;quot; || x==&amp;quot;b&amp;quot; || x==&amp;quot;c&amp;quot; || x==&amp;quot;d&amp;quot; || x==&amp;quot;e&amp;quot;) &lt;br&gt; I figured there must be a version of the in() that I find in SQL. I found &lt;br&gt; this: &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://snippets.dzone.com/posts/show/6557&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; It works like a charm, but I don&#39;t understand what the extra syntax is for ...
  </description>
  <guid isPermaLink="true">http://groups.google.com.gh/group/microsoft.public.scripting.jscript/browse_thread/thread/2ca56e02ed624ee3/5409d272b4b926f9?show_docid=5409d272b4b926f9</guid>
  <author>
  undrl...@discussions.microsoft.com
  (Undrline)
  </author>
  <pubDate>Wed, 10 Mar 2010 22:04:01 UT
</pubDate>
  </item>
  <item>
  <title>Re: Controlling iFrame Height</title>
  <link>http://groups.google.com.gh/group/microsoft.public.scripting.jscript/browse_thread/thread/d97213fa6c64dd45/f50718f18418d922?show_docid=f50718f18418d922</link>
  <description>
  I not saying you can not do it .. but I believe that the webpages was made &lt;br&gt; by NetBeansIDE editor from SunJave @ &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.oracle.com/index.html&quot;&gt;[link]&lt;/a&gt; ! &amp;lt;&amp;lt;&amp;lt; &lt;br&gt; you see the some ManuBar &lt;br&gt; but keep so posted on how it w s out for you!
  </description>
  <guid isPermaLink="true">http://groups.google.com.gh/group/microsoft.public.scripting.jscript/browse_thread/thread/d97213fa6c64dd45/f50718f18418d922?show_docid=f50718f18418d922</guid>
  <author>
  hot-t...@hotmail.com
  (Hot-text)
  </author>
  <pubDate>Wed, 24 Feb 2010 20:08:08 UT
</pubDate>
  </item>
  </channel>
</rss>
