<?xml version="1.0" encoding="iso-8859-1" ?>
<rss version="0.92">
<channel>
	<docs>http://backend.userland.com/rss092</docs>
	<title>AutoHotkey Community</title>
	<link>http://www.autohotkey.com/forum/</link>
	<description>Let's help each other out</description>
	<managingEditor>support@autohotkey.com</managingEditor>
	<webMaster>support@autohotkey.com</webMaster>
	<lastBuildDate>Fri, 19 Mar 2010 08:41:21 GMT</lastBuildDate>
<item>
	<title>Ask for Help :: RE: COM Invoke Problem</title>
	<link>http://www.autohotkey.com/forum/viewtopic.php?p=340776#340776</link>
	<description>Author: Anonymous&lt;br /&gt;

Posted: Fri Mar 19, 2010 9:35 am (GMT 0)&lt;br /&gt;
Topic Replies: 3&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;Thx guys!
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Ask for Help :: Noob: Need to log off when IE not active</title>
	<link>http://www.autohotkey.com/forum/viewtopic.php?p=340775#340775</link>
	<description>Author: &lt;a href=&quot;http://www.autohotkey.com/forum/profile.php?mode=viewprofile&amp;u=44242&quot; target=&quot;_blank&quot;&gt;Rċtta&lt;/a&gt;&lt;br /&gt;
Subject: Noob: Need to log off when IE not active&lt;br /&gt;
Posted: Fri Mar 19, 2010 9:22 am (GMT 0)&lt;br /&gt;
Topic Replies: 0&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;I made this script to awoid computer use:
&lt;br /&gt;
It should log off user when internet Explorer or pop up from there is not active.
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;
&lt;br /&gt;
Sleep, 5000 ; so i have time to start IE
&lt;br /&gt;
Loop
&lt;br /&gt;
&amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;IfWinNotActive, ahk_class IEFrame
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;Shutdown, 0 ; Log off if ie not active win
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;#125;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;else
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;; if IE not active there migth be popup win
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;IfWinNotActive, ahk_class ahk_class #32770
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;Shutdown, 0
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;#125;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;#125;
&lt;br /&gt;
&amp;#125;
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
Ill use server 2003 and this code is for remotesession users.
&lt;br /&gt;
Internet Exlporer runs on kiosk-mode (-k) so its really full screen.
&lt;br /&gt;
And for the remoteusers settings on server i have set that after log off user logs on automaticly
&lt;br /&gt;

&lt;br /&gt;
Problem is that the script does run only once or it crashes. When i run it server (console session) it runs normally. (normally means that it logs off when IE not active)
&lt;br /&gt;

&lt;br /&gt;
Another question is that why i have to put it inside of the loop?? Another script i made (disabling keys) is not inside in the loop and still it works and filter out key presses.
&lt;br /&gt;

&lt;br /&gt;
Furthermore:
&lt;br /&gt;
Another AHK-code disables all IE shortcutkeys (Ctrl+Esc, Alt+F4 etc.)
&lt;br /&gt;_________________&lt;br /&gt;Newbie&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Ask for Help :: RE: Random Desktop Background</title>
	<link>http://www.autohotkey.com/forum/viewtopic.php?p=340774#340774</link>
	<description>Author: Anonymous&lt;br /&gt;

Posted: Fri Mar 19, 2010 9:13 am (GMT 0)&lt;br /&gt;
Topic Replies: 2&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;Many thanks.
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Ask for Help :: Help needed here..</title>
	<link>http://www.autohotkey.com/forum/viewtopic.php?p=340773#340773</link>
	<description>Author: Anonymous&lt;br /&gt;
Subject: Help needed here..&lt;br /&gt;
Posted: Fri Mar 19, 2010 8:42 am (GMT 0)&lt;br /&gt;
Topic Replies: 0&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;Hi ppl..
&lt;br /&gt;
can anybody here help me with 2 problems I am facing right now?
&lt;br /&gt;

&lt;br /&gt;
1. Is there a way for me to save the link I click automatically? For example, in word document, if I type a link &lt;a href=&quot;http://www.yahoo.com,&quot; target=&quot;_blank&quot;&gt;www.yahoo.com,&lt;/a&gt; the link will be highlighted in blue. Upon clicking the link, can I save the link to my clipboard also?
&lt;br /&gt;

