#520.Sorting and view state are lost via script, I didn't find information about it in the help documentation:
Code: Select all
seltab +;
wait 1000;
tab("close")#520.Code: Select all
seltab +;
wait 1000;
tab("close")tab("close") to do with "save the state of the current tab" (for whatever that means)? oOCode: Select all
$test = "Test";
$selected = <get selecteditemspathnames>;
foreach($item, $selected, <crlf>) {
$modified = property("#date.m", $item); // Get modified date
writefile("$item:Tags", $test, , "utf8bom"); // Set to ADS
timestamp "m", $modified, $item; // Restore timestamp
}Code: Select all
$test = "Test";
$selected = <get selecteditemspathnames>;
tab('new', '"Please Wait. . ."');
foreach($item, $selected, <crlf>) {
$modified = property("#date.m", $item); // Get modified date
writefile("$item:Tags", $test, , "utf8bom"); // Set to ADS
timestamp "m", $modified, $item; // Restore timestamp
}
if (tab("get", "path") == '"Please Wait. . ."') {tab("close")}#520:
Code: Select all
$test = "Test";
$selected = <get selecteditemspathnames>;
tab('new', '"Please Wait. . ."');
foreach($item, $selected, <crlf>) {
$modified = property("#date.m", $item); // Get modified date
writefile("$item:Tags", $test, , "utf8bom"); // Set to ADS
timestamp "m", $modified, $item; // Restore timestamp
}
#520;
foreach($path, get("tabs", <crlf>), <crlf>) {
$index++;
if ($path == '"Please Wait. . ."') {
tab("close", , $index)
}
}