Re: Four more reports closed as "Resolved - Fixed"

2015-10-05 Thread Paul Hibbert

> On 5 Oct 2015, at 15:59, Scott Rossi  wrote:
> 
> How do we display a list of the bugs we've reported?

“Search by People” seems to work OK. I found 39 bugs reported by tactilemedia.

Paul
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Importing a Snapshot from a window off screen

2015-09-18 Thread Paul Hibbert
Ray,

Importing a snapshot from rect uses the computer’s graphic card to generate the 
snapshot image, whereas, importing a snapshot from an object (group, card, 
stack etc.) allows the LC engine to generate the snapshot image.

I’m travelling right now so can’t test so easy, but I’m sure if you can drop 
the ‘from rect’ you should see an improvement.

Paul


> On 18 Sep 2015, at 08:32, Ray  wrote:
> 
> Greetings - Has anybody had any success importing a snapshot from a stack's 
> window which is offscreen?
> 
> I'm looping through every card in a stack to import a snapshot using 
> something like:
> 
>   import snapshot from rect myRect of window myWinId
> 
> This causes a lot of annoying screen flicker so I'd like to place the stack's 
> window off screen, do the importing and then return it on screen.  But doing 
> so gives me blank images for the snapshots.
> 
> Any suggestions?
> 
> Thanks!
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Animations on iOS

2015-12-14 Thread Paul Hibbert
I think it was Scott Rossi that figured out a way to play an animation by 
storing images as text in custom properties, then load each image in turn into 
an image object.

I would imagine this may be limited to smaller less complex animations, but up 
until now I hadn’t tried it myself, so I had a go…

https://www.dropbox.com/s/ebltjtztsj1ymlc/CP%20Animation.livecode?dl=0

Haven’t tested on mobile though, my LC & Xcode versions are out of sync again.

Paul


> On Dec 14, 2015, at 11:23 AM, Ben Rubinstein  wrote:
> 
> What are my options for displaying an animation in a portion of the 
> card/screen on iOS?
> 
> Currently I've tried:
> 
> 1) making it into a video, in a very limited range of formats, and playing it 
> from an external file using a native control
> 
> Pros: works, choice of controller etc, plays from a separate file and starts 
> up fairly quickly
> 
> Cons: video formats not super-efficient for animation, and at least as I've 
> managed so far, limited to certain resolutions - I'm forced to crop or squash 
> my original animation.
> 
> 2) making it into a GIF on the card, which works quite nicely except that 
> there's an enormous delay going to the card, presumably as the animation is 
> buffered.
> 
> Pros: can be exactly the size I want; plays quite smoothly
> 
> Cons: I've not managed to play this from an external file, and if it's 
> embedded on the card there's an unacceptable delay.
> 
> 
> Is there a third way?  Should I be able to set the filename of an image 
> object to an external gif file?  Are there some video formats accepted on iOS 
> which are good for animation and which will allow arbitrary dimensions?
> 
> TIA,
> 
> Ben
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Release 8.0 DP 12

2015-12-21 Thread Paul Hibbert
+1

Paul

> On Dec 21, 2015, at 10:17 AM, John Dixon  wrote:
> 
> 
> Yes... I see this as well..
> 
> 
>> Subject: Re: Release 8.0 DP 12
>> To: use-livecode@lists.runrev.com
>> From: mwie...@ahsoftware.net
>> Date: Mon, 21 Dec 2015 10:05:07 -0800
>> 
>> On 12/21/2015 08:10 AM, panagiotis merakos wrote:
>> 
>>> Warning: this is not a stable release. Please ensure you back up your
>>> stacks before testing them.
>> 
>> Interesting.
>> 
>> It now takes two attempts to edit a script in either the Application 
>> Browser or the Project Browser. The first attempt right-clicking on the 
>> object you want to edit brings up the contextual menu, and selecting 
>> "Edit script" starts a spinning cursor. Ignoring that, clicking 
>> somewhere else, and trying again brings up the script editor.
>> 
>> Note that if you're using the AB, the script editor comes up *behind* 
>> it, which is somewhat annoying, but whatever.
>> 
>> http://quality.livecode.com/show_bug.cgi?id=16641
>> 
>> -- 
>>  Mark Wieder
>>  ahsoftw...@gmail.com
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Error code parser?

2015-11-23 Thread Paul Hibbert
Jacque’s stack may help too…

http://livecodeshare.runrev.com/stack/712/LiveCode-Error-Lookup

Paul

> On Nov 23, 2015, at 11:19 AM, Mark Wieder  wrote:
> 
> On 11/23/2015 10:36 AM, Magicgate Software - Skip Kimpel wrote:
>> Good afternoon,
>> 
>> I posted a questions about a week ago about a Windows standalone that was
>> producing errors when trying to compile it in LC 7.1.  Doing more research
>> online I saw that there used to be a website that would explain some of the
>> data that is returned from the error message box.
>> 
>> It seems like that website does not exist anymore.
>> 
>> How do I diagnose what this error message means? I am desperate to get this
>> thing compiled and running.
>> 
>> SKIP KIMPEL
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> Well, the *fastest* way is to use the first number and
> put line x of the scriptparsingerrors
> where x is that number
> 
> but of course the *best* way is to use PowerDebug.
> 
> 
> 
> -- 
> Mark Wieder
> ahsoftw...@gmail.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Release 8.0 DP 10

2015-11-24 Thread Paul Hibbert
+1

Paul

> On Nov 24, 2015, at 10:11 AM, Richmond  wrote:
> 
> I may not know much (and I, oddly enough, am more aware of
> how little I know than you), but, despite the growls and groans, know
> that LiveCode 8 when we get there, eventually (and let's hope, paradoxically,
> that that is a long and lumpy road), will be a KILLER,
> 
> and, like that other Killer, Jerry Lee Lewis, let's hope it plays the piano 
> with
> its feet on the keyboard and puts all else to shame.
> 
> BUT ( and, you know me by now, there always has to be a 'but') Please,
> Please, Pretty Please, integrate SVG import into the 'standard' image import
> menu feature.
> 
> Richmond.
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Infinite LiveCode -- What Happened Exactly?

2016-05-24 Thread Paul Hibbert
Check out the ‘Campaign Update’ here;

https://livecode.com/project/infinite-livecode/

The Native Field Widget has been rolled over to a Feature Exchange…

https://livecode.com/project/infinite-livecode-native-field-object/

29 days to raise just over $4,000 - should be do-able.

Paul


> On May 24, 2016, at 8:28 PM, Sannyasin Brahmanathaswami  
> wrote:
> 
> I doubled my initial pledge and then stood by waiting.
> 
> Then I got the notice it was due… that the goal had been met.. the page I was 
> taken to successfully charged my CC card.
> 
> But… did we get the field widget or not?
> 
> I was hoping for that, but not in a position to up my pledge again.
> 
> BR
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: How to select behavior on another card in LC8

2016-05-25 Thread Paul Hibbert
Try this:

Go to card 2
Open the Project Browser and expand the view for card 1
Right click on the target button of card 1 in the PB and choose ‘Property 
Inspector’
The PI for the button on card 1 will now allow you to link the behaviour to the 
button on cards 2

HTH

Paul

> On May 25, 2016, at 12:15 PM, Sannyasin Brahmanathaswami  
> wrote:
> 
> LC 8 GM
> 
> scenario:
> 
> create card "Selections" --> card 1
> create card "behaviors" --> card 2
> 
> on card 1  create  several buttons
> on card 2  create one button which will server as the behavior for the 
> buttons on card one
> 
> go to card 1
> select a button, click on the behaviors icon in its property inspector
> 
> The only buttons that appear as choices are the ones on card 1
> 
> I thought (could be wrong) in an earlier version… there was a way to navigate 
> to buttons on other cards to choose them as behaviors, but I'm not seeing any 
> way to choose the button on card 2 as the behavior for the button on card one 
> currently being inspected… you can go down to "stack" but this doesn't expose 
> any other cards/controls…and actually does an odd thing. you can set the 
> behavior to a stack name. I think that's just wrong… right?
> 
> what am I missing?  At this point we have to use the old tedious way of 
> manually getting the long ID of the button on card 2 and then pasting this 
> into the behavior
> 
> submitted already as a bug:  http://quality.livecode.com/show_bug.cgi?id=17732
> 
> please add anything else relative to setting behaviors that needs fixed
> 
> tks
> 
> BR
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Setting menuHistory of a group of option buttons

2016-06-21 Thread Paul Hibbert
AFAIK there is no menuHistory associated with a group of option buttons, but 
that doesn’t (shouldn’t) stop you from creating a history yourself using any of 
the hilitedButton, hilitedButtonID or hilitedButtonName properties.

Paul

> On Jun 21, 2016, at 1:40 PM, Charles Szasz  wrote:
> 
> Does anyone know how to set the menuHistory of a group of option buttons?  I 
> have tried several scripts without any success. 
> 
> Sent from my iPad
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Message watcher in LC 8

2016-01-14 Thread Paul Hibbert
There have been a lot of bugs squashed since DP9, so I’d suggest trying DP13, 
I’m not seeing any such messages in this version.

Paul
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Selecting text in single-line entry fields - small UI issue

2016-01-28 Thread Paul Hibbert
On Jan 28, 2016, at 4:07 AM, Roland Huettmann  
wrote:
> 
> Maybe I am missing something, but I need to script this with "on
> tabkey"-event handlers, "on textchanged" handlers, " on deletekey" handlers
> and go with "select the text of..." or "select line 1 of...". Otherwise the
> cursor is always placed behind the text - and I do not want that except for
> multi-line fields. Could there not be a built-in attribute how selection
> should occur?

Check the autoTab property in the inspector, or if you want to set it by script…

set the autoTab of field “myField" to true

I’m not seeing any issue with text changing colour when selected, but you 
didn’t say which version of Livecode or which platform you are seeing this on, 
this info may help track down the problem.

Paul
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Launching a PDF file stored within a desktop app

2016-02-03 Thread Paul Hibbert
Charles,

Check out:

launch url

or…

launch [documentPath with] applicationPath

in the dictionary

example script…

on mouseUp
   put the effective fileName of this stack into tPdf
   set the itemDel to slash
   delete item -1 of tPdf
   put "/Support/Instructions.pdf" after tPdf
   launch tPdf with "/Applications/Preview.app"
end mouseUp

…works for me in a standalone if you add a folder ‘Support' containing the 
‘Instructions.pdf' in the ‘Copy Files’ pane of the ’Standalone Application 
Settings’. For this to work in the IDE, make sure the ‘Support’ folder is next 
to the Livecode stack.

Paul

> On 3 Feb 2016, at 13:05, Charles Szasz  > wrote:
> 
> Has anyone come up with a script to launch a PDF that is a file within a 
> desktop app? I was thinking of including a PDF Help file within an app. 
> 
> Sent from my iPad
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com 
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Selecting text in single-line entry fields - small UI issue

2016-01-29 Thread Paul Hibbert
Roland,

The best I can come up with is using the openField and closeField messages to 
set the colour of the line within the field, instead of setting the background 
colour of the field, this gives you a little more control over the position of 
the ‘highlighted' area. Something like this in a behaviour button then applied 
to the required fields:

on openField
   set the hilitecolor of me to Blue
   set the backgroundcolor of line 1 of me to the hilitecolor of me
   set the padding of line 1 of me to 4
   set the textColor of me to "255,255,255"
   select the text of me
end openField

on exitField
   set the backgroundcolor of line 1 of me to "255,255,255"
   set the textColor of me to "0,0,0"
end exitField

Sorry I can’t test for the disappearing text because I’m on Mac.

As Jacque suggested, I also expected the focusIn and focusOut messages would be 
helpful, but it seems they are not triggered buy opening or closing an unlocked 
field (see comment in the dictionary).

This lesson explains a little more so maybe helpful:
http://lessons.livecode.com/m/4071/l/58674-how-do-i-style-paragraphs-in-a-field-in-livecode-5-5

Paul
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Hi-Res Images at Natural Size?

2016-02-24 Thread Paul Hibbert
Scott,

I think this is only achievable using density mapped images, I’d guess you 
already understand the process, but I just used this lesson to remind myself…

http://lessons.livecode.com/m/15262/l/156530-how-do-i-support-different-device-screen-densities

I tried a quick test and it looks like you do need to use a referenced image 
and a high resolution version with the name format @2x. or 
@extra-high.

Having read what it says about ‘Device Resolution’ at the end of the lesson, I 
would have thought setting the 'useDeviceResolution' of the stack to true would 
do the trick, but it doesn’t seem to affect images, at least not in my limited 
tests.

HTH

Paul

> On Feb 24, 2016, at 8:44 AM, Scott Rossi  wrote:
> 
> I still have a few more tests to do, but no fullScreenMode seems to make
> any difference in terms of appearance of the images.  So I'm guessing
> Randy's comment about the simulator combined with my standard res monitor
> may be the issue.
> 
> Thanks & Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
> 
> 
> 
> 
> On 2/24/16, 7:52 AM, "use-livecode on behalf of Colin Holgate"
>  colinholg...@gmail.com> wrote:
> 
>> But aren¹t you using a scale mode that would make the card still fill the
>> screen?
>> 
>>> On Feb 24, 2016, at 10:27 AM, Scott Rossi 
>>> wrote:
>>> 
>>> Thanks Colin, this was the first thing I tried.  Doesn't seem to make a
>>> difference, except for the true/true setting that doubles the resolution
>>> and displays everything in the stack at half size.
>>> 
>>> Regards,
>>> 
>>> Scott Rossi
>>> Creative Director
>>> Tactile Media, UX/UI Design
>>> 
>>> 
>>> 
>>> 
>>> On 2/24/16, 1:38 AM, "use-livecode on behalf of Colin Holgate"
>>> >> colinholg...@gmail.com> wrote:
>>> 
 Does iphoneUseDeviceResolution help at all?
 
 
> On Feb 24, 2016, at 1:45 AM, Scott Rossi 
> wrote:
> 
> I hope I'm missing something with regard to displaying hi res images
> in
> a
> mobile (iOS) stack...
> 
> 
> If one has a mobile stack built at "natural size" (say 320 x 568,
> iPhone
> 5), is it possible to display hi res images in the stack without
> resizing
> the stack?
> 
> I have an image that's saved at double the stack resolution (say 640 x
> 640), but no matter what I try, I can't seem to scale the image down
> to
> fit the stack while maintaining its "hi-resiness" -- the image always
> appears soft.  I'm wondering if this is because LC is scaling the
> stack
> to
> fit the screen, so regardless of resizeQuality and original
> resolution,
> the image is displayed upscaled?  Is there some combination of the
> dozen
> or so screen-mobile-pixel-density-factor-scaling properties that I'm
> missing?
> 
> Am at loss -- thanks for any suggestions.
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
 
>>> 
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Set the Opacity of a Button Background

2016-03-01 Thread Paul Hibbert
By adjusting some colour values and the ink mode I could achieve what I think 
you are looking for, however I may have misunderstood, because I don’t quite 
understand the bit about having 50% opacity of a clear background!

Link to demo stack with my interpretation: 
https://www.dropbox.com/s/xhjqlx0zhdeyq2f/Button%20Demo.livecode?dl=0

HTH

Paul

> On Mar 1, 2016, at 11:25 AM, Sannyasin Brahmanathaswami  
> wrote:
> 
> We looking at very simple button design:
> 
> 1)  Border color is on/white/2px
> 2)  background is set to clear (no color assignment and no icon)
> 3)  background opacity set to 50% # if we can figure out how
> 4)  Button name/label white
> 
> Now... I realize that if # 2 above is true, then possibly, since there are no 
> pixels at all in the background that the algorithm might not be possible from 
> a video card point of view... so we *could* set the background to white and 
> set the opacity to a grayscale?transparency value of say... 50%  but the idea 
> is that the text of the button name/label remains fully, 100% opaque, even 
> thought background has an alpha channel value (some level of transparency)
> 
> From my fiddling... (I could be missing something) this is not possible 
> either with buttons of fields  or graphics.
> 
> The use case is, again, as discussed in another thread: we want visibility of 
> the text on top of *any* image to be visible. We do this in print all the 
> time... but we cannot separate the blending of the text label or text itself 
> and the background of a button/field in LC... at least I have not found a way.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: LC8 DP15 error message?

2016-03-01 Thread Paul Hibbert
I’ve just reported a similar problem.  Bug# 17048 [ 
http://quality.livecode.com/show_bug.cgi?id=17048 ] Please feel free to add 
your comments.

Paul

