Re: Transparency across Gradient

2016-04-26 Thread Sannyasin Brahmanathaswami

Thanks Terry:

  
 blendMultiply did it

  
Awesome... one day I will study out inks...what they actually do...
  
Lovely smooth transition across the gradient now all the way to the 
final transparent edge... exact match for the InDesign design.
  
  




On 4/26/16, 2:47 PM, "use-livecode on behalf of Terry Judd" 
 
wrote:

>I¹m not sure I understand entirely what you are trying to achieve but
>using a simple linear gradient (black to white) in combination with an ink
>(blendMultiply) and then fiddling with the various gradient control seems
>to produce something that you might be happy with.
>
>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

how to create a Custom Control

2016-04-26 Thread Todd Fabacher
I have a simple question. Sorry for my ignorance, but how does one create
a Custom Control from a group? It seems to be just a group, but somehome
there is a way to set the group to be a Custom Control. Is a "Custom
Control" a defined stack in the Plugins folder?

Thanks for the help.

--Todd
___
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: Transparency across Gradient

2016-04-26 Thread Terry Judd
I¹m not sure I understand entirely what you are trying to achieve but
using a simple linear gradient (black to white) in combination with an ink
(blendMultiply) and then fiddling with the various gradient control seems
to produce something that you might be happy with.

Terry...

On 27/04/2016 8:50 am, "use-livecode on behalf of Sannyasin
Brahmanathaswami"  wrote:

>See:
>
>http://wiki.hindu.org/screenshots/blend_level_across_gradient.png
>
>This was done in InDesign..A common design strategy on mobile where type
>on top of images is managed by placing a transparent object behind the
>type that is translucent and fades to nothing at the edge.
>
>Though I understand the gradient prop pretty well and the alpha option Š
>I¹m unable to find settings for the gradient ramp that  falls off as
>smoothly as it does in Indesign.
>
>See:
>
>http://wiki.hindu.org/screenshots/lc-gradient.png
>
>The breaks between the end point for 1 color with alpha 255 (fully
>opaque) to the white endpoint that falls off to alpha 0 (transparent)Š is
>not smoothŠ neither is the break between the end of the lower end point
>(white) that is full transparent, to the background image itself...
>
>Can you match the indesign look?
>
> If so, post your gradient array here (keys/values for this linear array)
>
>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: Who can convert 3.5" diskettes with Hypercard stacks for me?

2016-04-26 Thread Ralph DiMola
If you have a 3.5" drive "MacDrive" for Windows will open Mac disks. I used
it a few years ago to read some Mac Zip Disks.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net



___
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: Who can convert 3.5" diskettes with Hypercard stacks for me?

2016-04-26 Thread Dr. Hawkins
On Tue, Apr 26, 2016 at 12:04 AM, Tiemo Hollmann TB 
wrote:


> I have some 3.5" diskettes from my Mac from the beginning 90th with some
> HyperCard stacks which I just regained again.
>

I successfully transferred some a couple of years ago by using a FreeBSD
machine with a 3.5" drive to read them.

I think they came off of a Mac Classic onto the 3.5", then to the freebsd
machine, and then by network to my new ac.

I don't remember all of how i did it, but there were either HFS drivers on
FreeBSD, or some program to read/write.  On further thought, I think it was
hfsutils, http://www.mars.org/home/rob/proj/hfs/.



-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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


Transparency across Gradient

2016-04-26 Thread Sannyasin Brahmanathaswami
See:

http://wiki.hindu.org/screenshots/blend_level_across_gradient.png

This was done in InDesign..A common design strategy on mobile where type on top 
of images is managed by placing a transparent object behind the type that is 
translucent and fades to nothing at the edge.

Though I understand the gradient prop pretty well and the alpha option … I’m 
unable to find settings for the gradient ramp that  falls off as smoothly as it 
does in Indesign.

See:

http://wiki.hindu.org/screenshots/lc-gradient.png

The breaks between the end point for 1 color with alpha 255 (fully opaque) to 
the white endpoint that falls off to alpha 0 (transparent)… is not smooth… 
neither is the break between the end of the lower end point (white) that is 
full transparent, to the background image itself...

Can you match the indesign look?

 If so, post your gradient array here (keys/values for this linear array)

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

Re: Playing sound files

2016-04-26 Thread Sannyasin Brahmanathaswami
On 4/26/16, 7:35 AM, "use-livecode on behalf of Peter Bogdanoff" 
 wrote:



>Both of these can be done now using the currentTime property--which you can 
>get and set. (On iOS, OS X, and Windows with QT installed)

