
Abu Rashid
Members-
Posts
18 -
Joined
-
Last visited
Everything posted by Abu Rashid
-
_IE - Submit form with no name property
Abu Rashid replied to Abu Rashid's topic in AutoIt General Help and Support
Thanks Dale, actually I have a copy of IE Builder here, much easier. -
_IE - Submit form with no name property
Abu Rashid replied to Abu Rashid's topic in AutoIt General Help and Support
Thanks Dale, worked a treat. zerocool thanks for trying. Just curious is there any easy way to find out the indexes of items in the collections returned? Trial and error is becoming a little boring. -
_IE - Submit form with no name property
Abu Rashid posted a topic in AutoIt General Help and Support
Hi, I'm trying to submit a form with the _IE UDF's, but unfortunately the input element doesn't have a name property, any way to get a handle on the button without the name property? <input type="submit" tabindex="3" value="Click Me"> -
I searched for this one in the forums and couldn't find it, but I'm sure someone is now going to post a link to a thread discussing it. I want to make a drive-select combobox, so I want to put icons into a combobox, is this possible with autoit?
-
gafrost, Apologies for using the term glitch. I used it exactly as it is, in the example code shown under the UDF section in the help file.
-
The control is created with a blank text field, but the problem is after an item is selected, there is a "Clear" button which should clear the combo, but not clear the list items. GUICtrlSetData replaces the list items.
-
I've noticed the same glitch, I was thinking you probably need to catch the event of the combo list being opened and makesure it doesn't do auto-complete in this case. Another question I have which I'm unable to fidn in the help file about combo's is how to set the text to nothing. GUICtrlSetData seems to only be able to set the entire list to nothing, rather than just the control's displayed text.
-
What is needed to make gui fixed size (no resize)
Abu Rashid replied to sshrum's topic in AutoIt GUI Help and Support
$WS_MAXIMIZEBOX 0x00010000 Creates a window that has a maximize button. Cannot be combined with the WS_EX_CONTEXTHELP style. The WS_SYSMENU style must also be specified. $WS_SIZEBOX 0x00040000 Creates a window that has a sizing border. Same as the WS_THICKFRAME style. Its all there in the help files. Also if you use Scite, try creating a GUI with the Koda tool and then play around with its options to see what they do. -
Thanks smoke, I gathered that now. I did realise before this was for UDF's, however I wasn't aware there were "official" UDF's actually documented in the helpfile, I assumed they were just contributions of users supported only by the users who created them.
-
ok, it's under the UDF section. thanks.
-
either I'm just not looking hard enough, or it's really well hidden, but I can't seem to find it anyway in the 3.2 help file.
-
I didn't notice a new version released. I had the latest beta version 3.1.1.133 I think. Will check latest stable release, thanks for your time.
-
gafrost, I didn't find anything in the help on this issue. Also "_GUICtrlComboAutoComplete" I could not find anywhere, can you please elaborate on this?
-
Well I guess I only searched for "combobox autocomplete" which doesn't bring up that thread. also that is not exactly the kind of autocomplete I want, as it gives a dropdown rather than just autocompleting the actual text you're typing. Thanks anyway though, it might have to do.
-
Hi, I've searched the forums for this question without luck. Is it possible to have auto-complete in a Combobox, so that as you type something into a Combobox it auto-completes the word from the list. Thanks.
-
As stated the point of the script is to save clicks. And why even bother going to start->run Just press windws-key + r. Also the ability to warn others users logged in is one of the main features here, not just getting the PC shut down.
-
Purpose: To be able to easily shutdown a PC you are connected to in an RDP (Remote Desktop) session, and also give other users logged in the ability to cancel the shutdown or save their work. I mainly wrote this because there is no shutdown option on the start menu in an RDP session, you need to open the task manager and select turn off from the shutdown menu. So this is a shortcut, and it also has a few other features like allowing the user to cancel the shutdown (Provided by Beyondexec). #Include <process.au3> #include <GuiConstants.au3> Opt("WinTitleMatchMode", 4) Opt("GUIOnEventMode", 1) ; Change to OnEvent mode FileInstall("c:\shutdown.jpg", @TempDir & "\"); Files to include, you must copy these to c:\ obviously before compiling. FileInstall("c:\turnoff.bmp", @TempDir & "\") FileInstall("c:\reboot.bmp", @TempDir & "\") FileInstall("c:\cancel.bmp", @TempDir & "\") FileInstall("c:\bexec.exe", @TempDir & "\") $mainwindow = GuiCreate("Remote Shutdown", 314, 200, @DesktopWidth / 2 - 157, @DesktopHeight / 2 - 100, $WS_POPUP); Create GUI GuiSetIcon("shell32.dll", 27) GUISetOnEvent($GUI_EVENT_CLOSE, "CLOSEClicked") GUICtrlCreatePic(@TempDir & "\shutdown.jpg", 0, 0, 314, 200); Use Picture of Windows Shutdown Dialog GUICtrlSetState(-1, $GUI_DISABLE) $button1 = GUICtrlCreateButton ("", 141,81,33,33,$BS_BITMAP,); Replace buttons we need to use with our own GUICtrlSetImage(-1, @TempDir & "\turnoff.bmp") GUICtrlSetOnEvent(-1, "button1") $button2 = GUICtrlCreateButton ("", 226,81,33,33,$BS_BITMAP) GUICtrlSetImage(-1, @TempDir & "\reboot.bmp") GUICtrlSetOnEvent(-1, "button2") $button3 = GUICtrlCreateButton ("", 243,168,61,21,$BS_BITMAP) GUICtrlSetImage(-1, @TempDir & "\cancel.bmp") GUICtrlSetOnEvent(-1, "CLOSEClicked") GUISwitch($mainwindow) GUISetState(@SW_SHOW) While 1 Sleep(1000) WEnd Func button1() ; User selected to turn off PC GUISetState(@SW_HIDE) _RunDos(@TempDir & "\bexec \\" & @ComputerName & " -d shutdown -f -m ""Shutdown procedure has been initiated by " & @Username & """" ) Exit EndFunc Func button2() ; User selected to reboot PC _RunDos(@TempDir & "\bexec \\" & @ComputerName & " -d reboot -f -m ""Reboot procedure has been initiated by " & @Username & """" ) Exit EndFunc Func CLOSEClicked() ; User cancelled Shutdown procedure or pressed alt-f4 ; So we exit script. Exit EndFunc Icon and images are attached in zip file. Shutdown.zip
-
Wouldn't the password option just defeat the whole point of the program? If you just want password lockout then just select "Show welcome screen on resume" in your screensaver settings The whole idea of the program is that the USB drive and *only* the USB drive can unlock it, I think.