
SinghIsKing
Active Members-
Posts
41 -
Joined
-
Last visited
Content Type
Forums
Downloads
Forum Articles
Events
Everything posted by SinghIsKing
-
Please help me to short my code.
SinghIsKing replied to SinghIsKing's topic in AutoIt General Help and Support
oh! Yes, i can short my code using functions. thanksss can i also do it using RegExpTitle? reading the help file did not help. -
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?
-
Opt("WinTitleMatchMode", 2) & REGEXPTITLE
SinghIsKing replied to SinghIsKing's topic in AutoIt General Help and Support
thanks for the code! -
_Service_UDF v4 : Build your own service with autoit code
SinghIsKing replied to arcker's topic in AutoIt Example Scripts
i can not use winwait() winexists() winClose() winKill() please specify all the functions of your UDF included information of it's limitations. -
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. ?
-
yes, now i can continue coding... thanks mate.
-
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?
-
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?
-
are you talking about ID3v1, ID3v2.2, ID3v2.3 and ID3v2.4 tags?
-
VBScript to AutoIt Converter
SinghIsKing replied to bkemmler's topic in AutoIt General Help and Support
anyway to convert AU3 (Autoit) Script to VBS (VBScript)? is it possible? -
GCS Search 1.07 : update old scripts downloaded from forums
SinghIsKing replied to Jikoo's topic in AutoIt Example Scripts
Your code is veru good and you have worked very well. thanks for the great tool. -
just 3rd party file
-
no, it's not working.
-
Test it on your pc msgbox(0,"",DriveGetType($CmdLineRaw))it will give no result. @ november hi friend, Thanks for the examples.
-
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.
-
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?
-
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?