Perhaps we can consider to stop saying “..with QT installed” and carry this 
discussion forward without that option ..

Good news is that the dictionary says for both iOS and Android


mobileControGet (IDOrName, property) and
MobileControlSet


* "currentTime" - returns the current position of the playhead, measured in 
milliseconds (maps to the native currentPlaybackTime property). This is an 
integer value.

OK so far so good.. 

And the dict also does not stipulate a requirement for quicktime under

currentTime (Mac,Win,Linux)

Description
Use the currentTime property during playing to find out the progress of the 
movie or sound, or to skip ahead or back.

So I think we are good for my requirements… we will have to see how the 
currentTime “intersects” so to speak with a streaming file…


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

Re: OT: Who can convert 3.5" diskettes with Hypercard stacks for me?

2016-04-26 Thread RM
I'm perfectly happy to transfer Hypercard stacks from floppy disks to a 
CD-ROM as I have
2 functioning Macs (a G3 iMac and a G5 iMac) and an external (USB) 
floppy drive.


However, I wonder why you don't just buy yourself an external floppy drive:

http://www.amazon.de/CSL-Externes-Diskettenlaufwerk-Slimline-portable/dp/B00AU07SUA/ref=sr_1_1?ie=UTF8=1461693221=8-1=floppy+drive+usb

Richmond.

On 26.04.2016 10:04, Tiemo Hollmann TB wrote:

Hello,

I have some 3.5" diskettes from my Mac from the beginning 90th with some
HyperCard stacks which I just regained again.

The HyperCard stacks are not vital for me, but if possible I would like to
see them again (converted to LC), just as a memory.

Is there anybody, who still has a Mac with diskette drive, who could copy
the content for me? Best somebody in Europe for easier shipping?

  


And is there a recipie, if and how I can convert HC stacks to LC format? I
think I have read from time to time that it should be possible.

  


Thanks

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: Playing sound files

2016-04-26 Thread Richard Gaskin

Sannyasin Brahmanathaswami wrote:

> But, can we replicate all the “great-fast and reliable” features
> of AV Foundation on
>
> 1. iOS
> 2. Android
> 3. Windows desktop
> 4. Linux desktop

As Kevin and other team members have noted here, the Windows AV 
replacement is well recognized as an immediate need and in development 
now.  From his note here on the 15th:


   We¹re actively working on an interim solution now and I¹ll
   aim to update you on what that looks like early next week.

We're only a few days past "next week", so hopefully he'll be able to 
chime in here with an update soon.


AV overhaul for OS X is already done, available in more recent builds of 
v6.x, also carried forward for 7.0 and 8.x.


AFAIK mobile is a whole different ballgame beyond the scope of the 
Kickstarter multimedia stretch goal.  If you have specific features you 
need on mobile that are not already available, perhaps those might make 
good candidate for Feature Exchange items.


This leaves only Linux in question, which as you know is a very 
important question for yours truly.


Given that Windows is the most important desktop platform and that 
Apple's abandonment of QT requires the LC team to take immediate action, 
I would imagine that the work being done for AV on that platform right 
now will be limited to Windows in order to deliver it ASAP.


That said, Linux is no longer a small market itself, and the Player 
control used to work there.  We can expect that will be restored as soon 
as practical.  My hope is that some of the work done with the OS X and 
Windows rewrites will benefit the work remaining for Linux to move that 
Kickstarter stretch goal into "Resolved-Fixed" status.


in the meantime, Alejandro and I have had some limited success using 
command line calls for simple video and audio playback on Linux.  If you 
have an immediate need for AV playback on Linux post a note here about 
what you want to do and perhaps we can help.  Most CLI APIs are very 
bare bones (no startTime, for example), but for straight 
play-from-the-beginning stuff they may be able to help get your Linux 
versions moving forward.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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: LC 8: Go stack doesn't work anymore?

2016-04-26 Thread Peter Bogdanoff
If you are opening a stack for the first time (it is not in memory) then you 
have to specify the full URL for the stack file (including “.livecode” if that 
is in the filename of the stack). After that, the stack can be accessed by only 
the name of the stack within LiveCode.

I’m seeing it work properly in LC8.

Peter Bogdanoff
UCLA

On Apr 26, 2016, at 6:35 AM, Tiemo Hollmann TB  wrote:

> I have created a test stack, where "go stack" works as expected.
> So I assume there must be something in the target stack, what either causes
> an error when launching in a LC 8 standalone, or something which just closes
> the target stack, after being opened. Nevertheless the behavior is different
> between LC 6 and 8. I have to go on searching.
> Tiemo
> 
> -Ursprüngliche Nachricht-
> Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
> von Tiemo Hollmann TB
> Gesendet: Dienstag, 26. April 2016 11:57
> An: LiveCode User Liste senden 
> Betreff: LC 8: Go stack doesn't work anymore?
> 
> Hello,
> 
> This worked fine up to LC 6 (7 not tested), but doesn't works with the same
> stack on LC 8
> 
> I have a splash stack, which is the LC standalone. At the end of making some
> checks I open my "main" stack (as a stack file) and hide the splash stack.
> 
> Go stack myStackFile.Livecode (I also tried: go card 1 of stack myStackFile)
> 
> On windows myStackFile.LiveCode resides in the same folder as my standalone,
> on Mac it resides in the /Contents/MacOS/ folder of my standalone
> 
> On windows this still works in LC 8 as in LC 6, but on OS X 10.11 just
> nothing happens. No error, the result is empty, but myStackFile.LiveCode is
> not opened, just nothing happens. In the IDE on Mac the file opens, but
> doesn't comes to front. I only find it in the window menu of the IDE.
> 
> I can't think this could be a bug, because it's something so standard, but I
> also didn't found anything what could have changed in LC 8.
> 
> Any help appreciated.
> 
> 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: Playing sound files

2016-04-26 Thread Peter Bogdanoff
On Apr 26, 2016, at 8:27 AM, Sannyasin Brahmanathaswami  
wrote:

>> AV Foundation, on the other hand, is great—fast and reliable.
> 
> But, can we replicate all the “great-fast and reliable” features of AV 
> Foundation on

My “Great-fast” only refers to AV Foundation’s downloading compared to 
QuickTime. My application plays audio off of a server and I’ve found AVF to be 
way more responsive than QT.

> 1. iOS
> 2. Android
> 3. Windows desktop
> 4. Linux desktop

iOS does use AV Foundation. The others, of course, use something else. LiveCode 
is working on getting the LC player control to work with Windows' OS native AV 
calls so that you get similar results on iOS/OS X/Windows. And the user would 
not be required to install QuickTime as is the current situation.

I have not heard about any plan for Android or Linux.
> 
> ?? Yes I could do a lot of testing, but I’ve wasted time on this before…and 
> am not holding my breath these days. Sticking with “play and stop” for now 
> until the “Great Announcement” .
> 
> I have a use case coming up where I will be forced into the player control 
> world. In particular, I’ll need to be able to 
> 
> A) stop the player and store the place/time on the timeline where the user 
> ended, in some cross-session user settings or preferences file that will be 
> available on a later re-boot-this app.
> 
> B) mark in and outpoints on audio/video files runtime that we can then Loop 
> back to so the user can hear that part of the timeline over and over again 
> (imagine learning to sing a song and one line has tricky lyrics you need to 
> practice… so you offer a “looping kareoke” feature…)

Both of these can be done now using the currentTime property--which you can get 
and set. (On iOS, OS X, and Windows with QT installed). The currentTime is a 
number that can be grabbed anytime while the file is playing, and that number 
can then be stored in a variable, field, property, or preference file:
put the currentTime of  player “Player” into tTime

You can then tell the player to play again from that point:
set the currentTime of player “Player” to tTime
> 
> There is some high demand for this among my user base.
> 
> I hope I can implement across all platforms, tomorrow and not in 2020.

I would be overjoyed to see native player support on Windows OS tomorrow 
(especially now that Apple doesn’t support QT in Windows 10, and has announced 
that it is no longer supporting QT at all in Windows). My applications live or 
die based on the player control.

Android would be nice for me the day after tomorrow. 

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


Re: List Field Not receiving Mouse messages unless a line is clicked?

2016-04-26 Thread Sannyasin Brahmanathaswami
Well, Mouseleave works for my current use case.

And, testing… mouserelease is simple enough to script

on mouseRelease
set the hilitedlines of me to 0
end mouseRelease


That said. I’m not sure a new property is needed. IMHO I think the default 
behavior should be that if you click on white space in the field, lines are 
unhilited.

This is very intuitive for any user/use case, because hilites occur when the 
object you mouse on is under the mouse. So having the hilite go away when click 
on white space makes “natural sense” 

Of course as Mike says, if the field container more lines than are visible, one 
has do something else altogether. 

And if HQ doesn’t want to change it… I can live with mouseRelease and mouse 
leave ...












On 4/26/16, 7:14 AM, "use-livecode on behalf of Richard Gaskin" 
 
wrote:

