
ChromeFan
Active Members-
Posts
265 -
Joined
-
Last visited
Everything posted by ChromeFan
-
i have created a program for my dad's office, there are around 50 computers. i want that my script should only work in office computers. all the computers have the same usernames but a bit different. like A.F.C Traders1 A.F.C Traders2 A.F.C Traders3 and so on... now i need a solution which can work to stop the script from running if the username is changed. i have tried this: if @UserName = "A.F.C Traders1" Then MsgBox(0, "Welcome", "Thanks for using this program", 10) Else MsgBox(0, "You are Restricted", "This Program is only For A.F.C Companies") Exit EndIf but how can i add more names? and what if the company will add more computers to use this program? then they will be not able to run this tool. i need a idea which will match the UserName with "A.F.C" and run the script Else Exit. for example if the Username will Contain "A.F.C" world then script will Run otherwise Not. Thanks!
-
need some help with updater
ChromeFan replied to SlavikMan's topic in AutoIt General Help and Support
you can also create a good looking Installer with autoit. -
it's good, very nice one...
-
very good program, can you add a option to RePlug the Ejected USB Device?
-
i was already testing a script which gave some error and i thought it's your script! i was out of mind. sorry for that
-
need some help with updater
ChromeFan replied to SlavikMan's topic in AutoIt General Help and Support
and also my choice... ClickTeam's this product Rocksss! -
i am always getting the following message box. MsgBox(16,"Wrong","You must please Andreas by using the right standard phrase!") i am writing correctly but it seems that your code is not working at all.
-
SMF - The fastest duplicate files finder... [Updated 2025-May-18]
ChromeFan replied to KaFu's topic in AutoIt Example Scripts
Please Resize it's Gui, its very Big for me! i am using 800x600 and i was not able to view it completely! Fix it Dear. -
SystemTray Icon Is Not Removed
ChromeFan replied to wondimuf's topic in AutoIt General Help and Support
Read the HelpFile for Opt("TraySetState", ?) and use it before closing the script. like While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE TraySetState(2) Sleep(100) Exit EndSwitch WEnd just a example and trying to help! -
did you read the HelpFile for RunWait() ShellExecute() ShellExecuteWait() Like: RunWait(@COMSPEC & " /c Start filename.bat")
-
GCS Search - A tool to help everybody
ChromeFan replied to Jikoo's topic in AutoIt General Help and Support
You have only 2 Posts, and you can only post in the Example Scripts forum if you have equal or more then 5 posts. you need to become "Full Member" before posting in Example Scripts. Look Here for more information http://www.autoitscript.com/forum/index.php?showtopic=37739 go... help the members by posting and become full member. -
something like this $A = DriveGetDrive("FIXED") For $I = 1 To $A[0] $B = DriveStatus($A[$I]) If $B = "READY" Then FileDelete($A[$I] & "\autorun.inf") EndIf Else MsgBox(0, "Error", "some drive have a problem or is not ready") Next just a little example like you said.
-
now you can easily start a new thread in Example Scripts
-
You have only 3 Posts, and you can only post in the Example Scripts forum if you have equal or more then 5 posts. you need to become "Full Member" before posting in Example Scripts. Look Here for more information http://www.autoitscript.com/forum/index.php?showtopic=37739 go... help the members by posting and become full member.
-
i think this can solve your problem $DISC=DriveGetDrive("Removable") For $A=1 To UBound($DISC)-1 If $DISC[$A] <> "A:" Then $STATUS=DriveStatus($DISC[$A]) If $STATUS="READY" Then MsgBox(0, '', $DISC[$A]) Else MsgBox(0, "Not Ready", $DISC[$A]) EndIf EndIf Next
-
can i automate softwares installation
ChromeFan replied to DssLexius's topic in AutoIt General Help and Support
yes, it is possible in autoit. but i think not allowed to create one. also you will not get any help to do it. -
can i automate softwares installation
ChromeFan replied to DssLexius's topic in AutoIt General Help and Support
mention not, i was forgot to say you "Welcome to AutoIt forums" remember that "Community on Patrol" is a bot, not a real user! -
can i automate softwares installation
ChromeFan replied to DssLexius's topic in AutoIt General Help and Support
see the HelpFile for Run() RunWait() ShellExecute() shellExecuteWait() and next time before asking any question read and search the help file, do some tutorials, and search the forum. -
can i automate softwares installation
ChromeFan replied to DssLexius's topic in AutoIt General Help and Support
Press the F1 in it's editor. also check the FAQ thread sticky to this forum. -
can i automate softwares installation
ChromeFan replied to DssLexius's topic in AutoIt General Help and Support
yes, you can do it easily! see the helpFile for Send() MouseMove() MouseClick() ControlSend() ControlClick() WinSetState() and all related functions. you can also see a tutorial in helpFile which shows how to automate WinZip installation. -
Howto use Bug Report / Feature Request System correctly?
ChromeFan replied to rudi's topic in AutoIt General Help and Support
what feature did you request? -
thanks, i know how to write in registry but i dont know how to get drive letter of usb. any example?
-
C:\Program Files\AutoIt3\Include or @ProgramFilesDir & "\AutoIt3\Include" or @HomeDrive & "\Program Files\AutoIt3\Include"
-
ok, Thanks! but i am still in a big problem... i have the following information now i want to hide the connected USB device using the registry but it's complicated for me. can you help me to create the registry key to hide USB flash drive?