Re: Printing a revBrowser

2016-02-10 Thread Terence Heaford
Also just tried this example from the dictionary. local tSnapshot revBrowserSnapshot sBrowserId, "tSnapshot" set the imageData of image "Browser Thumbnail" to tSnapshot All the data displayed in the image is corrupted. Now for the sarcastic comment: DOES ANYTHING WORK WITH A REVBROWSER? It

Re: Printing a revBrowser

2016-02-10 Thread Mark Waddingham
On 2016-02-10 14:58, Terence Heaford wrote: Also just tried this example from the dictionary. local tSnapshot revBrowserSnapshot sBrowserId, "tSnapshot" set the imageData of image "Browser Thumbnail" to tSnapshot The dictionary example isn't very good there... ImageData does not carry the

Re: [ANN] mergExt releases for iOS 9.2

2016-02-10 Thread Mike Kerner
The other thing that would be nice would be to maybe have the new versions not be marked with the version number. I realize that can be dangerous, but for every app, I have to go into Copy Files for every external and point to the new one. When I forget (especially if I haven't done a new build

Re: html5 & liveCode

2016-02-10 Thread [-hh]
John D. wrote: > Is there a list somewhere about what is working and what is not > with html 5 ? Hello John, perhaps it's too early to maintain such a listing. I already asked for insights into a "To-Do-List" in order to add "enhancement requests" (#16252). We could/should do that by ourselves

Re: Printing a revBrowser

2016-02-10 Thread Terence Heaford
Hi Mark, OK, I understand. Adjusted image size and all’s well. What’s wrong with revBrowserPrint and backgrounds? Does the widget browser in LC8 print directly? Text and Backgrounds? Thanks Terry > On 10 Feb 2016, at 15:25, Mark Waddingham wrote: > > On 2016-02-10

Re: [ANN] mergExt releases for iOS 9.2

2016-02-10 Thread Mike Kerner
Request: For folks who buy the whole kit-and-kaboodle, a monolithic download with the current versions of everything would be nice. On Wed, Feb 10, 2016 at 12:41 AM, Monte Goulding wrote: > Hi LiveCoders > > I have just uploaded new releases of my externals to support iOS 9.2

Re: Printing a revBrowser

2016-02-10 Thread Terence Heaford
It seems that a revBrowser is NOT set to print backgrounds and I cannot see a property to allow this. Does anyone know? Thanks Terry > On 10 Feb 2016, at 12:17, Terence Heaford wrote: > > How do you print a RevBrowser (either original or ref)? > > I have tried

Re: [ANN] mergExt releases for iOS 9.2

2016-02-10 Thread Colin Kelly
+1 On 10/02/2016, 14:07, "use-livecode on behalf of Mike Kerner" wrote: >Request: >For folks who buy the whole kit-and-kaboodle, a monolithic download with >the current versions of everything would be nice. >

Default font for new objects

2016-02-10 Thread Jim Beckmann
Unknowingly, and unwantingly, the default displayed font for newly created objects names\labels, in old as well as new stacks, is some form of Wingding. How do I set the default font back to Helvetica, or something, for newly created objects? Thanks.

Re: [ANN] mergExt releases for iOS 9.2

2016-02-10 Thread Guglielmo Braguglia
+1 ... would be very nice :-) Guglielmo Mike Kerner 10 February 2016 at 15:07 PM Request: For folks who buy the whole kit-and-kaboodle, a monolithic download with the current versions of everything would be nice. Monte Goulding

Re: [ANN] mergExt releases for iOS 9.2

2016-02-10 Thread Magicgate Software - Skip Kimpel
+1 On Wed, Feb 10, 2016 at 10:03 AM, Colin Kelly wrote: > +1 > > > > > On 10/02/2016, 14:07, "use-livecode on behalf of Mike Kerner" < > use-livecode-boun...@lists.runrev.com on behalf of > mikeker...@roadrunner.com> wrote: > > >Request: > >For folks who buy the whole

Re: Force Phone-Sized Stack on iPad Simulator?

2016-02-10 Thread Scott Rossi
Never mind, forgot to choose the iPad Simulator option under Test Target. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/10/16, 8:22 AM, "use-livecode on behalf of Scott Rossi" wrote:

Re: Livecode on MIT Climate Co-Lab

2016-02-10 Thread James Little
Hi All, There are 18 days remaining to further develop this project on the MIT Climate Co-Lab site. http://climatecolab.org/web/guest/plans/-/plans/contestId/1303501/planId/1327125 This project is to use Livecode to develop Global Warming News Readers. The goal is to use this desktop app

Re: AW: is find or offset with wildcards possible?

2016-02-10 Thread Mark Waddingham
On 2016-02-10 18:06, Tiemo Hollmann TB wrote: Bonsoir Thierry, ui, thats fancy. I haven't seen yet a function which changes input parameter as a kind of result This is actually quite a rare pattern in the engine (when exposed as function type syntax at least)... However, user handlers can

Re: lock and unlock files from script? - Mac options

2016-02-10 Thread [-hh]
Stephen B. wrote: > > I'd be happy with an Applescript solution or something using the > > Shell. faster would be better. thanks for any help. stephen. > > thanks guys. sqb TMHO, such threads should end -- if available -- with a full working solution. Perhaps somebody can use this, for example

Re: Printing a revBrowser

2016-02-10 Thread Mark Waddingham
On 2016-02-10 17:06, Terence Heaford wrote: If you look at Safari on a Mac it defaults to not printing backgrounds. On inspection of the print dialogue box you will notice a checkbox to Print Backgrounds towards the bottom of the window. On checking this box in Safari it prints the background

Re: Printing a revBrowser

2016-02-10 Thread Terence Heaford
Thanks for that, will investigate. All the best Terry > On 10 Feb 2016, at 16:25, Mark Waddingham wrote: > > On 2016-02-10 17:06, Terence Heaford wrote: >> If you look at Safari on a Mac it defaults to not printing backgrounds. >> On inspection of the print dialogue box

Re: Printing a revBrowser

2016-02-10 Thread Mark Waddingham
On 2016-02-10 16:39, Terence Heaford wrote: What’s wrong with revBrowserPrint and backgrounds? Assuming you mean that no background means that any background fill you have on the page isn't printed then... Nothing is wrong I don't think - doing revBrowserPrint asks the browser to print -

LiveCode & OpenCart

2016-02-10 Thread tkuyp...@telenet.be
Hi, I’ve created a productmanager in LiveCode for a customer for whom I also setup a webshop in OpenCart. Currently I use an export extension to export products and categories from the shop to an Excel file, save this Excel file to a tab-delimited file, import it into my ProductManager, so the

AW: is find or offset with wildcards possible?

2016-02-10 Thread Tiemo Hollmann TB
Bonsoir Thierry, ui, thats fancy. I haven't seen yet a function which changes input parameter as a kind of result Salut Tiemo -Ursprüngliche Nachricht- Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von Thierry Douez Gesendet: Mittwoch, 10. Februar 2016

Re: Force Phone-Sized Stack on iPad Simulator

2016-02-10 Thread James Little
Oops. My apologies for accidentally hijacking this thread. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Printing a revBrowser

2016-02-10 Thread Terence Heaford
> On 10 Feb 2016, at 15:57, Mark Waddingham wrote: > >> What’s wrong with revBrowserPrint and backgrounds? > > Assuming you mean that no background means that any background fill you have > on the page isn't printed then... > > Nothing is wrong I don't think - doing

Re: Printing a revBrowser

2016-02-10 Thread Mark Waddingham
On 2016-02-10 17:06, Terence Heaford wrote: On 10 Feb 2016, at 15:57, Mark Waddingham wrote: If you look at Safari on a Mac it defaults to not printing backgrounds. On inspection of the print dialogue box you will notice a checkbox to Print Backgrounds towards the bottom of