>What should the property be called?  This:
>
>set the clicksOutsideTextClearHilites of fld 1 to true
>
>...would be descriptive, but horrible (though if inclined one could make 
>a behavior script with getProp/setProp handlers using the script above 
>and have that today ).
>
>Any other suggestions?
___
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: List Field Not receiving Mouse messages unless a line is clicked?

2016-04-26 Thread Richard Gaskin

Sannyasin Brahmanathaswami wrote:

> Perhaps the bug is not that the mousedown and mouseup are ignored,
> but that if the user clicks on empty space in the field, the
> hilitedline remains highlighted.

In version 6.0 and 8.0rc1 this works and would seem to do what you're 
looking for:


-- field script:
on mouseDown
   if the clickV > (the formattedHeight of me + the top of me ) then
  set the hilitedLine of me to empty
   end if
end mouseDown

It might be nice to have a new field property for that, but easy enough 
to script for in the meantime.


What should the property be called?  This:

   set the clicksOutsideTextClearHilites of fld 1 to true

...would be descriptive, but horrible (though if inclined one could make 
a behavior script with getProp/setProp handlers using the script above 
and have that today ).


Any other suggestions?

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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: List Field Not receiving Mouse messages unless a line is clicked?

2016-04-26 Thread Mike Bonner
I think there is a phrasing issue when reading "You use the hilitedLine
property to determine which line the user clicked.”

Especially when using toggle and multiple hilites.. Perhaps changing it to:
"You use the hilitedLine property to determine which lines are currently
hilited.”

mouseup doesn't return the hilitedlines it just changes which lines are
currently hilited,
Don't get me started on the selectedline when used to with multiple
non-contiguous hilites. (it always returns the very first hilited line in
the field, if more than 1 line is selected contiguously in a group at the
beginning of the field, all lines in that bunch are returned..)

Since mouserelease only fires if empty area has been selected,you can use
it to decide what you want to do.  (For example, if multiple hilites are
possible, especially in a non-contiguous manner, ask the user of they want
to clear hliites.)

If your list has a finite number of lines, and guaranteed empty space,and
you want to force the behavior, you can of course do so, but if there is a
chance that the field will be full to the scrolling point with no empty
space,then there must be another way for the user to clear the selections
if needed. If you wish to clear selections by clicking outside the field in
an empty area, then the field not receiving mouseup is a moot issue and you
still must script the behavior you wish.

This will clear the hilites when clicking empty space.  It also checks
mouse location so that if the user clicks empty, then drags off the field
(thus changing their mind?) it will remove hilites, or not, depending on if
the mouse is still within the rect of the field.

on mouseup
   put the hilitedlines of me
end mouseup

on mouserelease
   if the mouseloc is within the rect of me then
  set the hilitedlines of me to empty
  select empty -- remove the dotted selection line
   end if
end mouserelease

>
>
___
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: Playing sound files

2016-04-26 Thread Sannyasin Brahmanathaswami
On 4/25/16, 5:51 PM, "use-livecode on behalf of Peter Bogdanoff" 
 wrote:


>AV Foundation, on the other hand, is great—fast and reliable.
>
>Peter Bogdanoff
>UCLA
>

But, can we replicate all the “great-fast and reliable” features of AV 
Foundation on 

1. iOS
2. Android
3. Windows desktop
4. Linux desktop

?? Yes I could do a lot of testing, but I’ve wasted time on this before…and am 
not holding my breath these days. Sticking with “play and stop” for now until 
the “Great Announcement” .

I have a use case coming up where I will be forced into the player control 
world. In particular, I’ll need to be able to 

A) stop the player and store the place/time on the timeline where the user 
ended, in some cross-session user settings or preferences file that will be 
available on a later re-boot-this app.

B) mark in and outpoints on audio/video files runtime that we can then Loop 
back to so the user can hear that part of the timeline over and over again 
(imagine learning to sing a song and one line has tricky lyrics you need to 
practice… so you offer a “looping kareoke” feature…)

There is some high demand for this among my user base.

I hope I can implement across all platforms, tomorrow and not in 2020.

Can we?

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

Re: List Field Not receiving Mouse messages unless a line is clicked?

2016-04-26 Thread Peter M. Brigham
On Apr 26, 2016, at 11:15 AM, Sannyasin Brahmanathaswami wrote:

> Understood.. But even mouse release does not solve the core issue.
> 
> Perhaps the anomaly is here:
> 
> "You use the hilitedLine property to determine which line the user clicked.”
> 
> Perhaps the bug is not that the mousedown and mouseup are ignored, but that 
> if the user clicks on empty space in the field, the hilitedline remains 
> highlighted.
> 
> Since I am clicking on “no line” then one would expect the hilited line to be 
> unhilited. Because, by definition:  if you need to “determine which line the 
> user clicked on”  is should return 0 and set the hilted lines of the field to 
> none.
> 
> At least, that was my “naïve” expectation” 

