Jump to content
Ketarin forum

Ketarin 1.8.10 beta 2


floele
 Share

Recommended Posts

Changes in Beta 1:

+Allow forced evaluation of custom columns by prefixing the name with "!"
+When accessing an FTP directory (path ending with /) list directory contents
+New option: Default user agent. Replaced all previous default user agents with a new one.

Changes in Beta 2:

+Added "clear log" feature in log window
+Allow non-binary downloads (text/html)
*Now requires .NET 4.5.2 (instead of 4.5)

 

Ketarin-1.8.10.1.zip

Edited by floele
Link to comment
Share on other sites

Quote

+Allow forced evaluation of custom columns by prefixing the name with "!"

What is "name" referring to? The name of the column, the name of the variable used in the columns value?

Can the prefix be combined with a function e.g. "{!countSetup:ps}"?

Link to comment
Share on other sites

  • 2 months later...

Looks like something has changed with this beta, for example this powershell script does not work anymore (worked fine on previous versions):

 

$PortableAppsPath = [System.Environment]::ExpandEnvironmentVariables($GlobalVars.item('portable').cachedcontent)
$WShell = New-Object -ComObject WScript.Shell
$Executables = (Get-ChildItem (Join-Path $PortableAppsPath $App.Name) -Filter '*.exe' -Recurse)
if ($Executables.Count -gt 1) {
	$ShortCutPath = (Join-Path $([System.Environment]::ExpandEnvironmentVariables($GlobalVars.item('shortcuts').cachedcontent)) $App.Name)
	if (-Not(Test-Path $ShortCutPath -PathType Container)) {
		New-Item $ShortCutPath -ItemType Directory -Force
	}
} else {
	$ShortCutPath = [System.Environment]::ExpandEnvironmentVariables($GlobalVars.item('shortcuts').cachedcontent)
}
foreach ($Executable in $Executables) {
	$ShortCut = $WShell.CreateShortcut("$ShortCutPath\$($Executable.BaseName).lnk")
	$Shortcut.TargetPath = $Executable.FullName
	$Shortcut.WorkingDirectory = (Join-Path $PortableAppsPath $App.Name)
	$Shortcut.IconLocation = $Executable.FullName
	$Shortcut.Save()
}

It does not give any meaningful error either, simply throws: Script can not be executed. Value does not fall into expected range.

Link to comment
Share on other sites

@Etz

What errors does Ketarin log show?

Tried the script with slight modifications, to account for assumption not met by my system, without issue.
Functional modifications : Finds executables in current app dir, rather than dir specified in "portable".
Tested as an app\job specific script, not global.


Global variable shortcuts = C:\

$PortableAppsPath = (Get-Item $app.CurrentLocation).DirectoryName
$WShell = New-Object -ComObject WScript.Shell
$Executables = Get-ChildItem (Get-Item $app.CurrentLocation).DirectoryName -Filter '*.exe' -Recurse
if ($Executables.Count -gt 1) {
    $ShortCutPath = Join-Path $globalvars.'shortcuts'.CachedContent $app.Name
    if (-Not(Test-Path $ShortCutPath -PathType Container)) {
        New-Item $ShortCutPath -ItemType Directory -Force
    }
} else {
    $ShortCutPath = Join-Path $globalvars.'shortcuts'.CachedContent $app.Name
}
foreach ($Executable in $Executables) {
    $ShortCut = $WShell.CreateShortcut("$ShortCutPath\$($Executable.BaseName).lnk")
    $Shortcut.TargetPath = $Executable.FullName
    $Shortcut.WorkingDirectory = (Join-Path $PortableAppsPath $App.Name)
    $Shortcut.IconLocation = $Executable.FullName
    $Shortcut.Save()
}

 

Link to comment
Share on other sites

@Ambimind Log does not show any errors, it just refused to run by throwing popup message: Script can not be executed. Value does not fall into expected range.

@floele nevermind, looks like it was some kind of temporary issue, started to work by itself again. Probably something got screwed on my system.

Link to comment
Share on other sites

  • 3 months later...
  • floele unpinned this topic
  • 3 months later...

Looks like something changed on Filehippo as all downloads from there started to suddenly fail:

Steam    FileHippo ID 'steam' does not exist.
Origin    FileHippo ID 'origin' does not exist.
Acrylic Wi-Fi Home    FileHippo ID 'acrylic-wifi-home' does not exist.
Audacity    FileHippo ID 'audacity' does not exist.
WinSCP    FileHippo ID 'winscp' does not exist.


 

Link to comment
Share on other sites

  • floele unfeatured this topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.