> On Mar 1, 2016, at 5:07 PM, William Prothero  wrote:
> 
> Folks:
> I’m getting a long list of lines in the message box when I run my app. I’m 
> creating text boxes in code. Among a lot of the lines, there is:
> 
> ERROR: Error when sending message ideNewControl:
> 
> Would this be an IDE bug, or mine? My app works as expected, so ??
> Bill
> 
> Is this something I should be concerned about? Is it an IDE error, or mine?
> 
> From top down, here are a few of the lines:
> 
> ERROR: Error when sending message ideNewControl:
> 
> 89,2654,1
> 
> 69,2654,1,graphic id 74731 of group id 69783 of card id 1002 of stack 
> "/Users/prothero/Oceanography Projects/LiveCode-RunRev Projects/PT_Explorer 
> Projects/EarthExplorer_CurrentWkg/appStacks/datastacks/Map Display.livecode"
> 
> 676,2654,1
> 
> 241,2654,1,revIDEControlProperties
> 
> 353,0,0,stack "/Applications/LiveCode Indy 8.0 (dp 
> 15).app/Contents/Tools/Toolset/libraries/revidelibrary.8.livecodescript"
> 
> 219,1788,8,revIDEControlProperties
> 
> 465,1788,8
> 
> 241,1788,1,addControlToProjectBrowser
> 
> 353,0,0,stack "/Applications/LiveCode Indy 8.0 (dp 
> 15).app/Contents/Tools/Toolset/palettes/project 
> browser/revprojectbrowserbehavior.livecodescript"
> 
> 573,118,1,addControlToProjectBrowser
> 
> 253,118,1
> 
> 253,118,1
> 
> 241,113,1,ideNewControl
> 
> 353,0,0,stack "/Applications/LiveCode Indy 8.0 (dp 
> 15).app/Contents/Tools/Toolset/palettes/project 
> browser/revprojectbrowserbehavior.livecodescript"
> 
> 675,1733,1,ideNewControl
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Plugins vs. the Mac app bundle

2016-04-12 Thread Paul Hibbert
Thank you for your reply Richard, I’ll try some answers…

> Well, if you want to truly own your computer there's always Ubuntu, or any 
> other Linux. :)
> 
> Apple and Microsoft are proprietary systems.  They each make a fine OS, but 
> to use it you play by their rules. In terms of the UX, it's more of a lease 
> than a purchase. That's neither a feature nor a bug, just one way of working 
> with an OS.
> 
> If you like what they provide, enjoy it.  If you want total control over the 
> computing experience, I'm hard pressed to think of anything but an open 
> source system that'll provide that.

Having used Macs for over 25 years I am most comfortable on OS X. I’ve used 
many other proprietary systems during that time too most of them running on 
Unix boxes. I find Windows too annoying and my recent experiences on Linux have 
usually ended in frustration, so I tend to leave them well alone.

> But frankly, even then I'd think twice about modifying signed files. 
> Bypassing security is rarely advantageous.

I wasn’t making the changes to bypass any security issues, I just wanted to 
modify the menus slightly, I didn’t even think about code signing and didn’t 
see any problems after making the changes.

> With LiveCode, however, I believe it's not quite so deep.
> 
> The issue here is specific to changing the files on disk within the 
> application bundle.
> 
> But why do that?

Coming from a professional graphics background I am used to relying on keyboard 
shortcuts to speed up my workflow, some I find so ‘normal’ in everyday use, but 
they are missing in LC, so I wanted to put them in, it’s not very difficult and 
I got the shortcuts that “I wanted".

> Any changes made to the IDE stack files will be gone with the next update 
> anyway.

When I found out how easy it is to add the shortcuts to the menus I just wrote 
a little routine to update the new version - run once then forget it.

> Time and again, as we explore IDE customization we come back to the same 
> solution:  write scripts that modify things on the fly in memory.

I tried this too, but then when I quit the app it just asked me if I wanted to 
save the modified stack, if I agreed it just threw an error because of the 
permissions problem, maybe I approached it wrong.

> This lets you have anything you want, and when you don't want it (such as IDE 
> testing) you just remove the plugin that does it and restart. And it survives 
> IDE updates.
> 
> Richmond's revMenubar changes are an excellent example:  in v8 that stack is 
> assembled on the fly in a script.  Find the portions you want made 
> differently, put those in a plugin with your changes, and you're good to go.

I looked for this on the LiveCode Share site and couldn’t find it, I also 
looked on the forums, but he has several reMenuBar hacks there that don’t look 
much like they add in any shortcuts, so I couldn’t decide which one you were 
referring to, the most likely one I could see dated back to 2014.

I did write a plug-in to put some shortcuts into the frontscript of the DE and 
it worked OK, but they didn’t show up in the menus, so I felt it was cleaner to 
modify the revMenuBar script once and be done with it, however, now I know 
there are issues with the bundle code signing I’ll revisit the plugin and see 
if I can improve it.

Off to play with the new RC1 now...

Kind Regards,

Paul
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: [ANN] Release 8.0.0 RC 1 (Linux)

2016-04-12 Thread Paul Hibbert

> On Apr 12, 2016, at 9:40 PM, Mark Wieder  wrote:
> 
> In addition, if you have Toolbar text enabled and Toolbar icons disabled, the 
> "Dictionary" text becomes overwritten with  after clicking it.

That’s the icons showing through, there’s a bug report for it already. 
http://quality.livecode.com/show_bug.cgi?id=17369

Seen on OS X too, it happens to all the toolbar text as far as I can see. :-(

Paul
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Plugins vs. the Mac app bundle

2016-04-12 Thread Paul Hibbert
Peter,

Does this affect solutions such as the one posted here: 
http://quality.livecode.com/show_bug.cgi?id=17292 - Comment 6?

I’m curious because I usually modify the revMenuBar stack to add in my own 
preferred shortcuts, there are also people like Richmond that like to change 
the tool bar icons etc., so I’m assuming this type of activity will also break 
code signing validity.

Kind Regards,

Paul

On Apr 12, 2016, at 2:14 AM, Peter TB Brett  wrote:
> 
> 
> Hi all,
> 
> There seems to some confusion about plugins/extensions and the OS X 
> installation method for the LiveCode IDE.
> 
> Some OS X APIs require the app bundle to be validly signed.  Incorrect 
> signatures have previously manifested themselves in horrible ways, including 
> extreme delays when trying to open a file in the IDE, and a variety of other 
> nasty symptoms.
> 
> The entire app bundle has to be signed, and any modification to the app 
> bundle invalidates the signature.
> 
> To address this, we have recently made some changes to the OS X installer:
> 
> - we now just provide a DMG with a pre-constructed app bundle inside, rather 
> than an installer
> 
> - we make the app bundle read-only to avoid any possibility of modifying it 
> (and breaking LiveCode features)
> 
> Fortunately, these have fixed the bugs, and improved the LiveCode user 
> experience! Yay!
> 
> 
> This seems to have caused some issues for plugin authors who have been 
> putting their plugins into the LiveCode app bundle, especially when those 
> plugins try and save state or data back into themselves.  Please don't do 
> this!
> 
> Instead, please put your plugins in the per-user plugins directory.  On OS X, 
> the default location is /Users/username/Documents/My LiveCode/Plugins/.  You 
> can modify the location in the 'Files & Memory' section of the IDE 
> preferences.
> 
> 
> For more information, please see the plugins lesson: 
> http://lessons.livecode.com/m/4071/l/21341-how-to-install-a-3rd-party-plugin-in-the-livecode-ide
> 
> Peter
> 
> -- 
> Dr Peter Brett 
> LiveCode Open Source Team
> 
> LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Release 6.7.10 RC 1 / 7.1.3 RC 1

2016-03-03 Thread Paul Hibbert
Install works fine for me, however, the PB in 7.1.3 RC 1 still shows resize 
issues by not updating the contents to suit the new window size.

I found swapping lines 2652/3 of the PB stack script in 7.1.3 RC 1 fixes the 
problem there, but in 6.7.10 RC 1 I also had to disable line 2658.

Is it worth a couple of bug reports?

Paul
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LC8DP15 feedback-IDE Issues

2016-03-03 Thread Paul Hibbert
Thank you for your reply Mark, it’s good to know the teams perspective on these 
things.

Unfortunately, finding a reproducible set of steps isn’t proving easy, I’m 
currently having problems with the Message Box and Project Browser (Bug: 
http://quality.livecode.com/show_bug.cgi?id=17048 ), where lengthy error 
messages appear in the MB and the PB suddenly becomes empty.

Another problem that I can’t find a recipe for, is the ‘tree link lines’ in the 
PB don’t always match up, closing and re-opening the PB seems to fix the issue. 
Next time I see it I’ll try to be more aware of the steps. I’ll certainly 
report it if I can find the recipe.

Another occasional problem, closing a stack using ‘Close and Remove From 
Memory’ may close the stack and remove it's entry in the PB, but by closing and 
re-opening the PB shows it's entry in the PB once again, even when the 
‘destroyStack’ & ‘'destroyWindow’ are checked and ‘cantDelete’, ‘cantModify’ 
and ‘cantAbort’ are unchecked. I’ll do some more testing to see if I can nail 
this one down, but I have a feeling it’s closely related to the bug# 17048.

Regards,

Paul

> On Mar 3, 2016, at 7:06 AM, Mark Waddingham <m...@livecode.com> wrote:
> 
> On 2016-03-03 16:02, Paul Hibbert wrote:
>> On the subject of improving the Project Browser, I would like to see a
>> ‘Refresh’ button added to this palette, probably in the header bar by
>> the gear icon. Sometimes the PB doesn’t always update in the way you
>> would expect and the only way to refresh it right now is to close and
>> re-open the palette, I seem to have to do this all too often.
> 
> We'd rather not add a 'refresh' button to the project browser - if there are 
> instances where it does not update correctly then we need to fix those 
> instances. So, if you can find a reproducible set of steps for when it occurs 
> please do file a bug report so we can address the problem.
> 
> We do know that there will be refresh problems currently for certain (control 
> and stack manipulation) scripts when lockMessages is true (i.e. when in a 
> lock messages ... unlock messages block). Would that explain what you are 
> seeing?
> 
> Warmest Regards,
> 
> Mark.
> 
> -- 
> Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
> LiveCode: Everyone can create apps
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: LC8DP15 feedback-IDE Issues

2016-03-03 Thread Paul Hibbert
Mike,

I don’t see a search field in the Project Browser, this is what it looks like 
when it errors…

https://www.dropbox.com/s/k3u68fott2n5npd/Screenshot%202016-03-03%2008.46.32.png?dl=0

Thanks for replying anyway.

Paul

> On Mar 3, 2016, at 8:16 AM, Mike Kerner  wrote:
> 
> Paul,
> You can also click in the search field and then click outside of it to
> force a refresh.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Set the Opacity of a Button Background

2016-03-03 Thread Paul Hibbert
You are more than welcome, like most people on this list I’m just pleased to 
help. :)

I’m sure you’ll realize, but the key to this effect is using the Ink setting 
‘blendHardLight' with neutral colours, then any tone above 50% will darken the 
colours below and any tone less than 50% will lighten the colours below.

Regards,

Paul

> On Mar 2, 2016, at 2:54 PM, Sannyasin Brahmanathaswami  
> wrote:
> 
> Aloha Paul:
> 
> wow... awesome.. you did it! this works perfectly as needed.
> 
> So I can just set up a template button and store this and create all new 
> buttons according.
> 
> Outstanding.. Big Mahalo from Hawaii
> 
> BR
> 
> On March 1, 2016 at 11:26:57 AM, Scott Rossi 
> (sc...@tactilemedia.com) wrote:
> 
> By adjusting some colour values and the ink mode I could achieve what I think 
> you are looking for, however I may have misunderstood, because I don’t quite 
> understand the bit about having 50% opacity of a clear background!
> 
> Link to demo stack with my interpretation: 
> https://www.dropbox.com/s/xhjqlx0zhdeyq2f/Button%20Demo.livecode?dl=0
> 
> HTH
> 
> Paul
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: LC8DP15 feedback-IDE Issues

2016-03-03 Thread Paul Hibbert
On the subject of improving the Project Browser, I would like to see a 
‘Refresh’ button added to this palette, probably in the header bar by the gear 
icon. Sometimes the PB doesn’t always update in the way you would expect and 
the only way to refresh it right now is to close and re-open the palette, I 
seem to have to do this all too often.

For the widgets in the Tool Palette, personally I would prefer to see them in a 
separate ‘Widgets’ palette, but if they are to live in the Tools Palette, then 
I agree that they should be moved lower down below the main controls.

Having read some of the posts, especially from RG, I’m now trying to work in LC 
without the Tools Palette or the ToolBar being visible, all of the commands and 
controls are available under the menus so both of these palettes are not really 
necessary, but, I find the lack of some shortcuts can slow things down a 
little, so I would really like to be able to have some customizable shortcuts. 
I do keep adding some by editing the revMenuBar script, so maybe I’ll try to 
figure out the GIT stuff and make a pull request someday.

Paul
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Deleting a Control in LC8 DP16 in the IDE

2016-03-29 Thread Paul Hibbert
Bill,

There is a ‘Trash’ icon in the bottom row of tools in the PB, the only downside 
is it asks for confirmation before deleting, or you can double click the 
control in the PB, it should be selected if the card is visible, then you can 
hit delete.

HTH

Paul

> On Mar 29, 2016, at 3:30 PM, William Prothero  wrote:
> 
> In Version 7, I can delete a control, by selecting the control in the Project 
> Browser, and clicking “Delete”. This doesn’t happen in LC8 DP16, on OSX. 
> 
> Bug? I can delete it by selecting it on the stage and clicking “Delete”. I 
> remember something about this mentioned on the list, but can’t find it.
> 
> Best,
> Bill
> 
> 
> 
> William Prothero, Ph.D.
> University of California, Santa Barbara, Emeritus
> proth...@earthednet.org
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Plugins vs. the Mac app bundle

2016-04-13 Thread Paul Hibbert

> On Apr 13, 2016, at 9:57 AM, Richard Gaskin  
> wrote:
> 
> If you want to share your code here I'll bet we can pin down which part 
> triggers the "dirty" flag.
> 
> Since you've already scripted your changes, having them run in a plugin on 
> startup rather than attempting to alter the bundle contents will make 
> everything work well, once we take care of that save prompt.
> 
> But I know it's doable:  my devolution plugin makes a lot of changes to 
> revMenubar on startup, and I've not seen a save prompt yet.  I'll bet we can 
> figure out how to tailor your script to do the same.


Thank you for the prompt Richard,

After reading your reply I went through the stack I was using and realized that 
I was writing the changes back to the stack in the app bundle, which I think is 
why it was setting the revMenuBar stack as dirty, when I changed it to just 
updating the stack in memory everything is working fine now. I took the 
opportunity to clean up the script and made it into a new plugin and so far I’m 
happy with the result and no need to alter the app bundle permissions.

Thank you once again for the help pointing me in the right direction.

Kind Regards,

Paul
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: UN-FullScreen a Stack?

2016-07-22 Thread Paul Hibbert
I doubt this is any use for what you need, but strangely, setting the 
liveResizing of the stack to false does exit fullscreen mode, although the 
stack grows in height by 22px!

Paul

> On Jul 22, 2016, at 3:35 PM, Scott Rossi  wrote:
> 
> I eventually figured out the stack's decorations were hidden behind the
> LiveCode toolbar (and the green button was changed to grey an OS version
> or two back).
> 
> But I'm still wondering if there's a command to exit the OS's fullscreen
> mode without making the menubar visible, like how most apps employ the
> escape key.
> 
> Thanks & Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
> 
> 
> 
> 
> On 7/22/16, 3:16 PM, "use-livecode on behalf of Colin Holgate"
>  colinholg...@gmail.com> wrote:
> 
>> You mouse over the top of the screen, and the menu and titlebar will
>> appear. Then click the green button to come out of full screen mode. Same
>> thing works for all other Mac windows.
>> 
>>> On Jul 22, 2016, at 6:05 PM, Scott Rossi  wrote:
>>> 
>>> OK, on OS X 10.11 I decided to see what happens when maximizing a stack.
>>> The window went fullscreen and my script for repositioning controls
>>> works
>>> great, but now the display is stuck in fullscreen mode.  How do I get
>>> the
>>> view back to multi-window view?  Setting the width/height of the stack
>>> resizes the stack but leaves a black OS backdrop in place and the
>>> display
>>> remains set the fullscreen mode.  What's the command to un-fullscreen a
>>> stack?
>>> 
>>> Thanks & Regards,
>>> 
>>> Scott Rossi
>>> Creative Director
>>> Tactile Media, UX/UI Design
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: When is open stack sent on Mobile

2016-07-27 Thread Paul Hibbert
A quick test shows that suspendStack and resumeStack do appear to work on the 
iOS simulator despite the omission of mobile platforms in the dictionary. Sorry 
I don’t have Android set up for testing right now.

LC 8.1.0 • Mac OSX 10.11.6 • iOS 9.3

Paul

> On Jul 27, 2016, at 4:25 PM, Sannyasin Brahmanathaswami  
> wrote:
> 
> It appears on mobile you can issue
> 
> go stack "stackOne"
> 
> and then later
> 
> go stack "stackTwo"
> 
> and then you will only see "stackOne"
> 
> But if you have links that go backto "stackOne"  I'm not getting any open 
> stack or open card messages handlers to fire.  I suspect that's because they 
> are still.
> 
> Anyone else using multiple stacks in a mobile app…and found a way to trap for 
> when a stack does into the background and the comes back into the foreground 
> (takes over the screen() unfortunately, suspend and resume, are not available 
> on mobile.
> 
> 
> BR
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: OT: https <> http | WAS Application Transport Security deadline for iOS apps

2016-07-12 Thread Paul Hibbert
I’m interested in the response too. Https requests to my on-rev site also link 
to legacytrees.org

Paul

> On Jul 12, 2016, at 5:23 AM, Klaus major-k  wrote:
> 
> Hi all,
> 
> OK, mail sent to support, wainting for a response now, I will keep you 
> informed!
> 
>> Am 12.07.2016 um 13:50 schrieb Klaus major-k :
>> 
>> Hi Peter,
>> 
>>> Am 12.07.2016 um 13:47 schrieb Peter TB Brett :
>>> 
>> On 12/07/2016 12:46, Klaus major-k wrote:
 Hi Rolf,
 
> Am 12.07.2016 um 13:36 schrieb Rolf Kocherhans 
> :
> 
> If I do the same I land on artisansofscotland.com :-(
> My original page: www.kangaroo.on-rev.com
> 
> If I go here:   https://www.kangaroo.on-rev.com
> I land here:   https://artisansofscotland.com
 
 thanks for checking, good to know I'm not alone!
 
> Whats going on ?
 
 Yes, very good question!
 Hi mothership, any ideas?
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> http://www.major-k.de
> kl...@major-k.de
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Stopping a script

2016-06-28 Thread Paul Hibbert
When testing repeats I usually include a line something like;

if the altKey is down then exit repeat -- or you could use exit to top

Paul

> On Jun 28, 2016, at 11:32 AM, Richmond  wrote:
> 
> I have tried *STOP MOVING* to interrupt that script, but that does *NOT* work
> because the graphic is executing a large number of very short movements in a 
> cycling
> *REPEAT UNTIL* structure.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Stability of LC 8 DP2?

2016-07-04 Thread Paul Hibbert
One other thing that may be worth trying is to remove any non-native plug-ins 
and try again. I and several others have had issues with plug-ins designed and 
built with previous versions of LC.

For my home rolled plug-ins I checked them carefully and updated the ones I 
needed in LC8 and they are working fine now.

For any third-party plug-ins, check to see if the developer has released an 
updated version for LC8.

Since doing this I’m finding LC8 to be much more stable and I’m mainly using 
the DP to take advantage of and learn new features.

Paul

> On Jul 4, 2016, at 9:24 AM, Richmond  wrote:
> 
> R. Gaskin is right (as usual):
> 
> Develop on the Stable release.
> 
> Try things out on the Developer Previews, get frustrated, and then file Bug 
> reports;
> this is very important.
> 
> R.
> 
> On 4.07.2016 19:15, Richard Gaskin wrote:
>> On the contrary, while I recommend using the most recent "Stable" build for 
>> deploying, for development I strongly recommend using the most recent build 
>> with any designation specifically so we can identify and resolve these 
>> issues ASAP.
>> 
>> Waiting until after final release only guarantees a previously-unknown issue 
>> will remain in the final release.
>> 
>> @Lagi:  Please submit two bug reports, one for the crasher since of course 
>> crashers need to be resolved ASAP, and another for the text baseline since 
>> no one wants newcomers getting turned off from LiveCode the moment they drop 
>> a control onto a card because it looks wonky.
>> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Tree widget showing error in 8.1.0 (dp 2)

2016-07-01 Thread Paul Hibbert
I had the same issue with the rounded corner widget, but uninstalling it using 
the Extension Manager and then re-installing with the Extension Builder fixed 
the problem.

Paul

> On Jul 1, 2016, at 1:11 AM, David Bovill  wrote:
> 
> Upgrading to 8.1.0 (dp 2) from 8.02 (rc 1) results in the tools palette
> showing a red exclamation mark over the tree widget - and the widget
> failing to display arrays.
> 
> Anyone else having this issue?
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Tree widget showing error in 8.1.0 (dp 2)

2016-07-01 Thread Paul Hibbert
Looks like I replied too soon - the error has just returned when I went back to 
LC!

Paul

> On Jul 1, 2016, at 8:03 AM, Paul Hibbert <p...@livecode.org> wrote:
> 
> I had the same issue with the rounded corner widget, but uninstalling it 
> using the Extension Manager and then re-installing with the Extension Builder 
> fixed the problem.
> 
> Paul
> 
>> On Jul 1, 2016, at 1:11 AM, David Bovill <david@viral.academy> wrote:
>> 
>> Upgrading to 8.1.0 (dp 2) from 8.02 (rc 1) results in the tools palette
>> showing a red exclamation mark over the tree widget - and the widget
>> failing to display arrays.
>> 
>> Anyone else having this issue?
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Project Browser Allows you to move a group into another group

2016-09-13 Thread Paul Hibbert
The Application Browser has always had a Refresh Icon just below the right hand 
side of the left pane, it’s only small and light grey, but it’s there. When I 
suggested a Refresh button for the Project Browser, MW didn’t think it was a 
good idea! So I made a Plugin that allows me to refresh my PB. :)

Paul

> On Sep 13, 2016, at 5:36 AM, Roger Eller  wrote:
> 
> Why hide it behind a right-click?  A tiny recognisable refresh icon in
> plain sight would be better, IMHO.
> 
> ~Roger
> 
> On Sep 13, 2016 5:43 AM, "Ben Rubinstein"  wrote:
> 
>> On 13/09/2016 05:31, J. Landman Gay wrote:
>> 
>>> On September 12, 2016 9:57:40 PM Sannyasin Brahmanathaswami <
>>> bra...@hindu.org>
>>> wrote:
>>> 
 
 But both the Project Browser and RevApplicationbrowser do not reflect the
 change. Once in a while they do… but 80% of the time, change of layers
 are
 not reflected/updated.
 
 Is there a way force refresh these lists?
 
>>> 
>>> For the App Browser, right click anywhere in the right hand pane and
>>> choose
>>> Refresh from the contextual menu.
>>> 
>> 
>> I'll just leave this here:
>> http://quality.livecode.com/show_bug.cgi?id=17916
>> 
>> Ben
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Project Browser Allows you to move a group into another group

2016-09-14 Thread Paul Hibbert
I should be able to share it, the plugin was made to add some shortcuts to the 
menus, so I’ll need to do a little more testing with the latest release and a 
bit of code tidying along with some warnings/instructions before it’s suitable 
for public use, but I’ll get on it then add it to the LiveCode Share site, 
hopefully within the next few days.

One issue may be that it was made for Mac, and I only have access to Win 7 for 
testing on other platforms, so I’m not too sure how well it will work on 
Windows/Linux.

Paul

> On Sep 13, 2016, at 10:45 AM, Sannyasin Brahmanathaswami <bra...@hindu.org> 
> wrote:
> 
> Paul Hibbert wrote:
> 
>So I made a Plugin that allows me to refresh my PB. :)
> 
> 
> BR: Can you share this with us?
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

MacWorld UK

2016-10-04 Thread Paul Hibbert
How can a major UK Mac magazine ignore LiveCode in an article titled "Complete 
guide to coding and programming on a Mac: Best programming languages for Mac 
coders | How to get started as an app developer”.

Link: 
http://www.macworld.co.uk/how-to/mac/complete-guide-coding-programming-apps-mac-3645777/

I’ve left a comment on their page, may help with a few more comments.

Paul
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Copying text from LC Script Editor

2016-09-16 Thread Paul Hibbert
It’s not just the SE that has this behaviour, any text from a LC field does the 
same, with in the IDE and in a standalone, on Mac at least.

Example from text typed into a LC 8.1.0 field:–

Line 1

Line 2

Line 3

Last Line

Paul
--
Livecode 8.1.0 on Mac OS X El Capitan Version 10.11.6

> On Sep 16, 2016, at 4:20 PM, Monte Goulding  wrote:
> 
> 
>> On 17 Sep 2016, at 5:28 AM, J. Landman Gay  wrote:
>> 
>> My hunch is that it's a line-ending translation issue.
> 
> I’m wondering if it’s a html issue. What LiveCode uses as a paragraph 
> `` is more like a `` as in LiveCode it’s represented by a single 
> line break with no vertical whitespace in most html views it will have some 
> vertical whitespace in there. If that’s the case then I’m really not sure how 
> we could work around it in a backwards compatible way.
> 
> Cheers
> 
> Monte
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Object inspector question

2016-09-19 Thread Paul Hibbert
On Sep 19, 2016, at 10:16 AM, Richard Gaskin  wrote:

> Mac always shows the full list, but the other OSes truncate the list to be 
> scrollable.

Not in this case. The PI font selector appears to be a Combo-box Menu and it 
only shows 5 lines on a Mac too.

On Mac:
An Option Menu, Pulldown Menu and Popup Menu all show a list as long as the 
screen real estate allows, but a Combo-box Menu only displays the number of 
lines set in the PI menuLines property.

On further investigation, type this line of code into the message box and it 
allows you to set your desired number of lines to display (25 in this example):

   set the menuLines of btn 1 of group 1 of cd 1 of stack 
"com.livecode.pi.font" to “25”

Just bear in mind that next time you launch LC it will revert back to 5 lines.

Regards,

Paul
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: export snapshot

2016-11-06 Thread Paul Hibbert

> On Nov 6, 2016, at 3:27 AM, Richmond  > wrote:
> 
> I wonder why?


It seems the ‘export snapshot from’ doesn’t like the ‘img’ form, whereas, in a 
simple experiment the following does work in LC8.1.1(rc2);

export snapshot from control "met" to file "met.png" as png

Although neither option seems to work in LC9.0.0(dp1)!

So I’d suggest there is a bug, or at least, inconsistencies across versions, 
just as you found out.

Paul
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: selectedText

2016-11-06 Thread Paul Hibbert

> On Nov 6, 2016, at 9:41 AM, Richmond  > wrote:
> 
> I wonder why this:
> 
> set text of the selectedText to numToCodePoint(2309)
> 
> [when I have a textField with a selection point within it]
> 
> doesn't work (LC 8.1).
> 
> Richmond.

I didn’t expect it to work (set property of a function?), but it does here on 
Mac in LC8.1.1(rc2) and LC9.0.0(dp1), either of the following seem to have the 
desired effect;
put numToCodePoint(2309) into the selection

put numToCodePoint(2309) into the selectedText

Paul
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: export snapshot

2016-11-06 Thread Paul Hibbert

> On Nov 6, 2016, at 11:54 AM, hh  wrote:
> 
> Tested to work here in LC 9.0.0-dp1 on
> 
> MacOS 10.12.1
> Win 7/10
> Linux (Mint173)
> 
> on mouseUp
>   put specialfolderPath(home)&"/test.png" into sph
>   export snapshot from img "test" to file sph as PNG
> end mouseUp
> 
> So you could test whether you have write permission in the
> folder where you wish to write to.

A very good point, I found the defaultFolderPath was set to;

/Users/paulhibbert/Library/Application Support/RunRev/Documentation 
Cache/9_0_0_dp_1_commercial/IDE

After I had been using the dictionary I presume.

So that wasn’t going to work out well! In fact LC9.0.0(dp1) did write the file, 
it just wasn’t where I expected it to be, but that’s because I didn’t control 
the destination in my (quick) experiment - another lesson learnt. :)