Re: Force Phone-Sized Stack on iPad Simulator?

2016-02-10 Thread Colin Holgate
What happens if you go to the Hardware/Device menu, and choose iPad Retina? > On Feb 10, 2016, at 11:22 AM, Scott Rossi wrote: > > Thinking I've seen this before but can't find it... For iOS, is there a > way to test a stack with iPhone 5 dimensions on the iPad

Livecode on MIT Climate Co-Lab

2016-02-10 Thread James Little
Hi All, There are 18 days remaining to further develop this project on the MIT Climate Co-Lab site. http://climatecolab.org/web/guest/plans/-/plans/contestId/1303501/planId/1327125 This project is to use Livecode to develop Global Warming News Readers. The goal is to use this desktop app

Re: Black icons in LC 8 DP 14

2016-02-10 Thread RM
On 8.02.2016 22:09, RM wrote: Almost inevitably, I shall be spending a spot of time working on a "hack stack" so that end-users can change the revMenuBar icons to a variety of possibilities ;-) http://forums.livecode.com/viewtopic.php?f=9=26506=137728#p137728 I did warn you! Love,

Re: Force Phone-Sized Stack on iPad Simulator?

2016-02-10 Thread Scott Rossi
The standalone stack never gets copied to the correct simulator, so there's no way to view the stack. I needed to choose the iPad simulator under Test Target first. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/10/16, 8:35 AM, "use-livecode on behalf of Colin

Re: Printing a revBrowser

2016-02-10 Thread Mark Waddingham
On 2016-02-10 17:34, Terence Heaford wrote: Thanks for that, will investigate. I've raised a docs issue about revBrowserSnapshot here: http://quality.livecode.com/show_bug.cgi?id=16902 I've also raised an issue about printing in the browser widget here:

Re: is find or offset with wildcards possible?

2016-02-10 Thread Thierry Douez
2016-02-10 18:06 GMT+01:00 Tiemo Hollmann TB : > Bonsoir Thierry, > ui, thats fancy. I haven't seen yet a function which changes input > parameter as a kind of result > Salut > Tiemo > ​:) I guess one has to get used to this... But it's a very powerfull function when you

Force Phone-Sized Stack on iPad Simulator?

2016-02-10 Thread Scott Rossi
Thinking I've seen this before but can't find it... For iOS, is there a way to test a stack with iPhone 5 dimensions on the iPad simulator? Every time I test with the simulator hardware set to iPad Retina, the simulator switches to iPhone 4 before displaying the stack. Am using the 8.2

Release 6.7.9 RC 2 / 7.1.2 RC 2

