-
Posts
65 -
Joined
-
Last visited
-
Days Won
1
Everything posted by akira2891
-
Ok thanks.
-
Isn't it better then to make a GUI rather than this and it's easier to check data ?
-
Hi, I was wondering is this all inputs can be done in 1 box with 3 fields and not to use another gui. And how can i validate data for example if i don't enter username he prompt me a message box all time until field is empty. I try like this but it give me a msgbox and continue on another field. $username = InputBox("Add new user", "Username", "", "", 200, 130, Default, Default, 0) if $username <> " " then msgbox(0, "", "Please enter username") endif $email = InputBox("Add new user", "Email", "", "", 200, 130, Default, Default, 0) $password = InputBox("Add new user", "Password", "", "*", 200, 130, Default, Default, 0)
-
Help with YES and NO button
akira2891 replied to akira2891's topic in AutoIt General Help and Support
Ok thanks. -
Help with YES and NO button
akira2891 replied to akira2891's topic in AutoIt General Help and Support
Can't i do this in 1 row ? To put icon and flag together or this is only way with Case ? -
Help with YES and NO button
akira2891 replied to akira2891's topic in AutoIt General Help and Support
Now i saw but thanks. U can close topic. -
Hi, I'm making some application and now i want to make confirmation on exit but can't make it work. I want if user press YES to exit if press NO to continue. As it say in help file YES is = 1 but that don't work in my case i don't know why. And i can't see info icon, i try without it just to leave 4 instead of 64&4 and try to replace 4&64 and without 64 but won't work. #cs Button: Return Value: OK 1 CANCEL 2 ABORT 3 RETRY 4 IGNORE 5 YES 6 NO 7 TRY AGAIN ** 10 CONTINUE ** 11 #ce If MsgBox(64&4, " Info", "Do u really want to exit aplication ?") == 1 Then Exit Edit: oh my bad Yes is 6 not 1 #resolved
-
How to do frequency and sound program
akira2891 replied to akira2891's topic in AutoIt General Help and Support
Maybe something like this helps ? -
How to do frequency and sound program
akira2891 replied to akira2891's topic in AutoIt General Help and Support
Hehe, i tried with glue, i was have glue on paper on whole house in every corner and i see mouse get arround it. 3 weeks and he didnt catch, i even try with many foods and no success. -
How to do frequency and sound program
akira2891 replied to akira2891's topic in AutoIt General Help and Support
I know there is a devices for that but thats not fun, tu give money for something u can make if its possible -
How to do frequency and sound program
akira2891 replied to akira2891's topic in AutoIt General Help and Support
Im planning to make program + buy speaker and connect to pc speakers untill i dont caught a little beast -
How to do frequency and sound program
akira2891 replied to akira2891's topic in AutoIt General Help and Support
How to make this frequency in kHz + - with slider and dB + - with slider too ? So when i press start to my speakers start to produce that frequency and when i moving slider frequency or sound goes up or down. -
Hi, i have s silly problem with mouses in a house and i heard that ultrasound frequency: 15 - 33 kHz konst and sound 90 - 100 dB anoying them. How can i make this program ? #RequireAdmin #include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <SliderConstants.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> $Form1 = GUICreate("Form1", 440, 219, 688, 348) $Slider1 = GUICtrlCreateSlider(8, 40, 422, 45, $TBS_NOTICKS) GUICtrlSetLimit(-1, 200, 0) GUICtrlCreateLabel("Frequency kHz ( 0-200 kHz )", 16, 16, 140, 17) GUICtrlCreateLabel("Sound in dB ( 0-200 dB )", 18, 93, 120, 17) $Slider2 = GUICtrlCreateSlider(8, 116, 422, 45, $TBS_NOTICKS) GUICtrlSetLimit(-1, 200, 0) $startBtn = GUICtrlCreateButton("Start", 16, 176, 75, 25) $stopBtn = GUICtrlCreateButton("Stop", 104, 176, 75, 25) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd
-
Why u ask that ? Is there any working facebook messenger ? For windows
-
I saw they removed API for messenger that day when they shut off their tool, so it will be hard way to get this to work especialy because i didnt worked with facebook API's never. I have a decent knowledge in php but i will try to make it without php, because for php i need hosting to upload a script with code. But again i think it's a best way to hide browser in background. Anyway thanks for your reply.
-
The combination of AutoIt, PHP and MySQL
akira2891 replied to J2TeaM's topic in AutoIt Example Scripts
U have few things that should be done 1. When u change pass on logged in user -> log off loged in user 2. When u delete user auto log off 3. Logged in user cant delete own account 4. Only admins have rights to create/delete/update users -
Hi, im trying to make a small facebook messenger, but normally that i have problem since im here How to get all friend and chat with them ? over TCP or UDP ? And now window is not hidden but in future will be and process too. Im not so good in explaining things but here is code #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #include <GUIListBox.au3> #include <IE.au3> Global $window = _IECreate('https://www.facebook.com/', 0, 0, 1), $Form1, $login, $email, $password, $stayLogged Local $oWbn = _IEGetObjById($window, "pagelet_welcome_box") If IsObj($oWbn) = 0 Then ;~ MsgBox(0, '', 'not logged') $Form1 = GUICreate("Facebook messenger", 359, 210, 338, 218) GUICtrlCreateGroup("", 10, 8, 337, 137) GUICtrlSetFont(-1, 10, 800, 0, "Calibri") GUICtrlCreateLabel("Email :", 64, 36, 40, 19) $email = GUICtrlCreateInput("", 107, 32, 217, 23) GUICtrlCreateLabel("Password :", 41, 73, 63, 19) $password = GUICtrlCreateInput("", 107, 70, 217, 23, BitOR($GUI_SS_DEFAULT_INPUT,$ES_PASSWORD)) $stayLogged = GUICtrlCreateCheckbox("Stay logged", 107, 104, 97, 17) GUICtrlCreateGroup("", -99, -99, 1, 1) $login = GUICtrlCreateButton("Login", 10, 156, 337, 41) GUICtrlSetFont(-1, 12, 800, 0, "Calibri") GUISetState(@SW_SHOW) Else GUIDelete($Form1) ; if already logged in show other form ;~ MsgBox(0, '', 'logged in') $Form2 = GUICreate("Facebook Chat", 448, 466, 299, 146) $friendlist = GUICtrlCreateList("", 16, 16, 417, 266) $chatwindow = GUICtrlCreateList("", 16, 296, 417, 97) $text = GUICtrlCreateInput("", 16, 392, 417, 21) $sendBtn = GUICtrlCreateButton("Send", 360, 424, 75, 25) $logout = GUICtrlCreateButton("Logout", 16, 424, 75, 25) GUISetState(@SW_SHOW) EndIf While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $login _checkLogin() Case $sendBtn _sendMsg() EndSwitch WEnd ; check login Func _checkLogin() If IsObj($oWbn) = 0 Then ; if not logged in ; check if empty fields If GUICtrlRead($email) == '' Or GUICtrlRead($password) == '' Then MsgBox(64, 'Info', 'Please enter email and password') Else #cs - opens hidden internet explorer window - opens facebook page - get ID's form, email, password, remember me, and submit button - set values from GUI - submit form #ce $formID = _IEGetObjById($window, 'login_form') $emailID = _IEGetObjById($window, 'email') $passID = _IEGetObjById($window, 'pass') $rememberID = _IEGetObjById($window, 'persist_box') $loginBtnID = _IEGetObjById($window, 'u_0_v') _IEFormElementSetValue($emailID, GUICtrlRead($email)) ; set email _IEFormElementSetValue($passID, GuictrlRead($password)) ; set password ; check for stay logged checkbox If GUICtrlRead($stayLogged) = $GUI_CHECKED Then _IEFormElementCheckBoxSelect($formID, 'persistent', '', 1, 'byIndex') Sleep(1000) EndIf _IEFormSubmit($formID) ; submit form EndIf ;=> login form EndIf ;=> if not logged in EndFunc ;=> check login ; send message Func _sendMsg() GUICtrlSetData($chatwindow, GUICtrlRead($text)) EndFunc
-
Question about chat client ( explanation )
akira2891 replied to akira2891's topic in AutoIt General Help and Support
Chat have error http://prntscr.com/8d11mb when i starting server. My bad i started with external ip try to connect 151.252.237.102 1744 -
Question about chat client ( explanation )
akira2891 replied to akira2891's topic in AutoIt General Help and Support
Port is not a problem because it same all time and it opened, ip is and client / server. Client need to have gui with options and firend list as i said already, so when u run client u see friends if u have it and when he go offline hes not on list anymore. -
Question about chat client ( explanation )
akira2891 replied to akira2891's topic in AutoIt General Help and Support
Because i have server that i start on computer and i open port in my router and give it to my friends + real ip, then i must give them client and i must start client + server and we can chat but all in 1 room. But as IP changes every 24 hours its not good. And for diferent type i was mean, i have program with list where is my friends or where i can add firend and see if hes online or offline, but this now i have is list like a chatroom so everyone who start client join in same room, u can see on images up in first post i upload all. -
Question about chat client ( explanation )
akira2891 replied to akira2891's topic in AutoIt General Help and Support
I already have small char program made in autoit but its not connected to webpage and its more like chat room, but i need different type. With php i can make login and fetch all data from database in php script and fetch data from that script in AutoIt with _INetGetSource() My biggest problem is how to make server for all that, where to run it because u cant run exe files on webhost ? -
Question about chat client ( explanation )
akira2891 replied to akira2891's topic in AutoIt General Help and Support
Real xfire was have over 20+ milion users, so it need really nice hosting, but in same time it need good client/server to handle all that. -
Question about chat client ( explanation )
akira2891 replied to akira2891's topic in AutoIt General Help and Support
Xfire closed chat service and made tournament service, so xfire client is closed so as main onld website. I want to try to make program like xfire was, but as i researched a bit on google xfire was made in java, so i asked if this be made in AutoIt. And just to be clear i want try to make it similar like that was with few options on ( for start and test ) : -make webpage ( easy, i already maded few php mysql html css ) -register/login ( over webpage ) -login over client -get friend list -when i click on firend twice new chat window opens so i can chat with him -if i get message or him new window pop-up So all data will be stored on hosting in mysql database. -
Question about chat client ( explanation )
akira2891 replied to akira2891's topic in AutoIt General Help and Support
bump -
[SOLVED] Search specific file or files on Hard disk
akira2891 replied to akira2891's topic in AutoIt General Help and Support
Yea i see and i tested it now, its much faster than @Celtic88, only good thing in hes script is to show where is search but it search too long. Thanks for help.