Paul
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: [ANN] Release 8.1.2 RC-1

2016-11-09 Thread Paul Hibbert
Same problem on Mac OSX 10.12.1 too, so I have added to your bug report.

Paul

> On Nov 9, 2016, at 8:59 AM, AndyP  wrote:
> 
> Great work, lots of bugs squashed!
> 
> unfortunately a new serious bug has emerged.
> 
> using Cut on an object always crashes the IDE >Win 10
> 
> http://quality.livecode.com/show_bug.cgi?id=18810
>   
> 
> 
> 
> 
> 
> -
> Andy Piddock 
> 
> 
> My software never has bugs. It just develops random features. 
> 
> Copy the new cloud space, get your free 15GB space now:
> Get Copy 
> 
> 
> Script editor Themer for LC http://2108.co.uk  
> 
> PointandSee is a FREE simple but full featured under cursor colour picker / 
> finder.
> http://www.pointandsee.co.uk  - made with LiveCode
> --
> View this message in context: 
> http://runtime-revolution.278305.n4.nabble.com/ANN-Release-8-1-2-RC-1-tp4710229p4710240.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


[ANN] New Menu Shortcut Plugin available [Was - GUI Design Tasks Send Back - Bring Forward]

2016-11-22 Thread Paul Hibbert
This is something I have been tinkering with for a while, so I spent most of 
today testing and polishing the stack to the point where it’s now useable as a 
plugin, so I’ve uploaded it to the LiveCode Share portal.

From within Livecode 8 or 9 go to the Sample Stacks menu and search for, 
Shortcuts

The title of the stack is, LC Menu Shortcuts

The web link is:

http://livecodeshare.runrev.com/stack/813/LC-Menu-Shortcuts 


My implementation doesn’t use the method that Ali suggests below, but it’s 
close. I’ve been testing it for a while now and so far it’s been pretty robust. 
The stack is best used as a plugin loaded at startup, it adds 17 possible new 
shortcuts to the LC menus, plus 2 more that already work but don’t show in the 
menus, so they can be made to show their shortcuts.

The stack is currently only tested on Mac and is only compatible with LC 8 and 
9. I would be interested to hear from any Windows and Linux users, I doubt that 
it’s anywhere near perfect, so I am happy to modify and update as necessary.

The stack is not locked, so feel free to edit/alter/modify/tinker as you please.

One of my main goals for creating this stack was to be able to refresh the 
Project Browser, so many times I run into situations where the PB doesn’t keep 
up with what I’m doing, but now I can just use a shortcut (Shift Cmd B), twice 
to close and re-open the PB and all is well, I can carry on working without 
interruptions.

Paul

> On Nov 21, 2016, at 9:07 AM, Ali Lloyd  wrote:
> 
> If anyone particularly wants this feature, it would make a nice and fairly
> easy community contribution as it only requires changes in the 'revMenuBar'
> script only stack.
> 
> You would just have to add the appropriate menu items in
> revMenuBarObjectContextMenu (probably using the pSelectable parameter to
> control the enabled of the menu item) and then add to the switch in
> revMenubarContextMenuPickTarget
> case "Send to Back"
> revIDESendToBack pTarget
> 
> etc
> 
> On Sun, Nov 20, 2016 at 11:08 PM Sannyasin Brahmanathaswami <
> bra...@hindu.org> wrote:
> 
>> roger.e.el...@sealedair.com> wrote:
>> 
>>pressing Control-[ or Control-].
>> 
>> OH ..duh! yes completely forgot about those key board shortcuts!

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Draw an adjustable Trapezoid in Livecode - How to change x, y of the 4 corner points of a rect

2016-11-23 Thread Paul Hibbert

> On Nov 23, 2016, at 8:44 PM, Sannyasin Brahmanathaswami  
> wrote:
> 
> is this even doable?


The good news:
Right click on the Polygon then choose 'Reshape Polygon' and the points that 
you require should appear. :-)

