How do I use SaveInfo so that I can find a file after moving it? The code is quite simple.
Sub Action() Handles Action dim f as FolderItem = GetOpenFolderItem("") if f = Nil then Return SaveInfo = EncodeBase64(f.GetSaveInfo(volume(0))) End Sub
And Button 2:
Sub Action() Handles Action if SaveInfo = "" then Return Dim f As FolderItem = GetFolderItem(DecodeBase64(SaveInfo), FolderItem.PathTypeNative) if f <> nil then MsgBox f.NativePath End Sub
Click on Button 1, select a file, click on Button 2 and get a nice message. Now move the selected file to a different location. Click on Button 2 again and you will get no message. I'm pretty sure that this worked once upon a time. Bug or am I doing something wrong?
High Sierra + Catalina, Xojo 2019r1.1 and latest something.