Armand Posted October 30, 2008 Share Posted October 30, 2008 Hi there, Credits for the findings goes to "Oren" [a member of this forum.] After having an issue with launching a process using command lines I've done some research and realized my function was blocked because MSN Messenger (while connected) creates a window title with the value of 0, thus blocking my process launching which was built on the idea that there is no such window handle as 0 in use.... Anyhow: If WinExists(0) Then MsgBox(0, "", "Window exists") EndIf Will show the MsgBox only if Msn Messenger is on and connected !!! P.S -> i didn't know where should one put such a msg so i did it in here, since i figured that maybe it should be added to the help file so that others won't get stuck due to this issue !!! [u]My Au3 Scripts:[/u]____________(E)Lephant, A Share download manager (RS/MU etc)Http1.1 Console, The Ez Way!Internet Reconnection Automation Suite & A Macro Recording Tool.SK's Alarm Clock, Playing '.MP3 & .Wav' Files._________________Is GOD a mistake of the Humanity Or the Humanity is a mistake of GOD ?! Link to comment Share on other sites More sharing options...
Valik Posted October 30, 2008 Share Posted October 30, 2008 If we added every little obscure issue like this to every affected function for every user that found something the documentation would be enormous...er. Link to comment Share on other sites More sharing options...
oren Posted October 30, 2008 Share Posted October 30, 2008 (edited) What? I dont think the problem is with autoit... The problem is with MSN massanger... From all the letters and words they could choose they choose the number "0" to there process? , Why not 0000000, why not "00101010" Why no "0MSN" Edited October 30, 2008 by oren Link to comment Share on other sites More sharing options...
BrettF Posted October 30, 2008 Share Posted October 30, 2008 Could always do something like this: MsgBox(64, 'Info', 'HWND = ' & _HWNDGetByPID(ProcessExists('msnmsgr.exe'))) Func _HWNDGetByPID($iPID) If $iPID <> 0 Then $aWinList = WinList() For $i = 1 To $aWinList[0][0] If WinGetProcess($aWinList[$i][0]) = $iPID Then $hWnd = $aWinList[$i][1] ExitLoop EndIf Next EndIf Return $hWnd EndFunc ;==>_HWNDGetByPID Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
Armand Posted October 31, 2008 Author Share Posted October 31, 2008 Guys, i'm not saying there is a problem in AU3.... but instead only saying that a warning in the help file could be nice.... someone should lock this topic.... [u]My Au3 Scripts:[/u]____________(E)Lephant, A Share download manager (RS/MU etc)Http1.1 Console, The Ez Way!Internet Reconnection Automation Suite & A Macro Recording Tool.SK's Alarm Clock, Playing '.MP3 & .Wav' Files._________________Is GOD a mistake of the Humanity Or the Humanity is a mistake of GOD ?! Link to comment Share on other sites More sharing options...
jvanegmond Posted October 31, 2008 Share Posted October 31, 2008 If we added every little obscure issue like this to every affected function for every user that found something the documentation would be enormous...er. 8) github.com/jvanegmond Link to comment Share on other sites More sharing options...
BrettF Posted October 31, 2008 Share Posted October 31, 2008 I'd hate to think how big that would be Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
oren Posted October 31, 2008 Share Posted October 31, 2008 I think someone should ocntact microsoft, and telll them to change the process name.... Link to comment Share on other sites More sharing options...
Richard Robertson Posted October 31, 2008 Share Posted October 31, 2008 Like anyone will listen. What possible reason could you give to make them change that? Link to comment Share on other sites More sharing options...
BrettF Posted October 31, 2008 Share Posted October 31, 2008 Thats like telling the school bully to stop bullying you. Do that, then they laugh at you and steal your lunch money.... Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
JRowe Posted October 31, 2008 Share Posted October 31, 2008 Thats like telling the school bully to stop bullying you. Do that, then they laugh at you and steal your lunch money....Yeah. So during lunch, you sharpen your plastic cafeteria knife, stab the bully's eyeballs out, and take your money back. You get bonus points if you use a spork. [center]However, like ninjas, cyber warriors operate in silence.AutoIt Chat Engine (+Chatbot) , Link Grammar for AutoIt , Simple Speech RecognitionArtificial Neural Networks UDF , Bayesian Networks UDF , Pattern Matching UDFTransparent PNG GUI Elements , Au3Irrlicht 2Advanced Mouse Events MonitorGrammar Database GeneratorTransitions & Tweening UDFPoker Hand Evaluator[/center] Link to comment Share on other sites More sharing options...
BrettF Posted October 31, 2008 Share Posted October 31, 2008 But then the bully's cronies come along... There's no way to win. what about using a spoon? More bonus points? Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
Richard Robertson Posted October 31, 2008 Share Posted October 31, 2008 Go for the half used relish packet. Link to comment Share on other sites More sharing options...
JRowe Posted October 31, 2008 Share Posted October 31, 2008 No, spoons are definitely not the tool for the job. Sporks are powerful, though. [center]However, like ninjas, cyber warriors operate in silence.AutoIt Chat Engine (+Chatbot) , Link Grammar for AutoIt , Simple Speech RecognitionArtificial Neural Networks UDF , Bayesian Networks UDF , Pattern Matching UDFTransparent PNG GUI Elements , Au3Irrlicht 2Advanced Mouse Events MonitorGrammar Database GeneratorTransitions & Tweening UDFPoker Hand Evaluator[/center] Link to comment Share on other sites More sharing options...
BrettF Posted October 31, 2008 Share Posted October 31, 2008 Hahahahah lets stop spamming the topic now Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
Armand Posted November 1, 2008 Author Share Posted November 1, 2008 Guys, It's not that since it's incompatible with AU3 they should change it.... it's AU3 that should protect it's users and write it down somewhere.... Would someone LOCK THIS TOPIC ?! though it is kinda funny seeing how has it developed that way.... i think these convo.s are more to do in the chat zone. [u]My Au3 Scripts:[/u]____________(E)Lephant, A Share download manager (RS/MU etc)Http1.1 Console, The Ez Way!Internet Reconnection Automation Suite & A Macro Recording Tool.SK's Alarm Clock, Playing '.MP3 & .Wav' Files._________________Is GOD a mistake of the Humanity Or the Humanity is a mistake of GOD ?! Link to comment Share on other sites More sharing options...
GaryFrost Posted November 1, 2008 Share Posted November 1, 2008 Valik gave you the answer to this thread in post 2. Thread closed. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Recommended Posts