Leaderboard
Popular Content
Showing content with the highest reputation on 06/20/2018 in all areas
-
232showtime, No he/she does not. - there is nothing in that question other than some operator confusion. Why are you all trying to get the thread locked? Then report the thread and ask for a Mod to take a look before you reply - simples. M232 points
-
This is my latest project, which I have been working on for a few days now, so this is kind of hot off the press. However, in reality, I have been working on some element of this for years. Some of you may remember a huge project of mine (Audio DVD Producer + Chat Blog Screenshots) that I worked on a good while back? Well, this one is very much related, and very much simpler in scope. That other project by the way, has been basically stalled for a good length of time now. Not because I never finished it, but because the end result was not as great as I hoped. I may share the files for it one day. I may even start working on it again one day, though this latest project kind of makes much of it redundant for my aims. Anyway, this project. I have a good bunch of DTS-CDs, from same or other sources (i.e. DVD). You can read more about what a DTS-CD is here, but the short of it, is that you cannot play them on a normal CD player, as you will just get noise. Many if not most DVD or Blu-ray players can play the embedded DTS data in the otherwise empty CD tracks. Further to that, a DTS-CD is essentially a compressed PCM or WAV file for all intents and purposes ... to keep things simple. So a 6 Channel (5.1) track takes up roughly the same amount of bytes as a normal stereo CD track ... so 6 channels for the price of 2. Up until recently, the best device for me to play the DTS-CDs on, as CDs, is my PS3. It plays them faithfully (reader issues aside) and has nice visuals. It is also my most convenient DVD/Blu-ray player, so a heap of hassle to play on one of my regular players, and not much success with the Xbox 360 ... at least with burnt backup copies. DTS-CDs are also kind of old school, and been superseded by the more superior lossless DVD Audio, Super CD and now Blu-ray Audio discs. That kind of makes them rare now and essentially irreplaceable, so being a wise man, I store them safely and only play backup discs. Playing discs though is kind of limited, and to be honest a pain, as my PS3 spits the dummy on some days, with the reader not being what its should be ... or perhaps poorly calibrated. So for a long time now, I have been wanting to use the backup files instead. Unfortunately, while I can play them fine on my PC (foobar2000 + DTS plugin), that is not where I want to listen to them. Until recently, neither my NeoTV 550 hardware player or my Laser one, have been very good at playing the files, and the PS3 even worse with its lack of file support. Back when I first investigated all this, and tried a bunch of things, and didn't yet have the Laser (4k Android) player, I did attempt to go the FLAC route. However, I was left unsatisfied, as my NeoTV did not support CUE files and M3U playlist files are a bit of a hassle ... and no help, when I have a single album file with cue index points for each track ... which many of my DTS-CD rips were ... especially for albums that have one track running into the next ... live albums too. The other issues for me with FLAC, were the artwork (album cover) and TAGS (details for each track - Title, Artist, Album, Year, etc), which I could not get to work. So, moving forward to recently. I played a DTS-CD on the PS3 the other day, and if there is one things I hate, it is a playing issue when I am in the midst of enjoying a nice piece of music. The PS3 is not very forgiving and just aborts play. I am not very forgiving of the PS3, so decided to investigate FLACs again. Now perhaps something has changed, since I last tried ... or I just wasn't on the ball. Anyway, to cut a long story a bit shorter, I loaded a DTS WAV file in foobar2000, and ripped it to a FLAC file. I then tried that file on my NeoTV 550 hardware player, and it played fine ... and some tags were visible, which surprised me. So I thought it was worth looking into further. I also tried the file on my Laser hardware player, with the Kodi (XBMC) Android app, but alas, while the Tags and Artwork worked well, all I got was noise ... and same for every other app I tried. Now don't ask me why I thought to try FLAC on its own, using the FLAC Frontend program initially, but I did ... and it recognized the tracks as 5.1. With foobar2000, I'd selected the decoder for DTS files when converting to FLAC, as I thought it was required. I hadn't at that stage used flac.exe by itself, but I decided to investigate the TAG command-line options and also noticed you could embed a picture, which I was keen as mustard to try. So I set up a BAT file and gave it a whirl. Now the results on my NeoTV 550 hardware player, were brilliant - Sound, Tags and Artwork were as I wanted. I decided to update Kodi at that point. Then, I tried my Laser hardware player again, but still no joy. I then did some online research and read about how to get it all working. Alas, I had mixed results. The foobar2000 ripped file worked, but the one I did with the BAT file did not. Not being keen to rip everything via foobar2000 menus, and wanting to code a quicker batch solution myself, I first attempted to see what command-line options I could use for foobar. That was a dismal failure, so I then revisited some of the programs I had used way back when with DTS WAV based files, and eventually discovered that 'valdec.exe' from the AC3Filter tools collection, gave the compatibility I needed. So I put my WAV or DTS files through that program first, then converted them to FLAC. Now the files played with DTS surround sound, on both my hardware players. They also play gapless, so I split album length files into separate track files, which avoids the CUE and M3U issues. That said, a joined M3U file for something like a (separate folders) double album, plays great with Kodi. So of course, I just had to whip up a program ... with drag and drop of course. And that program has steadily been growing & changing, and is where I want it now, at v1.5. Screenshots further below. REQUIRED COMPONENTS Most programs (if not all) can be obtained from VideoHelp, but here are some alternative sites to source them. The 'flac.exe' program is definitely required, and 'valdec.exe' if you want maximum compatibility support for a wider range of players. [flac.exe] https://xiph.org/flac/ https://xiph.org/flac/download.html https://ftp.osuosl.org/pub/xiph/releases/flac/ https://ftp.osuosl.org/pub/xiph/releases/flac/flac-1.3.1-win.zip [valdec.exe] [found in the AC3Filter tools collection] http://www.ac3filter.net/wiki/AC3Filter_tools (Info only, downloads no longer work) https://web.archive.org/web/*/http://www.ac3filter.net/wiki/AC3Filter_tools https://web.archive.org/web/20130623004920/http://www.ac3filter.net:80/wiki/Download_AC3Filter_tools If The Wayback Machine options fail, then go to VideoHelp (maybe go there anyway). https://www.videohelp.com/software/AC3-Filter/old-versions NOTE - The AC3Filter site has loads of information, which could help you enable other players aside from those below. RECOMMENDED PLAYERS PC = foobar2000 + DTS plugin component. Android Device = Kodi (XBMC) app with DTS etc enabled with passthrough. NOTE - foobar2000 with plugin, will play even those not processed with 'valdec.exe'. My 'NeoTV 550' hardware player does the same. My 'Laser' (Android device) with Kodi just emits noise with the FLAC files, if not processed with 'valdec.exe'. RECOMMENDED DTS-CD RIPPERS http://www.imgburn.com/ http://www.exactaudiocopy.de/ OTHER LINKS This one of mine tells you a lot more about DTS-CDs, including ripping or burning. https://forum.doom9.org/showthread.php?t=172484 SCREENSHOTS P.S. I made a brilliant discovery today. Whereas in the past, with PS3 etc, I could not listen to my DTS-CDs via my Surround Sound Headphones, I now can with these files. So it is well worth playing those CDs as files, just for that benefit alone. Overall though, I have future proofed my collection.1 point
-
Can MouseMove($pos[0], $pos[1]$x,0) take a variable at $x...?
Fin reacted to FrancescoDiMuro for a topic
@Fin My apologizes to you Feel always free to ask what is not clear for you @Melba23 In a forum where almost everyday someone asks for gane-automation, I think it is legit to ask what he was trying to do with his script, and he has been courteus replying us I don't see anything wrong with MY question. Thanks again Fin for have read Forum Rules Best Regards.1 point -
Listening for Clock-in and Clock-out
iamtheky reacted to ViciousXUSMC for a topic
I use presence detection at home for automation. I like to use more than one method and actually create a and function so that both must be true for a status change. Example: NMAP scanning the IP on the network AND Ubiquiti reporting the device as connected by its MAC. I was reading up on it and another presence detection used by others is OwnTracks, its a GPS app for Android and Iphone. I have not tried it yet, but thats a 3rd way to cross reference and something you may be able to implement. People like me keep Wifi off on their work phone, and my personal phone only connects to my home network. Bluetooth is promising since you have an array of sensors, else the issue is the range. Figured I would just give you the heads up for the GPS option as well.1 point -
prasad123, You need 2 buttons: "OK" will move you to the next GUI; "Back" will return to the previous. M231 point
-
Hello. Something like this should work from powershell. Start-Process 'C:\Program Files\Folder\program.exe' -Verb runAs -ArgumentList @("`"parameter with spaces`"","`"-minimize `"") Saludos1 point
-
How to create simple keyboard shortcut to insert custom text?
Fin reacted to JLogan3o13 for a topic
@cag8f why not just use HotKeySet, and run the compiled executable as a try app? This works just fine for me: HotKeySet("{F11}", "SendMe") While 1 Sleep(100) WEnd Func SendMe() Send("my custom text") EndFunc1 point -
The comparison you make will have many exceptions and certainly I feel sleep is one of the last choices for an experienced developer. If you do GUI automation (end user testing) then the only most close way to enduser will be with active window (that's how the enduser is doing it). To easy developers say call the click event directly (having risk bypassing a disabled button) check an image exists instead of checking the actual pixels at a location (then you will observe the button is behind another image). A professional would make use of constants so when testing notepad thru GUI in different languages you can directly change it at 1 place instead of scattered around. Please also check FAQ 31 to see the other spying tools around and ways of automating thru AutoIt (FAQ 4x I believe)1 point
-
Can MouseMove($pos[0], $pos[1]$x,0) take a variable at $x...?
Fin reacted to 232showtime for a topic
yes there are so many ways , but you need to tell us what app you want to automate because there are strict rules here and I don't want my ass to be kicked...1 point -
Can MouseMove($pos[0], $pos[1]$x,0) take a variable at $x...?
Fin reacted to FrancescoDiMuro for a topic
@Melba23 I saw $goNorth, and I thought that it was something for game automation. Just to point out that here, game automation scripts are not allowed. Best Regards.1 point -
FrancescoDiMuro, Why do you ask? What business is it of yours? M231 point
-
Can MouseMove($pos[0], $pos[1]$x,0) take a variable at $x...?
Fin reacted to FrancescoDiMuro for a topic
@Fin What is this script for? Best Regards.1 point -
Can MouseMove($pos[0], $pos[1]$x,0) take a variable at $x...?
Fin reacted to pixelsearch for a topic
Hello Fin, a plus sign should do it : MouseMove($pos[0], $pos[1] + $goNorth, 0)1 point -
Deepu, If you post screenshots please make sure you redact any personal information first. M231 point
-
Windows Desktop Applications Automation using AutoIt
r0ash reacted to JLogan3o13 for a topic
So your "professional" approach has zero error checking. If, for some reason, your initial program fails to launch, you continue on through the script throwing error after error (unbeknownst to the user as there is nothing catching those errors). There are already threads on this forum dedicated to best practices when coding in AutoIt: https://www.autoitscript.com/wiki/Best_coding_practices1 point -
Over the last few years I have been doing a lot of Audio (CD & DVD) research, trying many open source and freeware programs. That includes WAV, AC3, DTS, FLAC, APE etc Stereo and Surround Sound files. It also includes video from JPG, BMP, PNG etc sources. I talk a little about LOSSY and LOSSLESS files in Post #3. Some of you may have read my posts (kind of blog) in Chat about my large project, Audio DVD Producer, and thus seen the many screenshots and know somewhat of my trials and tribulations. While doing testing of course, I tried a lot of programs, and some I even made tools of via my own Frontends. I still use and update some of them, as many are very useful in their own right, and allow me to do a number of things in stages, in a much more controlled manner compared to my larger project. So because of that, I thought I would share them here. Some have been mentioned in that Chat topic. Recommended Programs: I use foobar2000 (with DTS Decoder plugin) to play DTS WAV files and DTS-CD. It also has a simulated multichannel plugin for headphones. For checking M2V files and finished DVD etc, I use Media Player Classic and if necessary VLC Media Player (and others). Required 3rd Party Programs: ArcSoft DTS Decoder (DLL's) (ArcSoft TotalMedia Theatre) (eac3to use) (mentioned here) --> (DTS-to-WAV) eac3to.exe (eac3to) --> (DTS-to-WAV) ffdcaenc.exe (Ffdcaenc) or here flac.exe (FLAC) --> (SoXcutterFE) (DTS-to-WAV v2.3) gain.exe (Ac3Filter Tools) --> (SoXcutterFE) spdifer.exe (Ac3Filter Tools) --> (DTS-to-WAV) valdec.exe (Ac3Filter Tools) --> (DTS-to-WAV) (SoXcutterFE) joinwav.exe (Joinwav) --> (JPG-to-M2V) MediaInfo.exe (MediaInfo) --> (DTS-to-WAV) PgcDemux.exe (PgcDemux) --> (DTS-to-WAV) sox.exe (SoX) --> (SoXcutterFE) I have had trouble with some versions of SoX, with 14.4.1 being the one I use. 14.4.2 crashes for me. ssrc_hp.exe or ssrc.exe (Shibatch) --> (DTS-to-WAV v2.3) tranzcode.exe (Tranzcode) Some info here AUDIO CD & DVD TOOLBOX (source scripts were developed in AutoIt v3.3.0.0 so may need modifying to compile with latest AutoIt) SoXcutterFE SoXcutterFE v1.2.zip SoXcutterFE v1.2 (source).zip BAT Examples.zip I made this one over the last week, and it is part of an unfinished DTS CD ripping, burning & editing guide, that you can read here. DTS-to-WAV Program to convert WAV, DTS, AC3, FLAC & VOB (IFO required) to suitable audio files for DTS CD or DVD. Screenshots and information about update can be found at Post #14. DTS-to-WAV v2.0.zip 335.54 kB (1,078 downloads) DTS-to-WAV v2.0 (source).zip 10.82.54 kB (655 downloads) DTS-to-WAV v2.3.zip DTS-to-WAV v2.3 (source).zip (712 previous downloads) NOTE - While this is a stand-alone program, it does create right-click registry entries for DTS, WAV, FLAC, AC3, IFO files. A shortcut with a parameter of /unreg will remove the registry entries, though they will get created again every time the program runs. To stop them being created, you can (after using the unregister shortcut), add the value of '1' back into the 'Settings.ini' file as 'registry=1' in the [Context Entry] section. To use the program in that scenario, you would need to drag a WAV file etc onto the program EXE or a shortcut for that (or create a BAT file for it, etc). The installer I normally use for my programs, creates all the necessary shortcuts, which was overlooked when I created this zip version for others. All that said, the best way to use the program is by right-clicking on your WAV etc file. (source script was developed in AutoIt v3.3.0.0 so may need modifying to compile with latest AutoIt) I made this one early on in my research, but gave it a good update in the last week, with many improvements. This one does require you to have, at the very least, a Trial version of an ArcSoft program, for its DTS dlls for DTS decoding. In my Audio DVD Producer program, I currently use the free Tranzcoder program to do much the same thing, but it does fail on occasion with some HD DTS WAV files, that require something like the ArcSoft decoder. This tool is good for turning a 5.1 DTS or AC3 DVD track into a DTS-CD. JPG-to-M2V Program to convert JPG, BMP, PNG files to a M2V video file, suitable for DVD, MKV or M2TS/TS file, when muxed with audio. Screenshots and Update information (required 3rd party programs) can be seen at Post #10. Post #15. Post #19. Post #20. Post #21. Post #26. Read other posts for related info. JPG-to-M2V v1.5.zip 481.13 kB (921 downloads) JPG-to-M2V v1.5 (sources).zip 26.62 kB (375 downloads) JPG-to-M2V v1.8.zip 502.14 kB (180 downloads) (both re-upped again due to an introduced bug) (3) JPG-to-M2V v1.8 (sources).zip 37.53 kB (134 downloads) JPG-to-M2V v1.9.zip JPG-to-M2V v1.9 (source).zip This was also made early on, and I am in the midst of giving it a very big update, to work with multiple image files (something that Audio DVD Producer does not yet do to this degree). **** more to come ****1 point