Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Queries the NodeID fo the file or folder.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Files | 3.1 | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes, on macOS and Windows | ❌ No |
Parameter | Description | Example |
---|---|---|
Path | The native file/folder path. | $path |
Returns file ID as number.
Queries node ID:
Set Variable [$r; Value:MBS( "Files.GetNodeID"; "/Users/cs/Desktop/todo.rtf")]
Test ID functions:
Set Variable [ $path ; Value: "/Users/cs/Desktop/test.rtf" ]
Set Variable [ $id ; Value: MBS( "Files.GetNodeID"; $Path ) ]
Set Variable [ $NewPath ; Value: MBS( "Files.GetPathFromNodeID"; "/"; $id ) ]
Show Custom Dialog [ "Both Paths should be same" ; $Path & ¶ & $newPath ]
Test on Windows:
Set Variable [ $node ; Value: MBS( "Files.GetNodeID"; "C:\Users\Christian\Desktop\DbgView.exe") ]
Set Variable [ $path ; Value: MBS( "Files.GetPathFromNodeID"; "C:"; $node) ]
Show Custom Dialog [ "NodeID" ; $node & ¶ & $path ]
This function checks for a license.
Created 18th August 2014, last changed 10th August 2020