&lt;br /&gt;
2. Is there a way for me to detect the url address bar?(pardon me if I get it the term wrong) the place where u type the url in IE... using ahk.. Like for example I can use controlgetposition to detect the position of the control.. As such, is there a way for me to detect the position of the address bar also?
&lt;br /&gt;

&lt;br /&gt;
Thanks for helping out...
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Scripts &amp; Functions :: RE: RADIAL MENU scripts --&amp;gt; New: RM Themes by LiquidGravity</title>
	<link>http://www.autohotkey.com/forum/viewtopic.php?p=340772#340772</link>
	<description>Author: &lt;a href=&quot;http://www.autohotkey.com/forum/profile.php?mode=viewprofile&amp;u=43534&quot; target=&quot;_blank&quot;&gt;XionII&lt;/a&gt;&lt;br /&gt;

Posted: Fri Mar 19, 2010 8:31 am (GMT 0)&lt;br /&gt;
Topic Replies: 223&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;Cool! I finally decided to upgrade from 3.17 to the latest version, about 10 minutes ago. So far, so good! Transferring all of my old settings was really pain-free too, which is a plus. &lt;img src=&quot;http://www.autohotkey.com/forum/images/smiles/icon_smile.gif&quot; alt=&quot;Smile&quot; border=&quot;0&quot; /&gt;
&lt;br /&gt;
All in all, I give this 5 Five +++++ plusses out of 5, and 10 thumbs up! The same as the old version! &lt;img src=&quot;http://www.autohotkey.com/forum/images/smiles/icon_biggrin.gif&quot; alt=&quot;Very Happy&quot; border=&quot;0&quot; /&gt;
&lt;br /&gt;
Keep up the good work please!
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Ask for Help :: RE: Random Desktop Background</title>
	<link>http://www.autohotkey.com/forum/viewtopic.php?p=340771#340771</link>
	<description>Author: &lt;a href=&quot;http://www.autohotkey.com/forum/profile.php?mode=viewprofile&amp;u=12725&quot; target=&quot;_blank&quot;&gt;MasterFocus&lt;/a&gt;&lt;br /&gt;

Posted: Fri Mar 19, 2010 8:28 am (GMT 0)&lt;br /&gt;
Topic Replies: 2&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;1) Loop the files
&lt;br /&gt;
2) Inside the Loop, store the number of files (use A_Index)
&lt;br /&gt;
3) Use the Random command to get a number between 1 and the number of files
&lt;br /&gt;
4) Loop the files once again
&lt;br /&gt;
5) This time, if A_Index is the same as your randomized number, change the background
&lt;br /&gt;_________________&lt;br /&gt;&lt;img src=&quot;http://www.pelicantextil.com.br/img/brasil_bandeira.jpg&quot; border=&quot;0&quot; /&gt; Antonio França
&lt;br /&gt;
+ My AHK Stuff: &lt;a href=&quot;http://tiny.cc/iTunis&quot; target=&quot;_blank&quot; class=&quot;postlink&quot;&gt;Google Profile&lt;/a&gt;
&lt;br /&gt;
+ AHK @ irc.freenode.net: &lt;a href=&quot;http://tiny.cc/ahkirc&quot; target=&quot;_blank&quot; class=&quot;postlink&quot;&gt;#ahk&lt;/a&gt;
&lt;br /&gt;
Wanna contact me? Send a PM.&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Ask for Help :: RE: #Enter works strange for leftwin</title>
	<link>http://www.autohotkey.com/forum/viewtopic.php?p=340770#340770</link>
	<description>Author: &lt;a href=&quot;http://www.autohotkey.com/forum/profile.php?mode=viewprofile&amp;u=12725&quot; target=&quot;_blank&quot;&gt;MasterFocus&lt;/a&gt;&lt;br /&gt;

