Page 2 of 3

Re: 7 features - are they present and i could not locate the

Posted: 05 May 2014 18:48
by admin
Agreed.

I currently have no head for this, but if you develop the syntax for a (or two) scripting command for ADS read and write then I will happily add it.

Re: 7 features - are they present and i could not locate the

Posted: 05 May 2014 18:53
by bdeshi
Is this any good?
Write ADS:
writeads('streamdata','streamtitle','target file',1); //if you want last 1 means data will also be written to XY's own tags. Otherwise 0
Read ADS:
readads('streamtitle','target file');

That done, I didn't need to learn much about ads' limitations, something more might be possible

Re: 7 features - are they present and i could not locate the

Posted: 05 May 2014 18:54
by TheQwerty
I'm pretty sure ReadFile and WriteFile can already handle ADS.

EDIT: They do but you have to include the full path or XY gets confused into thinking everything before the ':' is the drive.

Code: Select all

"Testing Streams"
  $file = "<curpath>\testing.streams.txt";
  $streamName = 'hiddenstream';

  WriteFile($file, 'this is the normal content');
  WriteFile("$file:$streamName", 'this is the hidden content');

  $normal = ReadFile($file);
  $stream = ReadFile("$file:$streamName");

  Text <<<#TEXT
The content of '$file': $normal

The content of '$file:$streamName': $stream
#TEXT;

Re: 7 features - are they present and i could not locate the

Posted: 05 May 2014 19:06
by bdeshi
it does.

Re: 7 features - are they present and i could not locate the

Posted: 05 May 2014 19:09
by admin
Ah, sure, thanks!

Re: 7 features - are they present and i could not locate the

Posted: 06 May 2014 02:35
by gks
@admin

On a related note (may be closely related or may be distantly related to our discussion),
please have a look at below link, how Directory Opus 11 is saying it as a highlighted feature in latest version

http://www.gpsoft.com.au/help/opus11/in ... ements.htm

Re: 7 features - are they present and i could not locate the

Posted: 06 May 2014 02:41
by gks
anyone, any idea about the below 3 (listing again for ease of reference)

(2) Is there a way to view the contents of a folder also in a 'preview-like' window (like viewing the contents of a .zip file)

(3) Bread-crumb bar has 'little triangles' on each level of hierarchy, but on clicking on the triangle - in the drop-down below it shows the contents OF ONLY ONE LEVEL and does not allow us to parse through the DEPTH of CURRENT 'IN-QUESTION' DIRECTORY STRUCTURE (for that folder) -> (While in a simple program like QtTabBar - it is possible to travel upto the depth of the directory structure just from Breadcrumb bar, ELIMINATING THE NECESSITY TO OPEN MANY FOLDERS),
say for example, we have 1 -> 2 -> 3 -> 4 , if we click on the triangle of '2' in the drop-down bar it shows the contents of '2' BUT there in that drop-down there is NO TRIANGLE in front '3' so that we can go more-levels down the hierearhy using the bread-crumb bar

Is there any option to enable this feature

6) Can we set the grid lines to show the column-divider also, so that finally it will have horizonal-as well as-vertical lines, Just-like in Excel in the Folder-list-view

Re: 7 features - are they present and i could not locate the

Posted: 06 May 2014 09:11
by autocart
gks wrote:anyone, any idea about the below 3 (listing again for ease of reference)

(2) Is there a way to view the contents of a folder also in a 'preview-like' window (like viewing the contents of a .zip file)

(3) Bread-crumb bar has 'little triangles' on each level of hierarchy, but on clicking on the triangle - in the drop-down below it shows the contents OF ONLY ONE LEVEL and does not allow us to parse through the DEPTH of CURRENT 'IN-QUESTION' DIRECTORY STRUCTURE (for that folder) -> (While in a simple program like QtTabBar - it is possible to travel upto the depth of the directory structure just from Breadcrumb bar, ELIMINATING THE NECESSITY TO OPEN MANY FOLDERS),
say for example, we have 1 -> 2 -> 3 -> 4 , if we click on the triangle of '2' in the drop-down bar it shows the contents of '2' BUT there in that drop-down there is NO TRIANGLE in front '3' so that we can go more-levels down the hierearhy using the bread-crumb bar

Is there any option to enable this feature

6) Can we set the grid lines to show the column-divider also, so that finally it will have horizonal-as well as-vertical lines, Just-like in Excel in the Folder-list-view
2) not to my knowledge
3) Don (the admin) is not willing to implement this ("too much work" or "not possible")
6) It does that for the sorted column but for the other columns it is not possible AFAIK.

Re: 7 features - are they present and i could not locate the

Posted: 06 May 2014 10:02
by admin
gks wrote:@admin

On a related note (may be closely related or may be distantly related to our discussion),
please have a look at below link, how Directory Opus 11 is saying it as a highlighted feature in latest version

http://www.gpsoft.com.au/help/opus11/in ... ements.htm
Related to what? I don't get it... :?

Re: 7 features - are they present and i could not locate the

Posted: 06 May 2014 10:06
by bdeshi
gks wrote:(2) Is there a way to view the contents of a folder also in a 'preview-like' window (like viewing the contents of a .zip file)
type ::snippet; into the addressbar and paste the following code in the opened dialogbox:

Code: Select all

Snip: CTB 1
  XYplorer 14.00.0100, 5/6/2014 2:03:50 PM
Action
  NewUserButton
Name
  Folder Preview
Icon
  
ScriptL
  if (exists(<curitem>) == 2) {
    //if folder selected, display it's contents
    html(<curitem>);
   }
   elseif (exists(<curitem>) == 1) {
    //if file selected, display parent folder contents
    html(getpathcomponent(<curitem>, "path"));
   }
   else {
    html(<curpath>);
   }
ScriptR
  
FireClick
  0
[/size]
A new User Button will be created on the toolbar. Select a folder and press that buton to preview it's contents. Otherwise current folder is previewed.
----
EDIT: Well, the dialog's apparently a complete WE window, view can be changed, files can be opened directly... :shock:

Re: 7 features - are they present and i could not locate the

Posted: 06 May 2014 19:17
by autocart
admin wrote:Related to what? I don't get it... :?
Related to the whole comments, ADS topic.
Quote from link: "In Opus 11 there is now the option ... to store labels in the file system (on NTFS volumes only). This means the label is actually attached to the file, not its path. If you move or copy a file with an NTFS label the label will go with it."
It sounds a lot like ADS although it does not specifically say it on the page.

Re: 7 features - are they present and i could not locate the

Posted: 06 May 2014 20:16
by admin
Ah, okay. Yes, sounds like ADS.

Re: 7 features - are they present and i could not locate the

Posted: 07 May 2014 00:56
by gks
Thanks SammaySarkar :-)

Thanks autocart

Yes, as they have not written the keyword in their description, so i avoided using it in order not to present myself as a lesser knowing creature :-)

Re: 7 features - are they present and i could not locate the

Posted: 07 May 2014 00:58
by gks
@admin

by 'our discussion' i actually meant 'We All' in this discussion thread, thanks to the 'universal phrases of public life' to create confusion :-)

Re: 7 features - are they present and i could not locate the

Posted: 07 May 2014 02:01
by SkyFrontier
How do I go back/go up when navigating .zip under Preview pane?

(Thread hijacking? Sorry, but this old question doesn't deserves another one...)