Now the bad news:
Sadly this also revealed the ghost trails seen before when you start to drag 
the points around. :-(

Paul

Mac OS X 10.12.1 - LC8.1.2. (rc 2)
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Draw an adjustable Trapezoid in Livecode - How to change x, y of the 4 corner points of a rect

2016-11-24 Thread Paul Hibbert

> On Nov 24, 2016, at 11:57 AM, Sannyasin Brahmanathaswami  
> wrote:
> 
> Question: is there a way to close the polygon path? It does appear to be 
> closed by default, but I can't actually get the last point of the last line 
> to snap-connect to the first point of starting line… maybe that is not 
> doable?  But, mute point since when you switch out the polygon is closed even 
> if you have a small "x over" at the return point… 

You can do this by script, just use something like the following script in the 
card or stack;
on newGraphic

 — use the altKey to ensure this is a chosen behaviour

 — leave the altKey condition out if this is to be the default behaviour
   if the altKey is down and the style of the last graphic = "polygon" then

  get the points of the last graphic

  put line 1 of it into line -1 of it

  set the points of the last graphic to it

  set the editMode of the last graphic to "polygon" -- Thank you Mark!

   end if

end newGraphic

This will make sure the first point and last point are equal and the graphic 
points are editable.
  set the editMode of the last graphic to “none” -- turn off the Reshape 
Polygon mode and remove the edit handles

Regards,

Paul
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Player Control and focus

2016-11-18 Thread Paul Hibbert
In a quick test on Mac, you can still trap the rawKeyDown in the player control 
and respond to the result so…

on rawKeyDown pKey

if pKey = "65363" then go next card

if pKey = "65361" then go prev card

pass rawKeyDown

end rawKeyDown


…Should work.

Paul

> On Nov 18, 2016, at 6:17 PM, Peter Bogdanoff  wrote:
> 
> I’m seeing:
> 
> LC 6: click on a player control to give it focus and the keyboard spacebar 
> pauses and resumes the player.
> 
> LC 8.1.2 rc2: click on a player to give it focus and the keyboard spacebar 
> pauses and resumes the player, the left arrow key moves the playhead 
> backwards, and the right arrow key tries to move it forward.
> 
> Is there a property that turns this behavior off and on?
> 
> This behavior is a challenge when I want the spacebar to pause/resume, but 
> the arrow keys to navigate cards.
> 
> These are all standard interface conventions, but the implementation in LC 8 
> seems, well, undocumented.
> 
> Peter Bogdanoff
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Can the new player work with YouTube in 8.1.1?

2016-11-17 Thread Paul Hibbert
One way that does work with YouTube is to use a browser widget instead of the 
player control, then set the URL to the “embed” link provided by YouTube, but 
first, remove all of the iFrame tags and parameters, so in this case the URL 
would be, https://www.youtube.com/embed/K033kBr3C6c 


HTH

Paul

> On Nov 17, 2016, at 2:10 PM, Roger Eller  > wrote:
> 
> A YouTube URL doesn't seem to work as the fileName.  Is there some special
> method or format of the URL needed?
> 
> on mouseUp
> 
> set the fileName of player 1 to "https://www.youtube.com/watch?v=K033kBr3C6c 
> 
> "
> 
> end mouseUp
> 
> 
> ~Roger
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com 
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Swipe gestures on a mobile scroller

2016-11-19 Thread Paul Hibbert

> On Nov 19, 2016, at 11:38 AM, J. Landman Gay  wrote:
> 
> Anyone have a workaround?


Kind of! I built an iOS app that needed to display some long fields of text, I 
built some pages based around this lesson:

http://lessons.livecode.com/m/4069/l/94412-creating-a-native-scroller-to-scroll-a-field?id=94412-creating-a-native-scroller-to-scroll-a-field

I had the same problem with navigating cards using swipe gestures because the 
field covered the majority of the card, I managed to work around the problem by 
modifying the scrollerDidScroll handler to:

on scrollerDidScroll hOffset, vOffset
// When the user scrolls horizontally, navigate in the desired direction

if the hScroll of group "scrollArea" <0 then // Detect the horizontal swipe

   moveBack // Stack handler to move back to Index card

 else if the hScroll of group "scrollArea" >0 then

   moveForward // Stack handler to move to next card

end if

// When the user swipes vertically, scroll the displayed content

set the vScroll of group "scrollArea" to vOffset

end scrollerDidScroll

To make this work I had to set these properties on the text field;
traversalOn “false”
autoHilite “false”
lock text “true”
So this may not work if you need the user to be able to modify the text unless 
you can give them a method of changing between edit/navigate modes.

I’ve managed to update the lesson file, it's on dropbox, so if it helps here it 
is for you to test:
https://www.dropbox.com/s/ak234nlwbgfko3p/Scroll%20Test.livecode?dl=0 


It does seem to be reasonably reliable, but not if you tend to swipe too fast, 
I have’t tried it on Android though.

Paul
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Swipe gestures on a mobile scroller

2016-11-20 Thread Paul Hibbert

> On Nov 19, 2016, at 8:06 PM, J. Landman Gay  wrote:
> 
> I'm not sure how it could work, since the horizontal scroll of my field is 
> always zero. It doesn't scroll horizontally at all.

The actual hScroll of the field isn’t set, only the vScroll is set in this 
example, but it can detect that you are attempting to scroll horizontally and 
so you can use that info to initiate a swipe.

It is only a workaround implemented by intercepting the scrollerDidScroll 
message, you don’t need to ‘set' the scroll sent by the message, but you can 
detect it and use it to swipe.

Paul
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Swipe gestures on a mobile scroller

2016-11-20 Thread Paul Hibbert

> On Nov 20, 2016, at 11:03 AM, J. Landman Gay  > wrote:
> 
> does that mean the hscroll property of the mobile scroller must be true?

No, the hScroll prop is still false, you are just detecting and using 
(diverting) the information that the scrollerDidScroll message would have used 
to set the hScroll, but it never gets set.

This is the handler:

on scrollerDidScroll hOffset, vOffset // Scroll or Swipe Detect //
 
   if the hScroll of group "scrollArea" <0 then ##-->> Detects the Horiz swipe 
<<--##
  moveBack
   else if the hScroll of group "scrollArea" >0 then
  moveForward
   end if
   
   set the vScroll of group "scrollArea" to vOffset ##-->>  Scroll the field 
vertically <<—##

end scrollerDidScroll


It is just a workaround, and it’s not perfect, but may keep you going until the 
main problem is fixed.

Paul
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Swipe gestures on a mobile scroller

2016-11-20 Thread Paul Hibbert

> On Nov 20, 2016, at 11:03 AM, J. Landman Gay  wrote:
> 
> does that mean the hscroll property of the mobile scroller must be true?

Just tried this simplified version and it works fine too:

on scrollerDidScroll hOffset, vOffset // Scroll Detect //
 
   if hOffset <0 then ##-->> Detects the Horiz swipe <<--##
  moveBack
   else if hOffset >0 then
  moveForward
   end if
   
   set the vScroll of group "scrollArea" to vOffset ##-->> Scroll the field 
vertically <<—##

end scrollerDidScroll

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Compound Path SVG Breaks in Widget?

2016-11-20 Thread Paul Hibbert
Just re-created your SVG from the SVG text and opened the file in Affinity 
Designer, then exported it as SVG, converted back to text and then extracted 
the SVG paths:

M112,0l-100,0c-6.583,0 -12,5.417 -12,12c0,6.583 5.417,12 12,12l100,0c6.583,0 
12,-5.417 12,-12c0,-6.583 -5.417,-12 -12,-12Zm0,44l-100,0c-6.583,0 -12,5.417 
-12,12c0,6.583 5.417,12 12,12l100,0c6.583,0 12,-5.417 12,-12c0,-6.583 
-5.417,-12 -12,-12Zm0,44l-100,0c-6.583,0 -12,5.417 -12,12c0,6.583 5.417,12 
12,12l100,0c6.583,0 12,-5.417 12,-12c0,-6.583 -5.417,-12 -12,-12Z

Pasted that into an SVG Icon widget and it works fine, so I guess it’s 
something to do with the way Illustrator exports the data, are there any 
options to try? Maybe compression?

Paul

> On Nov 20, 2016, at 2:11 PM, Sannyasin Brahmanathaswami  
> wrote:
> 
> 
> 1)  3 bar menu (hamburger menu" download SVG icon from  
> http://www.flaticon.com/
> 2) open in Illustrator
> 3) select all
> 4) Make compound path
> 
> save as SVG
> 
> file looks like this:
> 
> http://www.w3.org/2000/svg; 
> viewBox="0 0 124 112">three-horizontal-lines_compound d="M112,6H12a12,12,0,0,0,0,24H112A12,12,0,0,0,112,6Zm0,44H12a12,12,0,0,0,0,24H112A12,12,0,0,0,112,50Zm0,44H12a12,12,0,0,0,0,24H112A12,12,0,0,0,112,94Z"
>  transform="translate(0 -6)" style="fill:none"/>
> 
> 
> Pasting this into the widget generates an error.
> 
> M112,6H12a12,12,0,0,0,0,24H112A12,12,0,0,0,112,6Zm0,44H12a12,12,0,0,0,0,24H112A12,12,0,0,0,112,50Zm0,44H12a12,12,0,0,0,0,24H112A12,12,0,0,0,112,94Z
> 
> Any Clues?
> 
> already entered here:
> 
> http://quality.livecode.com/show_bug.cgi?id=18884
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Installer software

2016-12-08 Thread Paul Hibbert
I haven’t worked with Windows for a while, but DropDMG works well for Mac and 
is constantly updated, it’s just a one time $24 licence.

http://c-command.com/dropdmg/

You can save layouts too so you don’t have to keep going through the same 
set-up every time.

Alternatively, if it’s simple drag and drop installations then zip files work 
fine too.

Paul
p...@livecode.org

Mac OS Sierra 10.12.1



> On Dec 8, 2016, at 7:24 PM, Peter Bogdanoff  wrote:
> 
> Hi,
> 
> I’m needing to create simple installers to deploy to Mac and Win desktop.
> 
> I’ve purchased in the past Economy-x-Talk Installer Maker which doesn’t seem 
> to open now.
> 
> Any suggestions? I’m working in OS X, but use virtual Windows 10.
> 
> Peter Bogdanoff
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Crash in LC related to regular polygon

2016-12-01 Thread Paul Hibbert
Randy, I will happily look at your stack. I also experienced a crash with 
polygons but couldn’t reproduce it. I’m on Mac OS Sierra 10.12.1

Regards.

Paul

> On Nov 30, 2016, at 3:28 PM, Randy Hengst  wrote:
> 
> Hi All,
> 
> I’ve been able to reproduce a hard crash on two different Macs… one running 
> 10.10.5 and the other running 10.11.6.
> 
> I’ve seen the crash in LC 8.1 on the 10.10.5 Mac and in LC 8.1 and LC 7.1.4 
> on the other Mac.
> 
> In short, I was playing with the “effective points” I asked about earlier so 
> I could set the sides of a regular polygon and then assign a marker to each 
> of the vertices via script.  I ran into a problem when I scripted a handler 
> to iterate through all sizes of polygons from 3-sided to 32-sided.
> 
> Is anyone willing to take a look at the stack before I submit a bug report? 
> I’d appreciate even thoughts on what to call the problem.
> 
> Happy to send the demo stack I create to anyone off list.
> 
> be well,
> randy
> www.classroomFocusedSoftware.com
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Is there a mapping table for all rawKeyUp Codes? No solution yet with LC 8

2016-12-05 Thread Paul Hibbert
On Mac OS Sierra 10.12.1 with LC 8.1.2(rc2) and German Keyboard layout I see:

Shift + dot (":") the keyname = 58
Shift + ö ("Ö") the keyname = 58

But if you add to these 'the keysDown' as Herman suggested I see:

Shift + dot (":") the keyname = 58 and the keysDown = 46,65505 (46 is the : key 
and 65505 is the shift key)
Shift + ö ("Ö") the keyname = 58 and the keysDown = 59,65505 (59 is the ö key 
and 65505 is the shift key)

So you should be able to use the first item of the keysDown to differentiate 
which key was pressed. Maybe not ideal, but it should work.

e.g.
   put keyname and item 1 of the keysDown

Paul

> On Dec 5, 2016, at 8:18 AM, Tiemo Hollmann TB  wrote:
> 
> Hallo Hermann,
> 
> shift + ö and shift + dot both return 58, anyhow if I give the output tot he 
> message box or a field. I can't see a script error. For me it's an engine 
> error.
> 
> Same with "-" and "ß", both return 45.
> I don't see a chance on how I could differentiate between "-" and "ß", when 
> getting 45.
> 
> Perhaps I didn't understood, what you meant to workaround this issue.
> 
> Tiemo
> 
> 
> -Ursprüngliche Nachricht-
> Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag 
> von hh
> Gesendet: Montag, 5. Dezember 2016 14:55
> An: use-livecode@lists.runrev.com
> Betreff: Re: AW: Is there a mapping table for all rawKeyUp Codes? No solution 
> yet with LC 8
> 
> The '58-example' is obviously a script error:
> the message box has always display bugs, you may better use a field for the 
> display.
> 
> If I understand right, then you want now the keyCode (an event, depending on 
> _hardware_) and NOT the characterCode (a number representation of the char).
> Some Mac apps show, with an abuse of the name, the characterCode and not the 
> hardware keycode.
> 
> On a german keyboard from Apple the keycodes are on MacOS 10.12.1/LC 
> 9.0.0-dp2 (65505=shift)
> 
> ö = 59
> Ö = 59,65505
> . = 46
> : = 46,65505
> 
> This is not contradicting your results if your hardware is different.
> 
> You could think about using ___the keysdown___, for example this works for 
> me, using a locked field 1 and the following card script (just to see the 
> difference):
> 
> on idle ; put the keysDown into fld 1 ; end idle
> 
> p.s. For the LC table (Mark's link) you could use:
> put baseConvert(hexValue,16,10) into decValue
> 
>> Since the keyup handler is broken, I am still trying to build a table for 
>> mapping the rawkeyup key to a char. When testing a prototype it seemed to be 
>> easy, but now there are some pitfalls I don't get over. On Mac OS X 10.11, 
>> German system, German keyboard I get with some different char the same 
>> keyname.
>> 
>> When putting the following code into a field:
>> *On rawkeyup keyname*
>> *put keyname*
>> *end rawkeyup*
>> 
>> e.g.
>> Entering shift + dot (":") I get the keyname: 58 Entering shift + ö 
>> ("Ö") I also get the keyname: 58
>> 
>> ... and others...
>> How can I map these keynames back to the char?
>> 
>> Anttis kecode app shows for the first example the keycode 47 and for the 
>> second example 41. But that’s not what I get from rawkeyup.
>> 
>> And with Marks link to the source code I couldn't find a solution either. 
>> Because there is only a hex value table included.
>> 
>> Can anybody confirm these doubled codes from rawkeyup (with a German 
>> keyboard)?
>> 
>> I am stuck with LiveCode 8
>> 
>> Thanks for any ideas
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: fontLanguage()

2017-01-31 Thread Paul Hibbert via use-livecode
From my simple tests, this seems to have been broken sometime after LC5.5.5, 
that’s the only version I have installed that doesn’t return ascii for every 
font installed on my Mac.

I tested;

LiveCode 5.5.5.app

LiveCode 6.7.8.app

LiveCode Commercial 6.7.11 (rc 2).app

LiveCode Indy 7.1.1.app

LiveCode Indy 7.1.4 (rc 2).app

LiveCode Indy 8.1.2.app

LiveCode Indy 8.1.3 (rc 1).app

LiveCode Indy 9.0.0 (dp 4).app

Paul
p...@livecode.org

Mac OS Sierra 10.12.3



> On Jan 30, 2017, at 8:56 PM, Phil Davis via use-livecode 
>  wrote:
> 
> Hi folks,
> 
> In LC 8.1.2 I have checked 'the fontLanguage' of all my installed fonts and 
> get nothing but 'ansi', even for my Arabic fonts. In some previous version of 
> LC my experience was different - guess I'll go digging and see what I find.
> 
> Does anyone have different outcomes with fontLanguage() in 8.1.2?
> 
> Thanks -
> Phil Davis
> 
> -- 
> Phil Davis
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Different result in LC 6 to LC 8 when copying field text into Excel?

2017-02-07 Thread Paul Hibbert via use-livecode
Tiemo,

I’m not sure if this will help because I’m testing on Mac, but I did a little 
bit of experimenting with the new ‘rawClipboardData’, it allows plain text to 
be copied out of LC, just to prove it, here’s a button script copied via my now 
modified Script Buddy plugin…

on mouseUp
   local tClip

   if the selectedText is empty then
  set the clipBoardData["text"] to fld “myTextField"
   else
  copy the selectedText
   end if
   
   if the altKey is down then -- Convert the clipBoard to plain text
  put the clipBoardData["text"] into tClip
  lock the clipBoard
  ## Use some code lifted from the LiveCode Dictionary…
  set the rawClipBoardData to empty -- Clear ALL ClipboardData
  if the platform is "Linux" then set the 
rawClipboardData["text/plain;charset=utf-8"] \
to textEncode(tClip, "UTF-8" ) -- Linux
  if the platform is "Win32" then set the rawClipboardData["CF_UNICODE"] \
to textEncode(tClip, "UTF-16" ) -- Windows
  if the platform is "MacOS" then set the 
rawClipboardData["public.utf8-plain-text"] \
to textEncode(tClip, "UTF-8" ) -- OSX
  unlock the clipboard
   end if
end mouseUp

At last, no extra line spacing! :-)

Normally when I paste from LC into Mail I see extra line spacing, and I would 
have to copy and paste via a plain text editor to remove it. Emptying the 
clipBoard and setting the rawClipboardData as above seems to work, on Mac at 
least, hopefully it should work with Excel on Windows too.

Paul




> On Feb 3, 2017, at 6:25 AM, Tiemo Hollmann TB via use-livecode 
>  wrote:
> 
> Can anybody on Windows with LC 8 confirm this:
> 
> - create a new stack
> - create a scrolling list field
> - enter three lines of text, each with one word
> - enter into the message box: *set the clipboarddata["text"] to fld 1*
> - open MS Excel (in my case Windows 10, Excel 2013)
> - paste
> - see an extra empty line between each line of text
> 
> Pasted in a text editor there are no extra lines and up to LC 7 there also
> was no extra line in Excel.
> 
> Can anybody confirm this behavior or even has an idea for a workaround?
> 
> Thanks
> Tiemo
> 
> 
> 
> -Ursprüngliche Nachricht-
> Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
> von Tiemo Hollmann TB via use-livecode
> Gesendet: Donnerstag, 2. Februar 2017 12:13
> An: LiveCode User Liste senden 
> Cc: Tiemo Hollmann TB 
> Betreff: Different result in LC 6 to LC 8 when copying field text into
> Excel?
> 
> Hello,
> 
> I have a standard scrolling list field with multiple lines of text. I copy
> the text by:
> 
> *set the clipboarddata["text"] to fld "List"*
> 
> The User now can past the text into MS Excel on Windows. With LC 6 the text
> was pasted into Excel line by line, as it showed up in LC. In LC 8.1.2 the
> text is pasted with an extra space line between each two lines.
> 
> I checked the line ends in both versions. There is only one "LF"
> (byteToNum=10) at the end of each line and it looks the same in both
> versions.
> 
> What has changed in LC 8 to cause such a different behavior? Is this again a
> Unicode thing what I don't understand? I already tried different
> clipboarddata keys, without success.
> 
> It can't be an Excel option, because I tested it with the same Excel version
> on the same machine.
> 
> Any idea, what has to be changed to get the same clipboard result as in LC
> 6?
> 
> Thank you
> 
> Tiemo
> 
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Different result in LC 6 to LC 8 when copying field text into Excel?