Well, this kind of thing is why I prefer to use listBehavior = false and script 
it for myself.

-- Peter

Peter M. Brigham
pmb...@gmail.com

> On 4/26/16, 2:40 AM, "use-livecode on behalf of Peter M. Brigham" 
>  wrote:
> 
>> Much of this is spelled out in the dictionary under "listBehavior":
>> 
>> 
>> If a field's listBehavior property is set to true, and the user clicks a 
>> line, the entire line is highlighted. The Up and Down arrow keys move the 
>> selection up or down.
>> 
>> Normally, the mouseUp and mouseDown messages are sent to the field as usual. 
>> However, if the user clicks below the last line of text in the field, a 
>> mouseRelease message is sent instead of mouseUp.
>> 
>> You use the hilitedLine property to determine which line the user clicked. 
>> The field's hilitedLine is set to the new line before the mouseDown message 
>> is sent, so there is no way to determine the previously-selected line.

___
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: List Field Not receiving Mouse messages unless a line is clicked?

2016-04-26 Thread Sannyasin Brahmanathaswami
Understood.. But even mouse release does not solve the core issue.

Perhaps the anomaly is here:

"You use the hilitedLine property to determine which line the user clicked.”

Perhaps the bug is not that the mousedown and mouseup are ignored, but that if 
the user clicks on empty space in the field, the hilitedline remains 
highlighted.

Since I am clicking on “no line” then one would expect the hilited line to be 
unhilited. Because, by definition:  if you need to “determine which line the 
user clicked on”  is should return 0 and set the hilted lines of the field to 
none.

At least, that was my “naïve” expectation” 

BR



On 4/26/16, 2:40 AM, "use-livecode on behalf of Peter M. Brigham" 
 wrote:

>Much of this is spelled out in the dictionary under "listBehavior":
>
>
>If a field's listBehavior property is set to true, and the user clicks a line, 
>the entire line is highlighted. The Up and Down arrow keys move the selection 
>up or down.
>
>Normally, the mouseUp and mouseDown messages are sent to the field as usual. 
>However, if the user clicks below the last line of text in the field, a 
>mouseRelease message is sent instead of mouseUp.
>
>You use the hilitedLine property to determine which line the user clicked. The 
>field's hilitedLine is set to the new line before the mouseDown message is 
>sent, so there is no way to determine the previously-selected line.
___
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

AW: LC 8: Go stack doesn't work anymore?

2016-04-26 Thread Tiemo Hollmann TB
I have created a test stack, where "go stack" works as expected.
So I assume there must be something in the target stack, what either causes
an error when launching in a LC 8 standalone, or something which just closes
the target stack, after being opened. Nevertheless the behavior is different
between LC 6 and 8. I have to go on searching.
Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Tiemo Hollmann TB
Gesendet: Dienstag, 26. April 2016 11:57
An: LiveCode User Liste senden 
Betreff: LC 8: Go stack doesn't work anymore?

Hello,

This worked fine up to LC 6 (7 not tested), but doesn't works with the same
stack on LC 8

I have a splash stack, which is the LC standalone. At the end of making some
checks I open my "main" stack (as a stack file) and hide the splash stack.

Go stack myStackFile.Livecode (I also tried: go card 1 of stack myStackFile)

On windows myStackFile.LiveCode resides in the same folder as my standalone,
on Mac it resides in the /Contents/MacOS/ folder of my standalone

On windows this still works in LC 8 as in LC 6, but on OS X 10.11 just
nothing happens. No error, the result is empty, but myStackFile.LiveCode is
not opened, just nothing happens. In the IDE on Mac the file opens, but
doesn't comes to front. I only find it in the window menu of the IDE.

I can't think this could be a bug, because it's something so standard, but I
also didn't found anything what could have changed in LC 8.

Any help appreciated.

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: List Field Not receiving Mouse messages unless a line is clicked?

2016-04-26 Thread Peter M. Brigham
Much of this is spelled out in the dictionary under "listBehavior":


If a field's listBehavior property is set to true, and the user clicks a line, 
the entire line is highlighted. The Up and Down arrow keys move the selection 
up or down.

Normally, the mouseUp and mouseDown messages are sent to the field as usual. 
However, if the user clicks below the last line of text in the field, a 
mouseRelease message is sent instead of mouseUp.

You use the hilitedLine property to determine which line the user clicked. The 
field's hilitedLine is set to the new line before the mouseDown message is 
sent, so there is no way to determine the previously-selected line.

