Leaderboard
Popular Content
Showing content with the highest reputation on 11/29/2019 in all areas
-
AutoIt3Wrapper - "run" with stop on error by parameter
Professor_Bernd and one other reacted to Jos for a topic
The SciTE version follows the same pattern as the official SciTE releases. All other utilities have a generated versionnumber from the Date/Time it was made: v19.1127.1402.0 _ 0 = new release. Next Beta will increment this until next release. ++ ==-- ==-- | | |_____ Time : 14:02 |___________ Date: -- Day 27 == Month 11 ++ Year 2019 Jos2 points -
27 November 2019: Uploaded a new SciTe4AutoIt3.exe v19.1127.1402.0 installer. This version contains the new SciTE 4.2.0 version. Check below for all other updates to the included utilities. ==> SciTE4AutoIt3 v19.1127.1402.0 Enjoy, Jos Addition/Changes/Fixes in the current installer: -------------------------------------------------------------------------------------------------- 27-11-2019 *** Merged the SciTE v 4.2.0 by Neil Hodgson with our own version of SciTE. (Jos) *** Updated AutoIt3Wrapper v19.1127.1402.0 (Jos) - 19.102.1901.1 added encoding retrieval for UTF8/ANSI files so they are properly written back - 19.102.1901.2 Exit script with 999 when update resource copy failed . - 19.102.1901.3 Fix incrementing version number now before running au3stripper to ensure it contains the new version when increment before is requested. - 19.102.1901.4 increment version before au3stripper when increment before is Y - 19.102.1901.5 also update fileversion info in case of a3x compile when requested. - 19.102.1901.7 change au3check and tidy stop on error logic to allow for other editor programs. - 19.102.1901.8-11 Changes to allow the program to be run by other editors. - 19.102.1901.12 Updates Stop and Restartconsole message to indicate in case the HotKeys aren't set in case of second instance HotKeys are ony set when the Editor program has the focus to allow for multiple instances. - 19.102.1901.13 Updated _RefreshSystemTray, which wasn't working anymore since a long time - 19.102.1901.14 Added WinClose for the Shelled Script to nicely close that process before ultimately killing it when still needed. *** Updated Au3Stripper v19.1127.1402.0 (Jos) - 19.102.1901.2 Fixed not removing #pragma lines from Included files. - 19.102.1901.5 Fixed ternary stripping issue *** Updated SciTEConfig v19.1127.1402.0 (Jos) - 19.524.1057.1 Fixed creation of includes.txt in userdir and added some extra logging for adding includes to includes.txt - Some small updates to standard themes. *** Updated Tidy v19.1127.1402.0 (Jos) - 19.524.1057.1: Fix tidy issue adding space after closing > on #include statement. -------------------------------------------------------------------------------------------------- ==> ScitillaHistory page containing all SciTE-Scintilla updates. ==> Visit the SciTE4AutoIt3 Download page for the latest versions ==> Check the online documentation for an overview of all extra's you get with this installer.1 point
-
Predict Text UDF Working It sub classes the edit control and matches the current word through the Database & sets selection in accordance. Functions Predicts Text from an User-Defined Database. Sets the Predicted Text when Enter is pressed. * Pressing Backspace deletes the current selection. Support Editing, Overwriting, Updating, Deleting the List. Has the Feature to add New words the user types in the control, to the List. Supports Sensitive and In-Sensitive Prediction. Supports Auto-completion and Auto-Suggestion. Edit and Input controls supported >Support RichEdit Controls. Automatically limit the New Words. Supports Phrase (Post-Space) Prediction Future Updates ​Support Auto-suggestion. [Coming soon]Done Note That if you set a Password Char for the Edit Box the Prediction will automatically get Unregistered. * Enter is supported Only in Edit Controls. For Input Control the user can use GuiSetAccelerators [Thanks to M23].Check Example 3 ; #CURRENT# ===================================================================================================================== ;_RegisterPrediction ;_UpdatePredictList ;_UnRegisterPrediction ;_RegisterListingSpaceWords ;_RegisterListingNewWords ;_GetSelectedText ;_GetListCount ;_GetCurrentWord ;_GetCaretOffset ; SetSuggestion_Dimensions ; =============================================================================================================================== ; #INTERNAL_USE_ONLY# =========================================================================================================== ;_New_WndProc ; AddToArray ; MakeArray ;_Edit_SubClass ;_AutoExit ;_PredictText ;_GetSpaceText ;_SetSelection ;_CtrlSetStyle ;_CtrlGetStyle ;_RemoveBit ; GetLineHeight ; Suggest_Show ; Suggest_PopuplateItems ; Suggest_SetPos ; =============================================================================================================================== Screen Shots Example 1 - Multiple Edits and Basic Functionality Example 2 - Adding New Words Example 3 - Password Char & Input Controls Example 4 - Supports Post-Space Prediction Example 5 - AutoSuggestion Please Notify for any other Updates and Bugs. ChangeLog V1.0 -First Release V1.1 -Now Supports New Words added by Pressing Enter -Supports Input Controls for Enter Key [Thanks to M23] V1.2 -Now Supports Prediction after Space -New Words are now Automatically Limited V1.3 -Converted to Iterative -Now is more faster V1.4 -Rewritten the UDF with Regular expressions. -Added support for Auto-Suggestion -Bug for incorrect insertion when inbetween typing is now cleared V1.5 -Fixed the bug for which MouseMove wasn't detected. V1.6 -Fixed: Scroll Bar unaccessible. -Fixed: Suggestion doesn't hide when space is typed in non-space text suggestion. V1.7 -Changed: Searching is now done with regular expressions. Lot of speed is increased. PredictText V1.7 v1.7 PredictText(UDF).7z Previous Downloads: 890 Regards Phoenix XL1 point
-
how to run some file every 30 sec
SkysLastChance reacted to Jos for a topic
You seriously have no clue what is going wrong in this script? Check your process explorer and see how many anyname.bat files are running! Jos1 point -
@faustf you have enough posts here to be able to find how to code such a simple task by yourself. You really need to start learning by yourself. Local $a _FileReadToArray("tepfile.txt", $a, $FRTA_NOCOUNT) _ArrayDisplay($a) Local $b[(UBound($a) + 1) / 2][2] For $i = 0 To UBound($b) - 1 $b[$i][0] = $a[2 * $i] $b[$i][1] = $a[2 * $i + 1] Next $a = 0 _ArrayDisplay($b) Please try hard to stop begging spoonfeeding.1 point
-
_Seven_Zip() _FileWrite() -> error: _FileWrite(): undefined function -> \Bin\icons\ ==> no icons provided -> avoid Local declarations inside While-Loop -> e.g. Local $sSelectFolder1 point
-
1 point
-
Label in Gui transparent
123disconnect reacted to SlackerAl for a topic
I'm not sure what you are asking for here: 1) Your original post has the whole GUI and contents as transparent 2) My version has the form as transparent and the label as normal. 3) If you want the form less transparent set the value of $iTransGUI to a suitable value in the _WinAPI_SetLayeredWindowAttributes command. 4) When you say "text on label see as clear label" are you saying you don't want to see the label text? (In which case you can just set the text to ""). 5) Can you post an image of what you wish to achieve? 6) Transparent label, solid GUI seems to be covered here:1 point -
Label in Gui transparent
123disconnect reacted to SlackerAl for a topic
#Include <WindowsConstants.au3> #Include <WinAPI.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> $Gui = GUICreate("", 300, 150, -1, -1, -1, $WS_EX_LAYERED) $Label = GUICtrlCreateLabel("Text on GUI not Tranparent", 50, 30, 200, 25, BitOR($SS_CENTER,$SS_CENTERIMAGE)) GUISetBkColor(0x0000FF) _WinAPI_SetLayeredWindowAttributes($Gui, 0x0000FF) GUISetState() While 1 if GUIGetMsg() = $GUI_EVENT_CLOSE then ExitLoop sleep(10) WEnd1 point -
First thing, the UDFs inside the zip you posted don't have defined functions you use. Second thing is why in the world you'd leave unused code inside a reproducer? What FileOpen, FileRead?!? Third thing is I don't understand why do you constantly choose to make yourself life harder? Use _WinhttpSimpleFormFill(), and ditch JSON construction shit. Try this ( just set correct access token): #include "WinHttp.au3" $sAccessToken = "a.2g3Ymc00aAGgibbbbQDvqnX7u5p3TG34" ; write yours here $sIden = ""; to whatever device you want $hOpen = _WinHttpOpen() ; PUSH!!!!! $sAddress = "https://api.pushbullet.com/v2/pushes" $sForm = _ '<form action="' & $sAddress & '" method="post" enctype="multipart/form-data">' & _ ' <input name="device_iden" />' & _ ' <input name="type" />' & _ ' <input name="file_name" />' & _ ' <input name="file_type" />' & _ ' <input name="file_url" />' & _ ' <input name="body" />' & _ '</form>' $hConnect = $sForm $sReturnedThing = _WinHttpSimpleFormFill($hConnect, $hOpen, _ Default, _ "name:device_iden", $sIden, _ "name:type", "file", _ "name:file_name", "picard-wtf.jpg", _ "name:file_type", "image/jpg", _ "name:file_url", "http://evolutionaryparenting.com/wp-content/uploads/2015/01/picard-wtf.jpg", _ "name:body", "Hey!", _ 'Authorization: Bearer ' & $sAccessToken) MsgBox(4096, "Returned", $sReturnedThing & @CRLF & "@error = " & @error & @CRLF & "@extended = " & @extended) ; Close handles _WinHttpCloseHandle($hConnect) _WinHttpCloseHandle($hOpen)1 point
-
That's great. I'm glad you did it without the need to use half of the system's resources :D. However it's even simpler than that. I bet this works too: #include "WinHttp.au3" $s_uname = 'user' $s_pword = 'pass' $s_site = 'https://site.com' $s_login_path = 'path/to/login' $s_file_path = 'path/to/file' ; Initialize and get session handle $hOpen = _WinHttpOpen() ; Get connection handle $hConnect = _WinHttpConnect($hOpen, $s_site) ; Fill the login form: _WinHttpSimpleFormFill($hConnect, _ $s_login_path, _ "login-form", _ "name:LoginForm[username]", $s_uname, _ "name:LoginForm[password]", $s_pword) $s_data = _WinHttpSimpleSSLRequest($hConnect, Default, $s_file_path) ; Close connection handle _WinHttpCloseHandle($hConnect) ; Close session handle _WinHttpCloseHandle($hOpen) ; Write the data to the file FileWrite('Data.csv', $s_data)1 point
-
I used this code to upload a pic because your page is mess: #include "WinHTTP.au3" $sFile = @ScriptDir & "\testimage.jpg" $sForm = _ '<form action="http://fileupload.pl" method="post" enctype="multipart/form-data">' & _ ' <input type="file" name="userfile" />' & _ ' <input type="submit" name="upload" value="Wgraj plik">' & _ '</form>' ; Initialize and get session handle $hOpen = _WinHttpOpen() $hForm = $sForm ; Fill form on this page $sRead = _WinHttpSimpleFormFill($hForm, $hOpen, Default, "name:userfile", $sFile) ; Close connection handle _WinHttpCloseHandle($hForm) ; Close session handle _WinHttpCloseHandle($hOpen) ; See what's returned (in default browser or whatever) If $sRead Then ConsoleWrite($sRead & @CRLF) EndIf Now tell me how do I delete it. It's my personal photo.1 point