2017-02-08 Thread Paul Hibbert via use-livecode
Pleased it helped and thank you for the update.

Paul


> On Feb 8, 2017, at 1:59 AM, Tiemo Hollmann TB via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> Paul,
> I tested a little bit more and this code works for me:
> on mouseUp
>   lock clipboard
>   set the rawClipBoardData to empty
>   set the rawClipboardData["CF_UNICODETEXT"] to textEncode(fld 1, "UTF-16" )
>   unlock clipboard
> end mouseUp
> 
> and the IDE doesn't crashes anymore.
> BTW. The rawclipboarddata key is supposed to be ["CF_UNICODETEXT"] and not 
> ["CF_UNICODE"] as the docs say.
> 
> Thanks for your help
> Tiemo
> 
> 
> -Ursprüngliche Nachricht-
> Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag 
> von Tiemo Hollmann TB via use-livecode
> Gesendet: Mittwoch, 8. Februar 2017 09:33
> An: 'How to use LiveCode' <use-livecode@lists.runrev.com>
> Cc: Tiemo Hollmann TB <toolb...@kestner.de>
> Betreff: AW: Different result in LC 6 to LC 8 when copying field text into 
> Excel?
> 
> Hi Paul,
> 
> I test your approach, but when running the code in the DIE, LiveCode crashes 
> immediatly. When debugging the code, it doesn't crashes, but stops at setting 
> the rawclipboarddata with an error "clipboard is not locked".
> This happens anyhow, if I am using "lock clipboard" or not.  I'll file it 
> Tiemo
> 
> -Ursprüngliche Nachricht-
> Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag 
> von Paul Hibbert via use-livecode
> Gesendet: Dienstag, 7. Februar 2017 22:11
> An: How to use LiveCode <use-livecode@lists.runrev.com>
> Cc: Paul Hibbert <p...@livecode.org>
> Betreff: Re: Different result in LC 6 to LC 8 when copying field text into 
> Excel?
> 
> Tiemo,
> 
> I’m not sure if this will help because I’m testing on Mac, but I did a little 
> bit of experimenting with the new ‘rawClipboardData’, it allows plain text to 
> be copied out of LC, just to prove it, here’s a button script copied via my 
> now modified Script Buddy plugin…
> 
> on mouseUp
>   local tClip
> 
>   if the selectedText is empty then
>  set the clipBoardData["text"] to fld “myTextField"
>   else
>  copy the selectedText
>   end if
> 
>   if the altKey is down then -- Convert the clipBoard to plain text
>  put the clipBoardData["text"] into tClip
>  lock the clipBoard
>  ## Use some code lifted from the LiveCode Dictionary…
>  set the rawClipBoardData to empty -- Clear ALL ClipboardData
>  if the platform is "Linux" then set the 
> rawClipboardData["text/plain;charset=utf-8"] \
>to textEncode(tClip, "UTF-8" ) -- Linux
>  if the platform is "Win32" then set the rawClipboardData["CF_UNICODE"] \
>to textEncode(tClip, "UTF-16" ) -- Windows
>  if the platform is "MacOS" then set the 
> rawClipboardData["public.utf8-plain-text"] \
>to textEncode(tClip, "UTF-8" ) -- OSX
>  unlock the clipboard
>   end if
> end mouseUp
> 
> At last, no extra line spacing! :-)
> 
> Normally when I paste from LC into Mail I see extra line spacing, and I would 
> have to copy and paste via a plain text editor to remove it. Emptying the 
> clipBoard and setting the rawClipboardData as above seems to work, on Mac at 
> least, hopefully it should work with Excel on Windows too.
> 
> Paul
> 
> 
> 
> 
>> On Feb 3, 2017, at 6:25 AM, Tiemo Hollmann TB via use-livecode 
>> <use-livecode@lists.runrev.com> wrote:
>> 
>> Can anybody on Windows with LC 8 confirm this:
>> 
>> - create a new stack
>> - create a scrolling list field
>> - enter three lines of text, each with one word
>> - enter into the message box: *set the clipboarddata["text"] to fld 1*
>> - open MS Excel (in my case Windows 10, Excel 2013)
>> - paste
>> - see an extra empty line between each line of text
>> 
>> Pasted in a text editor there are no extra lines and up to LC 7 there 
>> also was no extra line in Excel.
>> 
>> Can anybody confirm this behavior or even has an idea for a workaround?
>> 
>> Thanks
>> Tiemo
>> 
>> 
>> 
>> -Ursprüngliche Nachricht-
>> Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im 
>> Auftrag von Tiemo Hollmann TB via use-livecode
>> Gesendet: Donnerstag, 2. Februar 2017 12:13
>> An: LiveCode User Liste senden <use-livecode@lists.runrev.com>
>> Cc: Tiemo Hollmann TB <toolb...@kest

Re: [ ANN ] Release 8.1.3 RC-1

2017-01-20 Thread Paul Hibbert via use-livecode
Everything is working correctly for me with LC8.1.3 (rc-1) build 14015 on OSX 
Sierra 10.12.2. I don’t have too many plugins installed, but all the standard 
ones, my own and lcStackBrowser are all available and working as expected.

Paul

> On 20 Jan 2017, at 11:22, Trevor DeVore via use-livecode 
>  wrote:
> 
> On Fri, Jan 20, 2017 at 12:34 PM, panagiotis merakos via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> @Trevor It works as expected for me, just tried Business and Indy in my
>> home laptop. What you describe sounds as a result of corrupted Prefs. Have
>> you tried trashing your existing Prefs?
>> 
>> (/Users/your_user_name/Library/Preferences/RunRev/livecode.rev and
>> /Users/your_user_name/Library/Preferences/RunRev/livecode7.rev)
> 
> 
> I removed the prefs but it didn’t make a difference. Odd thing is a I have
> older 8.1.3 rc-1 build that works. It is just recent 8.1.3 builds that
> don’t work for me. Is there some sort of log I can look at to see if an
> error is occurring during startup?
> 
> -- 
> Trevor DeVore
> Outcome & ScreenSteps
> www.outcomeapp.io - www.screensteps.com
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: MacOS Sierra - Tab Bar showing in Stack and IDE windows?

2017-02-20 Thread Paul Hibbert via use-livecode
Thank you James, I would never have thought Window Tab Prefs would be in Dock 
settings!

I’ll give it a try.

Paul

Paul
p...@livecode.org

Mac OS Sierra 10.12.1



> On Feb 20, 2017, at 4:46 AM, James Hale via use-livecode 
>  wrote:
> 
> So perhaps your Dock settings and the way you are using LC are triggering 
> this feature of Sierra.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Call a function on another card

2017-02-23 Thread Paul Hibbert via use-livecode
> On Feb 23, 2017, at 12:32 PM, Peter Bogdanoff via use-livecode 
> > wrote:
> 
> put value("myFunction(hello, world)", group "myGroup" of card "myCard") into 
> tResult
> 
> I want to use a variable as a parameter instead of “hello, world” as in the 
> page example.

You could try:

put value(“myFunction(“ & myVar & ")", group "myGroup" of card "myCard") into 
tResult

Paul



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

MacOS Sierra - Tab Bar showing in Stack and IDE windows?

2017-02-19 Thread Paul Hibbert via use-livecode
I’ve just recently started seeing the MacOS Sierra Tab Bar showing up in the LC 
IDE and stack windows. I don’t know when it started happening, maybe the last 
OS update, but it’s now it’s starting to cause some problems.

Very occasionally I would see the menu item ‘Show Tab Bar’ with the shortcut 
shift-cmd-T in the ‘View’ menu, but more recently I haven’t seen the menu item! 
It’s getting to be pretty frustrating, when the menu item is not there the 
shortcut doesn’t work for any window except the project browser.

Some of the time this feels like a really useful feature, I can added the 
Project Browser, Script Editor and Dictionary into one window, so that makes it 
really easy to switch between the tabs and results in a much tidier screen 
space.

The problem I’m having now is when opening a new or previously saved stack, it 
shows a tab bar if the stack is resizable, but not if the stack is a fixed 
size. The odd thing is the tab bar eats into the stack size, so if I create a 
new default stack the size would normally be 400 x 400 px, but now it’s 400px W 
and 377px H. If I turn off ‘Resizable’ the inspector shows 400px H, now if I 
turn ‘Resizable’ back on the inspector still shows 400px H, but now I have a 
tab bar showing within the 400px so I end up with just 377px of useable stack 
height.

This happens in LC7 onwards, LC5.5.5 is unaffected.

Until just a few moments ago, I couldn’t figure out how to control the problem, 
but I’ve just found that the Project Browser window is the key. If I open the 
Project Browser the shortcut seems to work provided I don’t go to the View Menu 
first, opening any other widows including stack windows just follow whatever 
setting is applied to the PB window, with the exception of fixed size stack 
windows.

This doesn’t seem like a LC bug, but more a change in the OS that LC needs to 
address somehow, so before I fill in a bug report or feature enhancement 
request, I’m curious if anybody else is seeing the Tab Bar in the IDE windows 
on MacOS Sierra? Or better still, does anybody know a way to control or disable 
the feature?

Paul
p...@livecode.org

MacOS Sierra 10.12.3 - iMac with Eizo monitor



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Dragging widgets

2017-02-28 Thread Paul Hibbert via use-livecode
I would really love to see LC’s image handling improved, not just for SVG, 
although that would be a huge bonus, but for raster images too. I would happily 
put money into crowdfunding for this, provided the promises were kept of course.

Anyway, this is probably not the answer you are looking for, but one workaround 
until this problem is addressed, is to group your widget and then add your grab 
code to the group script.

It’s my understanding that widgets are not high on the priority list for bug 
fixes, so a workaround may be your only option if you need this anytime soon.

Paul

> On Feb 28, 2017, at 4:58 AM, Richmond Mathewson via use-livecode 
>  wrote:
> 
> So . . . can any one tell me how to effect a "grab" (which is the same 
> whether with a PNG image, a button
> or a graphic object) with a widget?

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: save stack as filename failing most of the time

2017-01-10 Thread Paul Hibbert via use-livecode
I tried, but it works fine for me every time in LC8.1.2 (Build 14013) (I no 
longer have RC3 installed), on MacOS Sierra 10.12.2.

This is the test script I used:

on mouseUp

put"/Users/paulhibbert/Documents/001 Test 
Folder/paultest.xx.to.Compile.livecode" into tFileName

replace "xx" with char -4 to -1 of the seconds in tFileName

save stack "paultest" as tFileName

if the result is empty then

answer "Success!"

else

answer "Save Failed!" && the result

end if

end mouseUp


Initially I tried with the same file name, just overwriting each time, that 
never failed, so I added the last four digits of the seconds to make a more 
unique name, but that never failed either. I also tried this from within the 
test stack, and then with a separate stack to issue the save command, they both 
worked fine too.

If there’s anything else you can think that is worth trying, just ask.

Paul

> On 10 Jan 2017, at 07:45, Dr. Hawkins via use-livecode 
>  wrote:
> 
> livecode has been unable to reproduce the bug.  Could someone who was able
> to make a stack to manifest this please upload?
> 
> *Comment # 1  on bug
> 19042  from Panos
> Merakos *
> 
> Hi Richard,
> 
> Thank you for the report. I have tried to reproduce this bug with no success. 
> I
> have created a stack called "panos.livecode" with a button with the following
> script:
> 
> on mouseUp
>  save this stack as "/Users/panos/Desktop/panos.to_compile.livecode"
> end mouseUp
> 
> Clicking the button creates a new "panos.to_compile.livecode" stack on Desktop
> folder.
> 
> Can you please attach a sample stack that demonstrates the problem for you?
> 
> Best regards,
> Panos
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: iOS SDK Question

2017-03-23 Thread Paul Hibbert via use-livecode
AFAIK the iOS SDK comes with the particular flavour of Xcode and you need to 
have the correct version of Xcode to match the version of LC on your choice of 
OS, if you go to Help > Release Notes the version you need is listed under the 
iOS Platform Support section, about page 4 I think, or bookmark this link for 
future ref:

https://livecode.com/support/ask-a-question/what-iosxcode-version-matches-which-version-of-livecode/
 


According to this list, it appears that you need to use Xcode 7.3

Almost every time Xcode or LiveCode updates the connection breaks, so once you 
have a working combination it’s worth making sure you have a good back-up, 
especially considering Xcode is over 4.5GB. It also helps to turn off auto 
software updates and manage them manually.

Paul

> On 23 Mar 2017, at 13:20, Glen Bojsza via use-livecode 
>  wrote:
> 
> Hello,
> 
> I currently have Livecode Indy 8.0.1 and am running on OS X 10.11.5 (El
> Capitan) with Xcode Version 8.0 (8A218a).
> 
> When I go to generate a standalone I get the following error message:
> 
> *In order to perform device builds you need to have iOS 9.3 SDK configured.*
> *- iOS  9.3 comes with Xcode 7.3*
> 
> 
> How do I find what version of SDK I have and in Livecode Preferences what
> is the location I can add the entry for the SDK?
> 
> Years ago in Livecode 5 it seemed that Livecode knew all the SDK Versions
> available and the preferences reflected this?
> 
> regards,
> 
> Glen
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: iOS SDK Question

2017-03-24 Thread Paul Hibbert via use-livecode

> On 23 Mar 2017, at 17:36, Glen Bojsza via use-livecode 
>  wrote:
> 
> Please let me know if I missed anything.


It looks like you are on the right path. Hope it goes well.

Paul
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: DragDrop makes windows unresponsive OS X

2017-03-24 Thread Paul Hibbert via use-livecode
Just tried a simple test on Mac OS Sierra / LC8.1.3 and it seems to work fine 
here. Is there anything else that could be interfering with the dragDrop?

Maybe the Message Watcher could give a clue as to what is happening.

Paul

> On 24 Mar 2017, at 08:00, Bob Sneidar via use-livecode 
>  wrote:
> 
> Hi all. 
> 
> Might just be me. I drag drop text onto a field with a dragdrop handler that 
> essentially puts the drag data ["text"] into itself. Doing so with 8.1.3 
> seems to cause the window to become unresponsive, that is none of the 
> controls work. I cannot click in fields, tab around, click buttons etc. 
> However if I navigate to another window, and then back again it becomes 
> responsive. Also, if I move the window with the title bar, it becomes 
> responsive again. Finally, if I exit to top at the end of the dragdrop 
> handler, THAT makes the window responsive. It's as though the dragdrop 
> message is still in effect in limbo somewhere. 
> 
> This seems to be a somewhat recent development. That is, I don't think it has 
> always been this way. Particularly in 8.0.x and prior, but I could not pin it 
> down to a minor version. 
> 
> Bob S
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Extra Title Bar in All Stacks

2017-03-26 Thread Paul Hibbert via use-livecode
Ah! that’s the bit I forgot to mention, I think it is a system wide shortcut 
(it works in some other apps), I have seen it appear in the LC View menu, but 
not always for some odd reason. If you hit cmd-shift-t with the menu open it 
immediately selects Toolbar-Text, so I wonder if this is clashing somehow.

Paul

> On 26 Mar 2017, at 19:04, Sannyasin Brahmanathaswami via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> OK… see this:
> 
> http://quality.livecode.com/show_bug.cgi?id=19276
> 
> the problem was, (not documented anywhere that I can find.) I must have hit 
> cmd-shift-t inadvertently… I'm not seeing this in the Mac short cuts… so I 
> guess it is a LC short cut?  
> 
> once you hit that inadvertently, then thereafter stacks open with two title 
> bars. Hit this combo again and they go away, quit livecode and they are still 
> gone. 
> 
> Mysterious. One wonders where the 'memory" of this setting resides, if not in 
> the OS shortcuts and not in LC settings..
> 
> roblem solved for now.
> 
> 
> 
> 
> 
> On 3/26/17, 3:21 PM, "use-livecode on behalf of Sannyasin Brahmanathaswami 
> via use-livecode" <use-livecode-boun...@lists.runrev.com on behalf of 
> use-livecode@lists.runrev.com> wrote:
> 
>Now, that's obscure
> 
>I was in "In Full screen Only"
> 
>I set to sys prefs → dock → tabs→ "Manually"
> 
>But second tab title bar still appears on resizeable LC windows. even 
> after rebooting LC
> 
> 
> 
>Paul Hibbert via use-livecode" <use-livecode-boun...@lists.runrev.com on 
> behalf of use-livecode@lists.runrev.com> wrote:
> 
>Look at the fifth item down the window and you’ll see:
> 
>   Prefer tabs when opening documents: Always | In Full Screen Only | 
> Manually
> 
>If you set this to “Always” you will see the Tab Bars appear in 
> resizable LC windows.
>If it’s set to "In Full Screen Only”, then the tabs will appear if you 
> create a new stack while your current stack or window is open in full screen 
> mode.
>If it’s set to “Manually” then the Tab bars don’t normally appear.
> 
>These settings are obviously local to your machine, so I doubt it 
> would (easily) be successful to try developing an app that relies on this, so 
> to me it makes most sense to leave it set to “Manually”, but no doubt someone 
> could take advantage of this if they are willing to put in the extra effort 
> needed, but don’t take my word for that!
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Extra Title Bar in All Stacks

2017-03-26 Thread Paul Hibbert via use-livecode
This came up a while ago, and Colin Holgate pointed out that it comes from a 
System Preference setting for the Dock (go figure!).

Go to the Apple Menu, open System Preferences and choose the Dock icon.

Look at the fifth item down the window and you’ll see:

   Prefer tabs when opening documents: Always | In Full Screen Only | Manually

If you set this to “Always” you will see the Tab Bars appear in resizable LC 
windows.
If it’s set to "In Full Screen Only”, then the tabs will appear if you create a 
new stack while your current stack or window is open in full screen mode.
If it’s set to “Manually” then the Tab bars don’t normally appear.

These settings are obviously local to your machine, so I doubt it would 
(easily) be successful to try developing an app that relies on this, so to me 
it makes most sense to leave it set to “Manually”, but no doubt someone could 
take advantage of this if they are willing to put in the extra effort needed, 
but don’t take my word for that!

Paul

> On 25 Mar 2017, at 19:00, Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
> 
> confirmed.
> 
> Create new stack (leave it untitled) 
> 
> … I am getting a second "tab bar"  under the *real* title bar of the new stack
> 
> Create second new stack
> 
> Hmmm,  yes, fascinating, I can drag the title bar slowly onto the first stack 
> and let go
> 
> Now I have
>   Untitled 2  # top of window
> 
> untitled 1 *  | Untitled 2 *  # two tabs
> 
> -- Nothing in the view menu relatedt to tabs.
> -- turn off resizeable in untitled 2 and the stack "jumps" out to a new 
> window.
> 
> OK, none of my stacks in this project need to be resizeable I can live with 
> it, but 
> a) why would it appear suddently and 
> b) why doesn't it go away after delete settings?
> 
> Is there another place where the engine is writing prefs or settings that we 
> don't know about?  It wasn't happening yesterday, in stacks that *were* 
> resizeable. Something I did today triggered this new behavior.
> 
> BR
> 
> On 3/25/17, 3:45 PM, "use-livecode on behalf of Colin Holgate via 
> use-livecode"  use-livecode@lists.runrev.com> wrote:
> 
>It’s a standard Sierra feature that LiveCode doesn’t fully support yet. 
> The View menu is supposed to have a Show Tab Bar menu item, which would hide 
> the tab bar part of the window. The option is there sometimes, so if you’re 
> lucky enough to see it you can deselect it.
> 
>If the tab bar is showing you can drag one stack’s tab bar to another 
> stack’s tab bar to dock them together. There should also be a + button in the 
> tab bar too, which in LiveCode I suppose would start a new stack as a tab.
> 
>Stacks that are docked together are effectively the same card size, so if 
> LiveCode does do better support it should be possible to start a new stack as 
> a tab, and at the card side of the existing stack, without you having to say 
> what size stack you want.
> 
> 
>> On Mar 25, 2017, at 6:20 PM, Sannyasin Brahmanathaswami via use-livecode 
>>  wrote:
>> 
>> Something bizarre started happening this afternoon
>> 
>> Mac OSx 10.12.3 Sierra
>> LC 9DP5
>> 
>> Stack are opening with a second title bar underneath the *real* title bar.
>> 
>> see http://wiki.hindu.org/uploads/extra-title-var.jpg
>> 
>> I deleted my settings, removed all plug-ins, deleted settings again, 
>> rebooted… stack still appear with a second title bar.
>> 
>> any clues to what is wrong?
>> 
>> BR
>> 
> 
> 
>___
>use-livecode mailing list
>use-livecode@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: how to print only a part of a card?

2017-04-12 Thread Paul Hibbert via use-livecode
Tiemo,

There’s nothing wrong with your logic, this all works fine on a Mac, LC8.1.4 
(rc1), but from an earlier post I gather you are on Win 10 so this looks like 
there's a bug in the works, maybe a Linux user could test also.

Have you tried any other versions of LC?

HTH

Paul

> On 12 Apr 2017, at 06:40, Tiemo Hollmann TB via use-livecode 
>  wrote:
> 
> Hello,
> 
> probably I don't see the obvious or my math is slightly rusty. I am trying
> to print only a section of a card, e.g. a rectangle, but I always only get a
> (left and bottom) clipped rectangle being printed. Only when printing the
> whole card I get the full rectangle. I am running out of paper from my
> multiple tests :)
> 
> Here is what I tried:
> 
> 
> 
> on mouseUp
> 
>   # create a stack, size: 348,527
> 
> # create a button with this script
> 
>   # create a rectangle, size: 297,421
> 
>   -- set the printpapersize to 595,842 # optional test # A4
> 
>   -- set the printmargins to 40,57,40,57 # optional test
> 
>   -- set the printscale to .5 # optional test
> 
> 
> 
>   open printing with dialog
> 
>   if the result is not "cancel" then
> 
>  put the left of grc "rectangle" into item 1 of tLeftTop
> 
>  put the top of grc "rectangle" into item 2 of tLeftTop
> 
>  put the right of grc "rectangle" into item 1 of tRightBottom
> 
>  put the bottom of grc "rectangle" into item 2 of tRightBottom
> 
> 
> 
>  print this card from tLeftTop to tRightBottom
> 
>  -- print this card from tLeftTop to tRightBottom into 149,210,635, #
> optional test
> 
>  -- print this card from tLeftTop to tRightBottom into 40,57,337,478  #
> optional test  # margins+ rectangle
> 
> -- print this card # this is for me the only chance to get the whole
> rectangle printed
> 
>   end if
> 
>   close printing
> 
> end mouseUp
> 
> 
> 
> Does anybody see the error in my logic?
> 
> Tiemo
> 
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: OS X Firewall triggering on launch

2017-04-11 Thread Paul Hibbert via use-livecode
Just checked my Firewall settings and there’s no entry for LC, but I’m not 
seeing any trigger, I’ve used LC 9.0 (dp6) quite a few times since install and 
no problem so-far!

Mac OS Sierra 10.12.4

Paul

 
> On 10 Apr 2017, at 23:21, J. Landman Gay via use-livecode 
>  wrote:
> 
> LC 9.0dp6 triggers the OS X firewall every time I launch it. I know I can set 
> the firewall to accept LC so it won't warn me, but I'm wondering what LC is 
> doing that makes that happen. I suspect it has something to do with remote 
> debugging. Does anyone know?
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: OT (?): Bookmarking GPS coords

2017-04-12 Thread Paul Hibbert via use-livecode
Alex, I used this lesson [ 
http://lessons.livecode.com/m/4069/l/30379-how-do-i-get-the-location-and-use-the-digital-compass
 ] as the basis for a GPS location in one of my iOS apps, if it helps I could 
save the relevant card to a new stack and send you a copy, I’m pretty sure it 
would work on Android too, I just haven’t tested that.

It wouldn’t be difficult to adapt it for your needs.

Paul

> On 12 Apr 2017, at 16:45, Alex Tweedly via use-livecode 
>  wrote:
> 
> 
> 
> On 11/04/2017 01:40, jonathandly...@gmail.com wrote:
>> Rather than travel physically, could you just move in the map, and program 
>> it to record your click locations in a map?
>> 
>> 
> Indeed. Earlier I talked about a 'desktop app' and a 'mobile app'. The 
> 'desktop app' is exactly what you describe  - it shows you a map, lets you 
> position a marker and then only one click is needed to associate that 
> marker's position with the current selected named address.
> 
> But (esp. out here in the boonies :-), the map is sometimes lacking enough 
> detail to allow accurate positioning by anyone who is not a map enthusiast, 
> so I see a need for the mobile / GPS app in addition.
> 
> Thanks
> Alex.
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Bug in the inspector palette

2017-04-17 Thread Paul Hibbert via use-livecode
I can confirm your findings, also affects LC8.1.4 (rc 1).

Paul

MacOS Sierra 10.12.4

> On 17 Apr 2017, at 02:08, Tore Nilsen via use-livecode 
>  wrote:
> 
> I have come across what must be a bug in the IDE, in the inspector palette to 
> be precise. I have a script where I set some text properties of the 
> templateField on the fly, like font, size and color. These settings also 
> affect the objects of the “Basic" pane in the inspector, changing the 
> properties of fields and buttons. Switching from the “Basic” pane to any 
> other pane and back again fixes the problem. If the font size is set to a 
> very high value, the “Basic” pane becomes useless, as only parts of the text 
> of the label fields will be shown, and the text of the buttons “disappears”. 
> The whole layout of the pane gets distorted. Has anyone else come across this 
> problem? It appears both in LC 8.1.3 and LC 9 (dp5) on a Mac with macOS 
> 10.12.4.
> 
> Regards 
> Tore Nilsen
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: align field scrolls

2017-03-05 Thread Paul Hibbert via use-livecode
I have a stack that does a similar thing, but with numbers and I just use the 
following script in the main field;

on scrollBarDrag pScroll
   set the vScroll of fld  “lineNumbers" to pScroll

end scrollBarDrag

Provided both fields have the same number of lines and the text properties are 
identical they should stay aligned correctly.

Or a simpler version would be;
set the vScroll of fld 2 to the vScroll of fld 1

Paul



> On Mar 5, 2017, at 6:00 PM, Nicolas Cueto via use-livecode 
>  wrote:
> 
> Hi.
> 
> The part I've got working...
> 
> Two clickable scrolling fields (fld1, fld2), same height and width. Click a
> fld1 line and fld2 SCROLLs and HILITEDLINEs to visually reveal a matching
> line. (fld1 is French text, fld2 is an English gloss.)
> 
> The part I would welcome your help with...
> 
> If, say, the hilited line on fld1 is kinda halfway down, how do I get the
> hilited line on fld2 to also be kinda halfway down?
> 
> Here's my scrolling-magic script:
> 
>  set the scroll of fld2 to (tMatchingLineNr - 1) * \
>the textHeight of fld2 - the textHeight of fld2
>  set the hilitedline of fld2 to tMatchingLineNr
> 
> Of course, this ends up with the hilited line of fld2 being at the top.
> How do I get it to scroll just that little bit more so that it aligns with
> the hilited line as seen in fld1?
> 
> 
> Thank you.
> 
> --
> Nicolas Cueto
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: spotting a mouseclick in the transparent area of an image

2017-04-02 Thread Paul Hibbert via use-livecode
Ben, if you could edit the PNGs to add a 1% tone to the transparent areas 
(maybe with a batch process) this allows LC to accept the clicks within the 
image area.

The advantage of this is you could have a 1 % tone inside the area you need be 
active and completely transparent where you don’t want clicks to be active for 
example a circular button. The 1% tone should be indistinguishable from the 
transparent area and will still show the background through.

Paul


> On Mar 30, 2017, at 10:52 AM, Ben Rubinstein via use-livecode 
>  wrote:
> 
> I have a group containing a grid of square images.
> 
> Some of the images are gifs, some are pngs, and some of the latter have an 
> alpha channel with some transparent bits.
> 
> The images are all used as buttons, to control something else - the images in 
> essence are labels or icons for the buttons. The images have 3d borders to 
> make them look more button-like.
> 
> The problem is that the if the user happens to click in the transparent area 
> of an image, the target of the mouseup isn't the image but the card. But the 
> image is a button, so I want to catch mouseup anywhere in this square image.
> 
> I thought that I might be able to use 'the mousecontrol', when the target was 
> the card, to find out which image the mouse was in when; but this too takes 
> account of the transparency of the image.
> 
> I can see this is a really useful feature - but in this case I want the 
> opposite! Is there a flag somewhere, or another easy way to achieve this?
> 
> The non-easy ways I'm aware of are:
>   - hide all the images and replace them with buttons referencing the 
> images
>   - re-compositing the images to flatten the alpha channel
>   - iterating through all the images - there are many, in a scrolling 
> group - testing for the mouseloc within the rect of each
> 
> 
> Is there anything simpler than this, to treat an image as opaque for the 
> purposes of hit-testing?
> 
> TIA
> 
> Ben
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Browser widget on linux

2017-04-13 Thread Paul Hibbert via use-livecode
Looking at Bugzilla, I’m hoping it will soon be time for the Browser widget to 
be given some attention, and not just on Linux, there seems to be over 30 
active bugs. The bug I submitted over 10 months ago was for a crash on Mac OS 
(Bug 17928 ), but I gather 
(and appreciate) the team have been way too busy to address this and the other 
outstanding bugs, so I’m just sitting and waiting patiently with my projects on 
hold as there’s no easy workaround for this bug.

On the plus side, when they do rebuild the browser widget, there's lots of 
useful info in there for the team to deliver a more stable and more useable 
browser widget, I personally hope it’s not too long before that happens.

Paul

> On 13 Apr 2017, at 09:19, Richard Gaskin via use-livecode 
>  wrote:
> 
> Thanks for the background info.
> 
> Can you share the bug report ID's so I can follow those in Bugzilla?
> 
> -- 
> Richard Gaskin
> 
> hh wrote:
> Richard G. wrote (in the 'vertical-text'-thread):
> On disk the Linux build of CEF takes up 135 MBs, and like any
> browser I would imagine it more than doubles RAM requirements
> for an app using it.
 hh wrote:
 I would even give a full Gigabyte of RAM if this could make the
 browser widget work on linux ...
>>> Richard G. wrote:
>>> had pretty good luck on Ubuntu 14.04 64-bit - what's your setup?
>> 
>> Richard, I moved this to a new thread, fitting more the subject. Hope
>> it is OK for you. Thanks that you came in.
>> 
>> After your report I was full of hope that the three years old ubuntu
>> 14.04.5 and LC 8.1.3 or 8.1.4-rc1 would yield a fully functional
>> browser widget. Installed in a fresh setup Ubuntu 14.04.5 and fresh
>> LC 8.1.3/8.1.4-rc1/9.0.0.-dp6 (all 'for this user only').
>> 
>> Running 8.1.3-64bit it is better than the others tested below in that
>> it _randomly_ works correct and doesn't show bug 3 below (yes, bugs 1
>> 2 too). If not working it instead creates several additional processes
>> libbrowser-cefp.
>> And it  creates with every startup fresh preferences, declaring the old
>> one as corrupt. Running 8.1.3 on Ubuntu 14.04.5-32bit is the same as
>> described below.
>> 
>> Within the last two weeks I tested the following, on real hardware
>> (additionally some on on virtualBox):
>> *Latest LTS* of Ubuntu (also Xubuntu, Lubuntu, Mint), Debian, Fedora.
>> 
>> In sum 10 trials (6 on 64bit, 4 on 32bit). All OSes are running without
>> problems. LC 8.1.3, 8.1.4-rc1, 9.0.0-dp6 runs and works using LC Script.
>> 
>> ** But I had _NO_SUCCESS_ in these 10 trials with a browser widget.
>> ** I wonder if anybody ever tested the _full_ functionality of the
>> ** browser widget on a newer LTS linux flavour.
>> 
>> Full functionality means that you can *do* javascript in the browser.
>> You can't even come into a state to test that: These severe 'bugs'
>> are common to _all_ my trials (incl. on Ubuntu 16.04.2):
>> 
>> Bug 1: Open a new stack, drag a browser widget symbol from "Tools".
>> The widget portion of "Tools" disappears. Mostly LC hangs after that,
>> you need the system monitor or a terminal to kill it.
>> 
>> Bug 2: Open a new stack, create a browser widget by LC-menu or script.
>> Try to open the property inspector. No reaction.
>> Try to quit LC. The "something-dialog" burns onto your screen. LC hangs
>> after that ... (as above).
>> 
>> Bug 3: Open a stack with an included widget that runs on Mac and Win on
>> all systems that run LC 8/9 (for example: "Browser widget on linux
>> or "Sample stacks/Browser widget image manipulator" or "Sample stacks/
>> LCImageToolbox89").
>> At latest after the second load LC hangs, you need the system monitor
>> or a terminal to kill it and it's "something-dialog".
>> 
>> I'm deeply disappointed about these extreme results, especially because
>> we know  that several members of the core team also use linux on their
>> own machines.
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Browser widget on linux

2017-04-13 Thread Paul Hibbert via use-livecode

> On 13 Apr 2017, at 10:17, hh via use-livecode  
> wrote:
> 
> Hi Pano,
> thank you very much for coming in.
> 
> Please correct the typo in the first link.
> I got "16848 is not a valid bug number" and don't know
> which report you mean.

hh, maybe try again, it is the correct number, there may have been a glitch 
when you tried, it just worked fine for me.

> We all know you do a real good job to collect (and even
> remove at once some of) and categorize the bugs in a
> very complicated  structure.
> Let me use this opportunity to thank you for that.

I’ll second that. It can’t be an easy job, especially with all of the platforms 
involved, that’s just one of the reasons we all need some patience and 
confidence!

Paul
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: how to get the value of a custom property if the name of the cProperty is in a variable?

2017-08-02 Thread Paul Hibbert via use-livecode
> 
> let´s say a card has a custom property name cMyProp.
> 
> The variable tMyVar contains the word “cMyProp”
> 
> How do i get the value of the custom property using the variable tMyVar?

Using the “do” command, a quick test and this works OK:

on mouseUp
put "cMyProp" into tMyVar

do "put the" && tMyVar && "of this card into fld 1"

end mouseUp


Paul
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Ink pullDown menu

2017-08-11 Thread Paul Hibbert via use-livecode
The fontNames is a built-in function, but there’s no built-in function for ink 
names AFAIK, however, that doesn’t stop you form creating a custom function, 
something like this should work for an option menu button (edit as appropriate):

on mouseEnter
   if word 1 of the selectedObject = "image" then
  put inkNames("img") into me
   else
  put inkNames() into me
   end if
end mouseEnter

function inkNames pChoice
   if pChoice = "img" then
  return "blendPlus" & cr & \
"blendMultiply" & cr & \
"blendScreen" & cr & \
"blendOverlay" & cr & \
"blendDarken" & cr & \
"blendLighten" & cr & \
"blendDodge" & cr & \
"blendBurn" & cr & \
"blendHardLight" & cr & \
"blendSoftLight" & cr & \
"blendDifference" & cr & \
"blendExclusion"
   else
  return "blendClear" & cr & \
"blendSrc" & cr & \
"blendDst" & cr & \
"blendSrcOver" & cr & \
"blendDstOver" & cr & \
"blendSrcIn" & cr & \
"blendDstIn" & cr & \
"blendSrcOut" & cr & \
"blendDstOut" & cr & \
"blendSrcAtop" & cr & \
"blendDstAtop" & cr & \
"blendXor"
   end if
end inkNames

Paul


> On Aug 11, 2017, at 9:39 AM, Richmond Mathewson via use-livecode 
>  wrote:
> 
> I can have a pullDown menu with this sort of script:
> 
> put the fontNames into me
> 
> how can I do the smae sort of thing for Ink?
> 
> e.g. (pseudocode): put the inkNames into me
> 
> Richmond.
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: [ANN] Release 8.1.6 RC-1

2017-07-11 Thread Paul Hibbert via use-livecode
Configurable sounds like a great idea to me too. I’d like to see a more defined 
break from the regular handlers if that’s possible.

Also there is a Typo - PasteKey in the Field script is missing the “P” - it 
just states asteKey, I wondered what that was! :)

