Jump to content

GameIDevelp

Active Members
  • Posts

    53
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

GameIDevelp's Achievements

Wayfarer

Wayfarer (2/7)

0

Reputation

  1. Does anyone knows how to read the analog pin from arduino ? , getting the value from a pin to autoit ? hmmmmm Can we read directly the "" Serial.print("......"); " from arduino in autoit ?
  2. that's really really exactly what i need , you are the men Melba 23 Thank youuuuuuuuuuuuuuuuuuuuuuuuuuuu. I could save few days if i was ask you since begin.
  3. i think yes i confused you, but no i only needed the keyboard for get an event outside of pc , i like robotics staff ,, i only need a button , keyboard key button to trigger an event so i could use it with autoit , i no need to know what letter button is pressed and even if is a number or simbol, just needed the event , on and off ,, but i see is not a good ideea, thx for the trays i apreciated, And english is not my native language , apologise for that.
  4. so i understand that at each second less then a second will check if ,, well adapting to my need ,, check if i get an input from any ,,, and count as 1 but after the time expire and make again the check and the button is keep pressed and after the time expire will count as 2 ,, it's wrong again becauze it's count 2 and so one after each period, but the key pressed was pressed only 1 time only was keep pushed for loong time, ,, i am wrong?,, I did found something ,, the Control panel Keyboard filter do exactly what i need , i turned on and off and it allow only 1 time to be count ,, even if i press many times or is keept pressed a letter , so is what i need ,, but now i dunno how to open the filter from control panel with autoit and turn it on and off , cuz i get no exe to the control panel application ,,, i use win 10, dunno how to get the handle of it ,, o.o
  5. ahh i see,, it's a new think,, didin't know , i will try think how to use it ,, thx Melba23 Trayed but hmm i think i do not know how to use it ,, i only get differite results with it , each time else value of _Timer_GetIdleTime
  6. only 1 , any key ,, i just need an imput so i can read if is a movement on a mecanical part ,, so any letter is fine
  7. not so, it's count 1 number , only if a fix Letter is pressed like K ,, i use it to count a movement using my keyboard ,, if what i am doing is named keylogger then i give up
  8. The ideea was to count 1 + 1 if a letter is pressed ,, i made this ,, but the problem get's that the keyboard if the letter is pressed and keept pressed it's count milions times so in end i not get only 1 for that letter ... 1 Does anyone have an ideea somehow i can do this ? 2 To disable double press letter , 3 It must count 1 only first time the letter is pressed and ignore all others double,, 4 i remain out of my ideeas arhhht
  9. Hello all .. Can anyone know how to use in same time more time chronometer option ,,, .? >_< I dont now if i explain correcty my problem ,,maybe and hop to see in my exemple code what i mean ... The problem is when i click 1 Button to start count is worck but other buttons not worck in same time ... #include <GUIConstants.au3> GUICreate("Multi Time Count ", 800, 400) $setreset1 = GUICtrlCreateButton("Set Time/Reset",460,5,100,20) $setreset2 = GUICtrlCreateButton("Set Time/Reset",460,30,100,20) $setreset3 = GUICtrlCreateButton("Set Time/Reset",460,55,100,20) $setreset4 = GUICtrlCreateButton("Set Time/Reset",460,80,100,20) $setreset5 = GUICtrlCreateButton("Set Time/Reset",460,105,100,20) $setreset6 = GUICtrlCreateButton("Set Time/Reset",460,130,100,20) $setreset7 = GUICtrlCreateButton("Set Time/Reset",460,155,100,20) $setreset8 = GUICtrlCreateButton("Set Time/Reset",460,180,100,20) $setreset9 = GUICtrlCreateButton("Set Time/Reset",460,205,100,20) $setreset10 = GUICtrlCreateButton("Set Time/Reset",460,230,100,20) GUISetState() Do $msg = GUIGetMsg() Select case $msg = $setreset1 $setresetIM1 = InputBox("insert time ","","") For $countd = $setresetIM1 to 0 Step -1 Sleep(1000) $col1 = GUICtrlCreateLabel($countd,560,5,20,20) GUICtrlSetFont($col1, 8, 800, 0, "MS Sans Serif") GUICtrlSetColor($col1, 0x0000FF) Next Case $msg = $setreset2 $setresetIM2 = InputBox("insert time ","","") For $countd2 = $setresetIM2 to 0 Step -1 Sleep(1000) $col2 = GUICtrlCreateLabel($countd2,560,30,20,20) GUICtrlSetFont($col2, 8, 800, 0, "MS Sans Serif") GUICtrlSetColor($col2, 0x0000FF) Next Case $msg = $setreset3 $setresetIM3 = InputBox("insert time ","","") For $countd3 = $setresetIM3 to 0 Step -1 Sleep(1000) $col3 = GUICtrlCreateLabel($countd3,560,55,20,20) GUICtrlSetFont($col3, 8, 800, 0, "MS Sans Serif") GUICtrlSetColor($col3, 0x0000FF) Next Case $msg = $setreset4 $setresetIM4 = InputBox("insert time ","","") For $countd4 = $setresetIM4 to 0 Step -1 Sleep(1000) $col4 = GUICtrlCreateLabel($countd4,560,80,20,20) GUICtrlSetFont($col4, 8, 800, 0, "MS Sans Serif") GUICtrlSetColor($col4, 0x0000FF) Next Case $msg = $setreset5 $setresetIM5 = InputBox("insert time ","","") For $countd5 = $setresetIM5 to 0 Step -1 Sleep(1000) $col5 = GUICtrlCreateLabel($countd5,560,105,20,20) GUICtrlSetFont($col5, 8, 800, 0, "MS Sans Serif") GUICtrlSetColor($col5, 0x0000FF) Next Case $msg = $setreset6 $setresetIM6 = InputBox("insert time ","","") For $countd6 = $setresetIM6 to 0 Step -1 Sleep(1000) $col6 = GUICtrlCreateLabel($countd6,560,130,20,20) GUICtrlSetFont($col6, 8, 800, 0, "MS Sans Serif") GUICtrlSetColor($col6, 0x0000FF) Next Case $msg = $setreset7 $setresetIM7 = InputBox("insert time ","","") For $countd7 = $setresetIM7 to 0 Step -1 Sleep(1000) $col7 = GUICtrlCreateLabel($countd7,560,155,20,20) GUICtrlSetFont($col7, 8, 800, 0, "MS Sans Serif") GUICtrlSetColor($col7, 0x0000FF) Next Case $msg = $setreset8 $setresetIM8 = InputBox("insert time ","","") For $countd8 = $setresetIM8 to 0 Step -1 Sleep(1000) $col8 = GUICtrlCreateLabel($countd8,560,180,20,20) GUICtrlSetFont($col8, 8, 800, 0, "MS Sans Serif") GUICtrlSetColor($col8, 0x0000FF) Next Case $msg = $setreset9 $setresetIM9 = InputBox("insert time ","","") For $countd9 = $setresetIM9 to 0 Step -1 Sleep(1000) $col9 = GUICtrlCreateLabel($countd9,560,205,20,20) GUICtrlSetFont($col9, 8, 800, 0, "MS Sans Serif") GUICtrlSetColor($col9, 0x0000FF) Next Case $msg = $setreset10 $setresetIM10 = InputBox("insert time ","","") For $countd10 = $setresetIM10 to 0 Step -1 Sleep(1000) $col2 = GUICtrlCreateLabel($countd10,560,230,20,20) GUICtrlSetFont($col10, 8, 800, 0, "MS Sans Serif") GUICtrlSetColor($col10, 0x0000FF) Next ;------------------------------------------------------------------ EndSelect Until $msg = $GUI_EVENT_CLOSE Thanks!!!
  10. sorry for problem that i make .... Where to ask about obfuscator problem .? I will not post on this page again . You not read my first post on this page where is code " in the code not exist any errors" because is an exemple of library autoit .
  11. the right way is to obfuscate the code and next think is to compile normali right .? For my first problem ,, a guy from this forum ( i dont now if a can put there username) she tell me the problem is #include files ,,,, ,,, i resolve that problem , now I can obfuscate the code ,, but when I execute te exe file I have a Global$ Error ..(see img) , where is my mistake ?
  12. I start testing and me Obfuscator so I am newbie .. I start a exemple with this code .... #include <GuiConstants.au3> ; GUI GuiCreate("Sample GUI", 400, 400) GuiSetIcon(@SystemDir & "\mspaint.exe", 0) ; MENU GuiCtrlCreateMenu("Menu&One") GuiCtrlCreateMenu("Menu&Two") GuiCtrlCreateMenu("MenuTh&ree") GuiCtrlCreateMenu("Menu&Four") ; CONTEXT MENU $contextMenu = GuiCtrlCreateContextMenu() GuiCtrlCreateMenuItem("Context Menu", $contextMenu) GuiCtrlCreateMenuItem("", $contextMenu);separator GuiCtrlCreateMenuItem("&Properties", $contextMenu) ; PIC GuiCtrlCreatePic("logo4.gif",0,0, 169,68) GuiCtrlCreateLabel("Sample pic", 75, 1, 53, 15) GuiCtrlSetColor(-1,0xffffff) ; AVI GuiCtrlCreateAvi("sampleAVI.avi",0, 180, 10, 32, 32, $ACS_AUTOPLAY) GuiCtrlCreateLabel("Sample avi", 170, 50) ; TAB GuiCtrlCreateTab(240, 0, 150, 70) GuiCtrlCreateTabItem("One") GuiCtrlCreateLabel("Sample Tab with tabItems", 250, 40) GuiCtrlCreateTabItem("Two") GuiCtrlCreateTabItem("Three") GuiCtrlCreateTabItem("") ; COMBO GuiCtrlCreatecombo("Sample Combo", 250, 80, 120, 100) ; PROGRESS GuiCtrlCreateProgress(60, 80, 150, 20) GuiCtrlSetData(-1, 60) GuiCtrlCreateLabel("Progress:", 5, 82) ; EDIT GuiCtrlCreateEdit(@CRLF & " Sample Edit Control", 10, 110, 150, 70) ; LIST GuiCtrlCreateList("", 5, 190, 100, 90) GuiCtrlSetData(-1, "a.Sample|b.List|c.Control|d.Here", "b.List") ; ICON GuiCtrlCreateIcon("shell32.dll", 1, 175, 120) GuiCtrlCreateLabel("Icon", 180, 160, 50, 20) ; LIST VIEW $listView = GuiCtrlCreateListView("Sample|ListView|", 110, 190, 110, 80) GuiCtrlCreateListViewItem("A|One", $listView) GuiCtrlCreateListViewItem("B|Two", $listView) GuiCtrlCreateListViewItem("C|Three", $listView) ; GROUP WITH RADIO BUTTONS GuiCtrlCreateGroup("Sample Group", 230, 120) GuiCtrlCreateRadio("Radio One", 250, 140, 80) GuiCtrlSetState(-1, $GUI_CHECKED) GuiCtrlCreateRadio("Radio Two", 250, 165, 80) GUICtrlCreateGroup ("",-99,-99,1,1) ;close group ; UPDOWN GuiCtrlCreateLabel("UpDown", 350, 115) GuiCtrlCreateInput("42", 350, 130, 40, 20) GuiCtrlCreateUpDown(-1) ; LABEL GuiCtrlCreateLabel("Green" & @CRLF & "Label", 350, 165, 40, 40) GuiCtrlSetBkColor(-1, 0x00FF00) ; SLIDER GuiCtrlCreateLabel("Slider:", 235, 215) GuiCtrlCreateSlider(270, 210, 120, 30) GuiCtrlSetData(-1, 30) ; INPUT GuiCtrlCreateInput("Sample Input Box", 235, 255, 130, 20) ; DATE GuiCtrlCreateDate("", 5, 280, 200, 20) GuiCtrlCreateLabel("(Date control expands into a calendar)", 10, 305, 200, 20) ; BUTTON GuiCtrlCreateButton("Sample Button", 10, 330, 100, 30) ; CHECKBOX GuiCtrlCreateCheckbox("Checkbox", 130, 335, 80, 20) GuiCtrlSetState(-1, $GUI_CHECKED) ; TREEVIEW ONE $treeOne = GuiCtrlCreateTreeView(210, 290, 80, 80) $treeItem = GuiCtrlCreateTreeViewItem("TreeView", $treeOne) GuiCtrlCreateTreeViewItem("Item1", $treeItem) GuiCtrlCreateTreeViewItem("Item2", $treeItem) GuiCtrlCreateTreeViewItem("Foo", -1) GuiCtrlSetState($treeItem, $GUI_EXPAND) ; TREEVIEW TWO $treeTwo = GuiCtrlCreateTreeView(295, 290, 103, 80, $TVS_CHECKBOXES) GuiCtrlCreateTreeViewItem("TreeView", $treeTwo) GuiCtrlCreateTreeViewItem("With", $treeTwo) GuiCtrlCreateTreeViewItem("tvs_checkboxes", $treeTwo) GuiCtrlSetState(-1, $GUI_CHECKED) GuiCtrlCreateTreeViewItem("Style", $treeTwo) ; GUI MESSAGE LOOP GuiSetState() While GuiGetMsg() <> $GUI_EVENT_CLOSE WEnd But the uotput Line I have "Can't open file c:\Documents and Settings\more\Desktop\" and can not obfucate the code .. where i mistake .? And for another code that worck to obfuscate , when i compile to exe ,, and execute the exe she get me a Global$ var error and not worck the Program .....
  13. I have a GUI ..... a Window with few Buttons on IT . When I click 1 Button Shee Start a another GUI Window With Loop Function on IT ,,, BUT i do not now How to close the GUI window that I start It when I click on Button ,, this I dont now .... ---Update--------------------------------------------- I think I resolve a tiny think .... just with ExitLoop ..
  14. nobody know how to close a Gui Child ?
  15. i need for run a Function with IF $var =*** in Loop statemet ... and start then when I click on button in main gui... I need a loop for chech and again chech somthink function's and I do this with Loop statement in gui child but I use a "main gui " like menue for starting this tool and close ,,, but i know just for starting for close the tool i dont now ... ,,
×
×
  • Create New...