Re: Correct img format for browser widget.

2017-07-16 Thread James Hale via use-livecode
Thank you so much Hermann and Jonathan It took me a little time but I worked out what to do after looking at your suggestions. The fact that setting the htmltext of the browser widget breaks the img URL's makes sense from a security and logical point of view. I then tried Jonathan's technique

Re: Livecode on iPod

2017-07-16 Thread Mike Kerner via use-livecode
Yes, and good luck deploying to it. On Sun, Jul 16, 2017 at 3:25 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > UDID > > FFF "fake" > > ? > > But developer.apple.com device portal accepts them… > > ?? > > BR > > > > On 7/15/17, 4:24 PM, "use-livecode

Re: Help Testing Small Script Editor Enhancement

2017-07-16 Thread Mark Wieder via use-livecode
On 07/16/2017 03:50 PM, Bob Hall via use-livecode wrote: On Jul 16, 2017, at 6:01 PM, Mark Wieder via use-livecode wrote: Well, as I noted, it *does* affect linux, but not in a bad way. Control-tab continues to iterate through the tabs as long as the script

Re: intersect . . . invisible images

2017-07-16 Thread Mark Wieder via use-livecode
On 07/16/2017 05:41 PM, Jeff Reynolds via use-livecode wrote: I think it's not quark and dryer spins that take away those lost locks but an intersection of this universe with another existing in the same space but different dimensions. And if the infinite number of universes theory is true

Re: intersect . . . invisible images

2017-07-16 Thread Jeff Reynolds via use-livecode
I think it's not quark and dryer spins that take away those lost locks but an intersection of this universe with another existing in the same space but different dimensions. And if the infinite number of universes theory is true the one universe must be the recipient of all said lost socks from

Re: Bug? ResizeControl Triggers From Outside of CustomControl with Assigned Behavior

2017-07-16 Thread Monte Goulding via use-livecode
> On 17 Jul 2017, at 9:42 am, Sannyasin Brahmanathaswami via use-livecode > wrote: > > I can't any use case where you would want any group to trap a mouse event > outside its rect. It sounds like you want sharedBehavior on and backgroundBehavior off If it’s a

Re: Bug? ResizeControl Triggers From Outside of CustomControl with Assigned Behavior

2017-07-16 Thread Sannyasin Brahmanathaswami via use-livecode
I'm hitting this again… in order to stylize a widget I grouped it (by itself) now we get to do the cool effects/inks to make it look good. But it also is used as a button. and I place the group on all the cards in the stack, Now we have 3 different backgrounds all of which expect mouse

Re: Help Testing Small Script Editor Enhancement

2017-07-16 Thread Bob Hall via use-livecode
> On Jul 16, 2017, at 6:01 PM, Mark Wieder via use-livecode > wrote: > > Well, as I noted, it *does* affect linux, but not in a bad way. Control-tab > continues to iterate through the tabs as long as the script editor is in > front, and continues to switch

Re: Mobile - missing? files added in copy files pane of standalone builder

2017-07-16 Thread Terry Judd via use-livecode
Thanks for the advice Jacqueline - I use the resources folder for writing/ reading files to/from all the time but haven't been in the habit of using the copy files pane for adding resources. I'll give all that a go. Terry... Sent from my iPhone > On 17 Jul 2017, at 7:58 am, J. Landman Gay via

Re: Help Testing Small Script Editor Enhancement

2017-07-16 Thread Mark Wieder via use-livecode
On 07/16/2017 01:33 PM, Bob Hall via use-livecode wrote: The control-tab “fix” I’m proposing will only effect MacOS users and I would not expect Linux or Windows users to be effected at all by the MacOS control-tab. If you are on Linux/Windows it should not matter whether the Script Editor

Re: Mobile - missing? files added in copy files pane of standalone builder

2017-07-16 Thread J. Landman Gay via use-livecode
The app structure respects the folder hierarchy you had during development. For easiest access everywhere, put your folders inside the one that holds the mainstack. Then use specialFolderPath("resources") in your scripts to refer to the subfolders. That function will return the mainstack's

Re: Help Testing Small Script Editor Enhancement

2017-07-16 Thread J. Landman Gay via use-livecode
On 7/16/17 3:33 PM, Bob Hall via use-livecode wrote: On Jul 16, 2017, at 3:37 PM, J. Landman Gay via use-livecode > wrote: This is going to totally screw up a macro I've been using for 15+ years. I know I'm a voice in the

Re: Help Testing Small Script Editor Enhancement

2017-07-16 Thread Bob Hall via use-livecode
> On Jul 16, 2017, at 3:37 PM, J. Landman Gay via use-livecode > > wrote: > > This is going to totally screw up a macro I've been using for 15+ years. I > know I'm a voice in the wilderness but if this gets officially

