Jump to content

Morteza

Active Members
  • Posts

    57
  • Joined

  • Last visited

Morteza's Achievements

Wayfarer

Wayfarer (2/7)

1

Reputation

  1. Yes! I would like to see a FF3.6 compatible version too. By the by, why you didn't have added your nice add-on to FireFox add-ons site?
  2. Thank you very much for your very fast and intelligently answer.
  3. Dear friends, When a file or folder is detected by FileExists function, how can I identify that is a file or a directory? Best Regards
  4. Thanks for your quick reply. I know that, but "AutoIt Window Info" utility cannot recognize the button ControlID. How can I found the ID? Best Regards
  5. Dears, Many times when I turn my ADSL modem on, after a while, I receive a pop-up error message from System Tray from time to time. I have not any other problem, my problem is just with the pop-up message. I want close this message automatically by AutoIt, but I don't know how can I recognize it in AutoIt. The info of my pop-up message is as follow: >>>> Window <<<< Title: There is an IP address conflict with another system on the network Class: tooltips_class32 Position: 593, 635 Size: 308, 85 Style: 0x940000C3 ExStyle: 0x00080088 Handle: 0x0003005C >>>> Control <<<< Class: Instance: ClassnameNN: Advanced (Class): ID: Text: Position: Size: ControlClick Coords: Style: ExStyle: Handle: 0x000101AC >>>> Mouse <<<< Position: 887, 646 Cursor ID: 2 Color: 0xFCF9FA >>>> StatusBar <<<< >>>> Visible Text <<<< >>>> Hidden Text <<<< Thank for any help.
  6. Just the last (empty string) must be "ptr". If you use "str" for "Button", all thing will work good without any problem.
  7. WOoOo I found my main mistake at last: I was forgotten the DllCall returned code is an array, not a variable. Thank you & all of the topic discussioners very much. Best Regards
  8. Thanks to reply, your code worked great. Do you know why my code not worked? Why user32.dll calling not worked in AutoIT? Thanks
  9. Dears, the following code work without any problem in VB: ' #VBIDEUtils#********************************************** ' * Programmer Name : Waty Thierry ' * Web Site : www.geocities.com/ResearchTriangle/6311/ ' * E-Mail : waty.thierry@usa.net ' * Date : 22/10/98 ' * Time : 15:50 ' * Module Name : Start_Module ' * Module Filename : Start.bas ' ********************************************************* ' * Comments : Show/Hide the start button ' * ' ******************************************************** Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long Private Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" (ByVal hWnd1 As Long, ByVal hWnd2 As Long, ByVal lpsz1 As String, ByVal lpsz2 As String) As Long Private Declare Function ShowWindow Lib "user32" (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long Public Function hideStartButton() 'This Function Hides the Start Button' OurParent& = FindWindow("Shell_TrayWnd", "") OurHandle& = FindWindowEx(OurParent&, 0, "Button", vbNullString) ShowWindow OurHandle&, 0 End Function Public Function showStartButton() 'This Function Shows the Start Button' OurParent& = FindWindow("Shell_TrayWnd", "") OurHandle& = FindWindowEx(OurParent&, 0, "Button", vbNullString) ShowWindow OurHandle&, 5 End Function I translate it to AutoIT language as follow: #Include <WinAPI.au3> hideStartButton() Sleep(1000) showStartButton() Func hideStartButton() ;This Function Hides the Start Button $OurParent = _WinAPI_FindWindow("Shell_TrayWnd", "") $OurHandle = DllCall("user32.dll","long","FindWindowExA","long",$OurParent,"long",0,"str","Button","str",'') $r2 = DllCall("user32.dll","long","ShowWindow","long",$OurHandle,"long",0) EndFunc Func showStartButton() ;This Function Shows the Start Button $OurParent = _WinAPI_FindWindow("Shell_TrayWnd", "") $OurHandle = DllCall("user32.dll","long","FindWindowExA","long",$OurParent,"long",0,"str","Button","str",'') $r2 = DllCall("user32.dll","long","ShowWindow","long",$OurHandle,"long",5) EndFunc but my translated code not worked in AutoIT. Anybody know what is my mistake? Thanks beforehand
  10. Thanks, I get it.
  11. Thanks, Thanks, Thanks & Kiss, Kiss, Kiss I love your programs very much. They are very useful and informative.
  12. Thanks, but fixing was worked just for source . When I compile the source code, I receive an error that say program need wget.exe, but the link of wget.exe is broken at yet.
  13. OH dear Rasim, I really like the above links to be fixed Thanks beforehand
  14. At the present, when I minimize a program with SHIFT key pressed, the minimized program put its icon in system tray. I means a new feature that when I press a hotkey, the icon be removed from system tray too and next time when I press the hotkey (or another hotkey) again, my hidden icons be appeared in system tray (i.e. a hotkey for toggling between hide and unhide in system tray)
  15. Thank you very much Rasim with a 5 star rating This is a very useful utility. What about a hotkey for hiding minimized programs from system tray too?
×
×
  • Create New...