Paul


> On Jul 11, 2017, at 8:01 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> I'd vote for this, a configurable option would make everyone happy.
> 
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> 
> 
> 
> On July 11, 2017 5:38:43 PM Alex Tweedly via use-livecode 
>  wrote:
> 
>> 
>> 
>> On 11/07/2017 23:07, Kevin Miller via use-livecode wrote:
>>> Is it something perhaps you could get used to?
>>> 
>>> We are working hard to attract new users to the platform. This has come up
>>> again and again in user testing. This evening we tested this new handler
>>> list on new users for the first time. It went over very well.
>> So keep it.
>>   Make it on by default.
>>   Make it configurable so others can hide it if they want.
>> 
>> Alex.
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: [ANN] Release 8.1.5

2017-07-10 Thread Paul Hibbert via use-livecode
I just saw the Link Arm error, but the dialogue also suggested updating the 
path to the Xcode tools, I did this with [ sudo xcode-select -r ] in terminal 
and all works correctly now. This is with Xcode 8.3 installed in the default 
Applications folder. I haven’t tried updating Xcode to 8.3.3 just yet though!

Paul




> On Jul 10, 2017, at 10:32 AM, Mike Kerner via use-livecode 
>  wrote:
> 
> I did clear the PP's.  I'll try downloading an older xcode to see if that
> helps, since right now I'm stopped.
> 
> On Mon, Jul 10, 2017 at 1:20 PM, panagiotis merakos via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> @MIke I guess that Xcode8.3.3 is the one in /Applications/Xcode.app? BTW I
>> would suggest to have separate folders for each Xcode version, to avoid
>> problems where the Xcode version is updated automatically (the one
>> in /Applications/Xcode.app), but LC not yet supports this Xcode version. I
>> have a folder "Xcode" with subfolders "Xcode_8_2_1", "Xcode_8_3_3" etc, and
>> each one of the has the respective "Xcode.app" binary.
>> 
>> Regarding the other issue you mentioned, I have not seen it, but I would
>> recommend clearing any old provisioning profiles so as the dropdown does
>> not get too large. The provisioning profiles live in
>> /Users//Library/MobileDevice/Provisioning Profiles/
>> You could clear the contents of this folder, and then download only the
>> valid provisioning profiles directly from the Apple Dev Centre (and not
>> from Xcode preferences). Then double click on the profile you downloaded,
>> and Xcode will place it in /Users//Library/
>> MobileDevice/Provisioning
>> Profiles/
>> 
>> Now, about the codesign issue itself, I will have a look at the bug report
>> later this week.
>> 
>> @Richmond
>> Why moderately exciting, and not super exciting? :)
>> 
>> Best,
>> Panos
>> --
>> 
>> On Mon, Jul 10, 2017 at 6:07 PM, Mike Kerner via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> 10.12.5
>>> 8.3.3
>>> /Applications/Xcode.app/Contents/Developer
>>> 
>>> I've also run into another weird thing with this version of xcode.
>>> Thinking that I had a cert or provisioning profile problem, I went in to
>>> prefs and pulled up the certs.  Every time I do that, xcode creates a new
>>> one - both developer and distribution.
>>> 
>>> On Mon, Jul 10, 2017 at 1:02 PM, panagiotis merakos via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>> 
 hmm, I have not seen that before. Which Sierra version are you using? I
>>> am
 on Sierra 10.12.4.
 
 Are you using Xcode 8.3.3?
 
 What is the terminal output if you type "xcode-select -p"?
 
 On Mon, Jul 10, 2017 at 5:46 PM, Mike Kerner via use-livecode <
 use-livecode@lists.runrev.com> wrote:
 
> I was able to get the build to get further by switching the ios
>> version
 to
> the latest one (10.3), but now I'm getting a codesigning failed,
> segmentation fault 11 error.  Bug 20030.
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
>>> 
>>> 
>>> 
>>> --
>>> On the first day, God created the heavens and the Earth
>>> On the second day, God created the oceans.
>>> On the third day, God put the animals on hold for a few hours,
>>>   and did a little diving.
>>> And God said, "This is good."
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> 
> 
> -- 
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>   and did a little diving.
> And God said, "This is good."
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list

Re: Livecode on iPod

2017-07-15 Thread Paul Hibbert via use-livecode


> On Jul 15, 2017, at 7:20 PM, Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
> 
> the SA builder does not show "iPod" under iOS.

It does for me! :)

I see three options;
iPod, iPhone and iPad
iPod and iPhone
iPad

Paul
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: 8.1.4 Export snapshot

2017-06-28 Thread Paul Hibbert via use-livecode
Hi Panos,

I’ve just come to the same conclusion, when I checked the LC app bundle, the 
test files were in there. A search in the Mac Finder doesn’t reveal files 
inside the app bundle, so this is where I went wrong until the penny dropped!

Setting the default folder first does remedy the problem of knowing where the 
files end up if you don’t specify a file path.

This is an example of, why reading the notes in the dictionary more thoroughly 
could relieve some frustration! :)

Paul


> On Jun 28, 2017, at 12:31 PM, panagiotis merakos via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> Hi all,
> 
> I have tried in LC 8.1.5 RC-2:
> 
> export snapshot from Field 1 to file "File1.png" as PNG
> 
> This works as expected, and creates a "File1.png" in **the defaultFolder**
> (in my case in /Applications/LiveCode Indy 8.1.5 (rc 2).app)
> 
> @Paul
> Can you "put the defaultFolder", and check if there is a file "abc.png" in
> it?
> 
> @Richmond
> Every bug report on a supported platform (including Mac OS 10.7.8, in LC
> 8.x) "goes down well" in Edinburgh :)
> 
> Best,
> Panos
> --
> 
> 
> On Wed, Jun 28, 2017 at 7:26 PM, Richmond Mathewson via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> 
>> 
>> On 6/28/17 7:45 pm, Paul Hibbert via use-livecode wrote:
>> 
>>> This looks like it may be a bug on Mac OS, or just a difference in the
>>> way the OS works.
>>> 
>>> I see the same problem using LC 8.1.5(rc1) on Mac OS Sierra 10.12.4, but
>>> if I give the file a more complete path (which I would normally do), then
>>> it does work:
>>> 
>>> export snapshot from group "abc" to file 
>>> "/Users/paulhibbert/Desktop/abc.png"
>>> as PNG
>>> 
>>> However, I would have expected an error or at least something in the
>>> result with your example, but they were both empty when I tried:
>>> 
>>> on mouseUp
>>> 
>>>   try
>>> 
>>>  export snapshot from group "abc" to file "abc.png" as PNG
>>> 
>>>   catch tError
>>> 
>>>   end try
>>> 
>>> put "The Result:" & the result && "Error:" & tError
>>> 
>>> end mouseUp
>>> 
>>> Are you going to file a bug report?
>>> 
>> 
>> No, I don't think I can as I'm not entirely sure how well Mac OS 10.7.8
>> will go down in Edinburgh.
>> 
>> Richmond.
>> 
>> 
>> 
>>> Paul
>>> 
>>> 
>>> On Jun 28, 2017, at 1:58 AM, Richmond Mathewson via use-livecode <
>>>> use-livecode@lists.runrev.com> wrote:
>>>> 
>>>> Mac OS 10.7.8
>>>> 
>>>> in LC 7.1.4 if I type this sort of thing into the Message box:
>>>> 
>>>> export snapshot from group "abc" to file "abc.png" as PNG
>>>> 
>>>> it exports a snapshot of my group!
>>>> 
>>>> But that doesn't work in 8.1.4.
>>>> 
>>>> Richmond.
>>>> ___
>>>> use-livecode mailing list
>>>> use-livecode@lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your
>>>> subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



Paul
p...@livecode.org

Mac OS Sierra 10.12.1



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Capturing screen into image

2017-07-01 Thread Paul Hibbert via use-livecode
Terry,

If your concern is that the area of the card doesn’t print exactly as you see 
it on screen, it looks to me like the printMargins are set at the default 72 
all round.

Try setting the printMargins to 0
set the printMargins to "0,0,0,0"


Paul



Paul
p...@livecode.org

Mac OS Sierra 10.12.1



> On Jul 1, 2017, at 1:55 PM, Terence Heaford via use-livecode 
>  wrote:
> 
> Hi,
> 
> Thanks for your suggestion but I am afraid it’s not working here:
> 
> I have prepared a short movie on dropbox so you can see what happens when I 
> print it and then open as PDF in MacOS Preview.
> 
> Not sure at all what is going wrong. Could it be something to do with the 
> scaling in the amCharts example?
> 
> Dropbox Link:  https://www.dropbox.com/s/1ijbw12v0176kgm/test.mov?dl=0
> 
> Thanks
> 
> Terry
> 
> 
>> On 1 Jul 2017, at 18:26, hh via use-livecode  
>> wrote:
>> 
>> This works here.
>> 
>> on mouseUp
>> local ii="myImage", bb="Browser"
>> if there is no img ii then create img ii
>> put globalLoc(the topLeft of widget bb) into TL
>> put globalLoc(the botRight of widget bb) into BR
>> export snapshot from rect (TL,BR) to img ii as PNG
>> hide widget bb -- avoid artefacts from browser update
>> print card from (the topLeft of img ii) to (the botRight of img ii)
>> show widget bb
>> end mouseUp
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: PrintPaperRectangle

2017-07-04 Thread Paul Hibbert via use-livecode
i came to the same conclusion, thank you for reporting it.

Paul

> On Jul 4, 2017, at 9:08 AM, Ben Rubinstein via use-livecode 
>  wrote:
> 
> By synchronicity, I start writing a very similar message a few days ago.
> 
> I stopped writing the email when I'd typed the words "is there another print 
> property I should be using?" and as is often the case when I draft a 
> despairing message to the use- list, this prompted me to look a bit harder 
> and find the answer.
> 
> My problem, at least, was solved by finding the printPaperSize, which 
> correctly returns (for A4 at 100%) "595,842" - a reasonable approximation for 
> A4 paper converted to inches at 72dpi.
> 
>> Can anyone shed some light on this please.
> 
> Simple answer: it's a bug. At some point the printPaperRectangle has been 
> nobbled to be exactly the same as the printRectangle. I've reported this as
> http://quality.livecode.com/show_bug.cgi?id=19997
> 
> In the meantime, the printPaperSize is your friend, provided the page setup 
> is at default scale and orientation: in this case, the printPaperRectangle 
> should be the same as printPaperSize with two zeros.
> 
> However if you're not at default scale/orientation, you're a bit out of luck. 
> You can reasonably infer orientation from the printRectangle, but there's not 
> a reliable way to figure out the true scaled paper size from the combination 
> of printRectangle and printPaperSize (which is why we need 
> printPaperRectangle).
> 
> Ben
> 
> 
> On 30/06/2017 19:17, Terence Heaford via use-livecode wrote:
>> LC 8.1.4, MacOS 10.12.5
>> Print Paper Rectangle returns 8,8,834,587 for A4 Landscape.
>> This does not seem to match the description in the dictionary?
>> "The printPaperRectangle property contains four comma-separated integers and 
>> is in points.
>> The default value reflects the default values of the printPaperSize and 
>> printPaperOrientation.
>> The four numbers represent the left, top, right and bottom of the rectangle 
>> being printed to.
>> The rectangle is relative to the top-left of the page, and the left and top 
>> will currently always be 0.”
>> Can anyone shed some light on this please.
>> Thanks
>> Terry
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



Paul
p...@livecode.org

Mac OS Sierra 10.12.1



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: 8.1.4 Export snapshot

2017-06-28 Thread Paul Hibbert via use-livecode
This looks like it may be a bug on Mac OS, or just a difference in the way the 
OS works.

I see the same problem using LC 8.1.5(rc1) on Mac OS Sierra 10.12.4, but if I 
give the file a more complete path (which I would normally do), then it does 
work:

export snapshot from group "abc" to file "/Users/paulhibbert/Desktop/abc.png" 
as PNG

However, I would have expected an error or at least something in the result 
with your example, but they were both empty when I tried:

on mouseUp

   try

  export snapshot from group "abc" to file "abc.png" as PNG

   catch tError

   end try

put "The Result:" & the result && "Error:" & tError

end mouseUp

Are you going to file a bug report?

Paul


> On Jun 28, 2017, at 1:58 AM, Richmond Mathewson via use-livecode 
>  wrote:
> 
> Mac OS 10.7.8
> 
> in LC 7.1.4 if I type this sort of thing into the Message box:
> 
> export snapshot from group "abc" to file "abc.png" as PNG
> 
> it exports a snapshot of my group!
> 
> But that doesn't work in 8.1.4.
> 
> Richmond.
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: xCode ??? version

2017-05-03 Thread Paul Hibbert via use-livecode
I’ve seen this warning in Xcode when connecting my iPhone 5s after updating it, 
but copying my LC app on to the phone still works and the app runs OK, just 
can’t use the simulator.

Anyway, just try it, preferably without overwriting any currently working app, 
and it should be fine. 

Paul

Paul
p...@livecode.org

Mac OS Sierra 10.12.1



> On May 3, 2017, at 11:13 AM, William Prothero via use-livecode 
>  wrote:
> 
> Note: I see, from the release notes that the highest iOS version supported is 
> 10.2.
> Hopefully this will change. Next update? I use my app and depend on it, so 
> i’m keenly interested in having it on my iPhone, I probably should have 
> waited to update the iOS system, but…… silly me.
> Best,
> Bill P
> 
>> On May 3, 2017, at 11:07 AM, William Prothero via use-livecode 
>>  wrote:
>> 
>> When I load the app into the Simulator, with xCode 8.2.1, then go to the 
>> menu “Hardware/Manage Devices” menu, I get the message that says:
>> “Could not locate device support files. The iPhone 6 is running iOS 10.3.1, 
>> which may not be supported by this version of Xcode.”
>> 
>> So, it looks to me like Livecode 8.1.4(rc1) does not support iOS 10.3.1, the 
>> latest version.
>> 
>> Does this seem reasonable.
>> Xcode versions 8.3 is not supported by the latest livecode releases.
>> Can I hope that this will be fixed soon?
>> Bill P
>> 
>>> On May 3, 2017, at 12:10 AM, Dave Kilroy via use-livecode 
>>>  wrote:
>>> 
>>> tldr - don’t use Xcode 8.3 yet, you can still build for iOS 10.3
>>> 
>>> 
>>> 
>>> Bill the Release Notes are a good place to check such issues. The following 
>>> is an extract for release notes for LiveCode 8.1.4(rc1)
>>> 
>>> iOS
>>> 
>>> iOS deployment is possible when running LiveCode IDE on a Mac, and provided 
>>> Xcode is installed and has been set in LiveCode Preferences (in the Mobile 
>>> Support pane).
>>> 
>>> 
>>> 3
>>> 
>>> LiveCode 8.1.4-rc-1 Release Notes 4/4/17
>>> 
>>> Currently, the supported versions of Xcode are:
>>> 
>>> Xcode 4.6 on MacOS X 10.7
>>> Xcode 5.1 on MacOS X 10.8
>>> Xcode 6.2 on MacOS X 10.9
>>> Xcode 6.2 and 7.2 on Mac OS X 10.10 Xcode 8.2 on MacOS X 10.11
>>> 
>>> Xcode 8.2 on MacOS 10.12
>>> 
>>> It is also possible to set other versions of Xcode, to allow testing on a 
>>> wider range of iOS simulators. For instance, on OS X 10.10 (Yosemite), you 
>>> can add Xcode 5.1 in the Mobile Support preferences, to let you test your 
>>> stack on the iOS Simulator 7.1.
>>> 
>>> We currently support deployment for the following versions of iOS:
>>> 
>>> 6.1 [simulator] 7.1 [simulator] 8.2 [simulator] 9.2
>>> 
>>> 10.2 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Preference for Keeping Saved Empty Button Scripts Empty

