Jump to content

Manjish

Active Members
  • Posts

    535
  • Joined

  • Last visited

About Manjish

  • Birthday 05/11/1986

Profile Information

  • Member Title
    !!DT!!
  • Location
    Pune -- India

Recent Profile Visitors

634 profile views

Manjish's Achievements

Universalist

Universalist (7/7)

5

Reputation

  1. check IECreate() in Help file.
  2. to answer your second question: Go to the "Include" folder and checkout the Excel.au3 UDF. Or alternatively go to contents of helpfile and checkout the Excel Management. Also, if you need to make your own function in Excel, the best way is to record a macro to do whatever you want and the export that code into autoit.
  3. Check the GUI functions in help file and the Run function, to open the programs you want.
  4. Do a stringsplit() with "." as the seperator.
  5. @ Martin, True.
  6. There is no function called RunAsSet() and you have two calls for this function, due to which you are getting compilation errors. I don't know what you want to do with this function, but as I see it you have two options: 1) Define the function. 2) Use some standard function like RunAsWait() in it's place.
  7. In mouseclick you need to specify both x and y co-ordinates. Please read help file.
  8. yes it's very possible.. Put mouseclick in a for loop and everytime subtract $i*$dec from x and y co-ordinates. where $dec is the value u want to lower coordinates with. like this for $i=1 to $whatever MouseClick(($x-($i*$dec)),($y-($i*$dec))) Next
  9. @ Manadar Amazing one!! I was literally: rolling on the floor laughing!!
  10. From the help file: Opt("OnExitFunc", "endscript") MsgBox(0,"","first statement") Func endscript() MsgBox(0,"","after last statement " & @EXITMETHOD) ;killprocess() EndFunc Define what process you want killed in endscript function
  11. The script executes once and says that there are no users in the chat and exits. If you want it to check again and again.. put it in a loop.. I didn't really understand your problem.. as far as I see it, your script it working exactly as it should.. Pls clarify
  12. Here's how you can go about it: Define your x and y co-ordinates in $x and $y. If PixelGetColor($x,$y)=0xff0000 Then MouseClick("left",$x,$y) EndIf
  13. This is what you need: #include <GUIConstantsEx.au3> #include<GUIlistview.au3> $Form1_1 = GUICreate("ShadowPOS", 801, 601, 217, 156) $List1 = GUICtrlCreateListView("Codbar|Produs", 22, 120, 300, 260,"",$LVS_EX_CHECKBOXES) GUICtrlCreateListViewItem("asd|asdsub", $list1) GUICtrlCreateListViewItem("fds|fdsdsf", $list1) GUICtrlCreateListViewItem("asdasd|fdsdsf", $list1) $List2 = GUICtrlCreateListView("Item1|Item2", 350, 120, 300, 260) $insert = GUICtrlCreateButton("INSERT", 505, 470, 65, 57) guisetstate(@sw_show) while 1 $msg=GUIGetMsg() Switch $msg Case $gui_event_close Exit Case $insert For $i=0 to _GUICtrlListView_GetItemCount($List1) If _GUICtrlListView_GetItemChecked($List1,$i) Then $c=_GUICtrlListView_GetItemCount($List2) _GUICtrlListView_AddItem($List2,_GUICtrlListView_GetItemText($List1,$i,0)) _GUICtrlListView_AddSubItem($List2,$c,_GUICtrlListView_GetItemText($List1,$i,1),1) EndIf Next EndSwitch WEnd
  14. @OP why don't you try the adlib functions. There you can specify after how many second should the function for polling data be called. Please check help file for : AdlibEnable ()
  15. Shouldn't this be in "Example scripts"?
×
×
  • Create New...