Search found 37 matches

by nextyoyoma
Thu Aug 06, 2015 3:54 am
Forum: Talking LiveCode
Topic: Printing specific area of card
Replies: 3
Views: 555

Re: Printing specific area of card

I'm on 7.1 I think, I'm not near the computer at the moment.

I don't think my stack uses any features new to v7. Can I just open my stack in livecode 6.x?

EDIT: I'm on Mac OS 10.10

EDIT 2: Problem solved! I was on 7.0, Build 10018. Upgraded to 7.1.0-DP and it works now.
by nextyoyoma
Wed Aug 05, 2015 9:07 pm
Forum: Talking LiveCode
Topic: Printing specific area of card
Replies: 3
Views: 555

Printing specific area of card

I'm trying to print just a specific area of a card like this: on mouseUp print this card from 0,0 to 900,700 end mouseUp But I just get blank output. If I just do: print this card ...I get the whole card printed, as expected. There is a thread on this from a while back but it was never resolved.( ht...
by nextyoyoma
Wed Jan 15, 2014 4:21 pm
Forum: iOS Deployment
Topic: openStack handler not executing in simulator
Replies: 3
Views: 546

Re: openStack handler not executing in simulator

Thanks, that was definitely the issue. The problem line was:

Code: Select all

set the fullscreenmode of this stack to “exactFit”
I'm on LC 6.5.0 rc 1 build 3002. LC says there is no update available. Is that accurate?
by nextyoyoma
Tue Jan 14, 2014 7:02 pm
Forum: iOS Deployment
Topic: openStack handler not executing in simulator
Replies: 3
Views: 546

openStack handler not executing in simulator

I have a simple application with only one card. preOpenStack works, but for whatever reason, anything I put in "openStack" doesn't get executed. If I have this on the stack: on openStack answer "hello" end openStack then I get nothing when the app opens. But if I have a button with script on mouseUp...
by nextyoyoma
Tue Dec 10, 2013 5:39 pm
Forum: Animation Engine
Topic: Crash on collision
Replies: 2
Views: 2474

Crash on collision

I am just trying out animation engine. When I open the stack "collisionListenerDemo", and start listening for collisions, LiveCode completely crashes whenever a collision occurs. I am using LC 6.5.0, which I understand is not a stable release. Has anybody else seen this, and is there a workaround? I...
by nextyoyoma
Thu Nov 07, 2013 11:12 pm
Forum: Feature Requests
Topic: URL "file:newDirectory/file" should create directory if need
Replies: 13
Views: 3209

URL "file:newDirectory/file" should create directory if need

I'm sure if there is a reason for the current behavior: set the defaultFolder to specialFolderPath("Desktop") put "hello world" into URL "file:myFolder/myFile This only works if ~/Desktop/myFolder/ already exists. If not, you have to create it. So you have to do: set the defaultFolder to specialFold...
by nextyoyoma
Thu Nov 07, 2013 11:02 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Default folder path
Replies: 5
Views: 711

Re: Default folder path

Simon wrote:I think you want to put that in the Feature Request forum.

Simon
Will do. Just wasn't sure if there was some particularly important reason it didn't already work that way. Thanks!
by nextyoyoma
Thu Nov 07, 2013 10:40 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Default folder path
Replies: 5
Views: 711

Re: Default folder path

Simon wrote:Hi Rod,
Just create the folder first
Can someone explain why we need to do that? I'm used to bash scripting, where you don't have to create a directory before writing a file to it. Would it not be simpler for LiveCode to create a directory if one does not exist?
by nextyoyoma
Thu Oct 17, 2013 7:11 pm
Forum: Creating Games
Topic: Minesweeper Clone - feedback sought
Replies: 1
Views: 1145

Minesweeper Clone - feedback sought

Hi, all. I am helping to teach a LiveCode class, and my students are currently doing a "game" project. I decided to do my own project, so I created a minesweeper clone. It is almost feature-complete; all of the core functionality works, but most visual elements are not yet implemented, and some game...
by nextyoyoma
Wed Oct 16, 2013 1:06 am
Forum: Talking LiveCode
Topic: Padding on button icon?
Replies: 3
Views: 688

Re: Padding on button icon?

bn wrote:Hi nextyoyoma,

try to add

Code: Select all

  set the style of the templateButton to "rectangle"
to your opencard handler. For me it takes away the 2 pixel at the bottom of the button. This is on a Mac.

Kind regards
Bernd
That's it! Thanks!
by nextyoyoma
Tue Oct 15, 2013 10:42 pm
Forum: Talking LiveCode
Topic: Padding on button icon?
Replies: 3
Views: 688

Padding on button icon?

I am using the following code to generate a game board for a project. The board consists of a grid of buttons, the number of which is specified in field "field" (just temporary name, obviously). on openCard set the height of the templateButton to 30 set the width of the templateButton to 30 set the ...
by nextyoyoma
Mon Sep 23, 2013 8:45 pm
Forum: Talking LiveCode
Topic: Built-in functions
Replies: 3
Views: 806

Re: Built-in functions

@Klaus, Thanks, but I was looking for the actual CODE for these functions. For example, I can open up the LiveCode app bundle and go to Contents>Resources>Tools>Toolsets and get a look at the actual stack for the answer dialog. Is there a stack somewhere that defines functions like "toUpper" or "int...
by nextyoyoma
Mon Sep 23, 2013 7:16 pm
Forum: Talking LiveCode
Topic: Built-in functions
Replies: 3
Views: 806

Built-in functions

Is it possible to view the code for the build in functions, such as toUpper and intersect? I would love to be able to show my students how these functions work.
by nextyoyoma
Wed Aug 28, 2013 8:03 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Matching multiple cases in a switch
Replies: 1
Views: 650

Matching multiple cases in a switch

Let's say I have the following: set the cColor of btn "btn1" to "blue" set the cShape of btn "btn1" to "round" switch case the cColor of btn "btn1" is "blue" answer "it's blue" break case the cShape of btn "btn1" is "round" answer "it's round" break default answer "It's neither blue nor round" end s...
by nextyoyoma
Tue Nov 13, 2012 11:47 pm
Forum: Mac OS
Topic: AppleScript not working
Replies: 9
Views: 3038

Re: AppleScript not working

It may come to that. The reason I don't want to do that is that I only want to run this action under certain conditions (e.g., Student is on campus, it's during school hours, and an exempt user such as an administrator isn't logged into their computer.) So it would mean doing all that in AppleScript...

Go to advanced search