2016-02-10 Thread panagiotis merakos
Dear List Members, We are pleased to announce the release of LiveCode 6.7.9 RC 2 and 7.1.2 RC 2. *Release Content* This release contains bug fixes for regressions introduced in 6.7.9 RC 1 / 7.1.2 RC 1, as well as an important fix to a crash affecting some of our customers (see the Release Notes

When is a GIF Finished Playing?

2016-02-10 Thread Ray
Does anybody know of an easy way to tell whether a GIF file is playing or not? If possible I'd like to avoid trying to write something involved using the CurrentFrame and FrameCount properties. I'm not even sure how that would be done. I'd rather have something like the sound() function,

Re: When is a GIF Finished Playing?

2016-02-10 Thread Sannyasin Brahmanathaswami
  I have a similar need. Seems we can set the repeatCount, but I don’t see a way to test for “currentLoop” Theoretically we need something like — where I am making up an unknown prop called “currentLoop": if (the currentFrame of img "myGif" = the frameCount of img “myGif”) AND \ (the

Re: When is a GIF Finished Playing?

2016-02-10 Thread Scott Rossi
I haven't done this in a long time, but in theory you should be able to compare the currentFrame of the GIF with the frameCount. if the currentFrame of img "myGif" = the frameCount of img "myGif" then answer "It's done" Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On

Re: Default font for new objects

2016-02-10 Thread J. Landman Gay
What LC version and OS? It sounds like a font conflict to me, maybe that font has the same id as the system font? -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On February 10, 2016 9:38:44 AM Jim Beckmann

Re: When is a GIF Finished Playing?

2016-02-10 Thread Ray
Thanks Scott, but if you've set the RepeatCount to more than 1 and it's looping through the frames, twice for example, isn't there a possibility you'll get the CurrentFrame the same as the FrameCount too early? On 2/10/2016 2:25 PM, Scott Rossi wrote: I haven't done this in a long time, but

Re: [ANN] mergExt releases for iOS 9.2

2016-02-10 Thread Mike Kerner
At least for me, I'd take just the blob - consider it a compromise for getting a blob. The version number could appear in an index, or release notes, perhaps? Otherwise we might have to do something to the Copy Files feature in LC. I understand there will be cases where someone will want to get

Re: Force Phone-Sized Stack on iPad Simulator?

2016-02-10 Thread Colin Holgate
I wonder if that has changed recently? I was testing an app, and seemed to be able to switch hardware, and it was still there. It was on page two, so I had to scroll over to that, and also scroll the page down to reach it on the iPad Pro setting. > On Feb 10, 2016, at 11:59 AM, Scott Rossi

Re: Modifying Drop-Down Menus on the fly

2016-02-10 Thread Tore Nilsen
What you are looking for is: set the text of button “myMenu” to “myMenuList” This can be called in a variety of handlers, at the latest in a mouseDown handler in the menu button itself. Here is an example I used with my student the other day. They were supposed to make an application where

Re: When is a GIF Finished Playing?

2016-02-10 Thread Ray
It would also be helpful if a message was sent each time a new frame is displayed. We could trap for those messages, count them, and go from there. On 2/10/2016 2:48 PM, Sannyasin Brahmanathaswami wrote: I have a similar need. Seems we can set the repeatCount, but I don’t see a way to

Re: When is a GIF Finished Playing?

2016-02-10 Thread Scott Rossi
If you want the GIF to stop playing when it reaches the last frame, why wouldn't you set the repeatCount to 1? If your GIF can play multiple times through (repeatCount = -1), then I believe the only way you can track its frames is to poll it, with a frequency that slightly exceeds its frame

Re: When is a GIF Finished Playing?

2016-02-10 Thread BNig
Hi Ray, not pretty but seems to work: local sGifName local sLastFrame local sRepeatTimesFrames local sCount on mouseUp put "myGif" into sGifName put the currentFrame of img sGifName into sLastFrame put 7 into tRepeatCount put tRepeatCount *

Re: When is a GIF Finished Playing?

2016-02-10 Thread Ray
Hi Scott - In my case I let my users decide how many times the GIF cycles, so it more than likely will be more than once through, but not infinitely as in -1. I like your second option, below, but how are you getting the GIF's frame delay? Did I miss that Livecode property somewhere? On

Re: [ANN] mergExt releases for iOS 9.2

2016-02-10 Thread Monte Goulding
I'll try and add it to my deployment script before the next rebuild for an SDK. I'm guessing you want the option of either one big blob or just the individual files. The version numbers are a bit tricker given that at present that is the only place a version number appears. Sent from my iPhone

Re: When is a GIF Finished Playing?

2016-02-10 Thread [-hh]
Scott R. wrote: > If you want the GIF to stop playing when it reaches the last frame, why > wouldn't you set the repeatCount to 1? > > If your GIF can play multiple times through (repeatCount = -1), then I > believe the only way you can track its frames is to poll it, with a > frequency that

Re: When is a GIF Finished Playing?

2016-02-10 Thread Ray
Bernd - thanks for this idea. Yes, it's a little sticky but if nothing else comes along I might be able to massage it somewhat. On 2/10/2016 3:46 PM, BNig wrote: Hi Ray, not pretty but seems to work: local sGifName local sLastFrame local

Re: When is a GIF Finished Playing?

2016-02-10 Thread Scott Rossi
Nope, you just have to "know" :-) -HH makes a good point that I forgot about: if you control the playback yourself, setting the GIF's currentFrame every so many millisecs, you'll always know which frame you're on in the GIF. This will work for most GIFs, but can mess up playback of GIFs that