Posted: Fri Mar 19, 2010 8:21 am (GMT 0)&lt;br /&gt;
Topic Replies: 1&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;What does your script's Key History show?
&lt;br /&gt;_________________&lt;br /&gt;&lt;img src=&quot;http://www.pelicantextil.com.br/img/brasil_bandeira.jpg&quot; border=&quot;0&quot; /&gt; Antonio França
&lt;br /&gt;
+ My AHK Stuff: &lt;a href=&quot;http://tiny.cc/iTunis&quot; target=&quot;_blank&quot; class=&quot;postlink&quot;&gt;Google Profile&lt;/a&gt;
&lt;br /&gt;
+ AHK @ irc.freenode.net: &lt;a href=&quot;http://tiny.cc/ahkirc&quot; target=&quot;_blank&quot; class=&quot;postlink&quot;&gt;#ahk&lt;/a&gt;
&lt;br /&gt;
Wanna contact me? Send a PM.&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Ask for Help :: Random Desktop Background</title>
	<link>http://www.autohotkey.com/forum/viewtopic.php?p=340769#340769</link>
	<description>Author: Anonymous&lt;br /&gt;
Subject: Random Desktop Background&lt;br /&gt;
Posted: Fri Mar 19, 2010 8:10 am (GMT 0)&lt;br /&gt;
Topic Replies: 2&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;Hi everyone,
&lt;br /&gt;

&lt;br /&gt;
I need help in making my script, i need some codes to make my script select a random file inside a folder every time the script is executed, i already had my script for changing the background, i just need to select a random file. Any help would be appreciated. Thanks.
&lt;br /&gt;

&lt;br /&gt;
P.S.
&lt;br /&gt;
I don't want to rename the filenames of my wallpapers.
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Ask for Help :: RE: Autohotkey in Windows 7</title>
	<link>http://www.autohotkey.com/forum/viewtopic.php?p=340768#340768</link>
	<description>Author: &lt;a href=&quot;http://www.autohotkey.com/forum/profile.php?mode=viewprofile&amp;u=2727&quot; target=&quot;_blank&quot;&gt;tonne&lt;/a&gt;&lt;br /&gt;

Posted: Fri Mar 19, 2010 8:09 am (GMT 0)&lt;br /&gt;
Topic Replies: 4&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;lol, I found it on msdn as an option to disable win+x keys. I, naturally, assumed X being a digit. I was wrong!
&lt;br /&gt;_________________&lt;br /&gt;&lt;span style=&quot;font-style: italic&quot;&gt;there's a dog barking close within the range of my ear
&lt;br /&gt;
sounds like he wants to escape the chain
&lt;br /&gt;
he would probably bite me to death if he could
&lt;br /&gt;
but the chain lets me spit in his face&lt;/span&gt;
&lt;br /&gt;
- Kashmir&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Scripts &amp; Functions :: RE: Voice Recognition COM</title>
	<link>http://www.autohotkey.com/forum/viewtopic.php?p=340767#340767</link>
	<description>Author: &lt;a href=&quot;http://www.autohotkey.com/forum/profile.php?mode=viewprofile&amp;u=6056&quot; target=&quot;_blank&quot;&gt;tinku99&lt;/a&gt;&lt;br /&gt;
Subject: Re: how to switch dictation grammars ?&lt;br /&gt;
Posted: Fri Mar 19, 2010 8:06 am (GMT 0)&lt;br /&gt;
Topic Replies: 100&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Sean wrote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;It should be &lt;span style=&quot;font-style: italic&quot;&gt;DictationLoad&lt;/span&gt; with &lt;span style=&quot;font-style: italic&quot;&gt;ISpeechRecoGrammar&lt;/span&gt;.&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;
I am on Vista.
&lt;br /&gt;
Ok, now it finds DictationLoad, but still doesn't find my dictation topic &lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;COM_INVOKE&amp;#40;pgrammar, &amp;quot;DictationLoad&amp;quot;, &amp;quot;grammar&amp;#58;dictation#Genre&amp;quot;, 0&amp;#41;&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
Here are my registry settings: &lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;set MODEL_PATH=&amp;quot;%CD%\output\genre&amp;quot;
&lt;br /&gt;
reg ADD HKCU\Software\Microsoft\Speech\Preferences\DictationLanguageModels /t REG_SZ /d Genre /v Genre /f
&lt;br /&gt;
reg ADD HKLM\SOFTWARE\Microsoft\Speech\Recognizers\Tokens\MS-1033-80-DESK\Models\1033\L1033\LMs\Addon /t REG_SZ /d %MODEL_PATH% /v&amp;nbsp; Genre /f
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
I tried variations, nothing worked :
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;COM_INVOKE&amp;#40;pgrammar, &amp;quot;DictationLoad&amp;quot;, &amp;quot;Genre&amp;quot;, 0&amp;#41;&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
I am able to manually select &amp;quot;genre&amp;quot; from the speech gui...
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Ask for Help :: RE: SAP R/3 Scripting with AutoHotkey</title>
	<link>http://www.autohotkey.com/forum/viewtopic.php?p=340766#340766</link>
	<description>Author: &lt;a href=&quot;http://www.autohotkey.com/forum/profile.php?mode=viewprofile&amp;u=44063&quot; target=&quot;_blank&quot;&gt;Jinan&lt;/a&gt;&lt;br /&gt;

