Re: Mixed styles in mobile native field?

2019-01-01 Thread Alex Shaw via use-livecode

Yes, this would be useful.

Even if it's just adding bold, italics or underline to a selection, like 
iOS email.


Entering longer text paragraphs on mobile is awkward enough and looks 
like we can't access the clipboard on mobile with a LC field.


Having users enter markdown or basic html wouldn't be ideal.

Currently, looking at slatejs in a browser instance as a solution but 
open to suggestions.


btw what ever happened to Curry's fieldtrip?

regards
alex

On 24/4/15 5:50 am, Richard Gaskin wrote:

Jacque wrote:
> On 4/23/2015 2:01 PM, Richard Gaskin wrote:
>> I see that we can set the font, size, color, etc for a mobile field,
>> but can we get/set styled text via htmlText or some other means?
>>
>> If not, anyone know if there's a request for that in the RQCC?
>>
>
> I don't think so, but if this is just for display, use a regular LC
> field and lay a native scroller over it. Do your users need to create
> styled text?

Yes.  I've seen very few apps that support editable styled text, but 
sometimes it's useful.





___
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: Signing macOS application

2019-01-01 Thread Peter Bogdanoff via use-livecode
Trevor,

Thanks for your response and for the work you are doing with Levure. I’m very 
attracted to its functionality for me--structuring and especially providing for 
updating my application--but haven’t had time to work with it more yet.

I tried the script you suggested, and when I processed the application package 
(desktop-only app created in LC 8.1.9) I got the error:
codesign process failed: /Users/*path to the 
app*/MITA.app/Contents/MacOS/MITA: code object is not signed at all [that would 
be the executable]
In subcomponent: /Users/*path to the app*/MITA.app/Contents/MacOS/MUSITA



I followed Knapp’s suggestion and tried using AppWrapper 3, which gave specific 
critical errors (among other several apparently non-critical errors):
Missing “/usr/local/lib/revsecurity.dylib
Bundle identifier “com.artsinteractive” contains a blank segment


When I look at the rev security.dylib file in Terminal I see:
-bash: /Users/*path to the app*/MITA.app/Contents/MacOS/revsecurity.dylib: 
cannot execute binary file
logout

+

I then saw a reference somewhere to LC 8.1.10, and so I made a new runtime in 
that 8.1.10 version.

Then:
Levure script — NO errors
App Wrapper 3 — only significant error apparently: "website deployment—both 
missing private key"
(In Terminal, for revsecurity.dylib, the above “cannot execute binary file” is 
also shown)

I’m providing the DMG as a download. Is this MISSING KEY an issue? And is there 
a way to reset my Gatekeeper to test installing the program on my computer?

Peter Bogdanoff
ArtsInteractive




> On Dec 29, 2018, at 7:01 PM, Trevor DeVore via use-livecode 
>  wrote:
> 
> On Sat, Dec 29, 2018 at 2:20 PM Peter Bogdanoff via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> 
>> I have these IDs:
>>Developer ID Installer
>>Developer ID Application
>> 
>> DropDMG shows in its preferences the 'Developer ID Application’ that is
>> used to sign the installer. That should be used and not 'Developer ID
>> Installer’?
>> 
>> 
>> Anyone have any guidance on this?
> 
> 
> You do need to sign your app using your “Developer ID Installer” profile.
> There is a script only stack I posted a while ago on gist.github.com that
> will sign an app. Here is the url:
> 
> https://gist.github.com/trevordevore/3e91724c4573690b691510d2e2dcd2a7
> 
> Just save the gist to a file with a .livecodescript extension and open it
> in the IDE.
> 
> As for DropDMG it has the correct certificate selected. DMGs are not really
> installers but the DMG does need to be signed to appease GateKeeper.
> 
> As Was already mentioned, the Levure packager will take care of signing
> your apps for you. It will sign apps you distribute yourself, sign and
> prepare an app for upload to the Mac App Store, and sign Mac App Store
> development versions for testing. It is quite handy.
> 
> Of course if you are already trying to sign your app for distribution then
> you aren’t at a point where you want to modify your app to use a new
> framework. But something to consider for the future.
> 
>> 
> And this all doesn’t have anything to do with Notarization? That’s another
>> step for the future?
> 
> 
> No it does not.
> 
> --
> Trevor DeVore
> ScreenSteps
> ___
> 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: LiveCode 9.0.2 on Windows unable to build for Mac?!?!?!?

