7 features - are they present and i could not locate them

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
admin
Site Admin
Posts: 65180
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post 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.

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

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

Post 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
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

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

Post 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;

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

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

Post by bdeshi »

it does.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

admin
Site Admin
Posts: 65180
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post by admin »

Ah, sure, thanks!

gks
Posts: 14
Joined: 29 Apr 2014 09:03

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

Post 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

gks
Posts: 14
Joined: 29 Apr 2014 09:03

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

Post 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

autocart
Posts: 1356
Joined: 26 Sep 2013 15:22

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

Post 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.

admin
Site Admin
Posts: 65180
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post 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... :?

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

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

Post 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:
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

autocart
Posts: 1356
Joined: 26 Sep 2013 15:22

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

Post 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.

admin
Site Admin
Posts: 65180
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post by admin »

Ah, okay. Yes, sounds like ADS.

gks
Posts: 14
Joined: 29 Apr 2014 09:03

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

Post 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 :-)

gks
Posts: 14
Joined: 29 Apr 2014 09:03

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

Post 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 :-)

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

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

Post 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...)
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

Post Reply