Set textfont color in IDE? LC8DP14

2016-02-10 Thread William Prothero
Folks: I notice there is no way to set the textfont color of text in a field, in the project browser in LC8Dp14. Is this intentional? I can set it in the toolbar menu, but it seems an omission in the IDE. Best, Bill William Prothero, Ph.D. University of California, Santa Barbara, Emeritus

Re: When is a GIF Finished Playing?

2016-02-10 Thread Sannyasin Brahmanathaswami
These methods work, of course, but surprisely “horsey” for something that should be easy. Assuming that the engineers are not following this thread, or at least not jumping in with solutions. I added this enhancement request.

Re: lock and unlock files from script? - Mac options

2016-02-10 Thread stephen barncard
DOUBLE thanks hh. I can use all three component parts. I prefer to assert and de-assert to certain files in certain folders rather than toggle the flag. The flag reading tip is a bonus. On Wed, Feb 10, 2016 at 8:14 AM, [-hh] wrote: > TMHO, such threads should end -- if

Re: When is a GIF Finished Playing?

2016-02-10 Thread Ray
BR - thanks for filing this report. I guess we'll see if any of the LC team have time to accommodate this. On 2/10/2016 4:39 PM, Sannyasin Brahmanathaswami wrote: These methods work, of course, but surprisely “horsey” for something that should be easy. Assuming that the engineers are not

Re: When is a GIF Finished Playing?

2016-02-10 Thread J. Landman Gay
I had to manage gif playback manually once. It worked well to just set the currentframe repeatedly, ignoring auto-playback entirely. That way you can keep track of how many cycles you've done and you can control the speed of playback by changing the "send in time" frequency. You always know

Re: When is a GIF Finished Playing?

2016-02-10 Thread [-hh]
Scott R. wrote: > -HH makes a good point that I forgot about: if you control the playback > yourself, setting the GIF's currentFrame every so many millisecs, you'll > always know which frame you're on in the GIF. This will work for most > GIFs, but can mess up playback of GIFs that use varying

Re: Default font for new objects

2016-02-10 Thread Mark Waddingham
Hi Jim, On 2016-02-10 16:37, Jim Beckmann wrote: Unknowingly, and unwantingly, the default displayed font for newly created objects names\labels, in old as well as new stacks, is some form of Wingding. How do I set the default font back to Helvetica, or something, for newly created objects?

Re: Modifying Drop-Down Menus on the fly

2016-02-10 Thread Beda Sellung Posteo
Hi Francis, I’m quite a new in livecode, so I hope I’ve understand your question right. Problem: Changing dynamically the values of the options of a menu-button. Proposal: Setting the text property of a button (style and menuMode of your choice) with a list of menu items before this control

Re: No audio playback on iOS devices

2016-02-10 Thread Randy Hengst
When I’ve had this problem, it’s because I didn’t pay attention to the name of the sounds files… I’m pretty sure iOS is case sensitive. I called a name without matching case. I can’t remember if the sounds played on the simulator and then failed on the device like you stated… just a thought.

Re: When is a GIF Finished Playing?

2016-02-10 Thread Ray
Guys - thanks for this input. I'm going to experiment with 'rolling my own' GIF player as suggested. I guess I was just looking for an easy way out. There's a lot of time based events happening simultaneously in the project I'm working on so I'm already relying heavily on 'send' commands to

Re: Set textfont color in IDE? LC8DP14

2016-02-10 Thread Peter TB Brett
On 2016-02-10 23:39, William Prothero wrote: Folks: I notice there is no way to set the textfont color of text in a field, in the project browser in LC8Dp14. Is this intentional? I can set it in the toolbar menu, but it seems an omission in the IDE. Hi Bill, If you could set the font color of

Re: When is a GIF Finished Playing?

2016-02-10 Thread Peter TB Brett
On 2016-02-10 22:52, Ray wrote: BR - thanks for filing this report. I guess we'll see if any of the LC team have time to accommodate this. Probably not before LiveCode 8.0, and the LiveCode 8.1 development cycle is filling up pretty fast too. All y'all make quite a lot of feature requests.

Re: is find or offset with wildcards possible?

2016-02-10 Thread Charles Warwick
On 10/02/2016 7:10 pm, Tiemo Hollmann TB wrote: I have looked for a find or offset syntax with wildcards, to get easily the offset of all links, like offset("~*#",myText,lastOffset), but I only found the approach to loop thru the chars of the text and get with offset the start and end tags, get

AW: is find or offset with wildcards possible?

2016-02-10 Thread Tiemo Hollmann TB
Hello Charles, as far as I have seen it, matchChunk and matchText only return true or false and not an offset or position Am I wrong? Tiemo -Ursprüngliche Nachricht- Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von Charles Warwick Gesendet: Mittwoch, 10.

Re: is find or offset with wildcards possible?

2016-02-10 Thread Thierry Douez
​Hallo Tiemo, ​ as far as I have seen it, matchChunk and matchText only return true or false > and not an offset or position > Am I wrong? > ​Yes :) get matchChunk( Text, Regex, pStart, pEnd) HTH, Thierry ​ -- Thierry Douez -

is find or offset with wildcards possible?

2016-02-10 Thread Tiemo Hollmann TB
Hello, I want to set links in a text by script. My idea was to mark all links with a not used char at the start and end, like "~This is a link text#". After setting the links I could remove the tags or replace them by a transparent image. I have looked for a find or offset syntax with wildcards,

Printing a revBrowser

2016-02-10 Thread Terence Heaford
How do you print a RevBrowser (either original or ref)? I have tried revBrowserPrint and it only prints text and not images. All the best Terry ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe,

html5 & liveCode

2016-02-10 Thread John Dixon
Is there a list somewhere about what is working and what is not with html 5 ? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: No audio playback on iOS devices

2016-02-10 Thread Devin Asay
Nothing special, just MP3 and wav files. I've even use them in past projects and they worked fine. Sent from my iPhone > On Feb 10, 2016, at 4:54 PM, Scott Rossi wrote: > > What audio format? Any unusual encoding? > > Regards, > > Scott Rossi > Creative Director >

Re: No audio playback on iOS devices

2016-02-10 Thread Devin Asay
You might be right, Randy. I've actually been bitten by this before, but I didn't think to check that in this case. I'll have a look at it when I get back to my computer. Thanks, Devin Sent from my iPhone > On Feb 10, 2016, at 5:30 PM, Randy Hengst wrote: > > When I’ve

No audio playback on iOS devices

2016-02-10 Thread Devin Asay
I’ve been testing some small apps that I use in my class on iOS devices. I’m finding that my apps fail to play audio files. It doesn’t seem to matter if I use a simple ‘play’ command or the ‘mobilePlaySoundOnChannel’ command. I’m on Mac Yosemite 10.10.5, and I’ve tried building with LC 7.1.1,

Re: No audio playback on iOS devices

2016-02-10 Thread Scott Rossi
What audio format? Any unusual encoding? Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/10/16, 3:23 PM, "use-livecode on behalf of Devin Asay" wrote: >I¹ve been testing some small apps that I