Leaderboard
Popular Content
Showing content with the highest reputation on 03/19/2012 in all areas
-
[HELP] suggests Adf.ly Bot source code
DeltaRocked and one other reacted to Mobius for a topic
Jeez JScript chill out, just report the punk and go about your day.2 points -
Hi! Today I want to show you my current AutoIt project: The ISN AutoIt Studio. The ISN AutoIt Studio is a complete IDE made with AutoIt, for AutoIt! It includes a GUI designer, a code editor (with syntax highlighting, auto complete & intelisense), a file viewer, a backup system, trophies and a lot more features!! Here are some screenshots: Here some higlights: -> easy to create/manage/public your AutoIt-projects! ->integrated GUI-Editor (ISN Form Studio 2) ->integrated - file & projectmanager ->auto backupfunction for your Projects ->extendable with plugins! ->available in several languages ->trophies ->Syntax highlighting /Autocomplete / Intelisense ->Dynamic Script ->detailed overview of the project (total working hours, total size...) And much more!!! -> -> Click here to download ISN AutoIt Studio <- <- Here is the link to the german autoit forum where I posted ISN AutoIt Studio the first time: http://autoit.de/index.php?page=Thread&threadID=29742&pageNo=1 For more information visit my Homepage: https://www.isnetwork.at So….have fun with ISN AutoIt Studio! PS: Sorry for my bad English! ^^1 point
-
LAST VERSION - 1.3 28-Oct-11 The library allows to create HotKey Input control by using the low-level keyboard hook. This UDF is designed specially to support the >HotKey UDF library but it can be used separately. Please look at the example below to understand how it works. For more information, see detailed descriptions of all functions inside the library. Available functions HotKeyInput UDF Library v1.3 Previous downloads: 2564 HotKeyInput.au3 Example #Include <GUIConstantsEx.au3> #Include <HotKeyInput.au3> Global $Form, $HKI1, $HKI2, $Button, $Text $Form = GUICreate('Test', 300, 160) GUISetFont(8.5, 400, 0, 'Tahoma', $Form) $HKI1 = _GUICtrlHKI_Create(0, 56, 55, 230, 20) $HKI2 = _GUICtrlHKI_Create(0, 56, 89, 230, 20) ; Lock CTRL-ALT-DEL for Hotkey Input control, but not for Windows _KeyLock(0x062E) GUICtrlCreateLabel('Hotkey1:', 10, 58, 44, 14) GUICtrlCreateLabel('Hotkey2:', 10, 92, 44, 14) GUICtrlCreateLabel('Click on Input box and hold a combination of keys.' & @CR & 'Press OK to view the code.', 10, 10, 280, 28) $Button = GUICtrlCreateButton('OK', 110, 124, 80, 23) GUICtrlSetState(-1, BitOR($GUI_DEFBUTTON, $GUI_FOCUS)) GUISetState() While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE Exit Case $Button $Text = 'Hotkey1: 0x' & StringRight(Hex(_GUICtrlHKI_GetHotKey($HKI1)), 4) & ' (' & GUICtrlRead($HKI1) & ')' & @CR & @CR & _ 'Hotkey2: 0x' & StringRight(Hex(_GUICtrlHKI_GetHotKey($HKI2)), 4) & ' (' & GUICtrlRead($HKI2) & ')' MsgBox(0, 'Code', $Text, 0, $Form) EndSwitch WEnd1 point
-
Arduino GUI Programmer
Qwerty212 reacted to nikosliapis for a topic
The latest version of the GUI Programmer: Vesion Changes : 0.22) Bug fixed when loading Rule for modifying 0.23) Adds the ability to set a Counter to a fixed value so that the user can "reset" the value of a Counter 0.24) Bug fixed: used to add a space infront of the Counters in inputs causing problems to simulator Fixe the _check_syntax() function to accept 0 as value when output is a counter 0.25) - Prevent user entering a pin name containing the words "Virtual_Coil" or "Counter" because causes problems on the function _update_rule_combos_others() - Adds the autocomplete choise when apllying a new rule, which automatically creates another opposite rule For example: if a rule is * Pin_0 = HIGH ==> Pin_5 = HIGH * then the rule * Pin_0 = LOW ==> Pin_5 = LOW * will be automatically created 0.26) - Changed the generated code regarding Counters (each Counter will increase or dicrease only on input toggle) 0.27) - Show the Project name on the window title - Help is available under "Help-How to" 0.28) - The settings combos are disabled only if they have been used inside a Rule 0.29) - Adds the abbility to use an Output as Input (Further testing required) 0.30) - Bug fixed: Pin_A5 was not updated to the rule combos - New feature that enables user to compare 2 analog pins - Improve the generated code conserning the expression feature. (Use of the constrain() Arduino command to limit the values and not if...then) - Improve the generated code conserning analog inputs. (Map the values of AI to a range of 0-255 when reading the pin and not when writing the corresponting output. By doing the mapping at the begining there is no need to remap when comparison of analog pins) - Change the header(top line) of the saved project (This is done so older versions of Arduino Simulator(V0.06 and below) wont open projects with the comparison feature, because they can't handle the rules.) - Bug fixed: Wrong project name when "save as" 0.31) - Minor change in the order of the comparator when comparing analog pins (Division is the default selection) - Show tip text associated with the controls 0.32) - Prevent user entering a pin name containing the character "", because it is used as delimiter at the "Boole calc" function and may create problems. - Bug fixed: When the number of created rules where over 30 they didn't fit at the rule selection combo. Now a scrollbar appears if needed - Three new alternative ways to create rules are added: 1) Boolean Calculator: A calculator like GUI Window that allows the user to create Logical (Boolean) Expressions which are automatically transfered to Rules. 2) Boolean Truth Table (2 Inputs): A Truth Table ready for 2 inputs and 1 output. The entered data are automatically transfered to Rules. 3) Boolean Truth Table (custom Inputs): A generalized Truth Table able to handle more inputs (1-9) 0.33) - Add a space option along with the "AND" and "OR" options in the rule combos - Bug fixed: When the number of inputs is three and above then the opossite rules regarding Virtual Coils are also created. - Bug fixed: Changed the way that counts the open and closed parentheses in the _create_output_from_bool_expression function - When using Bool calculator, user can create an expression with an "Not" in the output to invert the output - Bug fixed: Button 13 on Bool Calculator was not functioning. (An empty label was overlaping) - Changed the symbols for "AND" , "OR" on boole calculator. Now the symbols are: AND -> "*" OR -> "+" - Remove the counters from the combos on bool functions 0.34 - Add the "Preview Truth Table" feature on the Bool Calculator - Some syntax check of the expression in the Bool Calculator - In the "Boolean Truth Table (Custom Inputs)" tool all the possible states of inputs are automatically created - Change the label showing the maximum number of inputs on the "Boolean Truth Table (Custom Inputs)" tool according to the daclared Digital Inputs - Add the "Fill Inputs" button on the "Boolean Truth Table (Custom Inputs)" tool, which automatically sets all the possible states of the inputs - Bug fixed: Program crash when rule was deleted twise - Add a Clear Rules option under the Clear Settings Button 0.35 - Use of a much better way to generate Rules when the "Boole's Calculator" or "Boole's Truth table" are used. The generated Rules and the Virtual Coils used are much less. Arduino Programmer V0.30.au3 Arduino Programmer V0.35.au3 The latest version of the Arduino pseudo simulator: Vesion Changes : 0.02) Counters increase (or dicrease) only when the triger input changes condition 0.03) Bug fixed: Counters were not increased (or dicreased) correctly when the same counter was declared in more than one rule 0.04) Display the type of each pin next to the pin 0.05) Create a list view which shows the rules of the project, so that the user can check on them when testing Show the name of the current project on the window title Bug fixed: Delete the labels that shows the pin state when a second project is opened When the project doesn't have any Rules, Display an error message The How to... under the help menu is active 0.06) Show the pin name next the pin 0.07) Corrections made to handle the new "Compare" feature 0.08) Show control tips when mouse hovers over them 0.09) User can view in real time the states and values of Virtual Coils and Counters Arduino Simulator V0.07.au3 Arduino Simulator V0.09.au3 And some simple examples: Examples.zip Looking forward for comments and recomentations. Thank you all very much1 point -
It's possible to program a progress bar that increments or decrements depending upon what the script is doing. It depends on what the script is doing if it's possible to update the progress bar as it's doing it. If you're, for an example, using FileCopy, there's no way to do it, because that function doesn't update you as to how much is being copied or how much has been copied, so there's no way to make an accurate progress bar or update it accurately. If on the other hand, you're using FileCopy to copy 100 files, you can update the progress bar after each individual file has been copied but not during the copy process. So, to shorten that up, depending upon what you're timing it's either possible to do it, or you'll need to use a workaround to do it.1 point
-
#Include <APIConstants.au3> #Include <Array.au3> #Include <WinAPIEx.au3> $Data = _WinAPI_EnumResourceNames(@SystemDir & 'shell32.dll', $RT_GROUP_ICON) _ArrayDisplay($Data, '_WinAPI_EnumResourceNames')1 point
-
Auto-click "Rename" in EasyRecovery 6
JScript reacted to gerardsweeney for a topic
Hello, all.. This is probably of limited use, but it saved me a great deal of hair-pulling. Easy Recovery 6 by OnTrack has a slightly annoying feature when recovering files. If it attempts to recover multiple versions of a file to a location, it'll prompt saying that the file already exists - do you want to skip, rename etc. Each time. With no apparent way of remembering your option. I cobbled together the following laughably poor script so that it automatically adds _renameX to the file. If the file ends in an a ".abc" type extension, it puts the _renameX before the . so as to not break the filetype. I have no doubt anyone with even a modicum of AU3 experience will wet themselves at my coding, so please feel free to improve on it. It served my requirements Dim $RenameNum $RenameNum = 0 $App = "EasyRecovery.exe" While ProcessExists($App) ToolTip("Number of renames = " & $RenameNum) WaitForRename() Sleep(100) Wend msgbox(0, "", "All done - renames = " & $RenameNum) EXIT ; ================================================== Func WaitForRename() $Title = "File Exists" ToolTip("Waiting for rename Window to exist") WinWait($Title, "", 10) ToolTip("Waiting for rename window to be active") WinActivate($Title) $WinWA = WinWaitActive($Title, "", 10) If $WinWA = 0 then Return EndIf Send("{End}") ; So we're at the end of the rename text box ; Get the filename $Text = WinGetText($Title) $TextSplit = StringSplit($Text, @LF, 1) If $TextSplit[0] = 12 then $OldFile = $TextSplit[1] $OldFileLen = StringLen($OldFile) $OldFileExt = StringRight($OldFile, 4) ; If it's an extension, jump back before the extension If StringMid($OldFileExt, 1, 1) = "." then Send("{LEFT}{LEFT}{LEFT}{LEFT}") EndIf EndIf $RenameNum = $RenameNum + 1 If $RenameNum < 10 then $RenamePadding = "0" Else $RenamePadding = "" EndIf Send("_Rename" & $RenamePadding & $RenameNum) ControlClick($Title, "", 1018, "left", 1) EndFunc ; ==================================================1 point -
This function does not support callbacks. Alternatively, you can encrypt a file in parts, eg parts of 64 KB, but it would be a more complex script.1 point
-
OK, it can't be done with the InputBox function, you'll have to create your own version using the GUI creation functions. Good luck.1 point
-
Uploaded a fix for this reported issue to the Beta directory: AutoIt3Wrapper v2.1.0.30 Thanks Jos1 point
-
[UDF] G-Engin
Skitty reacted to matwachich for a topic
Hi everybody, This is a months work, and it's finally done! It's a 2D games engin based on GDI+ for graphics and text, and BASS for sound. It's pretty simple to use, and there is a complete and clear documentation (generated by Natural docs) Link1 point