If the field's autoHilite property is set to false, a clicked line does not 
highlight, regardless of the listBehavior setting; the field does not behave 
like a clickable list in this case. However, you can set the hilitedLine of the 
field even if the field's autoHilite is false.

Note: Setting the listBehavior of a field to true will automatically set the 
field's dontWrap property to true, as a list field cannot have text wrapping. 
Setting the dontWrap of a list field to false has no effect.


I actually seldom use list fields because of these anomalies (anomalies if you 
compare them to normal field behavior). I usually script my own behavior in the 
field script. But the way list fields work is actually fairly rational once you 
understand it.

-- Peter

Peter M. Brigham
pmb...@gmail.com


On Apr 26, 2016, at 5:01 AM, Kay C Lan wrote:

> On Tue, Apr 26, 2016 at 9:56 AM, Sannyasin Brahmanathaswami  .org> wrote:
> 
>> 
>> Certainly a newbie will be very frustrated if they want to trap for
>> mouseup or down when it works for all other field types and all other
>> objects.
>> 
> 
> OK I'll offer an alternative view. Craig has already mentioned that he's
> never noticed this before, and I would suggest no-one ever does unless they
> are trying to do something that is 'unusual'.
> 
> Take any menu button (option, pulldown etc), mouseDown on it, hold it down
> and then slide the mouse outside the btn and release - no mouseUp is sent
> to the btn.
> 
> Take a Tab button and click in the shaded area that comes attached with it.
> No mouseUp is sent to the btn.
> 
> You only get your mouseUp sent to a btn if you release the mouse whilst it
> is over a valid option. *
> 
> As for 'trap for mouseUp' works for 'all other field types', when I drag a
> plain old vanilla field to a brand new stack, set it's script to:
> 
> on mouseUp
>  beep
> end mouseUp
> 
> then enter some words into the fld and then start clicking around; nothing
> happens. That would be because the LC8 Dictionary says: If an unlocked
> field is clicked with mouse button 1 or 2, no mouseUp message is sent. I'd
> suggest that will catch out more newbies than List fields.
> 
> As for a List field, it's valid options are lines. Anything outside a valid
> 'line' is not a valid option, so just like buttons, and unlocked flds, no
> mouseUp is sent.
> 
> You've already discovered a very simple workaround which probably suits
> your use case. Other normal approaches to this type of thing I've seen are
> either a 'Reset' button or a line that says 'No Selection' which makes it
> very obvious where to Click to get the desired outcome. How would you reset
> a single/bunch of menu button/s to a default state? Why not a consistent
> approach for a List fld?
> 
> * It's a little more complex than that. You can't mouseDown in object 1 and
> release it over a valid option in object 2 and get a mouseUp message in
> object 2. The mouse can wonder all over the place but it needs to start and
> finish in the same object for a mouseUp to fire. It's all very clever and I
> suspect for good reason - it behaves as we've come to expect in 99.99% of
> situations.
> ___
> 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: Who can convert 3.5" diskettes with Hypercard stacks for me?

2016-04-26 Thread Quentin Long
sez Tiemo Hollmann TB:
> I have some 3.5" diskettes from my Mac from the beginning 90th with some
> HyperCard stacks which I just regained again.
> 
> The HyperCard stacks are not vital for me, but if possible I would like to
> see them again (converted to LC), just as a memory.
> 
> Is there anybody, who still has a Mac with diskette drive, who could copy
> the content for me? Best somebody in Europe for easier shipping?
  Sending the actual floppy disks thru (international?) mail may not be 
necessary. If Google Shopping can be trusted, floppy disk drives are 
*currently* available for under USD $20; depending on how many floppies you're 
talking about, and what the actual cost will be in your country (which appears 
to be Germany, judging by the ".de" in your email address), it might be a good 
idea for you to acquire one of those drives for this purpose. 

> And is there a recipie, if and how I can convert HC stacks to LC format? I
> think I have read from time to time that it should be possible.
   Converting HC stacks to LiveCode format is trivial; just open them up in 
LiveCode. If you're very lucky, all of the HC code in your stacks will just run 
under LC, so nothing more will need to be done. If you're not very lucky, the 
HC code will have some easily-solved problems that prevent it from just running 
properly under LiveCode. And if you're very *un*lucky, the HC code will have 
*so* many problems that it might be better to just re-write all the code in LC 
and be done with it.

As it happens, Jacqueline Gay has a webpage on "Converting a HyperCard Stack to 
LiveCode":

http://www.hyperactivesw.com/mctutorial/rrtutorialtoc.html

