Quantcast
Channel: Bayes.Co.UK
Browsing all 16 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Powershell Adding an icon to a form

If you are using a GUI it is nice to have a form icon. I didn't want to have an ico or bmp file in the same folder as the ps1 file because it might get lost. So this bit of code can be put into your...

View Article



Image may be NSFW.
Clik here to view.

Powershell Xml Folder Tree Xaml Explorer

A different way to display the output from Get-DirAsXml is with Xaml. I will probably occasionally refer back to the previous posts on how to do it using Windows.Forms. So here is step one, displaying...

View Article

Image may be NSFW.
Clik here to view.

Powershell Xml Folder Tree Xaml Explorer

A different way to display the output from Get-DirAsXml is with Xaml. I will probably occasionally refer back to the previous posts on how to do it using Windows.Forms. So here is step one, displaying...

View Article

XMP Getting Raw XMP RDF Using Adobe XMP Toolkit

I wanted to get the raw XMP RDF data from some JPEG files. I looked at Microsoft Windows Imaging Component and although it will get individual metadata properties I couldn't find a way to get the whole...

View Article

XMP Getting Raw XMP RDF Using Adobe XMP Toolkit

I wanted to get the raw XMP RDF data from some JPEG files. I looked at Microsoft Windows Imaging Component and although it will get individual metadata properties I couldn't find a way to get the whole...

View Article


Image may be NSFW.
Clik here to view.

Powershell DAXml Xaml XQuery Explorer.

I recently spotted Standalone XQuery Implementation in .NET on Codeplex and decided to integrate it with DAXml explorer.I'm going to start with a previous post and add a few things. A ToolBar to switch...

View Article

Image may be NSFW.
Clik here to view.

Powershell DAXml Xaml XQuery Explorer.

I recently spotted Standalone XQuery Implementation in .NET on Codeplex and decided to integrate it with DAXml explorer.I'm going to start with a previous post and add a few things. A ToolBar to switch...

View Article

Powershell Translet XQuery T-DAXmlToWpl

There is no reason why a Translet shouldn't use XQuery as opposed to Xslt. So here is one that will transform a DAXml into a Windows Play List (WPL) using XQuery. It is quite simplefunction...

View Article


Powershell Translet XQuery T-DAXmlToWpl

There is no reason why a Translet shouldn't use XQuery as opposed to Xslt. So here is one that will transform a DAXml into a Windows Play List (WPL) using XQuery. It is quite simplefunction...

View Article


Powershell How I organise my scripts

Just a few words on how I organise my scripts. I have a library of Powershell scripts that I have written or downloaded. I have the following line in my Powershell profileNew-PSDrive -name PSLib...

View Article

Image may be NSFW.
Clik here to view.

Powershell Translets Powershell as Xslt Scripting Language

One would think this should be easy. Just put Powershell into the Language of an msxsl:script element. But it doesn't work :-DPity.  I rooted around and the language attribute can be any of the...

View Article

Powershell Translets TTAF to Srt

Here is a translet that will transform Timed Text (TT) Authoring Format 1.0  to SRT.function T-TtafToSrt{    param ($inxml)    BEGIN {        . pslib:\xml\invoke-transform.ps1        $xslt = New-Object...

View Article

Powershell Translets TTAF to SMI M1

Here is a  translet that will transform Timed Text (TT) Authoring Format 1.0  to Microsoft Synchronized Accessible Media Interchange (SAMI). This one is quite simple. All text is the same colour. Not...

View Article


Powershell Translets TTAF to SMI M3

Here is a  translet that will transform Timed Text (TT) Authoring Format 1.0  to Microsoft Synchronized Accessible Media Interchange (SAMI). This one allows you to specify a TimeShift value in...

View Article

Image may be NSFW.
Clik here to view.

Powershell Xml Folder Tree Explorer

Displaying the output of Get-DirAsXml in an explorer with Powershell.  Although Powershell is a command line interface it can use forms to display output and get input. For an explorer the first thing...

View Article


Image may be NSFW.
Clik here to view.

Powershell Adding an icon to a form

If you are using a GUI it is nice to have a form icon. I didn't want to have an ico or bmp file in the same folder as the ps1 file because it might get lost. So this bit of code can be put into your...

View Article
Browsing all 16 articles
Browse latest View live




Latest Images