
Damien56546
Active Members-
Posts
26 -
Joined
-
Last visited
Damien56546's Achievements

Seeker (1/7)
0
Reputation
-
Thanks. That works great. Finally, I want to add in so that it sends the email once it opens up. I can't use : Send("^s") Why ?
-
$Body = 'Hello, this is just a message to inform you that your Harnessweb account has been setup for the Victoria Database with the password you requested at the time. Please note that your username to login is '& $username ^^ THIS works, when the email opens up it includes what I type in the box. But I can't write anything after that. I want to add text after the username is put in. How do I keep writing? I'm getting errors.
-
Just a little notifier script: I've got it for the most part working: #include <INet.au3> $Address = InputBox('Address', 'Enter the E-Mail address to send message to') $subject= "New Account" $Username = InputBox('Enter client Username', 'Enter Clients username') $username2=GUICtrlRead($Username) $Body = 'Hello, your username is $username2' MsgBox(0,'E-Mail has been opened', & _INetMail($address, $subject, $body)) Slight problem, I want to be able to put the 'username' that is entered into the box, into the body of the message. Not too sure how to go about it ? Is it possible ? Another thing, is there a way to get rid of that autoit icon in the top left of the entry boxes? This isn't a big deal. Thankyou.
-
Omg duh Thanks
-
Hi, I am working on a little Kiosk PC app for work. I've managed to restrict it so that only internet explorer runs (not even the shell) and I have shortcut buttons to my compiled exe's on the toolbar. I have a shutdown, restart, and an 'unlock' button, (which executes explorer.exe and if the password is correct) Now, I was wondering if there is a way to have it query a password in active directory, rather than having the password set as just a word. For example, the Domain Administrator password is 12345, if that was changed to 123456, my unlock/shutdown passwords would be changed too. Is that possible? If not I suppose I will look into storing the password in a text file somewhere on the PC, it's not of a high importance and you can't browse the PC without unlocking it first anyway. Thanks
-
Hi, I am using WinClose() But I don't want to specify title, I want it to shut all windows that are currently open. Is there a reg expression that covers ALL possibilities? how to do that ? Cheers.
-
I think ti has to be in a loop to continuously check if it's running?
-
Thanks, is there an on exit function?
-
Hi everyone! Just after a bit of help. Basically, I want a simple script that will initiate a logoff if internet explorer is closed. Is this possible? I don't really know where to start. I had a script that automatically opened up CMD when I did something, like open up a certain page. So I think it's possible. If anyone has something similar or would be willing to help me out it would be greatly appreciated. Merry Xmas
-
Can anyone look at this and point me in the right direction to get it right. The windows keep opening, when the buttons pressed. I only want one instance. Like a tab thing at the top. GUICreate("Recipe Management v1.3", 1280, 1054) GUISetState() $button1= GUICtrlCreateButton("Planner", 1, 0, 160, 160) $button2=GUICtrlCreateButton("Recipes", 160, 00, 160, 160) $button3=GUICtrlCreateButton("Shopping", 320, 00, 160, 160) $button4=GUICtrlCreateButton("Inventory", 480, 00, 160, 160) $button5=GUICtrlCreateButton("Phonebook", 640, 00, 160, 160) $button6=GUICtrlCreateButton("System Settings", 800, 00, 160, 160) $buttonclose=GUICtrlCreateButton("Shutdown", 960, 00, 160, 160) GUICtrlCreateDate("Hello", 333, 333, 192, 122) ; Run the GUI until the dialog is closed While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE ExitLoop Case $button1 GUICreate("Planner", 1100, 890, 122, 126, $WS_POPUPWINDOW) GUISetFont(20, 400, 2, $font) ; will display underlined characters GUICtrlCreateLabel("New Week", 222, 222) GUICtrlCreateLabel("View Weekly Plan", 222, 292) GUICtrlCreateLabel("Swap & Replace", 222, 342) GUICtrlCreateLabel("View Calander", 222, 422) $buttonremind=GUICtrlCreateButton("Add Reminder", 222, 382); GUISetState() ; ; Case $button2 GUICreate("Recipe Screen", 1100, 890, 122, 126, $WS_POPUPWINDOW) GUISetFont(20, 400, 2, $font) ; will display underlined characters GUICtrlCreateLabel("Add Recipe To Database", 222, 222) GUICtrlCreateLabel("Make Today's Recipe", 222, 292) GUICtrlCreateLabel("Search For Recipe", 222, 342) GUICtrlCreateLabel("Print A Recipe", 222, 392) GUICtrlCreateButton("Print A Recipe", 222, 392) GUISetState(@SW_SHOW) Case $button3 GUICreate("Background", 1100, 890, 122, 126, $WS_POPUPWINDOW) GUISetState(@SW_SHOW) ; Case $button4 ; Case $button5 GUICreate("Phonebook", 1100, 890, 122, 126, $WS_POPUPWINDOW) GUISetFont(20, 400, 2, $font) ; will display underlined characters GUICtrlCreateLabel("Add Contact", 222, 222) GUICtrlCreateLabel("Search For Contact", 222, 292) GUISetState(@SW_SHOW) ; Case $button6 GUICreate("settings", 1100, 890, 122, 126, $WS_POPUPWINDOW) GUISetFont(20, 400, 2, $font) ; will display underlined characters GUICtrlCreateLabel("Item Management", 222, 222) GUICtrlCreateLabel("Video Surveillance ", 222, 292) GUICtrlCreateLabel("Backup/Restore Database ", 222, 342) GUICtrlCreateLabel("Email Settings", 222, 392) GUICtrlCreateLabel("Date & Time", 222, 432) GUISetState(@SW_SHOW) ; Case $buttonclose ExitLoop Case Else EndSwitch WEnd GUIDelete() EndFunc ;==>_Main
-
Thanks, but that is SQL lite I am using mysql.au3 Is there a big list of eaxmples, the ones on the UDF page aren't enough for me .
-
Yes. I just want to know how to display the records/queries i do
-
Hello. So I've got the driver installed, and it's working. I ran a few of the scripts on the main page and it's retrieving table names etc. So Autoit and MYSQL are speaking with each other.. Yay!!! I can't believe nothing screwed up. Now.... I'm working on a lil' program. I want to be able to run a few queries and display them in the GUI, be it as a label, or a textbox?? Eg SELECT * from recipes where recipename = "NAME" .. And then have them displayed in the app, not dumped to a text file. Can anyone help me out ? Finally, while I'm here..... If I've got the GUI up, and I have a couple of buttons, I can make them clickable and open a new GUI, but that appears over the top. Can I make it so that when a buttons pressed, GUI1 closes and GUI2 opens, or even have it all as one gui that changes?! I hope you understand what I mean. Thanks in advance, Damien.
-
That one unfortunantly doesnt work at all, even with xxx.xxx.xx.xx in front
-
Yep that's the one !