Jump to content

MyEarth

Active Members
  • Posts

    404
  • Joined

  • Last visited

Recent Profile Visitors

350 profile views

MyEarth's Achievements

  1. Hello. I have a 1D array. Is made in this way: 1. This is a line Messages: a message etc Context: a context etc 2. This is a line Messages: a message etc Context: a context etc 3. This is a line Messages: a message etc Correction: a correction etc Context: a context etc I need to make something like: 1. This is a line|Messages: a message etc|Context: a context etc 2. This is a line|Messages: a message etc|Context: a context etc 3. This is a line|Messages: a message etc|Correction: a correction|Context: a context etc For exporting in another software. I need to split every time there is a number when the line start, can be 1. until something like 3.976. Since i don't know if there a 2 line after a number or 3 i have opened this thread. Thanks
  2. Hello @trancexx How i can save an image using WinHttp? In async mode, without wait to download. An example link: Many thanks for the help. In theory i don't need to save on the disk but loading directly on the GUI using GDI but i'll open another thread for this if i need help EDIT SOLVED with: https://github.com/dragana-r/autoit-winhttp/blob/master/WinHttp_Examples/_WinHttpSimpleBinaryConcat.au3
  3. @kosamja Yeah i know what i want thanks, read post #5 if you don't. 7-Zip, i have mention it only ONCE and i can't use since i need an internal solution, can store the folder-file without compress. Every "compression software" can store the file without compress. TAR file is the same.
  4. @Chimp MAKECAB work only for files @Danyfirex in theory, but pratically? How to preserve folder structure? How to move instead of copy? @Melba23 Folder <> File or software like 7-Zip and others who invented them to do?
  5. Sorry if I seem annoying but it use compression...but many thanks for the effort, i'l really apprecciate it
  6. Very cool! But there are a couple of big problems. 1) It works on file so i lost the folder structure, and that's the main problem 2) Don't move but copy the file inside the container, i need a "cut" operation Is very similar to my goal but i need the folder tree structure...
  7. My reqirements are: 1) Pure autoit, no external .exe or .dll 2) No compression at all, i don't need compression since compression require time. Faster as possible, in the limit of autoit. 3) Move a folder and its content inside a .xyz file 4) Extract a folder and its content from .xyz file For this reason i have think to use the .tar, no compression and is just a container. But doesn't exist actually a UDF that use .tar and meet point one. But i don't care the file format, i have think to .tar but can be anything.
  8. I have check it out but noone seems to meet my requirements... Thanks
  9. Hi guys, Long time no see. I need an help with this task. I need my script treat a "folder as a file" and something don't require external DLL or software. I don't need-want any compression, fastest as possible. Just move a folder inside a "container" and extract from a "container", nothing else, but in pure autoit language. Searching online i have see the TAR is what i can use: https://en.wikipedia.org/wiki/Tar_(computing)#Header But i don't have find a UDF or library in pure autoit can use that, only external software or DLL. Any suggestion-code are welcome but please remember my "requirements" Thanks for the help
  10. Hello, i need to validate a string can be different things. I just need a True - False return value, no groups or things like that. It will be always one line at time to be processed by StringRegEx Valid: 13:52|String 02:52 XX|String 13:52~SUN, MON, TUE, WED, THU, FRI, SAT|String 02:52 XX~SUN, MON, FRI|String 22/04/2017 13:52|String 22/04/2017 02:52 YY|String Not Valid 22/04/2017 13:52~Dom|String I need to validate until and inclusively the | after that i don't care The XX and YY value are two $sVariable from my script SUN, MON, TUE, WED, THU, FRI, SAT are fixed value, the can be mixed but always in the same order like SUN SUN, TUE, WED SUN, SAT The time can be 12 or 24 hours, the date is always in the same format DD/MM/YYYY. If there is a date can't be a day after that ( see not valid ) Well i think is all Sorry if i don't provide a working code, regex is too way complex. Thanks
  11. Multiple timers, the script will loose the syncro if i'll stop with the Do-Until and unfortunately even "fire" more that one the function of the hotkey can create some difficulty, lol so many problems are totally unexpected for just a simple key press. Anyway, i have try with a combination like SHIFT+t ( aka +t ) and it will fired also if i don't leave the key EDIT: I don't remeber if _IsPressed work with combination, i never use it
  12. @Melba23 that will stop the script, is possible to do the same without the Do-Until, maybe using an AdlibRegister in combination with @HotKeyPressed-GetKeyboardState? My HotKey is inside a INI so i don't know what it will choiced by the user so i can't use _IsPressed in that way plus as i have said it stop the script and i need it running.
  13. Understood, thanks. @Melba23 a related question. With HotKeySet is possible to avoid or "skip" if the key is pressed and not released? Launch the funtion only one instead to do until the key is released?
  14. Why i can't use AdlibRegister in this way? Global $bTest = False AdlibRegister("_Test", 10) While 1 Sleep(100) WEnd Func _Test() If $bTest = False Then AdlibRegister("_Test2", 10) EndIf EndFunc Func _Test2() $bTest = True ConsoleWrite(1 & @CRLF) AdlibUnRegister("_Test2") EndFunc On the help i don't have found nothing about "nested" adlib and the second adilib is writter to work just one time. I don't understand
×
×
  • Create New...