Posted: Fri Mar 19, 2010 8:02 am (GMT 0)&lt;br /&gt;
Topic Replies: 7&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;I have search this information for several weeks. I think these are helpfully. Ths!
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Scripts &amp; Functions :: RE: ToolTip() - Advanced ToolTip features</title>
	<link>http://www.autohotkey.com/forum/viewtopic.php?p=340765#340765</link>
	<description>Author: &lt;a href=&quot;http://www.autohotkey.com/forum/profile.php?mode=viewprofile&amp;u=9238&quot; target=&quot;_blank&quot;&gt;HotKeyIt&lt;/a&gt;&lt;br /&gt;

Posted: Fri Mar 19, 2010 7:59 am (GMT 0)&lt;br /&gt;
Topic Replies: 100&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;Try this, though it is not much better, but works okay &lt;img src=&quot;http://www.autohotkey.com/forum/images/smiles/icon_wink.gif&quot; alt=&quot;Wink&quot; border=&quot;0&quot; /&gt;&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;OnMessage&amp;#40;0x201,&amp;quot;WM_LBUTTONDOWN&amp;quot;&amp;#41; ;Will make ToolTip Click possible
&lt;br /&gt;
WM_LBUTTONDOWN&amp;#40;wParam,lParam,msg,hWnd&amp;#41;&amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;global tthwnd
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;If &amp;#40;tthwnd=hwnd&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;SetTimer,CloseToolTip,-200
&lt;br /&gt;
&amp;#125;
&lt;br /&gt;
OnMessage&amp;#40;0x4e,&amp;quot;WM_NOTIFY&amp;quot;&amp;#41; ;Will make LinkClick and ToolTipClose possible
&lt;br /&gt;
WM_NOTIFY&amp;#40;wParam, lParam, msg, hWnd&amp;#41;&amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;Critical
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;ToolTip&amp;#40;&amp;quot;&amp;quot;,lParam,&amp;quot;&amp;quot;&amp;#41;
&lt;br /&gt;
&amp;#125;
&lt;br /&gt;
Sleep, 10
&lt;br /&gt;
Gosub,#s
&lt;br /&gt;
Return
&lt;br /&gt;

&lt;br /&gt;
#s&amp;#58;&amp;#58; ;Show toolTip
&lt;br /&gt;
tthwnd&amp;#58;=ToolTip&amp;#40;1,&amp;quot;&amp;lt;a&amp;gt;Click&amp;lt;/a&amp;gt;`n&amp;lt;a&amp;gt;Onother one&amp;lt;/a&amp;gt;`n&amp;quot;
&lt;br /&gt;
. &amp;quot;&amp;lt;a This link is different`nit uses different text&amp;gt;Different&amp;lt;/a&amp;gt;`n&amp;quot;
&lt;br /&gt;
. &amp;quot;&amp;lt;a&amp;gt;ExitApp&amp;lt;/a&amp;gt;&amp;quot;,&amp;quot;ClickMe&amp;quot;,&amp;quot;L1 P99 C1&amp;quot;&amp;#41;
&lt;br /&gt;
Return
&lt;br /&gt;