Re: Help Testing Small Script Editor Enhancement

2017-07-16 Thread J. Landman Gay via use-livecode
On 7/16/17 2:50 PM, Mark Wieder via use-livecode wrote: On 07/16/2017 12:37 PM, J. Landman Gay via use-livecode wrote: This is going to totally screw up a macro I've been using for 15+ years. I know I'm a voice in the wilderness but if this gets officially implemented I hope there's an option

Re: Mobile - missing? files added in copy files pane of standalone builder

2017-07-16 Thread Terry Judd via use-livecode
Ok, so when adding files in the ‘copy files’ pane I can only include files that are in the same folder (on disk) as the stack file if I want them to end up in the engine/home folder? I though assuming that the paths that are listed in the ‘Non-stack files in the application’ represent the

Re: Help Testing Small Script Editor Enhancement

2017-07-16 Thread Mark Wieder via use-livecode
On 07/16/2017 12:37 PM, J. Landman Gay via use-livecode wrote: This is going to totally screw up a macro I've been using for 15+ years. I know I'm a voice in the wilderness but if this gets officially implemented I hope there's an option to turn it off, or supply your own key combination. I

Re: intersect . . . invisible images

2017-07-16 Thread Bob Sneidar via use-livecode
> On Jul 16, 2017, at 12:42 , Bob Sneidar via use-livecode > wrote: > > said owner failed to take into account an extremely obscure BUG ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url

Re: intersect . . . invisible images

2017-07-16 Thread Bob Sneidar via use-livecode
It's not a theory. It's a demonstrable fact. I cannot comment on the status of Jacque'a missing sock though, as a certain cat I once had who himself professed to have been "sent back" by a future owner of Jacques Time Travel stack to test it's veracity, was unable to return to his own time

Re: Weird variable thing in 8.1.5

2017-07-16 Thread Alex Tweedly via use-livecode
On 16/07/2017 18:49, Jonathan Lynch via use-livecode wrote: In 14 years with LC I have never used that option. You should try it :-) Can be a bit of a pain to add all the local variable declarations - BUT every so often it will help you discover a typo in a variable name, and suddenly

Re: Help Testing Small Script Editor Enhancement

2017-07-16 Thread J. Landman Gay via use-livecode
On 7/16/17 2:11 PM, Mark Wieder via use-livecode wrote: On 07/16/2017 08:47 AM, Bob Hall via use-livecode wrote: The enhancement is for MacOS Users enabling control+tab to cycle the tabs in the script editor (command-tab is OS reserved on MacOS). I’m not going to go into how to apply the fix

Re: Mobile - missing? files added in copy files pane of standalone builder

2017-07-16 Thread J. Landman Gay via use-livecode
On 7/15/17 8:05 PM, Terry Judd via use-livecode wrote: If I add files that are in the same folder as the stack file in the copy and then in the app (simulator or real device) if I ‘put the files’, then the added files are included in the listing. However, if the added files are in a different

Re: postgres table query not getting all names

2017-07-16 Thread Bob Sneidar via use-livecode
If there is a built in function for getting the schema of the particular database, I would use that. For instance you can query sqLite master database for a list of tables using: SELECT * FROM my_db.sqlite_master mySQL can be queried using SHOW TABLES Googling this indicates that for postgres

Re: Livecode on iPod

2017-07-16 Thread Sannyasin Brahmanathaswami via use-livecode
UDID FFF "fake" ? But developer.apple.com device portal accepts them… ?? BR On 7/15/17, 4:24 PM, "use-livecode on behalf of Colin Holgate via use-livecode" wrote: I would bet yes, but

Re: Help Testing Small Script Editor Enhancement

2017-07-16 Thread Mark Wieder via use-livecode
On 07/16/2017 08:47 AM, Bob Hall via use-livecode wrote: I’m looking for testing help. The work I did is for MacOS but I would love Linux and Windows users to also try out the changes looking for side effects. I don’t have the resources to perform adequate testing of the changes and need a

Re: Weird variable thing in 8.1.5

2017-07-16 Thread Jonathan Lynch via use-livecode
That was it - must have gotten clicked by accident. In 14 years with LC I have never used that option. Sent from my iPhone > On Jul 16, 2017, at 1:43 PM, ** Clarence P Martin ** via use-livecode > wrote: > > Check in your script editor window under the Edit

RE: Weird variable thing in 8.1.5

2017-07-16 Thread ** Clarence P Martin ** via use-livecode
Check in your script editor window under the Edit Sub-menu and look to see if "variable checking" is checked. That means that you need to declare any variables before you can use them. If you uncheck this, LiveCode will not require you to declare variables. Some people don't use variable checking