2019-01-01 Thread Paul Dupuis via use-livecode

On 1/1/2019 5:54 PM, Monte Goulding via use-livecode wrote:



On 2 Jan 2019, at 5:00 am, Paul Dupuis via use-livecode 
 wrote:

However, I think this is a Regression in 9.0.2 from 9.0.1.

It certainly sounds like a regression


If someone can confirm this really is a bug, I will happily file a bug report.

My suggestion is if you can replicate what you are seeing with a simple stack 
then file a bug report and let Panos confirm.

Cheers

Monte



Okay, I can do that. Its very straight forward. I'll submit it tomorrow 
during my business day. Thanks for the tips and help over the holiday.



___
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: LiveCode 9.0.2 on Windows unable to build for Mac?!?!?!?

2019-01-01 Thread Monte Goulding via use-livecode



> On 2 Jan 2019, at 5:00 am, Paul Dupuis via use-livecode 
>  wrote:
> 
> However, I think this is a Regression in 9.0.2 from 9.0.1.

It certainly sounds like a regression

> If someone can confirm this really is a bug, I will happily file a bug report.

My suggestion is if you can replicate what you are seeing with a simple stack 
then file a bug report and let Panos confirm.

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


Re: MouseDown on Enter

2019-01-01 Thread J. Landman Gay via use-livecode

Correction: you need to include more ways to turn off the dragging control:

local sColor
local sDragging

on mouseDown
  put the cColor of the mouseControl into sColor
  set the backcolor of the mouseControl to sColor
  put true into sDragging
end mouseDown

on mouseUp
  put the cColor of the mouseControl into sColor
  put false into sDragging
end mouseUp

on mouseMove x,y
  if sDragging then
get x,y -- force to variable
set the backcolor of controlAtLoc(it) to sColor
  end if
end mouseMove

on mouseRelease
  put false into sDragging
end mouseRelease

on mouseLeave
  put false into sDragging
end mouseLeave

On 1/1/19 3:41 PM, J. Landman Gay via use-livecode wrote:

On 1/1/19 9:23 AM, Richmond via use-livecode wrote:


1. When one performs a mouseDown on each hexagon a tone is played.

2. While the mouse button is held down the tone continues to sound.

3. If the mouse is dragged (while being pressed) from one hexagon to 
the next,

the sound changes from that of the initial hexagon to the new one.

So . . . there would seem to be something "there" that is a bit 
difficult to implement in LiveCode.


Is this what you want? It requires that each hexagon has a custom 
property named "cColor" that contains an RGB value or a colorname. The 
script goes into a group or card, and manages all hexagons.


local sColor
local sDragging

on mouseDown
   put the cColor of the mouseControl into sColor
   set the backcolor of the mouseControl to sColor
   put true into sDragging
end mouseDown

on mouseUp
   put the cColor of the mouseControl into sColor
   put false into sDragging
end mouseUp

on mouseMove x,y
   if sDragging then
     get x,y -- force to a variable
     set the backcolor of controlAtLoc(it) to sColor
   end if
end mouseMove

If the card has more objects than just the hexagons, you'll want to test 
the mouseControl so nothing happens with other objects. Or alternatly, 
group only the hexagons and put the script into the group.





--
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

Re: Video-Fun2

2019-01-01 Thread hh via use-livecode
> Peter B. wrote:
> It looks great!
> After awhile (10-15 minutes) it froze. Reloaded the page, then Safari had the
> message, “This page is using significant memory….”