2017-06-19 Thread Paul Hibbert via use-livecode
On Jun 19, 2017, at 8:19 AM, Sannyasin Brahmanathaswami via use-livecode 
 wrote:
> 
> so, does it make sense to request a feature enhancement to add a preference 
> to *not* insert any handler in buttons/widgets, whose scripts are empty if 
> inadvertently opened?  there would need to be a way to differentiate between 
> one newly created vs one that was previously instantiated, whose script had 
> been emptied and saved

But, if you simply close the control’s script after inspecting it without 
‘saving’ it, then the control has no script, so there’s no need to try to save 
an empty script.
The control only has an empty mouseUp handler if you save it that way.

To prove it try this:

Create a button by dragging one off the tool palette or from the Object Menu
in the message box, type; put the script of the last button
> The message box result is empty

Now open the script editor for the button and save the default script
in the message box, type; put the script of the last button
> The control's script will show in the message box result

HTH

Paul
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Scrollbars in 8.1.3

2017-05-06 Thread Paul Hibbert via use-livecode
How are you trying to set the scrollbar to vertical?

Setting or dragging the SB rect to the desired dimensions should automatically 
change it’s orientation as soon as it's width is less than it's heigh, is this 
not working?

Paul


> On May 6, 2017, at 6:42 AM, Richmond Mathewson via use-livecode 
>  wrote:
> 
> I seem quite unable to set a scrollbar to
> be vertical in LC 8.1.3 (Mac OS 10.7.5).
> 
> Richmond.
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Scrollbars in 8.1.3

2017-05-06 Thread Paul Hibbert via use-livecode
In LC 7.1.4 you can set the orientation property in the inspector panel under 
Basic Properties, but not in LC 8.1.3 for some reason, the option menu is 
greyed out which suggests it could be a bug to me, however, the dictionary 
states:

Use the orientation property <> to find out whether a scrollbar <> is 
horizontal or vertical.

If the scrollbar's height <> is greater than or equal to its width <>, the 
scrollbar <> is vertical. If the width <> is greater than the height <>, the 
scrollbar <> is horizontal.

To change a scrollbar's orientation, change its width <> and height <> 
properties <>.

The dictionary for LC7 or 8 doesn’t say you can set this property, and if you 
try using the message box it tells you that it can’t set this property. So I 
guess you will have to set the orientation by setting the size to suit in LC 
8.1.3.

I don’t see why the option should be greyed out though.

Paul

Paul
p...@livecode.org

Mac OS Sierra 10.12.1



> On May 6, 2017, at 1:28 PM, Richmond Mathewson via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> I don't know.
> 
> I just set up a vertical scrollbar in an LC 7.1.4 stack, saved it and opened 
> it up in 8.1.3.
> 
> Richmond.
> 
> On 5/6/17 6:51 pm, Paul Hibbert via use-livecode wrote:
>> How are you trying to set the scrollbar to vertical?
>> 
>> Setting or dragging the SB rect to the desired dimensions should 
>> automatically change it’s orientation as soon as it's width is less than 
>> it's heigh, is this not working?
>> 
>> Paul
>> 
>> 
>>> On May 6, 2017, at 6:42 AM, Richmond Mathewson via use-livecode 
>>> <use-livecode@lists.runrev.com> wrote:
>>> 
>>> I seem quite unable to set a scrollbar to
>>> be vertical in LC 8.1.3 (Mac OS 10.7.5).
>>> 
>>> Richmond.
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Bad Crash on Attempt to Group Radio Buttons

2017-08-28 Thread Paul Hibbert via use-livecode
On Aug 28, 2017, at 7:07 AM, Randy Hengst via use-livecode 
 wrote:
> 
> I would find it very handy if when the cantSelect is true, you could still 
> drag to select objects that are above the control with cantSelect true… 
> 
> In other words, the ability to select the other controls with click and drag 
> when the initial click is within the rect of the control (usually a grc for 
> me) that has cantSelect set to true.
> 
> It certainly is possible to select the controls above the control with 
> cantSelect true… but only if the initial click is outside that rect.
> 
> I hope all of that makes sense.
> 

AFAIK you can achieve this if you also set the disabled of the control to true.

Paul
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Does exporting a snapshot from a rect work on mobile?

2017-08-30 Thread Paul Hibbert via use-livecode
I just ran a quick test and it works OK for me using LC8.1.6 on MacOS Sierra 
10.12.6, build for iOS10 and tested on iPhone 5s running iOS10.3.3

HTH

Paul


> On Aug 30, 2017, at 7:00 PM, Jonathan Lynch via use-livecode 
>  wrote:
> 
> I am getting all black in the image, but I checked and the rect is the 
> correct rect.
> 
> Sent from my iPhone
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: IDE breaks down over time

2017-11-28 Thread Paul Hibbert via use-livecode
Re PB:

> 1. there's no refresh button
> 2. it doesn't auto-refresh
> 3. it empties its contents at odd moments

4. it screws up it’s own view from time to time making it impossible to see 
which control is linked which group

These are part of the reason I set about making a plugin to add some shortcuts 
to the IDE menus, now I can just use the shortcut Shift-Cmd-B twice and it will 
close then re-open the PB. Probably not ideal, but it works for me.

It’s here if anybody wants it: 
http://livecodeshare.runrev.com/stack/813/LC-Menu-Shortcuts - It’s not perfect, 
but it works if you are careful with the shortcuts that you choose. BEWARE - 
I've only tested on Mac, so I don’t know how well it will work with 
Windows/Linux, it may need some tweaking.

If any of this is useful for a 'hacking the ide' multi-part project then I 
would be happy to contribute this to the project.

I’m sure it wouldn’t be too difficult to add a menu item and shortcut to the 
Tools menu just to force the Project Browser to refresh, but I haven’t delved 
into the PB scripts to see how feasible that would be, or what would be 
required.

I know Mark Waddingham is against using a refresh command/button/menu 
item/whatever, and I can understand that long term, it would be way better to 
have the PB behaving correctly all (or at least most) of the time, but in the 
meantime we still need to work with it, preferably without too much 
frustration. I did find it frustrating, but now that I can force it to refresh 
relatively easily and quickly it has become much more useful, to me at least. 

Paul

> On 28 Nov 2017, at 17:47, Mike Kerner via use-livecode 
>  wrote:
> 
> There are a slew of PB QR's.  That was one that I was suggesting we work on
> for LCG as a 'hacking the ide' multi-part project.
> 
> On Tue, Nov 28, 2017 at 7:35 PM, Monte Goulding via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> It’s likely you are encountering some execution errors in the IDE scripts.
>> Try setting gREVDevelopment to true and see if you get any details to
>> report. We know there are a number of issues with the project browser
>> keeping track of objects which is why I recently wrote an object repository
>> library in LCB. We haven’t had a chance to update the PB to use it yet
>> though.
>> 
>> Cheers
>> 
>> Monte
>> 
>>> On 29 Nov 2017, at 7:19 am, Sannyasin Brahmanathaswami via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> I am building new UI… not a drop of code.. it's all about drawing
>> controls, grouping, setting rects and RGB values etc.forground background
>> colors, setting alpha etc.
>>> 
>>> after about 30 minutes in 9.0.0-dp-9  the IDE seems to get very
>> confused. (OS X)
>>> 
>>> If I work in the project browser, or  revApplicationOverview…either
>> things start happening like:
>>> 
>>> 1) if in property inspector: clicking on the layer up down… does nothing
>> layer is fixed on the current number.
>>> 2) I can actually click on the object and "send backward" but in one
>> case the object was deleted by this operation.
>>> 3) the PI become increasingly non-responsive: click on the cross to edit
>> location width height etc… nothing happens, the switch to the panel for
>> dimensions and location does happen.
>>> 4) then if we relayer some control in the PB, clicking on an object
>> selects a different control on the card than the highlighted on the list.
>>> 5) close the PB switch to the old AB… and things are now also failing
>> here as well.
>>> 4) suddenly no longer able to save or open the message box…
>>> 5) finally reach a point here closing the PI and then right clickin gto
>> open it again the whole property inspector opens, but is completely non
>> responsive. 4
>>> 
>>> It's as if some set of vars that contain pointers to objects lose track
>> of what object they are connected to or the selectedObject or target is lost
>>> 
>>> Hopefully I can save, close the stack, reboot. then things get better.
>> Sometimes can't save, have to shut down, lose a lot work… well, not any
>> more… I save every time I make a minute change now.
>>> 
>>> Is this better in 9- dp 10? or the latest versions of 8.*  I switch to 9
>> for the mobile debugging, but am not really using that at the moment.
>>> 
>>> Brahmanathaswami
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> 
> 
> -- 
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> 

Re: Q re multilingual mobile apps

2017-12-01 Thread Paul Hibbert via use-livecode
According to the dictionary, you should be able to use mobileCurrentLocale(), 
but I don’t know what the specific results would be, as the dictionary example 
states “en_US” whereas the equivalent result shown in the settings on iOS is 
“English (U.S.)”, so some careful investigations may be necessary.

Paul

> On 1 Dec 2017, at 09:22, Richard Gaskin via use-livecode 
>  wrote:
> 
> Interesting question in the forums that has me stumped:
> 
> If you have an app where you've worked out multilingual support, what 
> function can we call to determine the device's current language setting?
> 
> http://forums.livecode.com/viewtopic.php?f=7=30081
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: submenu

2017-11-19 Thread Paul Hibbert via use-livecode
In the Menu Builder, underneath the [Delete Item] button, there are two icons. 
The left one is to “Make the submenu item into a menu item” and the right one 
will “Make the selected menu item into a submenu item".

On a side note, while checking this out and refreshing my memory of the menu 
builder, I noticed that the submenu items disappear from the list if you close 
and re-open the Menu Builder, however, the items don’t disappear from the 
button’s text in the PI, so they are intact still there. This bug means you 
only get one shot at setting up the submenu items in the Menu Builder, after 
that you would need to do any further editing of this menu in the button’s PI 
by adding or subtracting tabs in the button’s text.

For more info checkout the "Creating Cascading Menus” section on P182 of the 
user guide.

It seems this odd behaviour started with LC8.0 (dp3), there is a bug report Bug 
18316 

Paul

> On 19 Nov 2017, at 03:29, Yves COPPE via use-livecode 
>  wrote:
> 
> Hello,
> 
> on macOS 10.13.1 and LiveCode 8.1.7
> 
> In the Menu Builder, I’ve made different menu items
> How can I create an submenu item of a menu item ?
> 
> Thanks.
> 
> 
> Greetings.
> 
> Yves COPPE
> yvesco...@mac.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: submenu

2017-11-19 Thread Paul Hibbert via use-livecode
I think this behaviour is to do with the bug 18316 (link in previous email).

If you locate the button in the project menu and look at the property inspector 
> text, you will see the tab indents that create the submenu items.

e.g. 
https://www.dropbox.com/s/59afsj55qgk65vm/Menu%20Screen%20Shot%203.jpg?dl=0 
<https://www.dropbox.com/s/59afsj55qgk65vm/Menu%20Screen%20Shot%203.jpg?dl=0>

Paul

> On 19 Nov 2017, at 10:17, Yves COPPE via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> Hello,
> 
> When I move the menu (B) just after another menu (A) and want to make Menu 
> (B) a submenu of menu (A), this icon you describe is disabled !
> 
> 
> Greetings.
> 
>> Le 19 nov. 2017 à 18:51, Paul Hibbert via use-livecode 
>> <use-livecode@lists.runrev.com> a écrit :
>> 
>> In the Menu Builder, underneath the [Delete Item] button, there are two 
>> icons. The left one is to “Make the submenu item into a menu item” and the 
>> right one will “Make the selected menu item into a submenu item".
>> 
>> On a side note, while checking this out and refreshing my memory of the menu 
>> builder, I noticed that the submenu items disappear from the list if you 
>> close and re-open the Menu Builder, however, the items don’t disappear from 
>> the button’s text in the PI, so they are intact still there. This bug means 
>> you only get one shot at setting up the submenu items in the Menu Builder, 
>> after that you would need to do any further editing of this menu in the 
>> button’s PI by adding or subtracting tabs in the button’s text.
>> 
>> For more info checkout the "Creating Cascading Menus” section on P182 of the 
>> user guide.
>> 
>> It seems this odd behaviour started with LC8.0 (dp3), there is a bug report 
>> Bug 18316 <http://quality.livecode.com/show_bug.cgi?id=18316>
>> 
>> Paul
>> 
>>> On 19 Nov 2017, at 03:29, Yves COPPE via use-livecode 
>>> <use-livecode@lists.runrev.com> wrote:
>>> 
>>> Hello,
>>> 
>>> on macOS 10.13.1 and LiveCode 8.1.7
>>> 
>>> In the Menu Builder, I’ve made different menu items
>>> How can I create an submenu item of a menu item ?
>>> 
>>> Thanks.
>>> 
>>> 
>>> Greetings.
>>> 
>>> Yves COPPE
>>> yvesco...@mac.com
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Black Friday mac app bundle

2017-11-21 Thread Paul Hibbert via use-livecode
If you are just looking for Flux, this may be a better deal…

https://bundlehunt.com 

Paul

> On 21 Nov 2017, at 12:36, Mark Wieder via use-livecode 
>  wrote:
> 
> This looks like a very good deal. I'm springing for it even though I don't 
> have a need for all the apps. I've been working with Bootstrap lately and had 
> my eye on Flux 7 anyway.
> 
> Oh... and 15% off even that with code GIFTSHOP15
> 
> https://store.boingboing.net/sales/the-legendary-black-friday-mac-bundle-ft-pdf-expert?rid=2815219
> 
> -- 
> Mark Wieder
> ahsoftw...@gmail.com
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Image Offset in Frame

2017-11-15 Thread Paul Hibbert via use-livecode
For a simple rectangular crop you can just group the image and set the group 
bounds to the desired frame area, make sure you lock the location of the group 
and image, but ultimately I think the best person to answer your question would 
be Scott Rossi, so I’ll hand over to him…

http://tactilemedia.com/blog/2015/11/04/livecode-basics-masking-objects/

Paul

> On 15 Nov 2017, at 20:37, Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
> 
> His is probably covered somewhere, but I can't find it.
> 
> In CSS we can position in image in frame with an offset like -20,-20
> 
> In most layout programs you can move the image around inside the frame.
> 
> How can we do that with an image in LiveCode?
> 
> I can use crop, but this is permanent
> 
> BR
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: MergPop error on iOS 11.2 & LC 8.1.8

2017-12-10 Thread Paul Hibbert via use-livecode
Thank you for the quick response Monte, the fix works well!

Paul

> On 10 Dec 2017, at 13:36, Monte Goulding via use-livecode 
>  wrote:
> 
> http://quality.livecode.com/show_bug.cgi?id=20759 
> 
> 
>> On 11 Dec 2017, at 8:29 am, Monte Goulding via use-livecode 
>>  wrote:
>> 
>> Hi Folks
>> 
>> It turns out this crash is caused by the need for a new plist entry 
>> `NSPhotoLibraryAddUsageDescription`.
>> 
>> Cheers
>> 
>> Monte
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: MergPop error on iOS 11.2 & LC 8.1.8

2017-12-08 Thread Paul Hibbert via use-livecode
William,

Just did a quick test and to make this work I had to go to Standalone 
Application Settings > General and choose “Select inclusions for the standalone 
application”, then under Standalone Application Settings > Inclusions scroll 
down and make sure “MergPop” is selected along with any other inclusions 
necessary.

It seems MergPop is not being found when allowing LC to search for the required 
inclusions. This may be a bug, but I can’t find anything on LCQC for it right 
now, although I’m sure I remember it being discussed on this list previously 
(that’s how I knew what the fix was), but I don’t remember the conclusion.

FYI, I checked this by adding a catch tError command within the try - end try 
handler then used answer tError, it told me that LC couldn’t find the handler 
“mergPopActivity”, so it confirmed that the library was missing, fixing that 
made it work.

Paul

> On 8 Dec 2017, at 12:00, William de Smet via use-livecode 
>  wrote:
> 
> Hi there,
> 
> I am seeing an error on using MergPop with iOS 11.2 /LC 8.1.8 when saving a
> PNG with the 'Save Image' button on the popover sheet.
> It quits the app immediately.
> 'E-mail, Copy, Print, Save Files App' all work fine. Even Airdrop works
> fine.
> 
> I do this:
> 
> try
> put specialfolderpath("documents") & "/" & "cars.png" into tPath
> export snapshot from group "cars" to file tPath as PNG
> mergPopActivity "",tPath,"",""
> get the result
> end try
> --
> 
> Anyone else seeing this?
> Is there something I can change in my script?
> 
> 
> 
> greetings,
> 
> William
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

<    1   2   3   4   5   >