&lt;br /&gt;
ToolTip&amp;#58;
&lt;br /&gt;
link&amp;#58;=ErrorLevel
&lt;br /&gt;
SetTimer,CloseToolTip,Off
&lt;br /&gt;
SetTimer, MsgBox, -10
&lt;br /&gt;
Return
&lt;br /&gt;

&lt;br /&gt;
CloseToolTip&amp;#58; ; C lick on ToolTip &amp;#40;no link&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;ToolTip&amp;#40;1&amp;#41;
&lt;br /&gt;
Return
&lt;br /&gt;

&lt;br /&gt;
ToolTipClose&amp;#58; ; Button close
&lt;br /&gt;
ExitApp
&lt;br /&gt;

&lt;br /&gt;
MsgBox&amp;#58;
&lt;br /&gt;
If Link=ExitApp
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;ExitApp
&lt;br /&gt;
MsgBox % Link
&lt;br /&gt;
Return&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;_________________&lt;br /&gt;&lt;span style=&quot;font-size: 9px; line-height: normal&quot;&gt;&lt;a href=&quot;http://www.autohotkey.com/forum/viewtopic.php?t=36335&quot; target=&quot;_blank&quot; class=&quot;postlink&quot;&gt;AutoHotFile&lt;/a&gt; - &lt;a href=&quot;http://www.autohotkey.com/forum/viewtopic.php?t=40165&quot; target=&quot;_blank&quot; class=&quot;postlink&quot;&gt;ToolTip(n,text,title,options)&lt;/a&gt; &lt;img src=&quot;http://www.autohotkey.com/forum/images/smiles/icon_wink.gif&quot; alt=&quot;Wink&quot; border=&quot;0&quot; /&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Ask for Help :: RE: ComboBox List - Setting Value</title>
	<link>http://www.autohotkey.com/forum/viewtopic.php?p=340764#340764</link>
	<description>Author: &lt;a href=&quot;http://www.autohotkey.com/forum/profile.php?mode=viewprofile&amp;u=3674&quot; target=&quot;_blank&quot;&gt;jaco0646&lt;/a&gt;&lt;br /&gt;

Posted: Fri Mar 19, 2010 7:41 am (GMT 0)&lt;br /&gt;
Topic Replies: 14&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;I've rewritten the script to use an INI file, and hopefully be more readable as well.&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;#SingleInstance force
&lt;br /&gt;
#NoEnv
&lt;br /&gt;
SetBatchLines -1
&lt;br /&gt;

&lt;br /&gt;
f = NumberMatch.ini
&lt;br /&gt;
IfNotExist, %f%
&lt;br /&gt;
&amp;#123; ;Sample data
&lt;br /&gt;
&amp;nbsp;IniWrite,&amp;nbsp; 1 , %f%, Count, ID#
&lt;br /&gt;
&amp;nbsp;IniWrite, |1|, %f%, Count, list
&lt;br /&gt;
&amp;nbsp;IniWrite, John Doe&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; , %f%, 1, Name
&lt;br /&gt;
&amp;nbsp;IniWrite, &lt;a href=&quot;mailto:jd@email.com&quot;&gt;jd@email.com&lt;/a&gt;&amp;nbsp; &amp;nbsp; , %f%, 1, eMail
&lt;br /&gt;
&amp;nbsp;IniWrite, &lt;a href=&quot;http://www.johndoe.com&quot; target=&quot;_blank&quot;&gt;www.johndoe.com&lt;/a&gt; , %f%, 1, URL
&lt;br /&gt;
&amp;nbsp;IniWrite, aqua&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; , %f%, 1, Color
&lt;br /&gt;
&amp;#125;
&lt;br /&gt;

&lt;br /&gt;
;Gui 1
&lt;br /&gt;
Gui, Add, ListView, grid r15 w325 -Multi gLV, ID#|Name|eMail|URL|Color
&lt;br /&gt;
Gui, Add, Button, w75 xm Default, Add
&lt;br /&gt;
Gui, Add, Button, wp x+50, Delete
&lt;br /&gt;
Gui, Add, Button, wp x+50, Edit
&lt;br /&gt;