Yes, I had this too. It's probably a caching problem of Safari. They do a lot of
caching, that's why they are the fastest browser with our LC-standalones. 
Firefox
complains with HTML5 standalones about the memory usage already when loading it.

On the other hand, all that is done every 33 millisecs (while a video is 
playing):

1. One frame is taken from the video and drawn into an offset canvas.
2. (Optional) The imageData of that canvas is manipulated with an image filter.
3. The optionally manipulated imageData is drawn into a second offset canvas.
4. The imageData of that second canvas is base64Encoded and sent to the 
standalone.
5. The standalone displays the base64Decoded imagedata in an (rotated) image 
object.

There is one remedy: If the time per frame goes in average over 66 ms then one
could zoom out the image (slider "zoom").

There would be less stress for your CPU/GPU if we would omit steps 4 and 5, but
then we have only the controls in LiveCode and we could also use a JavaScript
package only. As soon as there is one that can also do what LiveCode can do ...



___
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: MouseDown on Enter

2019-01-01 Thread J. Landman Gay via use-livecode

On 1/1/19 9:23 AM, Richmond via use-livecode wrote:


1. When one performs a mouseDown on each hexagon a tone is played.

2. While the mouse button is held down the tone continues to sound.

3. If the mouse is dragged (while being pressed) from one hexagon to the 
next,

the sound changes from that of the initial hexagon to the new one.

So . . . there would seem to be something "there" that is a bit 
difficult to implement in LiveCode.


Is this what you want? It requires that each hexagon has a custom 
property named "cColor" that contains an RGB value or a colorname. The 
script goes into a group or card, and manages all hexagons.


local sColor
local sDragging

on mouseDown
  put the cColor of the mouseControl into sColor
  set the backcolor of the mouseControl to sColor
  put true into sDragging
end mouseDown

on mouseUp
  put the cColor of the mouseControl into sColor
  put false into sDragging
end mouseUp

on mouseMove x,y
  if sDragging then
get x,y -- force to a variable
set the backcolor of controlAtLoc(it) to sColor
  end if
end mouseMove

If the card has more objects than just the hexagons, you'll want to test 
the mouseControl so nothing happens with other objects. Or alternatly, 
group only the hexagons and put the script into the group.


--
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


Re: Interrupting "Wait"

2019-01-01 Thread Sannyasin Brahmanathaswami via use-livecode
This works!

By adding

if sStopRequested then exit repeat

also at the beginning of the repeat, the wait does go to  second screen what we 
stop the show...

Now. The next trick, get a quote to show in between the photos.


command startNarrative

   # store brand image 
   put the long id of img "homeStoryMainImage" of me into sMainImage
   put path_Assets()& "img/siva-darshan/who-is-siva_1200x800.jpg" into 
sDefaultImage

   put FALSE into sStopRequested

   # from model_Narrative:

   repeat for each line pPath in sPhotoList
  if sStopRequested then exit repeat
  dispatch "loadNewImage" to me with pPath
  repeat 2 times
 if sStopRequested then exit repeat
 wait 1 second with messages
  end repeat -- for the number of seconds
   end repeat
   setDefaultImage
end startNarrative

Brahmanathaswami
 

On 12/31/18, 5:21 AM, "use-livecode on behalf of Alex Tweedly via 
use-livecode"  wrote:

In essence, you want something like the following:

(this assumes a capital Q typed to the card will quit the display. It 
could easily be changed to clicking a button - so long as the mouseUp 
handler would set the script-local when appropriate).

local sStopRequested

command playShow
   local tPhotos
   put FALSE into sStopRequested
   put randomPhotoList() into tPhotos
   repeat for each line L in tPhotos
  dispatch "loadImage" with L
  wait 5 seconds with messages
  if sStopRequested then exit repeat
   end repeat
   dispatch "loadImage" with "defaultMainImage"
end playShow



___
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: Video-Fun2