Should RunRev create a testing circle for developers?

2017-07-16 Thread Jonathan Lynch via use-livecode
I don't know if this is a good idea or not, but thought I would throw it out there. Would it be helpful if the Mothership had a group activity where developers could put in a certain number of hours testing others' apps, and then cash in for an equal number of hours from other developers

Help Testing Small Script Editor Enhancement

2017-07-16 Thread Bob Hall via use-livecode
I’m looking for testing help. The work I did is for MacOS but I would love Linux and Windows users to also try out the changes looking for side effects. I don’t have the resources to perform adequate testing of the changes and need a little help before I submit my pull request. The enhancement

Re: Weird variable thing in 8.1.5

2017-07-16 Thread Jonathan Lynch via use-livecode
Thanks Panos It is amazing how many options LC has. :) Sent from my iPhone > On Jul 16, 2017, at 11:14 AM, panagiotis merakos via use-livecode > wrote: > > Hi Jonathan, > > This is because you have enabled Strict Compilation Mode. To fix that error: > > 1)

Re: Weird variable thing in 8.1.5

2017-07-16 Thread panagiotis merakos via use-livecode
Hi Jonathan, This is because you have enabled Strict Compilation Mode. To fix that error: 1) add "local tTest" before "Put "test" into tTest" OR 2) Disable strict compilation (LC Preferences -> Script Editor -> Strict Compilation Mode) Best, Panos -- On Sun, Jul 16, 2017 at 4:06 PM, Jonathan

Re: Livecode on iPod

2017-07-16 Thread Dave Kilroy via use-livecode
I’ve used www.getudid.io in the past and sometimes received non-functioning UDIDs - and bad UDIDs are a pain to deal with… Of course maybe the website works now - however I recommend that people connect their iOS devices to a machine running the latest version of iTunes

Weird variable thing in 8.1.5

2017-07-16 Thread Jonathan Lynch via use-livecode
I just created a button with this script: On mouseup Put "test" into tTest End mouseUp It would not compile, producing the following error: Compilation error at line 2 (Chunk: can't create a variable with that name (explicitVariables?)) near "tTest", char 15 Why would this happen? Nobody

Re: Correct img format for browser widget.

2017-07-16 Thread hh via use-livecode
An option for James could be to put ONE html-file in the images folder with content: And then set any image of that images folder by changing the HTML by javascript: on mouseUp put "flower2.png" into nn -- give the name directly put line 42 of myImages into nn -- a list containing the

Re: Correct img format for browser widget.

2017-07-16 Thread Jonathan Lynch via use-livecode
James - if you look at the example stack on LiveCode share "browser widget image manipulator" it has some LC code for creating a dataURl for an image. Use that to create the data URL for the image. Basically: Get the image info from the image file like this: Put URL "binfile:imagepath" into

Re: Correct img format for browser widget.

2017-07-16 Thread hh via use-livecode
> Jonathan wrote: > Is this part of the same-source policy for web pages? The HTML file and the > image file > needing to be in the same folder? No. I wrote this only because the example used a relative path pointing to the same folder: > Example htmltext of the widget or text of the file

Re: Correct img format for browser widget.

2017-07-16 Thread Jonathan Lynch via use-livecode
So - thinking about this dime more - the browser widget uses a dummy URL if not told to load a specific URL, and the dummy URL would not have permission to access local drives, for security reasons. That would mean the "file:///" prefix would not work either. So he would have to either save

Re: Correct img format for browser widget.

2017-07-16 Thread Jonathan Lynch via use-livecode
Hi Hermann, Is this part of the same-source policy for web pages? The HTML file and the image file needing to be in the same folder? Sent from my iPhone > On Jul 16, 2017, at 5:45 AM, hh via use-livecode > wrote: > > You can have that without a (local) server

Re: Correct img format for browser widget.

2017-07-16 Thread Jonathan Lynch via use-livecode
One other solution... You can convert the image source to a data URL. You can construct the htmltext for the dataurl in LC, and replace the current image SRC information with dataURL SRC information. Then, when you set the htmltext of the browser widget, the images will show up without needing

Re: Correct img format for browser widget.

2017-07-16 Thread Jonathan Lynch via use-livecode
Hi James, Can you post an example of your actual filepath? With HTML, the first part of the path to the local disk usually looks like this: "file:///C:/users/pictures/mypicture.png" LC should be able to give you the right full path to a document- but make sure to try using the "file:///"

Re: Correct img format for browser widget.

2017-07-16 Thread hh via use-livecode
You can have that without a (local) server when using a browser widget. Although you can NOT display an image from disk without javascript by only setting the htmltext with a correct filepath, for example as follows. (This is a browser engine thing, can not be influenced by the widget.) Example