&lt;br /&gt;
;Gui 2
&lt;br /&gt;
colors = aqua|black|blue|fuchsia|gray|green|lime|maroon
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |navy|olive|purple|red|silver|teal|white|yellow
&lt;br /&gt;
Gui, 2&amp;#58;+Owner1
&lt;br /&gt;
Gui, 2&amp;#58;Add, Text, w40, Name&amp;#58;
&lt;br /&gt;
Gui, 2&amp;#58;Add, Text, wp , eMail&amp;#58;
&lt;br /&gt;
Gui, 2&amp;#58;Add, Text, wp , URL&amp;#58;
&lt;br /&gt;
Gui, 2&amp;#58;Add, Text, wp , Color&amp;#58;
&lt;br /&gt;
Gui, 2&amp;#58;Add, Edit, ym w220 vName
&lt;br /&gt;
Gui, 2&amp;#58;Add, Edit, wp vEmail
&lt;br /&gt;
Gui, 2&amp;#58;Add, Edit, wp vURL
&lt;br /&gt;
Gui, 2&amp;#58;Add, ComboBox, wp vColor, %colors%
&lt;br /&gt;
Gui, 2&amp;#58;Add, Button, xm+50 w75 Default, OK
&lt;br /&gt;
Gui, 2&amp;#58;Add, Button, x+20 wp, Cancel
&lt;br /&gt;

&lt;br /&gt;
;FillLV
&lt;br /&gt;
IniRead, list, %f%, Count, list
&lt;br /&gt;
Loop, Parse, list, |
&lt;br /&gt;
&amp;#123;
&lt;br /&gt;
&amp;nbsp;If !A_LoopField
&lt;br /&gt;
&amp;nbsp; continue
&lt;br /&gt;
&amp;nbsp;IniRead, name , %f%, %A_LoopField%, Name
&lt;br /&gt;
&amp;nbsp;IniRead, email, %f%, %A_LoopField%, eMail
&lt;br /&gt;
&amp;nbsp;IniRead, url&amp;nbsp; , %f%, %A_LoopField%, URL
&lt;br /&gt;
&amp;nbsp;IniRead, color, %f%, %A_LoopField%, Color
&lt;br /&gt;
&amp;nbsp;LV_Add&amp;#40;&amp;quot;&amp;quot;,A_LoopField,Name,eMail,URL,Color&amp;#41;
&lt;br /&gt;
&amp;#125;
&lt;br /&gt;
LV_ModifyCol&amp;#40;1,0&amp;#41;
&lt;br /&gt;
Loop,4
&lt;br /&gt;
&amp;nbsp;LV_ModifyCol&amp;#40;A_Index+1,&amp;quot;AutoHdr&amp;quot;&amp;#41;
&lt;br /&gt;
Gui, Show,,Number Match
&lt;br /&gt;
return
&lt;br /&gt;
GuiClose&amp;#58;
&lt;br /&gt;
&amp;nbsp;ExitApp
&lt;br /&gt;
;
&lt;br /&gt;
LV&amp;#58;
&lt;br /&gt;
&amp;nbsp;If A_GuiEvent != DoubleClick
&lt;br /&gt;
&amp;nbsp; return
&lt;br /&gt;
ButtonEdit&amp;#58;
&lt;br /&gt;
&amp;nbsp;RowNumber &amp;#58;= LV_GetNext&amp;#40;&amp;#41;
&lt;br /&gt;
&amp;nbsp;If !RowNumber
&lt;br /&gt;
&amp;nbsp; return
&lt;br /&gt;
&amp;nbsp;LV_GetText&amp;#40;ID,RowNumber&amp;#41;
&lt;br /&gt;
&amp;nbsp;IniRead, name , %f%, %ID%, Name
&lt;br /&gt;
&amp;nbsp;IniRead, email, %f%, %ID%, eMail
&lt;br /&gt;
&amp;nbsp;IniRead, url&amp;nbsp; , %f%, %ID%, URL
&lt;br /&gt;
&amp;nbsp;IniRead, color, %f%, %ID%, Color
&lt;br /&gt;
&amp;nbsp;Gui, +Disabled
&lt;br /&gt;
&amp;nbsp;Gui, 2&amp;#58;Default
&lt;br /&gt;
&amp;nbsp;GuiControl,&amp;nbsp; &amp;nbsp; &amp;nbsp;, Name , %Name%
&lt;br /&gt;
&amp;nbsp;GuiControl,&amp;nbsp; &amp;nbsp; &amp;nbsp;, Email, %eMail%
&lt;br /&gt;
&amp;nbsp;GuiControl,&amp;nbsp; &amp;nbsp; &amp;nbsp;, URL&amp;nbsp; , %URL%
&lt;br /&gt;
&amp;nbsp;GuiControl, Text, Color, %Color%
&lt;br /&gt;
&amp;nbsp;Gui, Show,,Edit
&lt;br /&gt;
&amp;nbsp;action = edit
&lt;br /&gt;
return
&lt;br /&gt;
;
&lt;br /&gt;
ButtonAdd&amp;#58;
&lt;br /&gt;
&amp;nbsp;Gui, +Disabled
&lt;br /&gt;
&amp;nbsp;Gui, 2&amp;#58;Default
&lt;br /&gt;
&amp;nbsp;GuiControl,,Name
&lt;br /&gt;
&amp;nbsp;GuiControl,,Email
&lt;br /&gt;
&amp;nbsp;GuiControl,,URL
&lt;br /&gt;
&amp;nbsp;GuiControl, Text, Color
&lt;br /&gt;
&amp;nbsp;Gui, 2&amp;#58;Show,,Add
&lt;br /&gt;
&amp;nbsp;action = add
&lt;br /&gt;
return
&lt;br /&gt;
;
&lt;br /&gt;
2ButtonOK&amp;#58;
&lt;br /&gt;
&amp;nbsp;Gui, Submit, NoHide
&lt;br /&gt;
&amp;nbsp;If !Name
&lt;br /&gt;
&amp;nbsp; return
&lt;br /&gt;
&amp;nbsp;Gui, 1&amp;#58;Default
&lt;br /&gt;
&amp;nbsp;If &amp;#40;action = &amp;quot;add&amp;quot;&amp;#41; &amp;#123;
&lt;br /&gt;
&amp;nbsp; IniRead, ID, %f%, Count, ID#
&lt;br /&gt;
&amp;nbsp; IniWrite,% ++ID, %f%, Count, ID#
&lt;br /&gt;
&amp;nbsp; IniRead, list, %f%, Count, list
&lt;br /&gt;
&amp;nbsp; IniWrite,% list ID &amp;quot;|&amp;quot;, %f%, Count, list
&lt;br /&gt;
&amp;nbsp; LV_Add&amp;#40;&amp;quot;&amp;quot;,ID,Name,eMail,URL,Color&amp;#41;
&lt;br /&gt;
&amp;nbsp;&amp;#125;
&lt;br /&gt;
&amp;nbsp;Else LV_Modify&amp;#40;RowNumber,&amp;quot;&amp;quot;,ID,Name,eMail,URL,Color&amp;#41;
&lt;br /&gt;
&amp;nbsp;IniWrite, %Name%&amp;nbsp; , %f%, %ID%, Name
&lt;br /&gt;
&amp;nbsp;IniWrite, %eMail% , %f%, %ID%, eMail
&lt;br /&gt;
&amp;nbsp;IniWrite, %URL%&amp;nbsp; &amp;nbsp;, %f%, %ID%, URL
&lt;br /&gt;
&amp;nbsp;IniWrite, %Color% , %f%, %ID%, Color
&lt;br /&gt;
2GuiClose&amp;#58;
&lt;br /&gt;
2ButtonCancel&amp;#58;
&lt;br /&gt;
&amp;nbsp;Gui, 1&amp;#58;-Disabled
&lt;br /&gt;
&amp;nbsp;Gui, 2&amp;#58;Cancel
&lt;br /&gt;
return
&lt;br /&gt;
;
&lt;br /&gt;
ButtonDelete&amp;#58;
&lt;br /&gt;
&amp;nbsp;RowNumber &amp;#58;= LV_GetNext&amp;#40;&amp;#41;
&lt;br /&gt;
&amp;nbsp;If !RowNumber
&lt;br /&gt;
&amp;nbsp; return
&lt;br /&gt;
&amp;nbsp;Gui, +OwnDialogs
&lt;br /&gt;
&amp;nbsp;Msgbox,4, Delete, Are you sure to delete this row?
&lt;br /&gt;
&amp;nbsp;IfMsgBox, No
&lt;br /&gt;
&amp;nbsp; return
&lt;br /&gt;
&amp;nbsp;LV_GetText&amp;#40;ID,RowNumber&amp;#41;
&lt;br /&gt;
&amp;nbsp;IniRead, list, %f%, Count, list
&lt;br /&gt;
&amp;nbsp;StringReplace, list, list, |%ID%|, |
&lt;br /&gt;
&amp;nbsp;IniWrite, %list%, %f%, Count, list
&lt;br /&gt;
&amp;nbsp;IniDelete, %f%, %ID%
&lt;br /&gt;
&amp;nbsp;LV_Delete&amp;#40;RowNumber&amp;#41;
&lt;br /&gt;
return&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;_________________&lt;br /&gt;&lt;a href=&quot;http://autohotkey.net/~jaco0646/&quot; target=&quot;_blank&quot; class=&quot;postlink&quot;&gt;http://autohotkey.net/~jaco0646/&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Scripts &amp; Functions :: RE: Vic - A free text editor based on HiEdit control</title>
	<link>http://www.autohotkey.com/forum/viewtopic.php?p=340763#340763</link>
	<description>Author: Anonymous&lt;br /&gt;

Posted: Fri Mar 19, 2010 7:39 am (GMT 0)&lt;br /&gt;
Topic Replies: 37&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;Did you try to select the text from bottom-right to upper-left? It keeps breaking the selection.
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Ask for Help :: RE: COM Invoke Problem</title>
	<link>http://www.autohotkey.com/forum/viewtopic.php?p=340762#340762</link>
	<description>Author: &lt;a href=&quot;http://www.autohotkey.com/forum/profile.php?mode=viewprofile&amp;u=8291&quot; target=&quot;_blank&quot;&gt;sinkfaze&lt;/a&gt;&lt;br /&gt;

Posted: Fri Mar 19, 2010 7:33 am (GMT 0)&lt;br /&gt;
Topic Replies: 3&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;You've got some of the right parts anyway:
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;#Include COM.ahk
&lt;br /&gt;
stat = 4
&lt;br /&gt;

&lt;br /&gt;
COM_Init&amp;#40;&amp;#41;
&lt;br /&gt;
Msn &amp;#58;= COM_CreateObject&amp;#40;&amp;quot;Messenger.UIAutomation.1&amp;quot;&lt;span style=&quot;color: red&quot;&gt;,&amp;quot;&amp;quot;,stat&lt;/span&gt;&amp;#41;
&lt;br /&gt;
COM_Invoke&amp;#40;msn, &amp;quot;InstantMessage&amp;quot;, &amp;quot;AFriendOfMine@hotmail.com&amp;quot;&amp;#41;
&lt;br /&gt;

&lt;br /&gt;
COM_Release&amp;#40;&lt;span style=&quot;color: red&quot;&gt;msn&lt;/span&gt;&amp;#41;,&amp;nbsp; COM_Term&amp;#40;&amp;#41; ; make sure you're releasing the correct object pointer
&lt;br /&gt;
Return&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;_________________&lt;br /&gt;&lt;span style=&quot;font-size: 9px; line-height: normal&quot;&gt;Try &lt;a href=&quot;http://www.autohotkey.com/forum/viewtopic.php?p=196070#196070&quot; target=&quot;_blank&quot; class=&quot;postlink&quot;&gt;&lt;span style=&quot;font-weight: bold&quot;&gt;Quick Search for Autohotkey&lt;/span&gt;&lt;/a&gt; or see the &lt;a href=&quot;http://www.autohotkey.com/forum/viewtopic.php?t=42819&quot; target=&quot;_blank&quot; class=&quot;postlink&quot;&gt;&lt;span style=&quot;font-weight: bold&quot;&gt;tutorial for newbies&lt;/span&gt;&lt;/a&gt;.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
</description>
</item>
</channel>
</rss>

