Jump to content

PaLmeTToX

Members
  • Posts

    9
  • Joined

  • Last visited

About PaLmeTToX

  • Birthday 08/03/1973

Profile Information

  • Location
    Rock Hill , SC

PaLmeTToX's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. ​Thank you . That works great. #include <array.au3> Global $x=0 Global $arr[5] HotKeySet("^c","_stepper") #cs******************************************************************************************************* ////////////////////////////////////////////////////////////////////////////////////////////////////////// \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ #ce******************************************************************************************************* func _stepper() HotKeySet("^c") Send("^c") HotKeySet("^c", "_stepper") $arr[$x]=ClipGet() $x=$x+1 if $x=5 then $x=0 ;_ArrayDisplay($arr) EndFunc #cs******************************************************************************************************* ////////////////////////////////////////////////////////////////////////////////////////////////////////// \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ #ce******************************************************************************************************* While 1 Sleep(300) WEnd
  2. Hello I am trying to store the last 5 clipboard contents to a array. When i run my code, autoit is jumping in front of the system control +c and it is not copying anything to the clipboard. I am stumped, any ideas? Global $x=0 Global $arr[5] HotKeySet("^c","_stepper") #cs******************************************************************************************************* ////////////////////////////////////////////////////////////////////////////////////////////////////////// \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ #ce******************************************************************************************************* func _stepper() MsgBox(0, "Just message", "stepper is called") $arr[$x]=ClipGet() $x=$x+1 if $x=5 then $x=0 MsgBox(0, "Just message",$x) EndFunc #cs******************************************************************************************************* ////////////////////////////////////////////////////////////////////////////////////////////////////////// \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ #ce******************************************************************************************************* While 1 Sleep(500) WEnd
  3. HA, you are awesome. $oForm = _IEFormGetObjByName($oIE, 'loginFormBean') _IEFormSubmit($oForm)That did it. How did that work? I have been beating my head trying to figure this out 'logonFormBean' is the name of the Form?
  4. <td align="right"> <script language="JavaScript"> DrawActionTableTop(); DrawActionRow('sign in','#"onClick="JavaScript:doit()',2 ); DrawActionTableBottom(); </script> I am trying to do a simple login to a webpage. When i view the source of the web page it shows ^^^^ Further in the source the function that it is calling is function doit() { if(validate()) document.loginFormBean.submit(); } My following Autoit code of course is not working to submit the page $oButton=_IEGetObjById($oIE,"sign in") _IEAction ($oButton, "click")How would I click on this button or can i run this command somehow? Sorry for all the code boxes, i could not delete them once added. document.loginFormBean.submit();
  5. Hello All I have an idea that i would like to create a gui that pops up when the middle mouse click & alt is pressed. When pressed a second time it disappears. I would like it to use the MouseGetPos() value to place the gui at the cursor psosition. I am lost and not sure what to do. When I place $aPos = MouseGetPos() inside the loop to refresh the variable , i get error variable is not declared and wont run. When I place the $aPos = MouseGetPos() outside the loop it doesn't refresh the current mouse position and uses the mouse position coordinates at the start of the program and doesn't refresh. Does anyone have any hints? #Region ;************ Includes ************ #Include <GUIConstantsEx.au3> #include <misc.au3> #EndRegion ;************ Includes ************ Example1() Func Example1() Local $msg Local $aPos = MouseGetPos() $GUI2 = GUICreate("CHILD", 110, 10, $aPos[0], $aPos[1]) ; will create a dialog box that when displayed is centered ; Run the GUI until the dialog is closed While 1 Sleep(100) $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop If _IsPressed(04) AND _IsPressed(12) Then If BitAND(WinGetState($GUI2), 2) Then GUISetState(@SW_HIDE, $GUI2) Else GUISetState(@SW_SHOW, $GUI2) EndIf EndIf WEnd GUIDelete() EndFunc ;==>Example1 Thank you for your time
  6. Any suggestions? By the way I changed to shellexecute, the other was popping up a black box on me before it ran #include <misc.au3> While 1 If _IsPressed(04) Then ShellExecute("rundll32.exe","DwmApi #105") Sleep(3000) EndIf sleep(35) WEnd
  7. That did it, thank you both very much
  8. I want this program to run in the background all the time. What it does is when you click the middle mouse button it brings up the Win7 task switcher. When my program runs it runs at about 24% cpu utilization #include <misc.au3> While 1 If _IsPressed(04) Then Run(@ComSpec & " /c " & "C:\Windows\System32\rundll32.exe DwmApi #105") Sleep(3000) EndIf WEnd Does anyone have any ideas? For a different approach, I was also trying to get the hotkeyset to work but could not get it to work with the middle mouse button. HotKeySet("_IsPressed(04)","function") does nothing. Thx for your time
×
×
  • Create New...