Jump to content

meethayaam

Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by meethayaam

  1. compile this code and F1 for SCAN #AutoIt3Wrapper_UseX64=y HotKeySet("{F1}", "scan") While 1 Sleep(100) WEnd Func scan() ConsoleWrite(@SystemDir & @CRLF) Run("C:\Windows\system32\WFS.exe") $hWnd = WinWait("Windows Fax and Scan", "", 3) ConsoleWrite("$hWnd=" & $hWnd & @CRLF) If $hWnd Then WinActivate($hWnd) ;~ ; With Menu WinMenuSelectItem($hWnd, "", "&File", "&New", "&Scan") ; Wait the New Scan win $hScanDlg = WinWait("New Scan", "", 3) ControlClick($hScanDlg, "", "Button4") EndIf EndFunc
  2. Complete working code #AutoIt3Wrapper_UseX64=y ConsoleWrite(@SystemDir & @CRLF) Run("C:\Windows\system32\WFS.exe") $hWnd = WinWait("Windows Fax and Scan", "", 3) ConsoleWrite("$hWnd=" & $hWnd & @CRLF) If $hWnd Then     WinActivate($hWnd) ; With ControlCommand ControlCommand($hWnd, "", "ToolbarWindow322", "SendCommandID", 177) ;from Au3Info ToolBar tab ;~  ; With Menu WinMenuSelectItem($hWnd, "", "&File", "&New", "&Scan")   ; Wait the New Scan win $hScanDlg = WinWait("New Scan", "", 3) ControlClick($hScanDlg, "", "Button4")   EndIf
  3. above code work smoothly no error occurred but this code unable to click/emulate SCAN button
  4. Certainly! Automating the "Windows Fax and Scan" application in Windows 10 using AutoIt involves interacting with the GUI elements and performing actions like clicking buttons. Below is an example script to automate the "Scan" button in the "Windows Fax and Scan" application: Run("C:\Windows\System32\WFS.exe") ControlClick("Windows Fax and Scan", "", "[CLASS:Button; TEXT:Scan]") when i run this code but no activity .... i tried "AutoIt Window Info (x64)" but i unable to catch issue .... i will be very thankfull if somebody give me advice / hint ....
  5. I know that this is naïve question but at this moment i need .....i tried myself to find to find but no success i want auto it send ctrl+q key it is for quite photoshop here is my code Run("C:\Program Files\Adobe\Adobe Photoshop CS6\Photoshop.exe") Sleep(5000) Send("{F12}") Sleep(5000) Send("{F11}") Sleep(15000) Send("^+{Q}") Exit
  6. feeling dumb .Please can you elaborate ...........
  7. both option but silent will be prefer
  8. It is possible with AUTOIT .....i can automate print dialogue process .... example : I have pic in folder and want auto it click on print and done (silent will be prefer)
×
×
  • Create New...