Search found 455 matches

by zcooler
16 Jun 2018, 15:44
Forum: Ask For Help
Topic: Alternate Data Stream Gibberish Topic is solved
Replies: 57
Views: 8091

Re: Alternate Data Stream Gibberish Topic is solved

Does not work. In fact it's harmful and deletes the $DATA stream which is the video. File goes from 1GB to 1kb using it Why does not it work? Could you explain? What version of AHK do you use? The enumeration function works nicely but writing the streams like that causes mayhem with the $DATA strea...
by zcooler
16 Jun 2018, 15:08
Forum: Ask For Help
Topic: FileOpen - Clear or Remove Alternate Data Streams? Topic is solved
Replies: 5
Views: 775

Re: FileOpen - Clear or Remove Alternate Data Streams? Topic is solved

Flipeador wrote:Who said delete the file?. Just specify the stream ... FileDelete filepath:stream
Thanks, that works :)
Flipeador wrote:It seems that ReFS will only support up to 128K.
Only heard negative stuff about ReFS, hope it won't replace NTSF anytime soon, cuz in current state it's far from an improvement.
by zcooler
16 Jun 2018, 14:01
Forum: Ask For Help
Topic: FileOpen - Clear or Remove Alternate Data Streams? Topic is solved
Replies: 5
Views: 775

Re: FileOpen - Clear or Remove Alternate Data Streams? Topic is solved

Deleting the file is not my objective, deleting the EPGDescription stream only is, meaning when enumerating the streams (with powershell) it's no longer detected. Im after better ADS handling for AHK...if so it might be possible to build a really nice ADS application.
by zcooler
16 Jun 2018, 13:17
Forum: Ask For Help
Topic: FileOpen - Clear or Remove Alternate Data Streams? Topic is solved
Replies: 5
Views: 775

FileOpen - Clear or Remove Alternate Data Streams? Topic is solved

If doing this: stream := FileOpen("F:\Ny mapp\20180116_20-59-02_Discovery Channel_Gold Rush Alaska - S08E03 - “Busted And Bushfixed”.ts:EPGDescription", "w", "UTF-8") stream.Write("Ett nygift par bestående av en rik flicka och ★★★★☆ en fattig pojke ger sig av på en katastrofal smekmånad i Europa") s...
by zcooler
16 Jun 2018, 02:54
Forum: Ask For Help
Topic: Alternate Data Stream Gibberish Topic is solved
Replies: 57
Views: 8091

Re: Alternate Data Stream Gibberish Topic is solved

https://files.fm/u/bppxcvxy#_ If I managed to preserve the streams on this recording it should contain: PS C:\Users\> Get-Item -Path 'F:\Ny mapp\20180116_20-59-02_Discovery Channel_Gold Rush Alaska - S08E03 - “Busted And Bushfixed”.ts' -Stream * PSPath : Microsoft.PowerShell.Core\FileSystem::F:\Ny ...
by zcooler
16 Jun 2018, 01:22
Forum: Ask For Help
Topic: Alternate Data Stream Gibberish Topic is solved
Replies: 57
Views: 8091

Re: Alternate Data Stream Gibberish Topic is solved

[...] but reads gibberish when attempting to read IPropertyStorage interface streams. how do you get these "IPropertyStorage interface streams"?. By using the PowerShell cmdlet Get-Item: Get-Item -Path 'F:\Ny mapp\20180116_20-59-02_Discovery Channel_Gold Rush Alaska - S08E03 - “Busted And Bushfixed...
by zcooler
15 Jun 2018, 16:57
Forum: Ask For Help
Topic: Alternate Data Stream Gibberish Topic is solved
Replies: 57
Views: 8091

Re: Alternate Data Stream Gibberish Topic is solved

Hello! Your test illustrates the problem pretty well. AHK can read the streams AHK writes. AHK can read ADS native streams written by powershell, but reads gibberish when attempting to read IPropertyStorage interface streams. Powershell can read streams created with the IPropertyStorage COM interfac...
by zcooler
11 Jun 2018, 16:07
Forum: Ask For Help
Topic: Alternate Data Stream Gibberish Topic is solved
Replies: 57
Views: 8091

Re: Alternate Data Stream Gibberish Topic is solved

nnnik wrote:Actually turning that into something that you can use with NumPut is another matter though.
Well, that would require someone who actually knows what he/she is doing, which im clearly not in this area ;)
by zcooler
11 Jun 2018, 14:59
Forum: Ask For Help
Topic: Alternate Data Stream Gibberish Topic is solved
Replies: 57
Views: 8091

Re: Alternate Data Stream Gibberish Topic is solved

What do you think about a third possibility, which is my theory? IPropertyStorage uses PROPVARIANT structure in the ReadMultiple and WriteMultiple methods and those are a real pain in the neck to understand. I think solving this may require lexikos level knowledge.
by zcooler
11 Jun 2018, 10:06
Forum: Ask For Help
Topic: Alternate Data Stream Gibberish Topic is solved
Replies: 57
Views: 8091

