Search found 38 matches

by laurpapo
Mon Oct 14, 2013 11:22 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Import as Control Error Message
Replies: 2
Views: 1931

Re: Import as Control Error Message

It won't work for anything; screenshots from the desktop, downloaded images from the desktop, etc.
by laurpapo
Mon Oct 14, 2013 10:27 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Import as Control Error Message
Replies: 2
Views: 1931

Import as Control Error Message

Hello, I have "imported as control" many times in my short programming career, and it has never NOT worked. Until today, when I am under a tight deadline. I have tried importing the image from the desktop and my folder, I have tried importing it as a png and a jpg and still nothing. I get a very str...
by laurpapo
Mon Oct 14, 2013 10:24 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Script won't work once I create a standalone app
Replies: 2
Views: 1945

Re: Script won't work once I create a standalone app

Thanks for your help! I couldn't actually figure it out and ended up taking a shortcut--I didn't actually fix the problem but created a workaround.

Thanks!
by laurpapo
Tue Oct 08, 2013 2:54 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Script won't work once I create a standalone app
Replies: 2
Views: 1945

Script won't work once I create a standalone app

Hello, I have a bit of code that I've used on multiple cards that resizes the text of all buttons on a card as the user resizes the stack. It works perfectly fine during development, and it continues to work for all but one card once I create the standalone app. Basically, once the stack is resized,...
by laurpapo
Mon Sep 02, 2013 4:59 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Mouseleave doesn't show up on the message watcher
Replies: 2
Views: 2147

Mouseleave doesn't show up on the message watcher

Hey! I am having an issue getting the mouseleave handler to work. I have a program where a field gets created in the middle of a line graphic and the field is supposed to show up when the mouse is over the graphic, and disappear when the mouseleaves. The field is only disappearing about half the tim...
by laurpapo
Fri Aug 30, 2013 2:04 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Changing the icon in the ask/answer dialogue boxes
Replies: 2
Views: 2827

Changing the icon in the ask/answer dialogue boxes

Hello, I am wondering if it's possible to customize the image that appears in the dialogue box that appears when you use ask/answer commands. In the livecode dictionary it mentions creating an image (e.g. image id 8799) and putting that image id into the global variable gRevSmallAppIcon. This seemed...
by laurpapo
Fri Apr 05, 2013 4:53 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Applescript launching program, but not switching to it
Replies: 1
Views: 1698

Applescript launching program, but not switching to it

Hi, I have a program that is supposed to switch to the game pacman during it. I've got it to launch the pacman program, but it stays in revolution and doesn't switch windows to pacman (this is important because it's for an experiment). Here is my code: on pacmanproc put the text of field "Instructio...
by laurpapo
Fri Oct 19, 2012 3:54 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Play audio files while presenting text
Replies: 1
Views: 1760

Play audio files while presenting text

Hi, We have a series of audio files to present on a program, but while the audio files are being played, we want to be able to allow other things to be going on (presenting text in fields on the current card). Is this possible to do? It is not one long audio file, but a series of shorter ones that n...
by laurpapo
Mon Sep 03, 2012 5:38 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Fields resize
Replies: 4
Views: 2976

Re: Fields resize

Sorry to be a bother--I figured it out. The updatesize handler that adjusted the dontwrap property was only called BEFORE the new text was put into the fields, when it should have been after. Silly me. Thanks for all of the help!
by laurpapo
Mon Sep 03, 2012 4:24 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Fields resize
Replies: 4
Views: 2976

Re: Fields resize

I am pretty sure the properties stay the same, because when the field is recreated it is created from the same templatefield as the original was. And the maps are saved so that multiple maps can be reopened on the same card at later times. This is for a psychology experiment. Simply hiding the field...
by laurpapo
Mon Sep 03, 2012 4:16 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: updating lines
Replies: 6
Views: 3815

Re: updating lines

Also, I can't figure out how to apply the "repeat for each" command to the above code. Sorry--I am just a little confused by the syntax for that.
by laurpapo
Mon Sep 03, 2012 3:56 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Fields resize
Replies: 4
Views: 2976

Fields resize

We have a program for creating concept maps, and a feature that allows the positions of all of the fields to be recorded in a text file. When we want to 'open' that same map, it just calls on the text file and recreates the fields in the positions they were in when the map was saved, and inputs the ...
by laurpapo
Mon Sep 03, 2012 3:43 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: updating lines
Replies: 6
Views: 3815

Re: updating lines

Here is the updatelines handler: on updateLines pRepeat set the recursionlimit to 1000000000000000000 if gInMotion is true then repeat with x = 1 to the number of lines in gCurrentLinks set the points of graphic line x of gCurrentLinks to the loc of field item 1 of line x of gCurrentLinks &cr& the l...
by laurpapo
Wed Aug 29, 2012 3:36 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: updating lines
Replies: 6
Views: 3815

updating lines

Hey, So we have a program that allows users to map various concepts and the main components are fields and line graphics (users connect the fields with lines, basically). The lines automatically update so that when users move fields around, the lines associated with the those fields move with them. ...