2019-01-01 Thread hh via use-livecode
Well, HTML5 standalones have a display filter, just try to find out how
you can set it.

> Richmond wrote:
> "What you see is an LC-image object"
> Um, well, unfortunately NOT on my Mac Mini running WaterFox on MacOS 10.14.2
> https://www.waterfoxproject.org/en-US/
> Nor, for that matter on safari Technology Preview Release 72


___
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: MouseDown on Enter

2019-01-01 Thread Alex Tweedly via use-livecode
First I would consider whether you want *exactly* that UI, or whether 
something very similar would do.


If similar is OK, then I would invert the logic of the UI:

 - if the mouse (pointer) is over a hexagon, and the mouse is not being 
pressed - play that note, and keep playing it


 - if mouse moves into another hex, change note

 - when the mouse is pressed - and for as long as it stays pressed - 
play nothing.


That is very easy to do (at least, without testing it :,)  :

each hexagon has handlers that do :

on mouseenter
   -- do whatever it is you do to play a note (??)
end mouseenter

on mouseup
   -- do whatever it is you do to play a note (??)
end mouseup

on mouseleave
    -- stop playing the current note
end mouseleave


(actually, probably easier to do single handlers, which check "the 
target" to determine which hex is being entered/left). Note that whne 
you move form one to another, it's


and the card/group has a handler

on mousedown
   -- stop playing the current note
end mousedown

and that, I think,  should be all you need..


However - I'm not sure that's a very intuitive UI ("release to play"), 
so I'd probably go the extra mile and do the harder one that replicates 
the original UI. And that *is* harder, so I will try it out before I say 
any more about it ...



On 01/01/2019 15:23, Richmond via use-livecode wrote:

OK, OK; let's be direct and to the point:

I want to "rip off" the functionality of this web-page:

http://terpstrakeyboard.com/about/

Click on the "Play It Now!" menu item and follow through . . .

You will end up with a microtonal keyboard that has this functionality:

1. When one performs a mouseDown on each hexagon a tone is played.

2. While the mouse button is held down the tone continues to sound.

3. If the mouse is dragged (while being pressed) from one hexagon to 
the next,

the sound changes from that of the initial hexagon to the new one.

So . . . there would seem to be something "there" that is a bit 
difficult to implement in LiveCode.


I have 2 adjacent hexagons, called "h1" and "h2" containing these 
scripts, respectively:


...

Dragging one's mouse while it is "down" from "h1" to H2" does not turn 
"h2" yellow!


*THIS* is the functionality I am looking for.

Right - won\t work because H2 never gets a mouseEnter or mouseDown 
because the mouse was already down when it moved into H2.


I will have a play later tonight and see what I can come up with
Alex.

Richmond.








On 29.12.18 18:52, J. Landman Gay via use-livecode wrote:

MouseDown is a message, not a function. You need:

 if the mouse is down then
   set the...etc.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On December 29, 2018 9:07:37 AM Richmond via use-livecode 
 wrote:



This does *NOT* work:

on mouseEnter
   if mouseDown then
  set the backgroundColor of me to red
   else
  set the backgroundColor of me to green
   end if
end mouseEnter

on mouseLeave
   set the backgroundColor of me to white
end mouseLeave

which is a "right pox"

Richmond.

On 29.12.18 16:45, Richmond wrote:


This may rank as one of the goofiest questions I've ever asked: Oh,
well, here goes:

Imagine a mosaic of faux buttons if you will.

Each of these buttons will play a tone if I drag my mouse into it:

on mouseEnter

  play audioClip "x.aiff"

end mouseEnter

All well and good . . .

BUT, Richmond wants more . . .

I want to get different results from a simple mouseEnter

and a mouseEnter while the left-click button is down.

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: Video-Fun2

2019-01-01 Thread Peter Bogdanoff via use-livecode
It looks great!

After awhile (10-15 minutes) it froze. Reloaded the page, then Safari had the 
message, “This page is using significant memory….”

Peter


> On Jan 1, 2019, at 1:18 PM, Richmond via use-livecode 
>  wrote:
> 
> "What you see is an LC-image object"
> 
> Um, well, unfortunately NOT on my Mac Mini running WaterFox on MacOS 10.14.2
> 
> https://www.waterfoxproject.org/en-US/
> 
> Nor, for that matter on safari Technology Preview Release 72
> 
> Richmond.
> 
> On 1.01.19 20:01, hh via use-livecode wrote:
>> Video-Fun2 is a major update of the HTML5 standalone "Video-Fun".
>> Finally all I wanted works.
>> 
>> This uses only "atomic" canvas2d methods of JavaScript in the
>> browser, no JS-packages. And, where they are fast enough in the
>> HTML5 engine, all the well known wonderful LC-techniques:
>> 
>> (US) http://hh.on-rev.com/html5/video-funHTML5-9.0.2hhX.html
>> (EU) http://hyperhh.de/html5/video-funHTML5-9.0.2hhX.html
>> 
>> The source code is, as usual, free for non-commercial use.
>> (Sadly, my idea of a developer fund died last year).
>> 
>> Happy New Year 2019!
>> 
>> ___
>> 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: Video-Fun2

2019-01-01 Thread Richmond via use-livecode

"What you see is an LC-image object"

Um, well, unfortunately NOT on my Mac Mini running WaterFox on MacOS 10.14.2

https://www.waterfoxproject.org/en-US/

Nor, for that matter on safari Technology Preview Release 72

Richmond.

On 1.01.19 20:01, hh via use-livecode wrote:

Video-Fun2 is a major update of the HTML5 standalone "Video-Fun".
Finally all I wanted works.

This uses only "atomic" canvas2d methods of JavaScript in the
browser, no JS-packages. And, where they are fast enough in the
HTML5 engine, all the well known wonderful LC-techniques:

(US) http://hh.on-rev.com/html5/video-funHTML5-9.0.2hhX.html
(EU) http://hyperhh.de/html5/video-funHTML5-9.0.2hhX.html

The source code is, as usual, free for non-commercial use.
(Sadly, my idea of a developer fund died last year).

Happy New Year 2019!

___
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: Video-Fun2

2019-01-01 Thread Richmond via use-livecode
Developer funds are hard to get hold of: my Devawriter Kickstarter 
"thing" I ran last year is a shining

example.

If, however, you were to promote an automated bottom-washer
that played Donald Trump's "March on Moscow" you'd get so much money
you would know what to do with it.

Richmond.

On 1.01.19 20:01, hh via use-livecode wrote:

Video-Fun2 is a major update of the HTML5 standalone "Video-Fun".
Finally all I wanted works.

This uses only "atomic" canvas2d methods of JavaScript in the
browser, no JS-packages. And, where they are fast enough in the
HTML5 engine, all the well known wonderful LC-techniques:

(US) http://hh.on-rev.com/html5/video-funHTML5-9.0.2hhX.html
(EU) http://hyperhh.de/html5/video-funHTML5-9.0.2hhX.html

The source code is, as usual, free for non-commercial use.
(Sadly, my idea of a developer fund died last year).

Happy New Year 2019!

___
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


Video-Fun2

2019-01-01 Thread hh via use-livecode
Video-Fun2 is a major update of the HTML5 standalone "Video-Fun".
Finally all I wanted works.

This uses only "atomic" canvas2d methods of JavaScript in the
browser, no JS-packages. And, where they are fast enough in the
HTML5 engine, all the well known wonderful LC-techniques:

(US) http://hh.on-rev.com/html5/video-funHTML5-9.0.2hhX.html
(EU) http://hyperhh.de/html5/video-funHTML5-9.0.2hhX.html

The source code is, as usual, free for non-commercial use.
(Sadly, my idea of a developer fund died last year).

Happy New Year 2019!

___
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: LiveCode 9.0.2 on Windows unable to build for Mac?!?!?!?

2019-01-01 Thread Paul Dupuis via use-livecode

Monte and Brian,

Thank you both. Here is the very specific details of the change between 
LC901 and LC902 that I am seeing:


Under the Window 10/LiveCode 9.0.1 Business STABLE under the FILE > 
Standalone Application Settings..., in the Copy Files tab, under 
"Non-stack files in the Application",  I have:

Documentation/*
Components/*

These folders are in the same parent folder as the mainstack of the 
project. When I select FILE > Save as Standalone Application... and 
build a Windows and OSX standalones I get a Folder in the build 
destrination called: "HyperRESEARCH" (the name of the Application). In 
that folder I have a "MacOS" folder and a "Windows" folder.


The MacOS folder cotains the OSX app bundle, in this case called 
"HyperRESEARCH.app"


Under Windows 10, in LC9.0.1 Business STABLE, the Components and 
Documentation folders (and all their subfolders and files) are copied to:

HyperRESEARCH.app\Contents\Resources\_MacOS\Components
HyperRESEARCH.app\Contents\Resources\_MacOS\Documentation

i.e. the 2 references folders with all *files* and subfolders in the 
originals copied here.


On Windows 10, in LC9.0.2 Business STABLE, the Components and 
Documentation folders are not handled in the same way.

The FOLDERS and SUFOLDERS, but NO FILES are copied to:
HyperRESEARCH.app\Contents\Resources\_MacOS\Components
HyperRESEARCH.app\Contents\Resources\_MacOS\Documentation

However, the FOLDERS and SUBFOLDERS are also copied to
HyperRESEARCH\MacOSX\HyperRESEARCH.app\Contents\MacOS
i.e.
HyperRESEARCH\MacOSX\HyperRESEARCH.app\Contents\MacOS\Components
HyperRESEARCH\MacOSX\HyperRESEARCH.app\Contents\MacOS\Documentation

AND it is this location that contains the actual FILES!

A change like this is a point maintenance release seems to be a bug?!?

Monte: While I get that the engine may have changed so that it looks 
first in the MacOS folder of the app bundle and then if not found n the 
Resources\_MacOS, the change from 9.0.1 to 9.0.2 still seem like a bug. 
Maybe it is because I don't use the "engine" to find these folders (and 
the files in them), I use the explicit path as in the past there was no 
specialFolderPath to make use of.


If this really is a correct change - back to placing the actual files in 
the FOLDERs in the MacOS with the executable - the opposite of what you 
said that they should be in the Resources/_MacOS folder, I can alter my 
code for it. However, I think this is a Regression in 9.0.2 from 9.0.1. 
If someone can confirm this really is a bug, I will happily file a bug 
report.



___
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: MouseDown on Enter

2019-01-01 Thread Richmond via use-livecode

PRESUMABLY because there was NOT an object being DRAGGED.

*Ru Paul* and All!

I don't want to DRAG an object: all I want to do is drag the mouse into 
the object.


On 1.01.19 19:48, Richmond wrote:

With the left mouse button depressed I dragged into the graphic "h3" that
contained this script:

ondragEnter

    setthebackgroundColorofmetogreen

enddragEnter

and *NOTHING* happened.

On 1.01.19 19:20, Paul Dupuis via use-livecode wrote:
You may need to look at LiveCode's drag events since that is the 
mouse action you are trying to address, namely dragging from one 
hexagon to another.


See the dictionary for events like dragStart, dragEnter, dragLeave, 
dragStop, etc.



___
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: MouseDown on Enter

2019-01-01 Thread Richmond via use-livecode

With the left mouse button depressed I dragged into the graphic "h3" that
contained this script:

ondragEnter

    setthebackgroundColorofmetogreen

enddragEnter

and *NOTHING* happened.

On 1.01.19 19:20, Paul Dupuis via use-livecode wrote:
You may need to look at LiveCode's drag events since that is the mouse 
action you are trying to address, namely dragging from one hexagon to 
another.


See the dictionary for events like dragStart, dragEnter, dragLeave, 
dragStop, etc.



___
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: MouseDown on Enter

2019-01-01 Thread Richmond via use-livecode
Well, of course, one can mess around with "is within", except that my 
poisonous mind
starts worrying about hexagons when LiveCode seems better at 
understanding rectangles.


Richmond.

On 1.01.19 19:20, Paul Dupuis via use-livecode wrote:
You may need to look at LiveCode's drag events since that is the mouse 
action you are trying to address, namely dragging from one hexagon to 
another.


See the dictionary for events like dragStart, dragEnter, dragLeave, 
dragStop, etc.



___
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: MouseDown on Enter

2019-01-01 Thread Richmond via use-livecode

Now there's a thought!

Thanks.

Richmond.

On 1.01.19 19:20, Paul Dupuis via use-livecode wrote:
You may need to look at LiveCode's drag events since that is the mouse 
action you are trying to address, namely dragging from one hexagon to 
another.


See the dictionary for events like dragStart, dragEnter, dragLeave, 
dragStop, etc.



___
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: MouseDown on Enter

2019-01-01 Thread Paul Dupuis via use-livecode
You may need to look at LiveCode's drag events since that is the mouse 
action you are trying to address, namely dragging from one hexagon to 
another.


See the dictionary for events like dragStart, dragEnter, dragLeave, 
dragStop, etc.



___
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: MouseDown on Enter

2019-01-01 Thread Richmond via use-livecode

OK, OK; let's be direct and to the point:

I want to "rip off" the functionality of this web-page:

http://terpstrakeyboard.com/about/

Click on the "Play It Now!" menu item and follow through . . .

You will end up with a microtonal keyboard that has this functionality:

1. When one performs a mouseDown on each hexagon a tone is played.

2. While the mouse button is held down the tone continues to sound.

3. If the mouse is dragged (while being pressed) from one hexagon to the 
next,

the sound changes from that of the initial hexagon to the new one.

So . . . there would seem to be something "there" that is a bit 
difficult to implement in LiveCode.


I have 2 adjacent hexagons, called "h1" and "h2" containing these 
scripts, respectively:


onmouseDown

    setthebackgroundColorofmetored

endmouseDown

onmouseStillDown

    setthebackgroundColorofmetogreen

endmouseStillDown

onmouseLeave

    setthebackgroundColorofmetowhite

endmouseLeave

-

onmouseDown

    setthebackgroundColorofmetoblue

endmouseDown

onmouseStillDown

    setthebackgroundColorofmetoyellow

endmouseStillDown

onmouseLeave

    setthebackgroundColorofmetowhite

endmouseLeave



Dragging one's mouse while it is "down" from "h1" to H2" does not turn 
"h2" yellow!


*THIS* is the functionality I am looking for.

Richmond.








On 29.12.18 18:52, J. Landman Gay via use-livecode wrote:

MouseDown is a message, not a function. You need:

 if the mouse is down then
   set the...etc.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On December 29, 2018 9:07:37 AM Richmond via use-livecode 
 wrote:



This does *NOT* work:

on mouseEnter
   if mouseDown then
  set the backgroundColor of me to red
   else
  set the backgroundColor of me to green
   end if
end mouseEnter

on mouseLeave
   set the backgroundColor of me to white
end mouseLeave

which is a "right pox"

Richmond.

On 29.12.18 16:45, Richmond wrote:


This may rank as one of the goofiest questions I've ever asked: Oh,
well, here goes:

Imagine a mosaic of faux buttons if you will.

Each of these buttons will play a tone if I drag my mouse into it:

on mouseEnter

  play audioClip "x.aiff"

end mouseEnter

All well and good . . .

BUT, Richmond wants more . . .

I want to get different results from a simple mouseEnter

and a mouseEnter while the left-click button is down.

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