re:referring to object names stored in variables

2011-08-14 Thread Thomas Bähler
Hi Colin What I wanted (and accomplished now) is the following: I have two fields: the first is editable and I can write parameters and their values in it, the other is locked and shows calculations based upon the parameters available in the first field. To avoid typos I included a feature in t

Re: referring to object names stored in variables

2011-08-14 Thread Thomas Bähler
Hi Mark, Hi Peter I thought of parsing the content of the variable, but wanted to find the function or the LiveCode keyword that would do that for me. That function might not exist. So, for the moment I store just the numbers and "glue" the reference together in the script as you suggested. Tha

referring to object names stored in variables

2011-08-14 Thread Thomas Bähler
Hi all Grrr, I did that before but can't find the solution anymore. I have a textfield with several lines. When I click that field, I store the reference of the selectedLine in a custom variable. Later I want to put text after that specific line. But I don't get there. I click in line 1 of fiel

Re: Drag and drop a Bookmark

2011-02-28 Thread Thomas Bähler
> Is this under Windows? Because on OSX I get the URL and not the title when > dragging bookmarks from both Safari and Firefox into a Livecode field. In > fact from memory, to get the title on a Mac you need to grab the url, load > it and then parse the text between the title tags. Hi Terry It's o

Drag and drop a Bookmark

2011-02-27 Thread Thomas Bähler
Hi I'd like to drag a bookmark off a browser and drop it in a field in LiveCode. So far I get only the titel of the bookmark in the field but not the URL. For instance, I get "iGoogle" but I would like to get "http://www.google.com/ig";. Or even better, I want to retrieve both chunks. How do I d