Jump to content

astrax

Active Members
  • Posts

    25
  • Joined

  • Last visited

astrax's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Thanks! this will be helpful
  2. Hi, I have a program GUI that needs to allow # of trial date before it will not launch anymore. I've noticed that with some code, user can easily trick the program to allow it running by changing the system date on the PC. Is there anyway to avoid this flaw? please help! Thanks
  3. Hi I need help writing a script to enable/disable hotkeys in a function. I got the first part correct where the checkbox needs to be checked before any hotkeys can activate. But the disabled part i need help with. Here's my example Case $Checkbox If GUICtrlRead($Checkbox) = $GUI_UNCHECKED Then Off() Else On() EndIf Func On() HotKeySet("F1", "Start") EndFunc Func Off() ;disable all hotkeys. EndFunc
  4. have you tried putting #include <FF.au3> into the script? you'd get an error on execution.. i've looked into that already.. Any others that works?
  5. what is the keyword to search for? i've tried it and alot of stuff came up but nothing i was looking for
  6. Hey guys, I know IE has a library #include <IE.au3> but what about Firefox? Is there such a library for it?
  7. Something like this but it's not in a working state. this is the idea #include <GuiConstantsEx.au3> #include <IE.au3> Global $GUI, $button $GUI = GUICreate("test" , 100, 50, -1, -1) $button = GUICtrlCreateButton("check", 5, 10, 50) GUISetState() While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE Exit Case $button WinActivate("Google") WinSetOnTop("Google", "", 1) If _IESearch("Over") Then ;search for the word 'Over' in google IE window. Obviously it doesn't work due to _IESearch is not a function MsgBox(0, "Word Over Found") Else MsgBox(0, "Word Over Not Found") EndIf EndSwitch WEnd
  8. No, i'd have a GUI with a button. When i click the button it would check active IE/Firefox window and return with word found or not.
  9. Hi, I'm trying to write a script that searches for a specific key word in IE window or Firefox window. If key word key found then pop up box stating so. Is it possible to do so?
  10. I found a way to do it.. thanks for the code. Case $Submit $RmSp = StringStripWS(GUICtrlRead($input), 8) sub()
  11. I'm not sure how i'd apply this. I have a text box ($input) asking for user input, the click of a button ($submit) will check the string for space and remove it. Would it be correct if i write it like this? case $submit StringStripWS($input, 8) sub()
  12. Hi, Please help me write a short script that checks for space character and remove it. Thank you for assisting.
  13. Thank you all for helping.. Greatly appreciated.. cheers
  14. Hi, please help me load the saved data back into the field. Thank you much #include <GUIConstants.au3> $gui = GUICreate("test", 300, 100) $input1 = GUICtrlCreateInput("", 10, 10, 250, 30) $input2 = GUICtrlCreateInput("", 10, 40, 250, 30) $SaveBnt = GUICtrlCreateButton("Save", 15, 70, 50, 30) $loadBnt = GUICtrlCreateButton("Load", 100, 70, 50, 30) $iniFile = @ScriptDir & "\test.ini" GUISetState() While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $SaveBnt Save() Case $loadBnt Load() EndSwitch WEnd Func Save() IniWrite($iniFile, "Input1", "Message", GUICtrlRead($input1)) IniWrite($iniFile, "Input2" , "Message", GUICtrlRead($input2)) EndFunc Func Load() $saved = IniReadSectionNames($iniFile) EndFunc
  15. I like to see this working too, can someone please fix it? greatly appreciated
×
×
  • Create New...