Re: JScript Panel script discussion/help
Reply #826 –
Hi, this is not working:
var objShell = new ActiveXObject('Shell.Application');
objShell.NameSpace(panel.tf('$directory_path(%path%)')).ParseName(panel.tf('%filename_ext%')).ModifyDate = '2018/09/07 15:51';
both panel.tf('$directory_path(%path%)') and panel.tf('%filename_ext%') return a correct value for the file to be changed, but date does not get modified.
If I run the same code, replacing 'panel.tf' values, from WSH, it does work. Any clue? Thanks.