Since there is no error, and it shows "TestSaveStack" my guess is it IS saving the file correctly, but a folder along the way to where the file is saved is hidden (hence being unsearchable.) If you set the folder to a known location (prior to the save) and then save it, it will probably be right where you expect. Or if you specify a full path, that will probably work too.
Am I the only one who saves the current filename of the stack (assuming it has one) sets the filename, tell it to save itself, and reset the filename back to the original? Actually nevermind, I see Klaus did it both ways. On Thu, Jan 5, 2017 at 10:47 AM, Rick Harrison via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi Mike, > > Using your code in the button shows in the message box > TestSaveStack > > Which is the name of the file. > > Searching my entire hard drive doesn’t show > any file named “TestSaveStack”. > > There is no error reported for "the result”. > > Rick > > > > On Jan 5, 2017, at 11:32 AM, Mike Bonner via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > If you change it to > > on mouseup > > save this stack as "TestSaveStack" > > put it && the result > > put cr & the files after msg > > end mouseup > > does it return an error? > > If not, does it show the file? > > > > If the default folder is set to an unwritable folder you should receive > an > > error. If not, you should see the saved stack in the files. > > the defaultfolder on startup (windows) seems to be > > C:/Users/myUserName/AppData/Local/RunRev/Documentation > > Cache/9_0_0_dp_1_community/IDE > > > > Not exactly where one would look for it. Also, the "recent files" of the > > file menu doesn't reflect the save. > > > > On Thu, Jan 5, 2017 at 9:20 AM, Rick Harrison via use-livecode < > > use-livecode@lists.runrev.com> wrote: > > > >> > >>> On Jan 3, 2017, at 6:38 PM, Bob Sneidar <bobsnei...@iotecdigital.com> > >> wrote: > >>> > >>> Not sure this helps you but I use Save this stack all the time and I > can > >> see the stack in the finder append a tilde (~), create a new stack file > >> then the file with the tilde goes away. My changes are always there > >> afterwards. > >>> > >>> Bob S > >>> > >> > >> Hi again, > >> > >> 1. Create a new stack > >> > >> 2. Put a button on it. > >> > >> 3. Edit the button to insert the following code: > >> > >> on mouseUp > >> > >> save this stack as “TestSaveStack" > >> > >> end mouseUp > >> > >> > >> 4. Test the button > >> > >> It just doesn’t work at all. No stack gets saved! > >> > >> I’m using LC Indy version 8.1.2 > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode@lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > > use-livecode mailing list > > use-livecode@lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode