Search found 802 matches

by Mag
Wed Nov 09, 2016 2:05 pm
Forum: Mac OS
Topic: How to save an alias of a file in a stack?
Replies: 7
Views: 3434

Re: How to save a file in a stack?

Thank you Klaus.

Maybe I have to create a disk alias on the fly and store it to some hidden and super secret location on the disk... :D
by Mag
Wed Nov 09, 2016 1:51 pm
Forum: Mac OS
Topic: How to save an alias of a file in a stack?
Replies: 7
Views: 3434

Re: How to save a file in a stack?

But if the user moves the file to another location the path doesn't work. I seem to recall that in Supercard there was a way to store a "sort of" alias that refer to the actual file regardless its location or its name.
by Mag
Wed Nov 09, 2016 12:23 pm
Forum: Mac OS
Topic: How to save an alias of a file in a stack?
Replies: 7
Views: 3434

How to save an alias of a file in a stack?

I know that each file in a disk has a path, and I can store it in a LiveCode container (for example a customer property), is there also the possibility to store in a LiveCode container a sort of alias of a given file (not an alias) on disk? I need this because I want to keep track of a document on t...
by Mag
Tue Nov 08, 2016 9:40 pm
Forum: Mac OS
Topic: App with documents
Replies: 19
Views: 6246

Re: App with documents

I would like to use one document file (a stack without scripts, just custom proprieties) for each window I create in the app. The technique described on your post in this topic. When user close a window I save in this stack file its state, when the user opens the stack file I use the it to restore t...
by Mag
Tue Nov 08, 2016 3:42 pm
Forum: Mac OS
Topic: App with documents
Replies: 19
Views: 6246

Re: App with documents

So to every invisible file stack, corresponds a visible window on the screen. How do you recommend to track pairing? Sometimes the user moves the position of a document file on the disk and in this case I would lose the file location if I had closed the invisible file stack after reading the data......
by Mag
Sun Nov 06, 2016 11:19 am
Forum: Talking LiveCode
Topic: Proposed changes to the IDE User Interface
Replies: 23
Views: 5599

Re: Proposed changes to the IDE User Interface

However: the Livecode GUI has not changed much since the 2.6 interface. I don't really think that whether the icons are "modern" (whatever "modern" means - never could work that one out) is important: what IS important is what one can get done with Livecode. But then I dress out of second-hand shop...
by Mag
Thu Nov 03, 2016 9:16 pm
Forum: Mac OS
Topic: App with documents
Replies: 19
Views: 6246

Re: App with documents

Super! 8)

Your message contains 2 characters. The minimum number of characters you need to enter is 10.
by Mag
Thu Nov 03, 2016 8:41 pm
Forum: Mac OS
Topic: App with documents
Replies: 19
Views: 6246

Re: App with documents

Thank you for the very clear explanation!

Code: Select all

create invisible  stack stackName
show stack stackName
is the same to

Code: Select all

create stack stackName
Or the "create invisible" command creates a special kind of object?
by Mag
Thu Nov 03, 2016 5:12 pm
Forum: Mac OS
Topic: App with documents
Replies: 19
Views: 6246

Re: App with documents

Without knowing more, a couple of thoughts: 1) The invisible stack is a good idea, especially if you don't know anything about databases, because it gives you what is, in effect, a database. 2) Look up "open file", "read from file", "write to file", and "close file". File operations in LC are stupi...
by Mag
Thu Nov 03, 2016 5:10 pm
Forum: Mac OS
Topic: App with documents
Replies: 19
Views: 6246

Re: App with documents

Hi Mag, why not use a (invisible) Livecode stack? Gazillion of storing possibilities with its custom properties and custom property sets! :D Best Klaus Thank you Klaus, so I can store info in a stack created on the fly, save on the disk with any extension and then open it keep it invisible to get t...
by Mag
Wed Nov 02, 2016 5:29 pm
Forum: Mac OS
Topic: App with documents
Replies: 19
Views: 6246

App with documents

Hi all, I'm creating an application that has to create docs, in them I would like to store text and some numbers. What is the best way to do this? Is this lesson updated or with the current version of LiveCode there is a better approach? http://lessons.livecode.com/m/4071/l/7011-how-to-read-in-data-...
by Mag
Tue Nov 01, 2016 9:23 pm
Forum: Talking LiveCode
Topic: Proposed changes to the IDE User Interface
Replies: 23
Views: 5599

Re: Proposed changes to the IDE User Interface

Am I the only one who uses multiple property windows, simultaneously? Whenever I'm working on a new project, I'm comparing multiple objects, and tweaking properties. I don't know if I ever have three property windows open at the same time (unless the third one is the card properties), but I do have...
by Mag
Tue Nov 01, 2016 9:21 pm
Forum: Talking LiveCode
Topic: Proposed changes to the IDE User Interface
Replies: 23
Views: 5599

Re: Proposed changes to the IDE User Interface

I was being silly- Mikey mentioned "one window to rule them all". I was just flippantly latching on to the LotR reference Ops, I thought you were talking about one of those interfaces where it hovered and appear the cloves with the various commands... or even to one of these: :lol: control.jpg http...
by Mag
Tue Nov 01, 2016 10:49 am
Forum: Talking LiveCode
Topic: Proposed changes to the IDE User Interface
Replies: 23
Views: 5599

Re: Proposed changes to the IDE User Interface

Hello SparkOut, thanks for the post, could you explain what you mean? I updated the image on the first post to show better that the selected items in the card corresponds to the selected items in the Project Browser (to learn more why I proposed this change, please visit this topic: http://forums.li...
by Mag
Tue Nov 01, 2016 10:08 am
Forum: IDE Contributors
Topic: Proposal for changing a bit the Project Browser
Replies: 13
Views: 7275

Re: Proposal for changing a bit the Project Browser

Thank you for your contribute.

I updated the window with a bar where you can search for items and filter to show all items or only items present in current card (please see the second image in the first post).

Go to advanced search