Jump to content

SinghIsKing

Active Members
  • Posts

    41
  • Joined

  • Last visited

Everything posted by SinghIsKing

  1. oh! Yes, i can short my code using functions. thanksss can i also do it using RegExpTitle? reading the help file did not help.
  2. hello, Please help me to short my code. Dim $Win_Names = "Win1" Opt("WinTitleMatchMode", 2) If WinExists($Win_Names, "") Then WinSetState($Win_Names, "", @SW_HIDE) MsgBox(64, "Title", "Press ok to show window.", 10) WinSetState($Win_Names, "", @SW_SHOW) MsgBox(64, "Title", "Press ok to Close the window.", 10) WinClose($Win_Names, "") EndIf Dim $Win_Names = "2nd" If WinExists($Win_Names, "") Then WinSetState($Win_Names, "", @SW_HIDE) MsgBox(64, "Title", "Press ok to show window.", 10) WinSetState($Win_Names, "", @SW_SHOW) MsgBox(64, "Title", "Press ok to Close the window.", 10) WinClose($Win_Names, "") EndIf Dim $Win_Names = "Third" If WinExists($Win_Names, "") Then WinSetState($Win_Names, "", @SW_HIDE) MsgBox(64, "Title", "Press ok to show window.", 10) WinSetState($Win_Names, "", @SW_SHOW) MsgBox(64, "Title", "Press ok to Close the window.", 10) WinClose($Win_Names, "") EndIf there maybe some more window names. any trick to short my code and add new window names without writing the whole If...to...EndIf Script?
  3. i can not use winwait() winexists() winClose() winKill() please specify all the functions of your UDF included information of it's limitations.
  4. hi, how to match a word only in single characters? like when i want to match 'News' using Opt("WinTitleMatchMode", 2) then it also matches with the following. CnnNews NewsFuse ZeeNews but i want that it should only match if single word exists in window like this is a good News today's news is very bad. ?
  5. yes, now i can continue coding... thanks mate.
  6. hi, i want my appllication to run after 3 restarts. this registry key can run my app on next restart. RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", "Name", "REG_SZ", $Full_Exe_Path) but i want to run after 3 restarts. any ideas how to do it?
  7. hi, i need a script which tells you what com ports (virtual com ports incuded) are in use . what software/hardware is using them to uninstall used com? if it is not possible in autoit then tell me about a utality/software which can do it.
  8. hi all, i saw a VBScript to AutoIt Converter http://www.autoitscript.com/forum/index.php?showtopic=12143 in example scripts. my question is 'how to convert Au3 (AutoIt script) to VBS (VBScript)? or is there any example code in example scripts section for converting AutoIt scripts to VBScripts?
  9. are you talking about ID3v1, ID3v2.2, ID3v2.3 and ID3v2.4 tags?
  10. anyway to convert AU3 (Autoit) Script to VBS (VBScript)? is it possible?
  11. Thanks to monoceres, Andriek and cheatera for the help.
  12. bcoz, my script creates another script. but i don't know how can i run the newly created script if the user have no autoit installed.
  13. i want to run au3 files using a compiled exe and don't want to install AutoIt software.
  14. hi there, i would like to know how to run AU3 without installing Autoit software?
  15. Your code is veru good and you have worked very well. thanks for the great tool.
  16. just 3rd party file
  17. no, it's not working.
  18. Test it on your pc msgbox(0,"",DriveGetType($CmdLineRaw))it will give no result. @ november hi friend, Thanks for the examples.
  19. Thanks for the help, sorry for one more question. i have a file in E:\Dongle\Start.exe can i know if it is in fixed or usb drive using AutoIt Script? i tried $File = "E:\Dongle\Start.exe" msgbox(0,"",DriveGetType($File)) but it gives nothing.
  20. Thanks for the welcome,i have read about it but how the script will check itself if it's running from a fixed or usb drive?
  21. hi all, i would like to know how can i check about drive type? i have a file in my usb flash drive and i don't want it to be run from Fixed and Cd, dvd drives. i only want it to be run from Removable devices. who can help me about it?
×
×
  • Create New...