Hopefully the information Gay assembled will be helpful to you.


"Bewitched" + "Charlie's Angels" - Charlie = "At Arm's Length"

Read the webcomic at [ http://www.atarmslength.net ]!

If you like "At Arm's Length", support it at [ 
http://www.patreon.com/DarkwingDude ].

___
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

LC 8: Go stack doesn't work anymore?

2016-04-26 Thread Tiemo Hollmann TB
Hello,

This worked fine up to LC 6 (7 not tested), but doesn't works with the same
stack on LC 8

I have a splash stack, which is the LC standalone. At the end of making some
checks I open my "main" stack (as a stack file) and hide the splash stack.

Go stack myStackFile.Livecode (I also tried: go card 1 of stack myStackFile)

On windows myStackFile.LiveCode resides in the same folder as my standalone,
on Mac it resides in the /Contents/MacOS/ folder of my standalone

On windows this still works in LC 8 as in LC 6, but on OS X 10.11 just
nothing happens. No error, the result is empty, but myStackFile.LiveCode is
not opened, just nothing happens. In the IDE on Mac the file opens, but
doesn't comes to front. I only find it in the window menu of the IDE.

I can't think this could be a bug, because it's something so standard, but I
also didn't found anything what could have changed in LC 8.

Any help appreciated.

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


Re: List Field Not receiving Mouse messages unless a line is clicked?

2016-04-26 Thread Kay C Lan
On Tue, Apr 26, 2016 at 9:56 AM, Sannyasin Brahmanathaswami  wrote:

>
> Certainly a newbie will be very frustrated if they want to trap for
> mouseup or down when it works for all other field types and all other
> objects.
>

OK I'll offer an alternative view. Craig has already mentioned that he's
never noticed this before, and I would suggest no-one ever does unless they
are trying to do something that is 'unusual'.

Take any menu button (option, pulldown etc), mouseDown on it, hold it down
and then slide the mouse outside the btn and release - no mouseUp is sent
to the btn.

Take a Tab button and click in the shaded area that comes attached with it.
No mouseUp is sent to the btn.

You only get your mouseUp sent to a btn if you release the mouse whilst it
is over a valid option. *

As for 'trap for mouseUp' works for 'all other field types', when I drag a
plain old vanilla field to a brand new stack, set it's script to:

on mouseUp
  beep
end mouseUp

then enter some words into the fld and then start clicking around; nothing
happens. That would be because the LC8 Dictionary says: If an unlocked
field is clicked with mouse button 1 or 2, no mouseUp message is sent. I'd
suggest that will catch out more newbies than List fields.

As for a List field, it's valid options are lines. Anything outside a valid
'line' is not a valid option, so just like buttons, and unlocked flds, no
mouseUp is sent.

You've already discovered a very simple workaround which probably suits
your use case. Other normal approaches to this type of thing I've seen are
either a 'Reset' button or a line that says 'No Selection' which makes it
very obvious where to Click to get the desired outcome. How would you reset
a single/bunch of menu button/s to a default state? Why not a consistent
approach for a List fld?

* It's a little more complex than that. You can't mouseDown in object 1 and
release it over a valid option in object 2 and get a mouseUp message in
object 2. The mouse can wonder all over the place but it needs to start and
finish in the same object for a mouseUp to fire. It's all very clever and I
suspect for good reason - it behaves as we've come to expect in 99.99% of
situations.
___
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: Bugs in 8.0.0 RC1 and trying to convince a colleague that LC is *not* flaky

2016-04-26 Thread Monte Goulding
Indeed it has. It should be in the first release after 8.0.0GM.

Cheers

Monte

Sent from my iPhone

> On 26 Apr 2016, at 5:36 PM, Erik Beugelaar  wrote:
> 
> This bug is already been answered (and solved I thought) by Monte for a next
> release.
> Unfortunately I cannot find the email quick now.


___
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


For everyone who likes to answer and promote LiveCode on Quora

2016-04-26 Thread Erik Beugelaar
 

https://www.quora.com/Which-programming-language-is-was-the-prettiest-and-or
-most-readable

 

Cheers,

Erik

 

Sent from   solidit

 

___
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: Who can convert 3.5" diskettes with Hypercard stacks for me?

2016-04-26 Thread Mark Schonewille
We have a few old Macs and can read and copy 3.5" disks. Converting 
stacks is also possible. It is best to write to supp...@economy-x-talk.com.


Kind regards,

Mark Schonewille
http://economy-x-talk.com
https://www.facebook.com/marksch

Buy the most extensive book on the
LiveCode language:
http://livecodebeginner.economy-x-talk.com

Op 26-Apr-16 om 09:04 schreef Tiemo Hollmann TB:

Hello,

I have some 3.5" diskettes from my Mac from the beginning 90th with some
HyperCard stacks which I just regained again.

The HyperCard stacks are not vital for me, but if possible I would like to
see them again (converted to LC), just as a memory.

Is there anybody, who still has a Mac with diskette drive, who could copy
the content for me? Best somebody in Europe for easier shipping?



And is there a recipie, if and how I can convert HC stacks to LC format? I
think I have read from time to time that it should be possible.



Thanks

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: Bugs in 8.0.0 RC1 and trying to convince a colleague that LC is *not* flaky

2016-04-26 Thread Erik Beugelaar
This bug is already been answered (and solved I thought) by Monte for a next
release.
Unfortunately I cannot find the email quick now.

Cheers,
Erik

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of RM
Sent: Tuesday, April 26, 2016 07:56
To: How to use LiveCode 
Subject: Re: Bugs in 8.0.0 RC1 and trying to convince a colleague that LC is
*not* flaky

I must be stupid, but this makes no sense to me at all:

"Open the script editor and search for some text that doesn't exist"

The thing that surprised me was when, on opening the script editor for a
button LiveCode (err . . . RunRev) went from nothing to "on mouseUp".

And the fact that a script editor contains no text in no way indicates that
an "issue" exists.

This all looks a bit specious.

LiveCode 8 does contain bugs; but then so does Livecode 1, 2, 3, 4, 5, 6,
and 7, and almost every other piece of software ever produced, for the plain
and simple fact that programmers are not gods, and as such cannot foresee
every little thing on everyone's computer system.

-- Personal wibble starts now 

I programmed an interactive CD, "Listen Hear", for use in Scottish schools
with Livecode 2 about 13 years ago, and the people who hired me refused to
involve Beta testers, saying it was a waste of time and money.

When the CDs came rolling off the press, there was 1 bug (and nothing very
serious at that); they went to an independent software assessment bunch who
told them that such a complicated bit of work having only 1 bug was
extremely rare and they should be very pleased with it, and that "next time"
they should make sure to do Beta testing.

The silly buggers paid me nothing beyond the initial modest advance and went
and hired a full-blown software team to produce a new version using
Director, which ended up crashing computers.

This is not a "Richmond is marvellous" exercise; this is a "Livecode is
marvellous" exercise.

-- End of personal wibble --

Considering that the Livecode people are trying to go from "small potatoes"
to a "whole field of tatties"
in the move from Livecode 7 (which is, despite some window dressing, not
that different from Livecode 4) to Livecode 8, I am surprised that more
things aren't wonky.

Certainly, what I have seen of Livecode on Windows 7 and Linux 32 bit, the
thing is super. The Linux 64 bit needs work - but as this is the teams first
foray into the waters of the
64 bit world that's probably
not surprising.

There are two ways of looking at the potato:

1. Ooh, look, parts of it are rotten.

2. Ooh, look, parts of it are very good.

Well, for starters, there are no rotten potatoes, only bits of a potato that
are a bit squishy.

Richmond.

On 26.04.2016 01:53, Bob Sneidar wrote:
> Better to move on to a guy named Jeff and get him to try Livecode. My
experience is, if someone is looking for ways not to do something, you will
never get them to try.
>
> Bob S
>
>
> On Apr 13, 2016, at 15:18 , RunRevPlanet
> wrote:
>
> Steve, (a programming colleague) to whom I sing the praises of 
> LiveCode to, knows of these bugs. Unfortunately, I expect that when I 
> ask him to give LiveCode another try, when version 8.0.X has a 
> "stable" release, the following will happen.
>
> He is going to download it. Open the script editor and search for some 
> text that doesn't exist and turn to me with a big grin and say, "Ha! 
> This issue still exists. You want me to have confidence in a tool when 
> a command in the IDE can be so easily broken?"
>
> ___
> 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


OT: Who can convert 3.5" diskettes with Hypercard stacks for me?

2016-04-26 Thread Tiemo Hollmann TB
Hello,

I have some 3.5" diskettes from my Mac from the beginning 90th with some
HyperCard stacks which I just regained again.

The HyperCard stacks are not vital for me, but if possible I would like to
see them again (converted to LC), just as a memory.

Is there anybody, who still has a Mac with diskette drive, who could copy
the content for me? Best somebody in Europe for easier shipping?

 

And is there a recipie, if and how I can convert HC stacks to LC format? I
think I have read from time to time that it should be possible.

 

Thanks

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