Multi Commander > Script

Script engine error

(1/1)

Tezcatlipoca:
Script engine error => No matching function with name "AddFileAttribute" found.

Not found:

* AddFileAttribute()
* SetFileAttribute()
* GetFileAttribute()
* PathGetPathPart()
* PathGetNamePart()
* and etc.
need import the desired function?

Mathias (Author):
It works



--- Code: ---@var $part = PathGetPathPart("C:\\Temp\\MyFile.txt");
MessageBox("Msg", $part, 0);
--- End code ---

Mathias (Author):
Ahh on the attributes functions you are missing a 's'  Attributes..  So  AddFileAttributes/SetFileAttributes and so on
But PathGetPathPart,PathGetNamePart is correct so they should work

Navigation

[0] Message Index

Go to full version