Page 1 of 1

How to save an invisible stack on desktop??

Posted: Thu Mar 06, 2014 8:56 pm
by Fasasoftware
Hi to everybody,

How to save an invisible stack on desktop?? i'm asking this because i'm thinking to protect my program with this old but yet powerfull technique....

I need an example code please...i thank you a lot again...

best regards,

Lestroso :oops:

Re: How to save an invisible stack on desktop??

Posted: Thu Mar 06, 2014 10:13 pm
by Fasasoftware
I have tryed this code below.....and it works...but don't save an invisible stack....save ok but visible....

Code: Select all

on mouseUp
   create invisible stack "Test"
save stack "Test" as "/users/sm/Desktop/prova/Test"
end mouseUp
If i try this one below don't work.....any ideas?? thanks a lot...

Code: Select all

on mouseUp
   create invisible stack "Test"
save invisible stack "Test" as "/users/sm/Desktop/prova/Test"
end mouseUp
lestroso :oops:

Re: How to save an invisible stack on desktop??

Posted: Thu Mar 06, 2014 11:10 pm
by jmburnod
Hi,
I never did that but If I have to make a file invisible on desktop I begin the file name with "." but be careful this is reserved for system files (OSX)
Best regards
Jean-Marc

Re: How to save an invisible stack on desktop??

Posted: Thu Mar 06, 2014 11:16 pm
by FourthWorld
The "create invisible stack" command only governs the visibility of the window the stack is displayed in when it's opened; it doesn't affect the file's appearance in any way.

On Mac and Linux, simply putting a "." before the file name will cause it to be invisible, though of course it's not hard to find them in Terminal with "ls -a".

Windows uses a flag unique to its file system, and there's likely a way to vall VBScript from your app to handle that, though some anti-virus programs set off alarms when apps attempt to make VBScript calls.

Personally, as a user I find hidden files annoying, since they can prevent me from doing things like emptying a folder, but I won't know why unless I dive into Terminal. And as a developer, all OSes provide some means of showing hidden files, so it's not all that secure anyway.

There may be other ways to solve the problem that don't require your app to hide things from the user.

What are you looking to do??

Re: How to save an invisible stack on desktop??

Posted: Thu Mar 06, 2014 11:41 pm
by Fasasoftware
hi FourthWorld,

thank you a lot for your help....i would like to protect in some manner my program , but i don't want use protection like numbers and create big database to determinate the license of the copies of my program....do you have a simple idea to do this simple???

I thank you again...


Best regards,

Lestroso :)

Re: How to save an invisible stack on desktop??

Posted: Fri Mar 07, 2014 12:24 am
by FourthWorld
Have you looked at Jacque's Zygodact?
http://livecode.com/store/marketplace/zygodact-1-0-4/