Leaderboard
Popular Content
Showing content with the highest reputation on 07/11/2015 in all areas
-
libZPlay UDF
pixelsearch reacted to Danyfirex for a topic
Hi all. some time without share something. today I made this UDF because I really like this library so I wanted to share with all you. libZPlay (Win32) Version 2.02 06. May, 2010. This is multimedia library for playing mp3, mp2, mp1, ogg, flac, ac3, aac, oga, wav and pcm files and streams. New: version 2.02 can also record sound from soundcard and encode into disk file with mp3, ogg, flac, aac or wav encoder. For more information look into the LibzPlay Page.txt file into the zip file. About the libZPlay UDF supports playing mp3, ogg, AAC, AC-3, flac, wav, pcmUNICODE support for functions using strings ( filename, error messages, ID3 info, ... ) REVERSE PLAYING (you can play song backward in real time, "real" backward playing without predecoding in PCM) built in echo and reverb sound processor internal volume control (without affecting wave out device volume) pulling VU meter data (you can simply create VU meter) built in FFT spectrum graph, library will draw complete spectrum graph on your window ibzPlayExample.au3 Capture: LibzPlayAU3.zip File contents libZPlay.au3libzPlayExample.au3libZPlayform.kxf LibzPlay Page.txt License.txt- From the libZPlay SDKReadme.txt - From the libZPlay SDKChangeLog.txt - From the libZPlay SDKlibzplay.dll - From the libZPlay SDKlibzplay.chm - From the libZPlay SDKlibzplay.chw - From the libZPlay SDK Download: LibzPlayAU3.zip Saludos1 point -
KindEbook Wishlist
Earthshine reacted to TheSaint for a topic
KindEbook Wishlist and the other programs are now being updated at a new topic - KindEbook Suite Formerly known as KindEbook Price Query. Please read IMPORTANT ADVICE here at Post #57. (9th May 2016) Reading some sections of the previous topic could be helpful. There is also a Disclaimer reference etc. OLDER DOWNLOADS Screenshots in second post. See Post #51 for information about the Bonus program (AZWPlug). See Post #96 for Instructions & Screenshots for Bonus program (Add Book & All Formats To Calibre). (11-12-2017) KindEbook Wishlist updated to v5.8 Added a 'Both' option to the Search category dropdown, though it only works for selection display, plus copy to clipboard with the new clipboard button. Star button relocated to left of selection display (input) field, with the new clipboard button taking its prior location at right. NOTE - This now provides a quick easy way to copy Author &/or Title text for the selected entry, to the clipboard. Added a 'Simple' option to the Search category dropdown, which justs finds the specified text in the chosen column (Title or Author), and selects that row. Search starts at the selected entry and will wrap around at need. The Clipboard button, can now be set in the program settings (or used with CTRL), to minimize the program window when clicked. Moved the right-click 'Save the Ebook list to file' option to a sub-menu entry, and added a 'Save to List for Excel' option there to, which is mostly just for my specific personal use, but others might find it useful (includes SHIFT+X accelerator key usage). NOTES - This new feature assists me, when I want to add new entries to my Booklist.xls file (in batch mode). It just helps to quickly create the basic entries, which I then flesh out later at my leisure, and helps avoid a lot of repetitive clicking. Used in conjunction with my related Excel macros. Add Book & All Formats To Calibre updated to v1.7 (NOTE - This has only been tested with calibre v2.x.x, not the newer v3.x.x.) A bugfix for duplicate title issue - I had not realized that a failure due to a duplicate was based solely on a title match. All duplicates are now added unless an ID match occurs. VIEW button can now view a saved specified format. (30-11-2017) KindEbook Wishlist updated to v5.5 Improved the Copy/Move input box dimensions, to more easily accommodate long titles. Mode for troubleshooting (me only) has been improved, to avoid me losing my sanity again (I'd forgotten it even existed). Replaced the (last version update) new CTRL option at program start, with a 5 second dialog prompt instead. (11-11-2017) AZWPlug updated to v2.8 Database list can now be set not to display when starting that window, plus a LOAD button added to load that list when desired. CTRL used with the open Kindle Content folder button, will now close the program. If CTRL used when selecting the MODE on the Results window, it will just save the setting without making changes to existing results. Option added for slicker loading of list, plus alternate list lines are now pale pink. Two find options added for the Author and Title, with FIND jumping to each entry found and SHOW just displaying all found. NOTE - With LOAD deselected, the list will only show the added ebook title (if any). ---------------------------------------------------------------------------------------------------- KindEbook Wishlist - Most controls get disabled now during a Query, plus the same occurs during an 'Exchange Rate Query'. Plus if 'Please Wait' splash is disabled for Query, then a splash is no longer shown during an 'Exchange Rate Query', with that text shown instead in both the 'Please Wait' and 'Timer' labels, which are temporarily unhidden for that purpose. The Timer label can also be reshown if hidden by the new feature, by clicking the FIND label. Mouse cursor now changes during Query and Ebook list loading etc, to indicate when busy working. Extended the 'Please Wait' label to loading & sorting the Ebooks list, which also applies to any other process that re-populates or changes number of list entries (ebook removal, changing user, relocating bought, etc). Those are all dependent on the "Use a flashing 'Please Wait' ..." setting being set. NOTE - This feature was added to this and the previous version, so that having a 'Please Wait' splash displayed on top of all windows, for a lengthy period perhaps, could be avoided, if desired. Previous Versions (newer) Previous Versions (older) The KindEbook Wishlist, is basically a compliment to your regular store wishlist, but has a history element and allows you to check current and previous prices etc in a better, quicker and more organized fashion. Essentially it assists and hopefully improves with decision making, when it comes to determining whether to make a purchase yet or not. You could compare it to manually and painfully creating something like an Excel spreadsheet for the same purpose, without the time, complexity and pain involved. You can sort by Title, Author, Current Price, Lowest Price, Add Order, Favorites, etc. You can view details - Book Description, Price Changes, etc. You can open the ebook URL in your web browser, where you can elect to make the purchase. The program supports multiple users, shared titles, shared comments and private comments, etc. After purchase, an ebook can be relocated to a bought list (per user). Price can be queried on an individual title basis or ALL titles (starting at first or selected or only favorites or not favorites). Dates are recorded for most processes, with various reporting options. I call it a wishlist on steroids.1 point -
AutoIt v3.3.14.0 has been released. Thanks to everyone involved, both visible and behind the scenes. Download it here. Complete list of changes: History Note The Map functionality was disabled in this release as it was not ready. I will release another beta version later with it re-enabled for continued dev and test.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
-
Need to improve my working code with PID specifics
earthwarder reacted to Melba23 for a topic
earthwarder, Welcome to the AutoIt forum. Unfortunately you appear to have missed the Forum rules on your way in. Please read them now - particularly the bit about not discussing game interaction - and then you will understand why you will get no help and this thread will now be locked. See you soon with a legitimate question I hope. M231 point -
Forum Rules
edenwheeler reacted to Jon for a topic
We want the forum to be a pleasant place for everyone to discuss AutoIt scripting, and we also want to protect the reputation of AutoIt. So we ask you to respect these simple rules while you are here: Forum Posting 1. Do not ask for help with AutoIt scripts, post links to, or start discussion topics on the following subjects: Malware of any form - trojan, virus, keylogger, spam tool, "joke/spoof" script, etc. Bypassing of security measures - log-in and security dialogs, CAPTCHAs, anti-bot agents, software activation, etc. Automation of software/sites contrary to their EULA (see Reporting bullet below). Launching, automation or script interaction with games or game servers, regardless of the game. Running or injecting any code (in any form) intended to alter the original functionality of another process. Decompilation of AutoIt scripts or details of decompiler software. This list is non-exhaustive - the Moderating team reserve the right to close any thread that they feel is contrary to the ethos of the forum. 2. Do not post material that could be considered pornographic, violent or explicit - or express personal opinions that would not be acceptable in a civilized society. Do not post any copyrighted material unless the copyright is owned by you or by this site. 3. To protect this community, any files posted by you are subject to checks to ensure that they do not contain malware. This includes, but is not limited to, decompilation and reverse engineering. 4. Do not flame or insult other members - and just report the thread to a Moderator (see below) if you are so attacked. 5. Do not PM other users asking for support - that is why the forum exists, so post there instead. 6. Do not create multiple accounts - if you inadvertently created multiple accounts then contact a Moderator to close the unwanted ones. 7. Do not repost the same question if the previous thread has been locked - particularly if you merely reword the question to get around one of the prohibitions listed above. 8. Do not delete your posts, nor completely remove their content, if doing so will interrupt the flow of the thread. 9. Do not post in a thread while the Moderating team are actively trying to determine whether it is legal. The Moderation team will do their best to act in fair and reasonable manner. Sanctions will only be applied as a last resort and any action taken will be explained in the relevant thread. If moderation action is taken, you will need to acknowledge this through a dialog or you will be unable to post further in the forum. Please note that this dialog is not an agreement that the warning was justified - it is only there so that members are aware that moderation action has been taken and that they may have certain restrictions applied to their account. If you feel that you have been unfairly moderated then contact the Moderator concerned - using a PM or the "Report" button is preferable to opening a new thread (although new members may have to do this). But do be aware that the Moderation team has the final word - the rules are set out by the site owner and you are only welcome here if you respect his wishes. Signatures and Avatars There is no formal policy for the use of signatures but if a moderator thinks it is too big and/or distracting then you may be asked to tone it down. No-one likes wading through signatures that are a page high. Similarly for avatars, expect distracting flashing and animated gifs to be removed. Reporting If you feel a post needs Moderator attention, please use the "Report" button next to the post date at the top. You can then enter details of why you have reported the post - but there is no need to include the content of the post as that is done automatically. The Moderating team will be alerted to the post and will deal with it as soon as they can. If you suspect a EULA violation, do not expect the Moderating team to do all the work - please provide some evidence in the report such as a copy of (or link to) the EULA in question, as well as the section you believe has been violated. Finally, please do not enter into an argument with the original poster - that is why we have Moderators. Spam Please do not react to spam in any way other than reporting it. Multiple reports are combined by the forum software, so there is no need to announce that you have reported the spam - in fact doing so only increases the work for the Moderator who deals with it. Interacting with this website Anyone found abusing the website is subject to harsh punishment without warning. A non-exhaustive list of potential abuses include: Automated forum registration or login. Automated posting or sending messages on the forum. Automated manipulation of polls, user reputation or other forum features. Automated creation or comments on issue tracker tickets. Automated creation or editing of wiki pages. Other abuses which are either examples of excessive bandwidth usage or automation of the site. Use common sense. If you do not have common sense, don't do anything. Do not automate the forum, wiki or issue tracker in any way at all. Scripts which automatically update AutoIt such as AutoUpdateIt are acceptable as long as they are not abused and do not generate excessive bandwidth usage.1 point -
Cheers. It's still not perfect of course, but I feel strongly that optimisation should be done by PreExpand and Au3Stripper and not the user. If anyone can come up with a way to parse expressions in a script then I am happy to hear.1 point
-
MemphiZ, I would just check if the active window fills the screen like this: While 1 ; Resolution might be changed so check each time $iW = @DesktopWidth $iH = @DesktopHeight ; Get GUI size $aPos = WinGetPos("[ACTIVE]") ; Just for testing ConsoleWrite($aPos[2] & " - " & @DesktopWidth & @CRLF) ConsoleWrite($aPos[3] & " - " & @DesktopHeight & @CRLF) ; Does the active GUI fill the screen If $aPos[2] >= $iW And $aPos[3] >= $iH Then SplashTextOn("Active", "FullScreen") ConsoleWrite("FullScreen" & @CRLF) Else SplashTextOn("Active", "Not FullScreen") ConsoleWrite("Not FullScreen" & @CRLF) EndIf ; Allow splash to be seen Sleep(2000) SplashOff() ; Set this to a suitable value to check at intervals Sleep(5000) WEnd I hope this helps. M231 point
-
With Nutster's method the arrays are 'self contained' as I understand them, so if you save them and then read them again you still have all the original functionality. If you will excuse an attempt by someone who is trying to understand all this as well, here is my understanding of the use of hash tables so far. First you try to get a number to represent the key so that you know where to store it. This could be easy if we weren't worried about the size of the array to store everything. We could just say we will allow keys up to 50 characters long. We work out the alphabetical value of the key and that is it's position in the array. But of course the array size is a bit large at more than a million Terrabytes so some compromise has to be made to reduce it. So we say lets start with an array of 200 elements for example. Work out a value to give the key. This value might be a number like 1789 which is too large for the array so we say well we'll put it in element Mod(1789,200). This is Nutster's HasPos function. The next problem is that this position might already be used so we say we'll move up the elements until we find a free one and put it there. Next problem is that you might then come to the end of the array so you have to grow it. As soon as you grow the array all the keys have to be repositioned because now we are using mod(keyvalue,newarraysize). That's why Nutster'sAssocArraAssign function is recursive.This slows the assign process down and to reduce the number of times this happens you want to grow the array by a good size. Nutster says that 30% is good and that sounds reasonable to me until the array gets very big anyway. If you store the array and then you read it again or some other program reads it, all the information you need is there, which is the size of the array and the amount for growth. Of course the different programs which use the array have to use the same methods to work out the key values and the way to position everything.1 point