Search found 100 matches

by calmrr3
Thu Feb 05, 2015 6:53 pm
Forum: iOS Deployment
Topic: Save screen capture to camera roll?
Replies: 6
Views: 4421

Re: Save screen capture to camera roll?

Thanks you both, got it working :)
by calmrr3
Thu Feb 05, 2015 6:14 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Unable to find error in my script?
Replies: 8
Views: 5344

Re: Unable to find error in my script?

SOLVED, rewrote the line and it now seems to work.. strange.

Thanks anyway
by calmrr3
Thu Feb 05, 2015 5:33 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Unable to find error in my script?
Replies: 8
Views: 5344

Re: Unable to find error in my script?

Hi, That is strange. To make sure that the error is caused by this statement, you could put a try-catch control structure around it and see if it catches an error. Are you sure that mobileStartTrackingSensor was executed successfully first? Kind regards, Mark Hi Mark, So the error is something to d...
by calmrr3
Thu Feb 05, 2015 4:31 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Unable to find error in my script?
Replies: 8
Views: 5344

Re: Unable to find error in my script?

Hi Mark,

Thanks for your reply,

I have tested this on my device and it is giving the same message. Location services and GPS are enabled as well.

Thanks
by calmrr3
Thu Feb 05, 2015 4:06 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Unable to find error in my script?
Replies: 8
Views: 5344

Re: Unable to find error in my script?

Mark wrote:What is the exact text of the error message?

Mark

Hi, When run on the xcode simulator it says :

Image

Thanks
by calmrr3
Thu Feb 05, 2015 12:23 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Unable to find error in my script?
Replies: 8
Views: 5344

Unable to find error in my script?

Hello, I've spent the last couple of days trying to debug my script but I have had no luck and can see no reason why it doesn't work. So I thought a fresh set of eyes might be able to spot something... So the first card script is: global tLatitudeListA global tLatitudeList global tLatitudeMax global...
by calmrr3
Wed Feb 04, 2015 11:52 pm
Forum: iOS Deployment
Topic: Save screen capture to camera roll?
Replies: 6
Views: 4421

Save screen capture to camera roll?

Hi, I am trying to figure out how to save a snapshot of a specific area of a card to the camera roll. I have been experimenting with: on mouseUp EXPORT snapshot from rect 0,30,320,350 to file "File1.png" as PNG answer ("File Saved Successfully") go to card "Home" end mouseUp But I don't think this i...
by calmrr3
Tue Feb 03, 2015 10:21 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Copy/Paste in LC 7.0.1
Replies: 1
Views: 1986

Copy/Paste in LC 7.0.1

Hello, I have been looking for a way to paste text into a field on iOS. I am aware that in previous versions this was not possible and I was unable to find a recent post relating to this. I want to be able to copy text from another app (such as email or safari) and then paste it into a field in the ...
by calmrr3
Mon Feb 02, 2015 11:57 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using Image Areas
Replies: 12
Views: 6386

Re: Using Image Areas

Hi, So I now have: on mouseUp repeat with checkImgs = 1 to 9 if img ("Image" & checkImgs) of card "manualS" is EMPTY then EXPORT snapshot from rect 0,30,320,350 of this card to img ("Image" & checkImgs) of card "manualS" of this stack end if end repeat go to card "manualS" end mouseUp but this is ad...
by calmrr3
Mon Feb 02, 2015 9:04 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using Image Areas
Replies: 12
Views: 6386

Re: Using Image Areas

Hi thanks for your replies, i'm still struggling to figure this one out. Each image is named "Image1" "Image2" ... "Image9" I've included some code below which livecode doesn't seem to like (it says the if statement is missing 'then'). The thing I can't work out is: with a repeat will the image be e...
by calmrr3
Mon Feb 02, 2015 4:45 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using Image Areas
Replies: 12
Views: 6386

Re: Using Image Areas

Worth mentioning that when I run this it says:

Code: Select all

   NO SUCH OBJECT  >>  EXPORT snapshot from rect 0,20,320,340 of this card to img 2 of card "manualS" of this stack
I assume this is referring to 'img 2' which doesn't make sense to me as surely that refers to the second image area on card "manualS"
by calmrr3
Mon Feb 02, 2015 4:05 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using Image Areas
Replies: 12
Views: 6386

Using Image Areas

Hello, I wonder if someone could help me with the following: I have a card which generates a visual using graphics, on this card is a button which is meant to send a screengrab of the generated visual to an Image Area on another card. I am trying to figure out how I can check the image fields to see...
by calmrr3
Tue Jan 27, 2015 2:02 pm
Forum: Converting to LiveCode
Topic: Pseudo code help
Replies: 22
Views: 24420

Re: Pseudo code help

I don't want to muddy the waters, if things get worse rather than better then this is no good, but I can't help thinking that another approach may help things fall into place. If you delete all the (appropriate) plot location graphics and recreate the right graphics at the right blend level when yo...
by calmrr3
Mon Jan 26, 2015 10:39 pm
Forum: Converting to LiveCode
Topic: Pseudo code help
Replies: 22
Views: 24420

Re: Pseudo code help

Hi calmrr3 Debugging is a skill that took me quite a while to really get the hang of (and there loads of ways I could do it better I'm sure) - and if you are new to programming it might be worth your while to put down the problems with the app you are currently working on and spend a bit of time on...
by calmrr3
Mon Jan 26, 2015 9:36 pm
Forum: Converting to LiveCode
Topic: Pseudo code help
Replies: 22
Views: 24420

Re: Pseudo code help

I can't really see how I could do line by line testing as each part of the code is informed by another part of the code. I've spent the best part of the day trying to solve this (i'm not a programmer) and I can only assume that to get this to work requires something that I have not yet learned..

Go to advanced search