Alternate Data Stream Gibberish Topic is solved

Hi! I started scripting in PowerShell to handle Alternate Data Streams (ADS) natively. Using the Cmdlets to add, get and clear the streams works nicely. What not works very well is to read the NTFS file property streams who previously was written by the IPropertyStorage.WriteMultiple COM interface w...
by zcooler
05 Mar 2018, 16:44
Forum: Ask For Help
Topic: Borderless fullscreen a picture control
Replies: 2
Views: 725

Re: Borderless fullscreen a picture control

Much easier said than done. It's difficult cuz things spirals out of control and leads to bizzare behaviour.
by zcooler
04 Mar 2018, 14:13
Forum: Ask For Help
Topic: Borderless fullscreen a picture control
Replies: 2
Views: 725

Borderless fullscreen a picture control

This turned out to be quite a challenge and have to ask any of you how you would do it. Im trying to toggle a picture control to borderless fullscreen and back in windowed mode by doubleclicking on it. I wonder if that is possible in the first place? The pic control is in fact a video control in the...
by zcooler
08 Feb 2018, 05:19
Forum: Ask For Help
Topic: SHFileOperation -> IFileOperation conversion?
Replies: 6
Views: 1313

Re: SHFileOperation -> IFileOperation conversion?

Back to the roots: I do like to sort files using created date attribute and this attribute vanishes in cross-volume copy operations. Im abled to workaround that with some awkward coding, but instead of using messy workarounds I was wondering if anyone might be interested in converting it to the mor...
by zcooler
06 Feb 2018, 06:10
Forum: Ask For Help
Topic: SHFileOperation -> IFileOperation conversion?
Replies: 6
Views: 1313

Re: SHFileOperation -> IFileOperation conversion?

@jeeswg, your motivation to help people and the desire/drive to elevate AHK as a language is admirable. Imagine what AHK would be like if that motivation and drive would match your COM object programming skills ;) Regarding myself im an intermediate AHK user, but an absolute beginner when it comes t...
by zcooler
31 Jan 2018, 10:19
Forum: Ask For Help
Topic: SHFileOperation -> IFileOperation conversion?
Replies: 6
Views: 1313

Re: SHFileOperation -> IFileOperation conversion?

Oh man! MS has developed their IFileOperation function even further, which i noticed during copy of two individually separated copy oprerations. Only one dialog was used in this case (instead of opening two separate dialogs like the SHFileOperation does) where each operation was stacked in a scrolla...
by zcooler
28 Jan 2018, 10:28
Forum: Ask For Help
Topic: TDateTime floating pointers
Replies: 0
Views: 248

TDateTime floating pointers

Hi, I was about to make a script to change a large amount (+4000) of screwed up TDateTime stamps in a SQL database. The stamps are Start time of recording and stop time which together report duration time. The stop times have been screwed up from DST changes, leaving duration times no longer accurat...
by zcooler
26 Jan 2018, 06:11
Forum: Ask For Help
Topic: Comspec code page UTF-8 without/with BOM
Replies: 4
Views: 820

Re: Comspec code page UTF-8 without/with BOM

The "gibberish" is exactly what you get if you take the UTF-8 bytes and decode them as ANSI instead of UTF-8. Regardless of what's in your file, Run receives either an ANSI string or a UTF-16 string and passes it to CreateProcess/ShellExecuteEx in its current encoding. Although AutoHotkey provides ...
by zcooler
25 Jan 2018, 11:27
Forum: Ask For Help
Topic: Comspec code page UTF-8 without/with BOM
Replies: 4
Views: 820

Comspec code page UTF-8 without/with BOM

Hi! Im getting some confusing results which I dont understand. If saving the below code as UTF-8 and execute it, the active code page is the default ansi 850 code page, which is right cuz the console cannot work out if its ANSI or UTF-8 cuz the BOM is missing. However if saving the script to UTF-8 w...
by zcooler
09 Jan 2018, 13:53
Forum: Ask For Help
Topic: EasyINI class omitting comments?
Replies: 19
Views: 2067

Re: EasyINI class omitting comments?

After a look at the ComskipINIEditor.exe I think it will be a real challenge to add features. Apparently, the comskip.txt file is used in combination with comskip.ini to display the information. Yes, the ComskipINIEditor.exe is too cool as is to leave out. Nontheless I want my own touch on it so Im...
by zcooler
08 Jan 2018, 13:22
Forum: Ask For Help
Topic: EasyINI class omitting comments?
Replies: 19
Views: 2067

Re: EasyINI class omitting comments?

That is correct the order of the settings does not matter. Before doing any of the GUI stuff I have to work out some alternate core functionality replacing the EasyINI plan. There actually already are a Comskip tuning application if you are interested to see how it looks like (download the free Coms...

Go to advanced search