ReaImDown Posted February 14, 2009 Author Posted February 14, 2009 And what about this example: #include <Misc.au3> $hUser32 = DllOpen("User32.dll") While 1 If _IsPressed("5a", $hUser32) Then MsgBox(0, "", "") Sleep(10) WEnd DllClose($hUser32) same deal, doesnt work on msn....BUT again...will work anywhere else, but then again so will the one I showed.... I use Vista Sp1.... if that matters.... [u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u]
MrCreatoR Posted February 14, 2009 Posted February 14, 2009 doesnt work on msnPerhaps it uses some sort of keys hook (when the window is active) and the DllCall fails in AutoIt script... anyone else can reproduce this problem, or maybe you can check it on other system, xp for example? Spoiler Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1 AutoIt Russian Community My Work... Spoiler Projects: ATT - Application Translate Tool {new}| BlockIt - Block files & folders {new}| SIP - Selected Image Preview {new}| SISCABMAN - SciTE Abbreviations Manager {new}| AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize ProgramUDFs: OnAutoItErrorRegister - Handle AutoIt critical errors {new}| AutoIt Syntax Highlight {new}| Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDF Examples: ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation Demo Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating ) * === My topics === * ================================================== ================================================== AutoIt is simple, subtle, elegant. © AutoIt Team
ReaImDown Posted February 14, 2009 Author Posted February 14, 2009 Perhaps it uses some sort of keys hook (when the window is active) and the DllCall fails in AutoIt script... anyone else can reproduce this problem, or maybe you can check it on other system, xp for example?Can anyone test this for us? Pretty please w/ a cherry on top? or am I the only one thats fucked? lol [u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u]
FireFox Posted February 14, 2009 Posted February 14, 2009 @ReaImDown You have posted the same post few hours ago... please only bump your topic after 24 hours Cheers, FireFox.
AgentSmith15 Posted February 15, 2009 Posted February 15, 2009 So do we have this right? IsPressed is not working with MSN? Try using a different key and see how that works? [center][/center]
ReaImDown Posted February 17, 2009 Author Posted February 17, 2009 So do we have this right?IsPressed is not working with MSN?Try using a different key and see how that works?A-z, 0-9, nor the F keys work with msn...BUT only msn... its weirdAnyone else have this problem? [u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u]
ReaImDown Posted February 18, 2009 Author Posted February 18, 2009 ---Bump--- Idk if this makes a difference The things I have installed that may cause the problems? windows Vista Sp1 basic edition Msn Live Build (8.5.1302.1018) Mess Patch Msn PLus anyone else on vista or Xp have this problem? [u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u]
exodius Posted February 18, 2009 Posted February 18, 2009 (edited) ---Bump--- Idk if this makes a difference The things I have installed that may cause the problems? windows Vista Sp1 basic edition Msn Live Build (8.5.1302.1018) Mess Patch Msn PLus anyone else on vista or Xp have this problem? I'm on XP, ran this version: #include <Misc.au3> $hUser32 = DllOpen("User32.dll") While 1 If _IsPressed("5a", $hUser32) Then MsgBox(0, "", "") Sleep(10) WEnd DllClose($hUser32)oÝ÷ Ø ÝÜ(®Gë-~)Þ~æxZ½å¢Ú0°¸¯xǬ±éàz¸¬¶ÂÊ·ö·®²)à!Øm«ÞjènW¦¢w¢¶«'(Ö¶X¬·§v(§!jÜ"Ú0Ø"Ö¥²(®K0Øm+/z»"¢v®¶sb6æ6ÇVFRfÇC¶Ö62æS2fwC° §vÆR¦bô5&W76VBgV÷C³VgV÷C²FVâ×6t&÷ÂgV÷C²gV÷C²ÂgV÷C²gV÷C²¥tVæ@ Edited February 18, 2009 by exodius
ReaImDown Posted February 18, 2009 Author Posted February 18, 2009 (edited) I'm on XP, ran this version: #include <Misc.au3> $hUser32 = DllOpen("User32.dll") While 1 If _IsPressed("5a", $hUser32) Then MsgBox(0, "", "") Sleep(10) WEnd DllClose($hUser32)ƒoÝŠ÷ Ø ÝŠÜ(®GŽë-~)Þ~ŠæxˆZ½å¢Ú0°¸¯xǬ±éàz¸¬¶ÂÊ‹·ö·®²)à!ØŸm…«ÞjšènW¦¢w¢¶«›'(žÖœ¶X¬·§vŒ(§!jÜ"Ú0Ø"Ö¥²Œ(®K0ŠØm†+/z»"¢v®¶ˆsb6–æ6ÇVFRfÇC¶Ö—62æS2fwC° §v†–ÆR¦–bô—5&W76VB‚gV÷C³VgV÷C²’F†Vâ×6t&÷‚ƒÂgV÷C²gV÷C²ÂgV÷C²gV÷C²¥tVæ@ I just ran that code, - doesnt work @ all - though looking @ it, it should, okay, its a Vista problem...anyone else have this problem on Vista? @exodius Thank you for your help For anyone else... 5a = "z" Edited February 18, 2009 by ReaImDown [u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u]
exodius Posted February 18, 2009 Posted February 18, 2009 I just ran that code, - doesnt work @ all - though looking @ it, it should, okay, its a Vista problem...anyone else have this problem on Vista?@exodius Thank you for your help ROFL at what the forum did to that quoted "autoit" code.
Bert Posted February 18, 2009 Posted February 18, 2009 (edited) In reviewing the post, I may suggest a test to see if this fixes it - Instead of ripping out what you want from the misc.au3 to your script, just include it and remark out what you ripped out in the first place. Test it to see of it works. If it does, then the problem is what you are taking out of the misc.au3. Personally, I also try to keep my scripts small, but in this day and age, having a file that is under 1MB is not a big deal. Odds are your script is under 200KB. A few more KB won't matter much. Let me know what happens after you do this. If this doesn't work, we cal look at seeing if something has changed with MSN messenger. Edit - When using the {autoit] tag to post code in the forum, sometimes it will corrupt the code that is displayed in the forum. Edited February 18, 2009 by Volly The Vollatran project My blog: http://www.vollysinterestingshit.com/
ReaImDown Posted February 18, 2009 Author Posted February 18, 2009 In reviewing the post, I may suggest a test to see if this fixes it - Instead of ripping out what you want from the misc.au3 to your script, just include it and remark out what you ripped out in the first place. Test it to see of it works. If it does, then the problem is what you are taking out of the misc.au3. Personally, I also try to keep my scripts small, but in this day and age, having a file that is under 1MB is not a big deal. Odds are your script is under 200KB. A few more KB won't matter much. Let me know what happens after you do this. If this doesn't work, we cal look at seeing if something has changed with MSN messenger. Edit - When using the {autoit] tag to post code in the forum, sometimes it will corrupt the code that is displayed in the forum. works in every window accept an msn convo or the msn main screen #include<Misc.au3> While 1 if _IsPressed("5a") then MsgBox(0,"yippeeeee!", Chr("0x5a") & " was pressed!!!") WEnd [u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u]
ReaImDown Posted February 18, 2009 Author Posted February 18, 2009 sorry about Dp.... but, I just tested it on my G/f's moms computer...and it works fine - Xp though, so theres a problem with _ispressed and vista [u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u]
Bert Posted February 18, 2009 Posted February 18, 2009 hmmm, I don't have a vista PC to test with. Dumb question, but you put 5a. Try 5A. I wonder if it being in caps makes any difference. The Vollatran project My blog: http://www.vollysinterestingshit.com/
Bert Posted February 18, 2009 Posted February 18, 2009 Now, a second thought in making a work around is to make a Microsoft Virtual PC and load XP on it. The Vollatran project My blog: http://www.vollysinterestingshit.com/
ReaImDown Posted February 18, 2009 Author Posted February 18, 2009 (edited) hmmm, I don't have a vista PC to test with. Dumb question, but you put 5a. Try 5A. I wonder if it being in caps makes any difference.at this point, I am willing to try anything haha... but, unfortunately, nope...maybe Jon edited something in autoit's coding?--edit---Now, a second thought in making a work around is to make a Microsoft Virtual PC and load XP on it.a what now? sorry... haha Edited February 18, 2009 by ReaImDown [u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u]
Bert Posted February 18, 2009 Posted February 18, 2009 http://www.microsoft.com/windows/products/...pc/default.mspxDownload and install.Now, you install XP in the virtual PC, and basically, you run a PC inside a PC. In this case, you run XP inside Vista. The Vollatran project My blog: http://www.vollysinterestingshit.com/
ReaImDown Posted February 19, 2009 Author Posted February 19, 2009 http://www.microsoft.com/windows/products/...pc/default.mspxDownload and install.Now, you install XP in the virtual PC, and basically, you run a PC inside a PC. In this case, you run XP inside Vista.is that a temp. fix? or is this just a way of testing? [u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u]
ReaImDown Posted February 20, 2009 Author Posted February 20, 2009 -=- bump -=- anyone on vista care to test this for me please? is it just me and my add-ons or vista? or autoit. [u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u]
jvanegmond Posted February 20, 2009 Posted February 20, 2009 is that a temp. fix? or is this just a way of testing?A way of testing. If you develop for more than one operating system, you absolutely need to. github.com/jvanegmond
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now