Search found 145 matches
- Tue Feb 24, 2015 12:59 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to Destroy a revBrowser object
- Replies: 2
- Views: 2140
Re: How to Destroy a revBrowser object
Hi Neil, Thanks for the information. I neglected to mention that I was editing and running my app in LC 6.6.2. Has the bug been fixed in LC 7? When I have used LC 7 before, I found that the "launch document" command would not open local PDFs (another bug?), but since the PDFs are also web-based, I w...
- Wed Feb 18, 2015 2:09 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to Destroy a revBrowser object
- Replies: 2
- Views: 2140
How to Destroy a revBrowser object
I have a field scripted to open an instance of a revBrowser object and display web-based PDFs. I need a card or stack script to close the revBrowser object upon closing the card or stack or clicking another item in a locked list field on the same card. I have successfully closed the object with the ...
- Mon Dec 01, 2014 7:22 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Another SelectedText Error
- Replies: 7
- Views: 3855
Re: Another SelectedText Error
I am using different computers to work on the same stack (work, Windows 7; home, Windows 8.1): I sync the stack daily using an external hard drive. Your question suggests that the error is rooted in opening the stack in different LC versions, which is what I recently did. I opened it in LC 7 recentl...
- Mon Dec 01, 2014 4:18 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Another SelectedText Error
- Replies: 7
- Views: 3855
Another SelectedText Error
Today an error appeared in what had been a working feature. I have a scrolling, locked text field with lines of text, with the field's list behavior set to true. The first part of the field's script is: on mouseup put the selectedtext of me into vChapter . . . end mouseup [code] Formerly, the variab...
- Sat Nov 29, 2014 10:04 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Script for setting the script of a object
- Replies: 6
- Views: 3667
Re: Script for setting the script of a object
Thanks, Dixie. Your script is in the same form as mine, and both our scripts track the example for the command in the Dictionary. I even created graphics named 1 & 2 and used your script verbatim, but the script of grc 2 remains empty. I'll keep trying but welcome other suggestions.
Monty
Monty
- Sat Nov 29, 2014 9:17 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Script for setting the script of a object
- Replies: 6
- Views: 3667
Script for setting the script of a object
Maybe I'm overlooking something obvious, but the following script does not seem to do anything: on mouseup set the script of grc GRAPHIC_NAME_A to the script of grc GRAPHIC_NAME_B end mouseup GRAPHIC_NAME_A and GRAPHIC_NAME_B are either the actual names of the objects, in quotation marks, or are var...
- Thu Nov 13, 2014 7:45 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Using "Launch Document" to open Word macros
- Replies: 1
- Views: 1732
Re: Using "Launch Document" to open Word macros
Error in third line. I meant to say "the script does not run."
- Thu Nov 13, 2014 7:43 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Using "Launch Document" to open Word macros
- Replies: 1
- Views: 1732
Using "Launch Document" to open Word macros
I use WIndows. I want to run a Word 2010 template macro (a .dotm file) from LC by using the "launch document" command, but it won't work unless in my vba subroutine I set the triggering event to "document_open." But this opens the document as a .dotm file rather than a new document, a ".docx" file, ...
- Thu Oct 23, 2014 11:05 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Error while initializing development environment
- Replies: 2
- Views: 2751
Re: Error while initializing development environment
I am running Windows 8.1 and LiveCode 6.6.4 and getting the above message when I try to open any stack by clicking on it. The same stack opens on my work computer (Windows 7, LC ver. not available now) by that method without any problem. I tried different versions but same result. Fortunately, if I ...
- Thu Sep 18, 2014 6:04 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Footnotes in scrolling text fields
- Replies: 7
- Views: 4541
Re: Footnotes in scrolling text fields
Hello Klaus, Thank you for pointing out the error and the correct handler, but now I have another problem. After reading the dictionary entry for mouseMove and seeing its example, I revised my script for the field containing my body text with footnotes: on mouseMove if the mouseChunk is not empty an...
- Thu Sep 18, 2014 5:06 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Footnotes in scrolling text fields
- Replies: 7
- Views: 4541
Re: Footnotes in scrolling text fields
Hello Craig Your suggestion to use the mouseText function seems to be the answer, but nothing happens when my mouse hovers over linked text in a locked field: on mouseenter if the style of mousetext is "group" then answer "Daisy" end if end mouseenter Of course, I want a field with the text of the f...
- Thu Sep 18, 2014 2:45 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Footnotes in scrolling text fields
- Replies: 7
- Views: 4541
Footnotes in scrolling text fields
I cannot find this question in the forum. I am writing a ebook on law in which I cite sources (court cases, statutes, and attorney general opinions) for statements. Using linked superscripted consecutive numbers at the end of statements seems the method to use, as in a printed book, but the footnote...
- Fri Sep 05, 2014 3:15 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: SelectedText Error
- Replies: 2
- Views: 2215
SelectedText Error
My stack has number of cards with locked fields with their list behavior set to true. The script for each field puts the selected text of each line into a variable, and then "go cd <variable>" takes the user to a card of the same name. Today, it has a persistent error: the selected text contains two...
- Thu Aug 14, 2014 5:58 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Automating placement of referenced image
- Replies: 5
- Views: 3312
Re: Automating placement of referenced image
Thank you Klaus, dunbarx, and WaltBrown. I now understand how to automate the importation and placement of images of my judges, and If I set the correct image size of my photos in my photo editor, I won't need to scale them with code in the script.
Monty
Monty
- Thu Aug 14, 2014 2:52 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Automating placement of referenced image
- Replies: 5
- Views: 3312
Re: Automating placement of referenced image
But what is the object referred to as IMAGE in the example and that has the name "image"? Is it an "image area", which is one of the tools on the tools pallette?
Monty
Monty