
GameIDevelp
Active Members-
Posts
53 -
Joined
-
Last visited
Everything posted by GameIDevelp
-
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.
-
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
-
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
-
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!!!
-
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 .
-
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 ?
-
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 .....
-
How to close a include gui loop .?
GameIDevelp replied to GameIDevelp's topic in AutoIt General Help and Support
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 .. -
How to close a include gui loop .?
GameIDevelp replied to GameIDevelp's topic in AutoIt General Help and Support
nobody know how to close a Gui Child ? -
How to close a include gui loop .?
GameIDevelp replied to GameIDevelp's topic in AutoIt General Help and Support
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 ... ,, -
hello... I have a "main gui" with few buttons , when i click on 1 button she start one include "child gui" that have in it a loop statemet ...how to close the "child gui" not hide "close" ,, and use in continue the "main gui" ...? ---the scene--few notes-- From main gui i click button that start the another gui with "loop while" i need to have a button that close the loop an next use the main gui ,, right now my code when i start the loop i can not use the main gui until i close the child with loop ,,, onley think that worck is click on close button but not worck because close and the main gui ... Can anyone help me with this please .? Thanks...
-
check a file / go to position / begin script again
GameIDevelp replied to slider's topic in AutoIt General Help and Support
i have a tiny exemple for chech file ... but for ocr maybe i have few ideea but is much to worck with you need to learn about pixels... maybe else peoples know .. exemple for chech file .. While 1 IF FileExists("location.test.tif") Then MsgBox(0,"Detect ","file exist - and start the ocr modul ") Else EndIf Sleep(5000) Wend -
,,ohhh ,, this problem it take me I think more that 2 days ,, i need to finish my project .. i not know how to resolve this problem I think imposible problem for me , tiny problem for big guys that know autoit ... i need this to make it worck i not know another way,,, i can progress with my projects untill i resolve this .. . .. Who to ask ,, who to pay for help ,I wanna to pay somebody to make and for me , 1 exemple with 2 "gui" that worck all buttons on it and close 1 win at time and still worck all buttons ,... please .. ? ,, exist areas in this forum where is paypable service .. ?i hop to not delay another days .,,., ..
-
I look at gui exemple for child ... now i use a similar code ,, but my parent "main" gui not worck .. any button not work .. but worck include window to close and show the main gui ... why i can not use the main gui afte close the include gui window .. ? my code . #include <GuiConstants.au3> Global $IniFile $main = GuiCreate("main gui", 300, 120) GUISetState(@SW_SHOW) $but = GUICtrlCreateButton("test button",10,10,200,20) #include <secondgui-child.au3> GUISetState(@SW_SHOW) GuiSetState() Do $msg = GUIGetMsg(1) Select Case $msg[0] = $GUI_EVENT_CLOSE If $msg[1] = $child Then GUISwitch($child) GUIDelete() ElseIf $msg[1] = $main Then GUISwitch($main) GUIDelete() Exit EndIf case $msg = $but msgbox(0,"ddd","ddd") EndSelect Until $msg = $GUI_EVENT_CLOSE and include file ...... #include-once #include <GUIConstants.au3> $child = GuiCreate("child gui", 300, 120) GUISetState(@SW_SHOW) if $test=0 then endIF ---my content ---- without "GuiSetState()" or while .. i not know why the main gui not worck the button ..... can anyone help me , please ? ...
-
still wait to close manul , and not display the main gui win... I not know how to do .... sorry in main gui win I have GuiSetState() Do $msg = GUIGetMsg() Select ;-----Stufff----- EndSelect Until $msg = $GUI_EVENT_CLOSE and in include file i have "while" but now i try and with no while ,,, stiil not work .. just to close automatic the include file gui window and display the main guy ..
-
Hello all ... I have another problem that I dont now how to resolve it ... My exemple cod is .. #include <GUIConstants.au3> GUICreate("test",500, 500) MSgbox(0,"ss","test exit include gui") #include<testgui2.au3> MSgbox(0,"ss","done now can exit ") While 1 WEnd In include au3 file is another Gui Win that look like this code but ,, in my tests i not fine any that make the include gui win to close itself .. and continue to the finish msgbox primarri win gui ... name "test" ,,, Exist somthink that make the Gui window from include file to close itself ..and continue runing the main gui window ..? Thanks ....
-
autoit version 1.71 ,, stil get error at line 107 .
-
,hi.. why I have this error ? \AutoIt3\Include\Icons.au3 (107) : ==> "Func" statement has no matching "EndFunc".: