Re: Map Widget with Custom Marker

2018-12-18 Thread Scott Rossi via use-livecode
Thank you for the response, but getting a forum error 172729 doesn't
exist(?).

On Tue, Dec 18, 2018 at 2:09 PM Brian Milby via use-livecode <
use-livecode@lists.runrev.com> wrote:

> It is a native layer so it the only LC object that would work would be
> another browser widget.  There was a demo a while back of doing that.
>
> http://forums.livecode.com/viewtopic.php?p=172729#p172729
>
> Thanks,
> Brian
> On Dec 18, 2018, 3:52 PM -0600, Scott Rossi via use-livecode <
> use-livecode@lists.runrev.com>, wrote:
> > Hi All:
> >
> > Wondering if it's possible to use a custom marker with the map widget. I
> > want to continuously track and show the user's location with a custom
> icon,
> > but can't find any way to overlay an image on the widget, as it seems to
> be
> > the equivalent of a web view.
> >
> > Thanks for any 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
> ___
> use-livecode mailing list
> use-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


Map Widget with Custom Marker

2018-12-18 Thread Scott Rossi via use-livecode
Hi All:

Wondering if it's possible to use a custom marker with the map widget.  I
want to continuously track and show the user's location with a custom icon,
but can't find any way to overlay an image on the widget, as it seems to be
the equivalent of a web view.

Thanks for any 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: Points of Graphic Oval

2017-07-30 Thread Scott Rossi via use-livecode
You can use the effectivePoints to get the points of any graphic shape, but 
depending on the size, your oval may produce too many points.

In any event, your source oval doesn't need to be perfect. If you reference a 
"decent" number of points along the shape of the oval, your image will have the 
appearance of moving along an elliptical path.

Regards,

Scott Rossi

> On Jul 30, 2017, at 9:06 PM, Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
> 
> 1) draw graphic  oval  name:  "moveClue1"
> 2) create small image "word_1"
> 
> move image "word_1" to the points of grc "moveClue1" in 2 seconds
> 
> test:
> 
> point the points of graphic "moveClue1"
> 
> result: empty
> 
> check dictionary: yep, oval are not among the objects with points ☹
> 
> OK, so how can we generate the points of  a perfect oval?
> 
> 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: "Silly" fun for the weekend

2017-07-14 Thread Scott Rossi via use-livecode
Mark, Monument Valley isn’t Apple, it's Ustwo Games. Blame them :-)

If MV2 isn’t in the Play Store yet, have you gotten ahold of the add-ons for 
MV1?
Forgotten Shores and Ida’s (RED) Dream?  Definitely worth purchasing, IMO.

Generally, people seem to be complaining that the challenge in the new version 
is lower than v1.  But there are some new mechanics to be played, there are 
some touching moments between the new characters, and the splitting of story 
between the characters is quite creative.

The best description I ever read of the game: “Monument Valley isn't a game, 
it’s an experience.”  It won an Apple Design Award for good reason.

Scott Rossi 
Creative Director 
Tactile Media, UX/UI Design 



> On Jul 14, 2017, at 7:16 PM, Mark Wieder via use-livecode 
>  wrote:
> 
> On 07/14/2017 06:53 PM, Sannyasin Brahmanathaswami via use-livecode wrote:
> 
>> Monument Valley just released their latest.
> 
> But  not for Android yet.
> ...damn you, Apple...
> 
> -- 
> Mark Wieder
> ahsoftw...@gmail.com
> 

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

Re: Biased testing and micro-coaching

2017-07-07 Thread Scott Rossi via use-livecode
You don’t have to keep your mouth shut.  In fact, you should be vocal, but you 
want your tester to be more vocal.

Generalized suggestions from past experience…

- First, explain to the tester in general terms what your app does.  Avoid 
getting into operating specifics.

- Tell the tester you want them to verbalize as much as possible their thought 
process when encountering each screen/interaction process.  You goal is to get 
a sense of what the tester is thinking and why, not just whether or not they 
exhibit expected behavior (you will have to prompt the tester repeatedly to 
explain their thinking without scolding or leading).

- Explain to your tester there are no right or wrong actions/answers while 
using your app — you are trying to observe real world behavior and initial 
responses to what they see/experience, and their interaction (or lack of it) in 
no way reflects on their “intelligence”.

- Give the tester one or more planned tasks to complete.  Remind them to 
describe their thinking as they attempt to complete each task.

- Each time the tester is shown a new screen/process, ask them what they think 
they need to do at that point. Ask why.  Keep all requests/comments neutral, 
never correct the tester.  If their response doesn’t fit with your intended 
behavior, ask the tester what they would suggest to improve 
interaction/outcome, or make the process more intelligible.  Avoid allowing the 
tester complete too many tasks in a row without describing their thought 
process.

- If the tester can’t figure out how to proceed to a next step, give them a 
hint (if possible) and determine if they are able to understand the 
interaction. Again, ask for suggestions on what could be improved.  Ask why.

- Rinse and repeat.

- Ask the tester at the end of the test what they felt was the biggest issue 
with the app.  Ask the tester to reiterate how they would correct the problem.  
Review your list of problems encountered by the tester to confirm your 
understanding of the issues.

- Record/note all responses.  Keep written notes at a minimum, use audio and/or 
video recording to collect more detailed/nuanced responses. In an ideal world, 
you would record the tester and the screen they interact with concurrently.

Hope this helps.

Regards,

Scott Rossi 
Creative Director 
Tactile Media, UX/UI Design 



> On Jul 7, 2017, at 12:49 PM, Jonathan Lynch via use-livecode 
>  wrote:
> 
> From reading these, it looks like my basic steps are these:
> 
> 1. Make changes to the app
> 
> 2. Test for usability myself a dozen times, trying things in different orders 
>  and in different ways to make it fail
> 
> 3. Have my testers, which is really about 3 family members, test it to make 
> it fail
> 
> No coaching, no hints
> 
> Directly observe their tests very closely
> 
> Make notes on any moments of confusion, even if they minor
> 
> Interview them, asking what they were thinking at each step
> 
> Adjust the help file and add hints - and test those as well
> 
> 4. Fix as needed and retest
> 
> 5. Publish
> 
> 6. Try to find virgin testers for next time, varying in age and mindset
> 
> Does that sound about right?
> 
> Sent from my iPhone
> 
>> On Jul 7, 2017, at 1:53 PM, jonathandly...@gmail.com wrote:
>> 
>> Thank you, Jacqueline 
>> 
>> Sent from my iPhone
>> 
>>> On Jul 7, 2017, at 1:39 PM, J. Landman Gay via use-livecode 
>>>  wrote:
>>> 
>>> http://hyperactivesw.com/resources_testing.html
>>> 
>>> 
>>>> On July 7, 2017 6:59:52 AM Jonathan Lynch via use-livecode 
>>>>  wrote:
>>>> 
>>>> What steps do you guys follow for accurate testing when you don't have a 
>>>> budget for proper official testing procedures?
>>> 
>>> --
>>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>>> HyperActive Software   | http://www.hyperactivesw.com
>>> 
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-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: Momentum Scrolling Script

2017-06-28 Thread Scott Rossi via use-livecode
Hi Jonathan:

Just doing some simple tests, your script is great.  Thanks for sharing it on 
the list.

Two minor improvements I would suggest:

1) After the mouseUp handler, add a mouseRelease handler to trigger 
deceleration/stop when the mouse is released outside of the target control.

on mouseRelease
   mouseUp
end mouseRelease

2) In the mouseMove handler, use the built-in parameters provided by the 
handler instead of reading the mouseV. Probably not a huge deal in the scheme 
of things, but might add a tiny bit more efficiency to the script.

on mouseMove X,Y
  if allowDrag <> empty then
 set the vScroll of me to (allowDrag-Y)
  end if
end mouseMove 

Regards,

Scott Rossi 
Creative Director 
Tactile Media, UX/UI Design 



> On Jun 28, 2017, at 9:05 AM, Jonathan Lynch via use-livecode 
>  wrote:
> 
> I just created and tested a momentum scrolling script on my iPhone, and it
> appears to work quite well, so I thought I would share it here.


___
use-livecode mailing list
use-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: clipsToRect property (was Re: Instantiaing Grouped Controls - Templates - Responsive)

2017-06-13 Thread Scott Rossi via use-livecode
Keep in mind, there’s also the lockUpdates property of groups, which while 
differing mechanically “under the hood”, essentially causes the same perceived 
result — while enabled, a group’s rect is not changed when its child objects 
are resized/repositioned.

I don’t know how all these are verbosely named since I also use the default 
property names.

Regards,

Scott Rossi 
Creative Director 
Tactile Media, UX/UI Design 



> On Jun 13, 2017, at 3:37 PM, Devin Asay via use-livecode 
>  wrote:
> 
>> 
>> On Jun 13, 2017, at 4:19 PM, Devin Asay via use-livecode 
>>  wrote:
>> 
>> Yes, in essence. If you have a group and set the clipsToRect property to 
>> true (there’s no way to set it in the PI yet—that’s what I’m going to add), 
>> you can then change the rect of the group, and the group will *not* 
>> automatically reset its rect to the size of the child controls + margin. It 
>> is persistent, even if you leave the card or close the stack. Yet the 
>> group’s position and size remains unlocked so you can quickly select and 
>> change the group’s rect if you want. A nice feature when you need it.
>> 
>> ClipsToRect is the property name. So what “plain language” label do you 
>> think would be best for the PI?
> 
> How about “Prevent auto-resize of rect”?
> 
>> 
>> Devin
>> 
>> 
>> 
>> On Jun 13, 2017, at 4:11 PM, Phil Davis via use-livecode 
>> mailto:use-livecode@lists.runrev.com>> wrote:
>> 
>> So it's about manually updating the rect vs. having it in an auto-update 
>> mode?
>> 
>> Phil Davis
>> 
>> 
>> On 6/13/17 3:01 PM, Devin Asay via use-livecode wrote:
>> So far I’m kind of partial to Scott R’s “Persistent rect”. Conversely, it 
>> could be something like “Auto-update rect”, but then the checkbox would be 
>> opposite the property setting. That’s almost as bad as something like 
>> dontUpdateRect. (Sorry, Scott, plug your ears.)
>> 
>> Devin
>> 
>> 
>> On Jun 13, 2017, at 3:34 PM, J. Landman Gay via use-livecode 
>> mailto:use-livecode@lists.runrev.com><mailto:use-livecode@lists.runrev.com>>
>>  wrote:
>> 
>> On 6/13/17 4:17 PM, Jim Lambert via use-livecode wrote:
>> or
>> ‘Clip Group to rect’
>> 
>> There are a few others like that, where the explanation is just the original 
>> term (or close) with spaces added. I always felt that didn't explain much. 
>> But the suggestion does have company in the PI.
> 
> Devin Asay
> Director
> Office of Digital Humanities
> Brigham Young University
> 


___
use-livecode mailing list
use-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: Instantiaing Grouped Controls - Templates - Responsive

2017-06-13 Thread Scott Rossi via use-livecode
My understanding is, “before” and “after” are really only intended to work with 
mouse events.

Regards,

Scott Rossi 
Creative Director 
Tactile Media, UX/UI Design 



> On Jun 13, 2017, at 12:24 PM, Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
> 
> OK so *why* is 
> 
> before mouseup  # valid syntax
> 
> But
> 
> before show # invalid


___
use-livecode mailing list
use-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: Instantiaing Grouped Controls - Templates - Responsive

2017-06-13 Thread Scott Rossi via use-livecode


The most important rule to follow when establishing any new property should be: 
Don't use "dont".

The application of a "negative property" should never have been established 
(dontWrap, I'm talking to you).  Properties should always be non-negative and 
simply enabled or disabled depending on the default behavior.



In this case, I get that you're referring to readable label, so there's more 
flexibility here of course, I just needed to vent :-)

The above said, you're right, this is a tricky case.  IMO the real 
differentiation here is that the rect of the *unlocked* group remains 
unaffected by the locations of its child objects.  Since you know the control 
is a group, maybe the verbose label is something like "persistent rect" since 
the rect will, for the most part, remain constant.

Maybe I'm forgetting something...

Scott Rossi
Creative Director
Tactile Media UX/UI Design

> On Jun 13, 2017, at 9:27 AM, Devin Asay via use-livecode 
>  wrote:
> 
> 
> On Jun 12, 2017, at 11:45 PM, Mark Waddingham via use-livecode 
> mailto:use-livecode@lists.runrev.com>> wrote:
> 
> On 2017-06-12 22:22, Richard Gaskin via use-livecode wrote:
> For group controls you will find that it is. Try it.  It's quite handy.
> 
> Another useful thing which I'm not sure is particularly visible (but is in 
> the dictionary!) is the group 'clipsToRect' property.
> 
> When 'the clipsToRect' is set to true you get a group which acts like 
> lockLocation is set, but is resizable. In  this case the group's size is 
> determined purely by the rect it has set, and not the union of the rectangles 
> of its children.
> 
> This might have been mentioned somewhere else in this thread, but its 
> probably worth repeating if so as a group with clipsToRect true, and a 
> resizeControl handler makes a good base for a custom control.
> 
> It’s not visible in the PI, but it’s not hard to add. I’d be happy to make a 
> pull request for it. The main question is what would be the “readable label” 
> of this property? (My current favorite is the first one.)
> 
>  - Group rect remains fixed
>  - Fixed group rect
>  - Lock group rect
>  - Group rect is fixed
>  - Don’t change group rect
>  - Group rect is independent of child controls
>  - Prevent group rect size when child objects move or resize
> 
> It’s a tricky balance between clear enough and short enough.
> 
> Ideas?
> 
> Devin
> 
> 
> 
> Devin Asay
> Director
> Office of Digital Humanities
> Brigham Young University
> 
> ___
> use-livecode mailing list
> use-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

Click Download in Browser Widget?

2017-06-11 Thread Scott Rossi via use-livecode
If I click the download link on a page being displayed in the browser widget, 
what happens with the linked file?  Does the download take place and if so, is 
the file accessible somehow?

Thanks & Regards,

Scott Rossi 
Creative Director 
Tactile Media, UX/UI Design 




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


Re: how to download an image

2017-06-03 Thread Scott Rossi via use-livecode
Remove the first "binfile" usage, so your code reads like this:

put URL tNewImageLink into URL ("binfile:" & tNewFolder & "/" &
tNewImageName)


I used the following to test download to the desktop and it works as
expected:

put 
"http://s3.amazonaws.com/appforest_uf/f1496548544475x140387106221169240/gri
lled_cheese_on_plate.jpg" into theURL
put url theURL into url ("binfile:" & specialFolderPath("desktop") &
"/DLimage.jpg")


Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design





On 6/3/17, 9:38 PM, "use-livecode on behalf of Matt Maier via
use-livecode"  wrote:

>I'm trying to download an image to a file but it's always 0kb
>
>Here's an example of the URL I've got //
>s3.amazonaws.com/appforest_uf/f1496548544475x140387106221169240/grilled_ch
>eese_on_plate.jpg
>
>*put* URL ("binfile:" & tNewImageLink) into URL ("binfile:" & tNewFolder &
>"/" & tNewImageName)
>
>
>*get* url tNewImageLink
>
>*put* it into URL ("binfile:" & tNewFolder & "/" & tNewImageName)
>___
>use-livecode mailing list
>use-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: English Like?

2017-05-24 Thread Scott Rossi via use-livecode
@Mark — the sequence/direction is clockwise, if that helps.  So top -> left… 
doesn’t work.

Scott Rossi 
Creative Director 
Tactile Media, UX/UI Design 



> On May 24, 2017, at 12:35 PM, Mark Wieder via use-livecode 
>  wrote:
> 
> On 05/24/2017 12:25 PM, Alex Tweedly via use-livecode wrote:
>> constant kRectLeft = 1, kRectTop = 2, kRectRight = 3, kRectBottom = 4
>> (or whatever ... haven't looked it up :-)
> 
> Exactly the point.
> I'd have to store this somewhere, and either grab it each time I need it or 
> look it up and reinvent it each time.
> 
> -- 
> Mark Wieder
> ahsoftw...@gmail.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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

Re: SVG widget?

2017-05-13 Thread Scott Rossi via use-livecode
Maybe it’s more accurate to say “one single path definition” because you aren’t 
limited to a single vector path.  You can create compound graphics from 
multiple paths as is done in many icons and graphics.

For example:
go url "http://tactilemedia.com/download/svg_sample.livecode";

Regards,

Scott Rossi 
Creative Director 
Tactile Media, UX/UI Design 



> On May 13, 2017, at 6:56 AM, hh via use-livecode 
>  wrote:
> 
> The widget SVG Icon is set up to display at most ONE SINGLE path,
> no matter where the path comes from.


___
use-livecode mailing list
use-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] Today's Google Doodle/Theme

2017-04-28 Thread Scott Rossi via use-livecode
Then don’t look in the Balkans.

Scott Rossi 
Creative Director 
Tactile Media, UX/UI Design 



> On Apr 28, 2017, at 11:18 AM, Richmond Mathewson via use-livecode 
>  wrote:
> 
> Not showing up in the Balkans.
> 
> Richmond.
> 
> On 4/28/17 9:06 pm, Scott Rossi via use-livecode wrote:
>> Note today’s Google doodle topic is especially appropriate for the LC 
>> community.
>> 
>> Regards,
>> 
>> Scott Rossi
>> Creative Director
>> Tactile Media, UX/UI Design
>> 
>> 
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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

[OT] Today's Google Doodle/Theme

2017-04-28 Thread Scott Rossi via use-livecode
Note today’s Google doodle topic is especially appropriate for the LC community.

Regards,

Scott Rossi 
Creative Director 
Tactile Media, UX/UI Design 




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

Re: Gradients with transparency?

2017-04-03 Thread Scott Rossi via use-livecode
The thing about using a graphic gradient (as opposed to an image) is the 
graphic is infinitely more flexible:
- variable size (no loss of quality when resizing)
- variable colors
- variable transparency

As far as exporting goes, last I checked, I don’t think ink effects export 
intact, even when using “with effects” in the snapshot syntax, so if you can’t 
get the visual result you want with the default ink, you may need to export a 
snapshot of the region of the card you need.  Maybe support for exporting inks 
has improved recently (though in my quick dp4 test, exporting to the desktop 
crashes).

Regards,

Scott Rossi 
Creative Director 
Tactile Media, UX/UI Design 



> On Apr 3, 2017, at 10:26 AM, J. Landman Gay via use-livecode 
>  wrote:
> 
> Would exporting a snapshot work well enough for your needs?
> 
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> 
> 
> 
> On April 3, 2017 4:39:07 AM Terry Judd via use-livecode 
>  wrote:
> 
>> Is it possible to have a gradient with one of its end-points being 
>> transparent instead of a solid colour?
>> 
>> I want to overlay a graphic with a vertical gradient that blends from 
>> transparent to white to give the effect that the underlying content is 
>> fading out as you move down the screen. I’m able to achieve this effect 
>> using a black and white linear gradient in combination with the blendScreen 
>> ink but I need to be able to export the object (gradient plus underlying 
>> controls) as an image keeping the effect intact. When I export it now the 
>> ink effect is lost.
>> 
>> Terry...
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-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: Cheesed off by 32xxx

2017-04-01 Thread Scott Rossi via use-livecode
Without knowing exactly what you're trying to accomplish, one way is to display 
only a few rows of buttons beyond what will fit comfortably on a screen, and 
when scrolling takes place, "recycle" the rows around to the end (or beginning) 
with new glyphs applied.

Assuming all the characters are from a single font and you're trying to display 
glyphs in an organized fashion,  a better way might be to display all the 
glyphs in a field with extra column and row spacing to essentially form a grid. 
  This is how I display glyphs from icon fonts, which is more efficient than 
using thousands of controls on a card. 

Regards,

Scott Rossi
Creative Director
Tactile Media UX/UI Design

> On Apr 1, 2017, at 3:07 PM, Richmond Mathewson via use-livecode 
>  wrote:
> 
> What a nuisance:
> 
> There I was, merrily churning through the button titles for my Unicode 
> Reference thing
> [ http://forums.livecode.com/viewtopic.php?f=26&t=29069 ] which needed at 
> least 1600 buttons
> that were 23 pixels deep layered underneath each other.
> 
> What happens?
> 
> At the "Magic Number" of 32xxx I get a "this is not a number" message.
> 
> As a result I ended up restricted to 1400 buttons.
> 
> This is very bad as the Unicode glyph tables are many, and in an ideal world
> I'd like 8703 buttons. But 8703 * 23 = 200169
> 
> That would involve groupig a "stack" of buttons that was 200169 pixels high.
> 
> Would be grateful if anyone knows a way to circumvent the limitation.
> 
> Richmond.
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: Size of Image in RAM

2017-02-07 Thread Scott Rossi via use-livecode
If your image was 256 colors, the Index > Mode menu would show Indexed Color 
checked, instead of RGB Color.

The RGB/8 Bit you’re seeing in the Photoshop menu actually reads “8 
Bits/Channel” — an RGB image is 3 channels (red, green, blue), 8 bits each, so 
24 bit color.

Again, if you really want your image limited to 256 colors, convert it to 
Indexed Color and save as PNG or GIF.

Regards,

Scott Rossi 
Creative Director 
Tactile Media, UX/UI Design 

> On Feb 7, 2017, at 10:17 PM, Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
> 
> @ Scott:
> 
> That's not what I get if I open this image in Photoshop.  (CC 2017)
> 
> 
> 
> 575 X 1000 
> 
> http://wiki.hindu.org/uploads/img37.jpg
> 
> 
> It is a JPEG, but under the mode menu it shows "RGB/8 Bit" and if I look 
> under indexed colors it says "256"  definitely not 16bit (in which case we 
> should see 65536 colors)
> 
> So, somehow this IS a JPG that at least reports in PS as 8 bit but shows it 
> is taking 2.17 MB in RAM, which it would if it were 16 bit.
> 
> Scott Rossi wrote:
> 
>When I generate an 8 bit indexed color image in Photoshop and look at the 
> Save As menu, JPEG is not an option.  If I instead choose Save for Web which 
> allows saving as JPEG, the resulting image re-opens in Photoshop in RGB (24 
> bit color) mode.
> 
> But, and this is interesting: if I save as PNG Photoshop offers the option to 
> change turn off transparency and save as  bit… the resulting images on disk 
> is 1/3 bigger I size  (jpeg,:229K, png:353K)  But the former/jpg opens in 
> photoshop at 2.17MB and not the 8-bit PNG opens at 739K in RAM  
> 
> This tends to confirm your theory and Photoshop is miss reporting the bit 
> depth on the jpg (or something!)  … very interesting. the PNG at half the 
> size in RAM is visually indistinquishable from the JPG (at least to my eyes)
> 
> http://wiki.hindu.org/uploads/img37.png
> 
> So we have a trade off: use 8 bit PNG and pack more data than we have room 
> for in the mobile app package. or optimize really small JPG's on disk that 
> then take up twice the room in RAM!
> 
> 
> 
> ___
> use-livecode mailing list
> use-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: Size of Image in RAM

2017-02-07 Thread Scott Rossi via use-livecode
You say the mode is 8 bit.  I might be wrong, but I don’t believe JPEG supports 
8 bit (256 color) images.  Even if it does technically, the format is not 
really intended for 8 bit images, but rather 16 bit or higher.

When I generate an 8 bit indexed color image in Photoshop and look at the Save 
As menu, JPEG is not an option.  If I instead choose Save for Web which allows 
saving as JPEG, the resulting image re-opens in Photoshop in RGB (24 bit color) 
mode.

So as I read question, you’re getting a 24 bit image because you’re saving in 
JPEG format.

If you really want to save as 8 bit color, use PNG or GIF.

Regards,

Scott Rossi 
Creative Director 
Tactile Media, UX/UI Design 

> On Feb 7, 2017, at 7:45 PM, Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
> 
> I'm trying to optimize for Mobile.  Photoshop is playing tricks on me
> 
> given a 38K  jpg;
> 
> rect 3 X 5
> 
> 552px w
> 736 px h
> 72 dpi (irrelevant for screen)
> 
> Open in Photoshop: it indicates 1.16M in RAM, but mode is 8 bit… but
> 
> but the online calculation sites for file size for that rect/bit-depth should 
> make it only take up 398k or so, in RAM.
> 
> If I change the online calculator for that rect to "24 bit" it returns the 
> exactly size  (1.16M) I'm seeing in photoshop…roughly 3X the size of the 8 
> bit, which is what we would expect.
> 
> So
> 
> 1) Why is Photoshop reporting the files size as if it were 24 bit? and
> 2) Does LC have a function to check the size of an image in terms of RAM 
> consumed? I couldn't find one in the dictionary.
> 
> BR  (thinking about affinity these days!)
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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

Re: How to quit an Android app

2016-12-20 Thread Scott Rossi
Maybe try sending the quit command after a short delay instead of from
within the handler?

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 12/20/16, 9:38 PM, "use-livecode on behalf of J. Landman Gay"
 wrote:

>I have an Android app with a simple handler:
>
>on doQuit
>   quit
>end doQuit
>
>It quits as directed. On relaunch it crashes. On a second relaunch it
>works fine. This is consistent behavior.
>
>I have tried sending "quit" in 0, locking messages, etc. How do you
>cleanly quit an Android standalone?
>
>-- 
>Jacqueline Landman Gay | jac...@hyperactivesw.com
>HyperActive Software   | http://www.hyperactivesw.com
>
>___
>use-livecode mailing list
>use-livecode@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode



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


Re: Clone graphic does not respect dimensions

2016-11-30 Thread Scott Rossi
It's wrong but it's always been like this.  LC doesn't like graphics smaller 
than 9 pixels.

Regards,

Scott Rossi
Creative Director
Tactile Media UX/UI Design

> On Nov 30, 2016, at 4:48 PM, Michael Julian Lew  
> wrote:
> 
> When I clone a graphic (an 8 by 8 pixel oval) in LiveCode 8.1.1 the copy 
> comes out at the default size for a new oval, 120 by 120. That would not be a 
> clone, in my opinion. Is it correct behaviour?
> 
> Michael
> 
> ___
> use-livecode mailing list
> use-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: SVG import

2016-11-30 Thread Scott Rossi
Vectr.  https://vectr.com/

Runs both locally (desktop) and in the cloud (browser).

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 11/29/16, 11:50 PM, "use-livecode on behalf of David V Glasgow"

wrote:

>what vector graphics program is good for (very simple) objects.  Mac
>preferred, but hey ho.



___
use-livecode mailing list
use-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: Points of Regular Polygon

2016-11-29 Thread Scott Rossi
Sounds like you want the effective points property (of grc “abc”)?

Regards,

Scott Rossi 
Creative Director 
Tactile Media, UX/UI Design 

> On Nov 29, 2016, at 9:52 AM, Randy Hengst  wrote:
> 
> Hi All,
> 
> As I’ve looked through the list archives, I know the answer to my quetion was 
> ‘no' back in 2013… just checking to see if I’ve missed something.
> 
> Is there a way to get the points (vertices) of a a regular polygon?
> 
> I want to set the the number of sides of the regular polygon (which is easily 
> scripted), and then I’d like to find the loc of each of the vertices… 
> 
> Is the answer to finding the points of the vertices still no?
> 
> be well,
> randy
> www.classroomFocusedSoftware.com
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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

Re: Type on an angle

2016-11-20 Thread Scott Rossi
This is great.  True, it runs a bit slowly in 7/8, but scripted image
calculations have always been this way, and having any option at all in LC
to do this type of manipulation is very welcome.  A few of us have been
wanting something like this for years.

Thanks for this great example.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 11/20/16, 9:11 AM, "use-livecode on behalf of hh"
 wrote:

>** Perspective Distortion of an image **
>available (fast) at "Sample stacks" of the IDE toolbar or (slower) at
>http://livecodeshare.runrev.com/stack/812/Perspective-Image-Distortion
>
>The stack includes is an example for (close to) live-distorting a field's
>image, uses font 'Aclonica' at 48 point.



___
use-livecode mailing list
use-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: Type on an angle

2016-11-20 Thread Scott Rossi

On 11/20/16, 5:36 PM, I wrote:

>The embedded screen capture below may not arrive on the list intact, but
>illustrates the point.

Well, I tried.

http://tactilemedia.com/download/rotated_text.gif

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design



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


Re: Type on an angle

2016-11-20 Thread Scott Rossi

On 11/20/16, 1:42 AM, "use-livecode on behalf of hh"
 wrote:
> 
> Adding a 'native' angle property doesn't turn a bitmap display into a
> raster display based on postscript/pdf.
> Adobe Photoshop and Illustrator use postscript/pdf for each and every
> single glyph. They dont have rotated fields (seen as controls). They even
> don't have a rotated _postscript_ insertion cursor for 'rotated editing'.

Just for the record, the above may be correct from a technical standpoint,
but is inaccurate with regard to what is presented to users.
The embedded screen capture below may not arrive on the list intact, but
illustrates the point.

Also provided is the option to assign orientation to text.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




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


Re: hide with visual effect

2016-10-11 Thread Scott Rossi
I believe you already found your answer/s, but in addition to other suggestions 
posted, keep in mind the effectRate property, which allows much finer timing 
control (as opposed to slow, fast, very fast, etc).  I find that the default 
rate of 2000 is a bit slow by today’s standards, so cutting that down to 1000 
or or sometimes 750, depending on the effect, can result in a much snappier 
feeling and responsive app.

Regards,

Scott Rossi 
Creative Director 
Tactile Media, UX/UI Design 

> On Oct 11, 2016, at 11:19 AM, Devin Asay  wrote:
> 
> 
>> On Oct 11, 2016, at 8:46 AM, Mike Kerner  wrote:
>> 
>> I am trying to give the user the illusion that a dialog is sliding into
>> view and out of view.  The dialog is a rectangle graphic background, with
>> controls.  Showing it is easy - show x with visual effect scroll up very
>> fast.  When I want to hide it though, hide x with visual effect scroll down
>> very fast instead shows the underlying card moving, not the group that
>> represents the dialog.  I could write a loop to physically move the dialog,


___
use-livecode mailing list
use-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: Distortion resizing group of vector graphics

2016-10-01 Thread Scott Rossi
The only method I've found to accomplish this is to store all original rects 
before doing any scaling, and base all size computations on the stored 
dimensions until the next resize event.  It requires a little effort, but it 
works.

Regards,

Scott Rossi
Creative Director
Tactile Media UX/UI Design

> On Oct 1, 2016, at 5:57 PM, Alejandro Tejada  wrote:
> 
> Hi All,
> 
> Download the compressed stack "ResizeLivecodeGraphicsv01.livecode"
> from this forum thread:
> http://forums.livecode.com/viewtopic.php?f=10&t=28042
> 
> Some years ago, I made this live resizing script for my stack
> PenTool http://www.capellan2000.000space.com/?i=1
> and now, I am trying to use this script for more general purposes,
> like resizing all controls of an Interface... but after repeated
> use, the script just distorts the size and position of all controls.
> In the sample stack, these controls are vector graphics, but
> could be fields, images, buttons, etc...
> 
> Could you share some ideas about how we could make this script
> mathematically more robust to resize all controls without distorting
> their size and position after repeated use?
> 
> Thanks in advance!
> 
> Alejandro
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: How to make my app keep running in the bg

2016-09-29 Thread Scott Rossi
AFAIK, you can't do this on iOS for just a timer.  I was told from someone
high up in Apple that the phone will automatically end or reset a
backgrounded app after roughly 10 minutes or so (at most).  Audio is a
different story, because Apple allows music-playing apps to run when
backgrounded, but I imagine you'd need to make use of Apple's native music
player for this to work.  I'm not sure if the native LC player qualifies
-- have you already tried backgrounding an LC app with the native player
running?

Don't expect to fool Apple by enabling a non-music-playing app to keep
itself active by playing sound.  I was told this story: Apparently several
versions back, Facebook came out with a version of their mobile app which
included a player that played silence when backgrounded, as a means to
keep itself active.  Apple discovered the behavior and slapped Facebook on
the wrist, after which Facebook claimed it was a bug that was introduced
by mistake.

It's possible the Apple has changed it policy on this over the last year
or so, but I doubt it.  Google may be more forgiving with Android.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 9/29/16, 5:16 PM, "use-livecode on behalf of William Prothero"
 wrote:

>Folks:
>I have an app that plays sounds and I don¹t want the iPhone to stop
>playing them when the phone hibernates. I also have a timer that runs and
>I don¹t want it to stop after a minute or so.
>
>So, how can I keep an app up front and running without constantly
>touching the screen?
>
>I know there is a way to do this, but how?
>Thanks,
>Bill
>
>
>
>William Prothero, Ph.D.
>University of California, Santa Barbara, Emeritus
>proth...@earthednet.org
>
>
>
>
>___
>use-livecode mailing list
>use-livecode@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode



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


Re: iOS font issue - iPhone 6 + 6S not using custom font

2016-09-26 Thread Scott Rossi
Not sure if anyone has responded to this, but yes it has been a problem
for some time.

http://quality.livecode.com/show_bug.cgi?id=16733


Custom fonts display correctly on devices, but not in certain simulators.


Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 9/22/16, 8:07 PM, "use-livecode on behalf of Alan"
 wrote:

>Has anyone else seen a custom font (imported using the Copy Files part of
>Standalone builder) not being used in iPhone 6 and 6S, but it works ok
>with anything earlier?  This is on Simulator 8.2.
>
>Strange that there's this anomaly, isn't it?
>
>Using LC 8.1.
>
>cheers
>
>Alan
>--
>Alan Stenhouse
>alanstenho...@hotmail.com
>
>Check out our apps on the App Store:
>
>BeatSpeak - the multilingual talking metronome
>EV-Point - Find your nearest Electric Vehicle Recharge Station.
>Re-Collections - Make your family history come to life. Every picture
>tells your story.
>
>
>___
>use-livecode mailing list
>use-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: Algoritm for RGB Values for Color Wheel

2016-09-12 Thread Scott Rossi
I posted a stack that creates a color wheel in a graphic using a conical
fill gradient.  You may want to adjust the colors if you need different
values.

In your message box:

go url "http://tactilemedia.com/download/colorwheel.livecode";

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 9/12/16, 7:55 AM, "use-livecode on behalf of Sannyasin
Brahmanathaswami"  wrote:

>before I go after this myself I wonder if anyone has already coded
>runtime display of the 12 segment color wheel as RGB values
>
>red (primary)
>red-orange (tertiary)
>orange (secondary
>
>etcŠ through to
>
>red-purple (tertiary)
>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: Bug or Feature - Tranparent Buttons Non-Responsive

2016-09-11 Thread Scott Rossi
The "hack" mentioned by Brahmanatha is a technique to make
clickable/draggable transparent images, it doesn't have to do with buttons
at all:
http://runtime-revolution.278305.n4.nabble.com/Grabbing-Image-with-Transpar
ent-Mask-td4699808.html#a4699809

I agree with Jacque's findings.  AFAIK, buttons have always responded
across their entire rect.  Maybe there's some odd rendering bug occurring,
but perhaps it would be good to double-check what types of objects are
being used there.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 9/11/16, 8:23 PM, "use-livecode on behalf of J. Landman Gay"
 wrote:

>On 9/11/16 9:08 PM, Sannyasin Brahmanathaswami wrote:
>>  I have adopted Scott's "hack" to make a button that works across whole
>>rect
>
>Hm, if both you and Scott needed a hack to solve a problem I've never
>seen, then I wonder what's different.
>
>I dragged a standard button to a new stack, resized it to be fairly
>large, and in the property inspector I turned off "opaque". I put a
>script into the button that just put the seconds into the msg box on
>mouseUp. It responded no matter where I clicked.
>
>Then I turned off showborder, threeD, and autohilite and it still
>responded.
>
>Then I made a new button and just chose "Transparent" from the button
>style in the inspector. That one also responded at any loc inside its
>rect.
>
>What's different in your setup?
>
>-- 
>Jacqueline Landman Gay | jac...@hyperactivesw.com
>HyperActive Software   | http://www.hyperactivesw.com
>
>___
>use-livecode mailing list
>use-livecode@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode



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


Re: "lightening" a color

2016-09-10 Thread Scott Rossi
Here's a tint function from way back.  pRGB is an RGB triplet, pValue is a
decimal percent value for the desired tint of the color.

function colorTint pRGB, pValue
   -- pRGB is RGB triplet
   -- pValue is between 0 and 1
   put pRGB into theTint
   repeat with N = 1 to 3
  put item N of pRGB into theColorItem
  put round ((1- pValue) * theColorItem + (pValue * 255)) into item N
of theTint
   end repeat
   return theTint
end colorTint




Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 9/10/16, 3:00 PM, "use-livecode on behalf of Dr. Hawkins"

wrote:

>I am adding the ability to have multiple clients open, and want to use
>colors as a cue.
>
>Is there a way to "lighten" a color.  That is (I suppose), to grab the
>numeric representation, and convert that to a much paler shade of the
>color?
>
>-- 
>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



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


Re: Set the fillGradient ....

2016-08-31 Thread Scott Rossi
Is the noGradientYet graphic opaque?


Scott Rossi
Creative Director
Tactile Media UX/UI Design

> On Aug 31, 2016, at 6:43 PM, Roger Guay  wrote:
> 
> Why does this not work?
> 
> Set the fillGradient of grc “noGradientYet" to the fillGradient of grc  
> “NiceGradient”. 
> 
> Something happens . . . indeed the object browser seems to show that they 
> have the same gradient, yet they don’t!
> 
> Probably something simple, again.
> 
> LC 8.0.2 and Mac 
> 
> 
> Thanks,
> 
> Roger
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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

Re: Get the filename of this app

2016-08-27 Thread Scott Rossi
Try "the fileName of this stack"

Regards,

Scott Rossi
Creative Director
Tactile Media UX/UI Design

> On Aug 27, 2016, at 7:31 PM, Roger Guay  wrote:
> 
> I want to get the filename of the LiveCode app I happen to be in/running. 
> “get the filename of this app” obviously does not work, but surely there must 
> be a way to do this???
> 
> Thanks,
> 
> Roger
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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

Re: IPv6 & Apple

2016-08-22 Thread Scott Rossi
Hi Charles:

The app makes database calls using the following structure.

put "198.01.234.56:1234" into tDatabaseAddress
   put "dbname_" into tDatabaseName
   put "dbuser" into tDatabaseUser
   put "dbpassword" into tDatabasePassword
   put revOpenDatabase("MySQL", tDatabaseAddress, tDatabaseName,
tDatabaseUser, tDatabasePassword) into tResult


I have ATS disabled in the standalone because we don't currently have an
HTTPS server. The error displayed in Apple's screenshot was my simple
error message stating it was unable to connect to the database.  I need to
go back now and figure out if there's some missed issue with the code.
But it concerns me if Apple is testing the app in some way that I don't
have a means to reproduce.  I'm not very knowledgable in server matters so
any advice is appreciated.


Thanks & Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 8/22/16, 8:22 PM, "use-livecode on behalf of Charles Warwick"
 wrote:

>Hi Scott,
>
>On 23/08/2016 7:07 am, Scott Rossi wrote:
>> Does anyone have any experience with this?  The backend database guy I'm
>> working with thinks this is a hosting issue (host needs to support
>>IPv6).
>> Will switching to a host that supports the new protocol allow us to
>> troubleshoot/fix this?
>
>You do not require a server that supports IPv6 to resolve the issue.
>
>Apple are only enforcing that the client app works on a device that is
>operating on a IPv6 only network, not that the app only connects to IPv6
>servers.  Your app can still connect to IPv4 networks, as the IPv6 only
>network provider will have DNS64/NAT64 translation in place for
>connecting to IPv4 networks.
>
>The problem will usually be because you are using hard-coded IPv4 IP
>addresses rather than relying on DNS to resolve any hostnames, or that
>you are using some networking component that doesn't support IPv6 in
>your app.  What sort of network calls are you making from your app, are
>they only HTTP/HTTPS?
>
>Regards,
>
>Charles
>
>
>> Thanks & Regards,
>>
>> Scott Rossi
>> Creative Director
>> Tactile Media, UX/UI Design



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


IPv6 & Apple

2016-08-22 Thread Scott Rossi
I recently received an app review response from Apple stating my app has
connection issues when connecting to a server on an IPv6 network:

"We discovered one or more bugs in your app when reviewed on iPad and
iPhone running iOS 9.3.4 on Wi-Fi connected to an IPv6 network.

Your app shows an error message upon launch and after login. Screenshot of
this issue has been attached for your reference. Please run your app on a
device while connected to an IPv6 network (all apps must support IPv6) to
identify the issue(s), then revise and resubmit your app for review."

Does anyone have any experience with this?  The backend database guy I'm
working with thinks this is a hosting issue (host needs to support IPv6).
Will switching to a host that supports the new protocol allow us to
troubleshoot/fix this?

Thanks & Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




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


Re: San Diego Conference Videos?

2016-08-19 Thread Scott Rossi
No worries, I've got plenty of shame on my head, brother :-)

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 8/19/16, 11:04 AM, "use-livecode on behalf of Mark Talluto"
 wrote:

>
>> On Aug 19, 2016, at 11:01 AM, Scott Rossi 
>>wrote:
>> 
>> Hmmm -- nothing from 2014 under my account.  Guess I'll write to
>>support.
>
>I just downloaded a few and now realize that these are not what you are
>looking for. These are based on Todds webinar.
>
>While in Scotland, I did bring this up with Heather and she told me that
>they are supposed to be there. This is the reason I jumped on this so
>quickly. I was wrong. Bowing my head in shame. Sorry about that.
>
>Best regards,
>
>Mark Talluto
>livecloud.io
>canelasoftware.com
>
>
>
>
>___
>use-livecode mailing list
>use-livecode@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode



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


Re: San Diego Conference Videos?

2016-08-19 Thread Scott Rossi
Hmmm -- nothing from 2014 under my account.  Guess I'll write to support.

Thanks & Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 8/19/16, 10:55 AM, "use-livecode on behalf of Mark Talluto"
 wrote:

>> On Aug 19, 2016, at 10:41 AM, Scott Rossi 
>>wrote:
>> 
>> Does anyone know where the session videos for the 2014 San Diego
>>LiveCode
>> conference can be found? I'm pretty sure they used to be available under
>> user accounts at LiveCode.com but I'm not seeing anything there.
>
>Hi Scott,
>
>I found in my account under:  https://livecode.com/account/webinars
>
>Best regards,
>
>Mark Talluto
>livecloud.io
>canelasoftware.com
>
>
>
>
>___
>use-livecode mailing list
>use-livecode@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode



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


San Diego Conference Videos?

2016-08-19 Thread Scott Rossi
Does anyone know where the session videos for the 2014 San Diego LiveCode
conference can be found? I'm pretty sure they used to be available under
user accounts at LiveCode.com but I'm not seeing anything there.

Thanks & Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




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


Re: ADB in El Capitan

2016-08-15 Thread Scott Rossi
Like you Jacque, I'm not positive location helps, but I have all my Android 
stuff installed in the Documents folder and it seems to work ok on El Capitan.  
I feel like I moved the files there a several versions back after repeated 
problems of getting LC to recognize the Android install location.

Regards,

Scott Rossi
Creative Director
Tactile Media UX/UI Design

> On Aug 15, 2016, at 1:41 PM, J. Landman Gay  wrote:
> 
> I don't have a toolchain folder. But I can try moving it into my user account 
> I guess. Without adb I have no logging, which is even worse than not having a 
> direct install.
> 
> Google searches say something about disabling El Capitan's SIP protection but 
> I don't want to go that far.
> 
> 
>> On 8/15/2016 3:22 PM, Monte Goulding wrote:
>> Jacque, I’m not really sure if moving it will fix it (could be something 
>> else maybe) but I’m on El Capitan and I use the location recommended for 
>> building android from source which is ~/toolchain/android-sdk and it works 
>> fine.
>> 
>> Cheers
>> 
>> Monte
>>> On 16 Aug 2016, at 4:28 AM, J. Landman Gay  wrote:
>>> 
>>> I'm unable to directly connect any Android device to ADB. Apparently there 
>>> are some issues with that in El Capitan and Apple has locked down some 
>>> system folders (but my location for the SDK isn't one of those I saw 
>>> listed.) Debugging is turned on for all devices I've tried. Is anyone able 
>>> to get this working?
>>> 
>>> I have the SDK installed in Macintosh HD/Developer/android-sdk-macosx/
>>> 
>>> Would moving it help? Testing is a real pain without an adb connection. LC 
>>> finds the SDK and is able to build apps okay but not directly to the device.
>>> 
>>> --
>>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>>> HyperActive Software   | http://www.hyperactivesw.com
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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

Re: Play m4a files on Windows 7

2016-08-13 Thread Scott Rossi
>> I'm sure you're right. I'll tell him, but he's got the final say.


FWIW: For conversion, Audacity is a decent app, but you might want to take
a look at this:

http://www.nch.com.au/switch/

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design


>



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


Re: Play m4a files on Windows 7

2016-08-13 Thread Scott Rossi
There's another factor to your advantage here, if the majority of your content 
is voice. Voice is WAY more forgiving of high compression than music, so I 
would say you're good choosing a different format rather than jumping through 
hoops trying to accommodate m4a.  Save yourself some headache.

Regards,

Scott Rossi
Creative Director
Tactile Media UX/UI Design


> On Aug 13, 2016, at 2:40 PM, J. Landman Gay  wrote:
> 
>> On 8/13/2016 3:52 PM, Peter Bogdanoff wrote:
>> I agree with Scott about the “difference in quality” issue. Probably
>> the only way people would notice a difference in audio quality would
>> be to play the files side-by-side. Even then it would be difficult
>> because of the relatively low quality of playback
>> speakers/headphones. I’ve tried it with groups of people. And people
>> really only notice bad audio when it is actually bad, not when it is
>> just not as good as pristine.
>> 
>> And there definitely are batch converters (free and $).
>> 
>> But getting some audio people to believe this may be difficult. They
>> can be a stubborn lot, especially if they come from the days of tape
>> recording when moving analog audio around really could audibly
>> degrade it.
> 
> That's it in a nutshell. But there's also the more legitimate issue that a 
> high-quality mp3 file is going to be larger than the equivalent m4a. With the 
> number of users they have repeatedly streaming the files, it'll cost them.
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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

Re: Play m4a files on Windows 7

2016-08-13 Thread Scott Rossi
Which codec pack did you try?  I was just looking at K-Lite:
https://www.codecguide.com/download_kl.htm

And how many audio files are you talking about?  What type of content?  I
have to believe conversion to another format is possible.  Get a batch
convertor and process in bulk. I spoke to my brother who has been an audio
engineer for 2 decades and he says as long as you guys keep the sampling
rates/bit depths same, you'll only be changing format, and there shouldn't
be any loss in quality.

IMHO, even if you went to 192kps MP3, that's a pretty high bit rate, and
most "normal" people (non audio engineers) aren't going to notice any
difference in quality.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 8/13/16, 12:57 PM, "use-livecode on behalf of J. Landman Gay"
 wrote:

>Yes, you're right. We're pretty much screwed then. All the universities
>have demanded that QT be removed from all site computers and our app
>depends on .m4a audio. There are too many audio files to convert to
>another format, and the audio guy refuses to do it anyway due to the
>quality degredation.
>
>We tried installing a codec pack but that didn't work either. We're in
>trouble.
>
>On 8/13/2016 2:09 PM, Peter Bogdanoff wrote:
>> I see that Ian Macphail says:
>> "We decided to overhaul the Windows player object, replacing the
>>existing Quicktime based implementation with one based on DirectShow,
>>which is fully supported on all current Windows versions.²
>> 
>>https://livecode.com/removing-quicktime-dependency-from-livecodes-player-
>>object/
>>
>> And the Microsoft page describing DirectShow¹s supported formats (a
>>rather limited list)-- .m4a is not one of them:
>> https://msdn.microsoft.com/en-us/library/ms787745(VS.85).aspx
>>
>> I¹m very interested in this subject, especially when LC gets callbacks
>>working.
>>
>> Peter Bogdanoff
>> UCLA
>>
>>
>> On Aug 13, 2016, at 11:51 AM, J. Landman Gay 
>>wrote:
>>
>>> On 8/9/2016 4:58 PM, J. Landman Gay wrote:
>>>> On 8/9/2016 4:26 PM, J. Landman Gay wrote:
>>>>> We need to play .m4a files on Windows 7 and up. Double-clicking one
>>>>>of
>>>>> those files plays back successfully on a Win 7 machine. Loading a
>>>>>player
>>>>> control with the URL to the file in LC on the same machine does not
>>>>>(LC
>>>>> 7.1.4).
>>>>>
>>>>> Is this fixable? Is there something users can install to make it
>>>>>work?
>>>>> Or do we need a more recent version of LC?
>>>>>
>>>>
>>>> Poking around, it looks like I have to build in LC 8.1. If that's
>>>> correct, then it's risky, it isn't stable yet. Is there any other way?
>>>>
>>>
>>> I've done some tests on  both Windows 10 and Vista using LC 8.1 but
>>>m4a files still do not play when setting the filename of a player. They
>>>do play using WMP. This is becoming an urgent issue for my client and I
>>>need to get it working quickly. Does anyone know what we need to
>>>install, or how to get this working?
>>>
>>> Is anyone else able to play .m4a files on Windows using the new player
>>>object?
>>>
>>> --
>>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>>> HyperActive Software   | http://www.hyperactivesw.com
>>>
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>>subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>>subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>
>-- 
>Jacqueline Landman Gay | jac...@hyperactivesw.com
>HyperActive Software   | http://www.hyperactivesw.com
>
>
>___
>use-livecode mailing list
>use-livecode@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode



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


Re: Refer to new group?

2016-08-02 Thread Scott Rossi
I thought I had read that the LC guys had fixed "it" to reliably refer the 
newly created group.  If this still doesn't work, another workaround is to set 
the name of the templateGroup before creating any group, so you have a 
guaranteed reference when the group is created.  I've used this option for 
years without issue.

Regards,

Scott Rossi
Creative Director
Tactile Media UX/UI Design

> On Aug 2, 2016, at 1:30 PM, Richard Gaskin  wrote:
> 
> Wilhelm Sanke wrote:
> 
> > submitted in 2009 is still pending.
> > *Bug 8275* <http://quality.livecode.com/show_bug.cgi?id=8275> -Groups:
> > Bugs and features ("last group" broken)?
> > *Status*:PENDING
> 
> Thanks, Wilhelm.  I had thought I'd seen a new engine enhancement for this, 
> but apparently I'm mistaken.
> 
> Since I can't think of a circumstance in which the IDs of the objects being 
> grouped can't be known in advance, Jeanne's suggestion appears to be the best 
> workaround available thus far.
> 
> -- 
> 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


___
use-livecode mailing list
use-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: Polygon Smoothing

2016-07-31 Thread Scott Rossi
Many years ago, Alejandro Tejada shared a demo stack for this.  Doesn't
seem to run quite right under LC7, but you might be able to update or make
use of the algorithms.

http://tactilemedia.com/download/Smooth_Polygon_Algorithms.rev.zip

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 7/30/16, 7:59 PM, "use-livecode on behalf of Roger Guay"
 wrote:

>I thought this would be easy but I need help. Anybody know a good
>algorithm for smoothing polygons?
>
>Thanks,
>
>Roger
>
>___
>use-livecode mailing list
>use-livecode@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode



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


Re: "after after" for behaviors?

2016-07-29 Thread Scott Rossi
It's hard to tell from your description how you want the final script to
be triggered.  It sounds like there are multiple handlers that can
initiate the final script, and because of that I imagine you DO need to
add a trigger command to each handler.

I was going mention the possibility chained behaviors in that you can have
a sort of parent behavior that is chained to multiple child behaviors, but
this still operates the same as the standard message path: anything not
handled in the child behavior is passed along to the parent.  So to
initiate some action that that is supposed occur at the end of handler,
you need to trigger it at that point, either using a command or "pass".

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 7/29/16, 1:13 PM, "use-livecode on behalf of Dr. Hawkins"

wrote:

>*bump*
>
>any ideas, anyone?
>
>On Sat, Jul 23, 2016 at 11:05 AM, Dr. Hawkins  wrote:
>
>>
>> I am trying to implement a generalized behavior that triggers after the
>> entire execution path, rather than after the immediate script, but
>>before
>> the next script in the path.
>>
>> Actually, having control return to a handler after "pass someHandler"
>> would also solve my issues.
>>
>> A control might be clicked on, or text entered in a field, and so forth,
>> that triggers handlers that set values and dependent values.
>>
>> I would like a group that owns such controls to be able to take actions
>> *after* all such calculations.
>>
>> So if someone enters "foo" in field "bar", the closeField handler
>> currently figures out what to do with that value, and anything that
>> depends.  Similarly if I click on my custom checkboxes, the mouse
>>handler
>> does similar calculations.
>>
>> I want another handler to run *after* all such things--but if I have an
>> "after closeField" in the behavior, it simply runs after closeField, but
>> before closeFIeld gets passed.  And as near as I can tell, even without
>>a
>> closeField handler for the object or group, the after closeField still
>>gets
>> called prior to working its way up.
>>
>> Is there a solution other than what would be ugly hacks at the end of my
>> closeField and mouseUp handlers?   (they would be ugly because it would
>>be
>> properties of the group that need to be accessed, and the control could
>>be
>> a child, grandchild, etc. of the actual group [which is why I want the
>> behavior to belong to the group]).
>>
>> The "least ugly" idea I have so far is something like concluding the
>> universal closeField with "send aftrClsFld to the target"
>> --
>> Dr. Richard E. Hawkins, Esq.
>> (702) 508-8462
>>
>
>
>
>-- 
>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



___
use-livecode mailing list
use-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: Slip, sliding away

2016-07-25 Thread Scott Rossi
This should do what you want, in the script of the group (set the margins
of the group to 0):


local scrollX, clickX, allowDrag

on mouseDown
   put hScroll of me into scrollX
   put mouseH() into clickX
   put true into allowDrag
end mouseDown

on mouseMove X,Y
   if not allowDrag then exit mouseMove
   set hScroll of me to scrollX + (clickX - X)
end mouseMove

on mouseUp
   put false into allowDrag
end mouseUp

on mouseRelease
   put false into allowDrag
end mouseRelease



Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 7/25/16, 2:32 AM, "use-livecode on behalf of Richmond"
 wrote:

>I made a lng rectangular image (3 times wider than my stack) and
>grouped it
>
>into a group the width of my stack and gave it a horizontal scrollbar;
>so I can scroll the image
>
>laterally using the scrollbar . . . surprise, surprise; and jolly s*xy
>it looks too.
>
>I would look even s*xier if it had NO scrollbar and I could do some sort
>of
>
>'constrained grab'/scroll by doing a mouseDown & horizontal drag on the
>image within the group.
>
>
>Does anyone know how to do this.
>
>Just to stimulate interest, the reason is that I want to do this sort of
>thing
>
>in Livecode: http://www.stefanv.com/calculators/aristo970/index.html
>
>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


Re: UN-FullScreen a Stack?

2016-07-22 Thread Scott Rossi
Thanks, good to know.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 7/22/16, 3:29 PM, "use-livecode on behalf of Monte Goulding"

wrote:

>Here it is http://quality.livecode.com/show_bug.cgi?id=16946
>
>Sent from my iPhone
>
>> On 23 Jul 2016, at 8:19 AM, Monte Goulding  wrote:
>> 
>> I have a bug report open about this. Apple decided to just change the
>>way windows worked in 10.11 and this has caused a number of issues we
>>need to resolve. For the moment you can't script a way out of fullscreen
>>mode so you need to use the widget again at the top of the screen.
>> 
>> Cheers
>> 
>> Monte
>> 
>> Sent from my iPhone
>> 
>>> On 23 Jul 2016, at 8:05 AM, Scott Rossi  wrote:
>>> 
>>> OK, on OS X 10.11 I decided to see what happens when maximizing a
>>>stack.
>>> The window went fullscreen and my script for repositioning controls
>>>works
>>> great, but now the display is stuck in fullscreen mode.  How do I get
>>>the
>>> view back to multi-window view?  Setting the width/height of the stack
>>> resizes the stack but leaves a black OS backdrop in place and the
>>>display
>>> remains set the fullscreen mode.  What's the command to un-fullscreen a
>>> stack?
>>> 
>>> Thanks & Regards,
>>> 
>>> Scott Rossi
>>> Creative Director
>>> Tactile Media, UX/UI Design
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>>



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


Re: UN-FullScreen a Stack?

2016-07-22 Thread Scott Rossi
I eventually figured out the stack's decorations were hidden behind the
LiveCode toolbar (and the green button was changed to grey an OS version
or two back).

But I'm still wondering if there's a command to exit the OS's fullscreen
mode without making the menubar visible, like how most apps employ the
escape key.

Thanks & Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 7/22/16, 3:16 PM, "use-livecode on behalf of Colin Holgate"
 wrote:

>You mouse over the top of the screen, and the menu and titlebar will
>appear. Then click the green button to come out of full screen mode. Same
>thing works for all other Mac windows.
>
>> On Jul 22, 2016, at 6:05 PM, Scott Rossi  wrote:
>> 
>> OK, on OS X 10.11 I decided to see what happens when maximizing a stack.
>> The window went fullscreen and my script for repositioning controls
>>works
>> great, but now the display is stuck in fullscreen mode.  How do I get
>>the
>> view back to multi-window view?  Setting the width/height of the stack
>> resizes the stack but leaves a black OS backdrop in place and the
>>display
>> remains set the fullscreen mode.  What's the command to un-fullscreen a
>> stack?
>> 
>> Thanks & Regards,
>> 
>> Scott Rossi
>> Creative Director
>> Tactile Media, UX/UI Design
>> 
>> 
>> 
>> 
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>>subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
>___
>use-livecode mailing list
>use-livecode@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode



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


Re: UN-FullScreen a Stack?

2016-07-22 Thread Scott Rossi
When the stack is maximized using the window decorations, setting the
fullscreen to false doesn't revert the stack back to its original
dimensions unless the fullScreen was enabled to begin with.  But manually
setting the stack's dimensions can resize/reposition it.

Thanks & Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 7/22/16, 3:16 PM, "use-livecode on behalf of Colin Holgate"
 wrote:

>You mouse over the top of the screen, and the menu and titlebar will
>appear. Then click the green button to come out of full screen mode. Same
>thing works for all other Mac windows.
>
>> On Jul 22, 2016, at 6:05 PM, Scott Rossi  wrote:
>> 
>> OK, on OS X 10.11 I decided to see what happens when maximizing a stack.
>> The window went fullscreen and my script for repositioning controls
>>works
>> great, but now the display is stuck in fullscreen mode.  How do I get
>>the
>> view back to multi-window view?  Setting the width/height of the stack
>> resizes the stack but leaves a black OS backdrop in place and the
>>display
>> remains set the fullscreen mode.  What's the command to un-fullscreen a
>> stack?
>> 
>> Thanks & Regards,
>> 
>> Scott Rossi
>> Creative Director
>> Tactile Media, UX/UI Design
>> 
>> 
>> 
>> 
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>>subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
>___
>use-livecode mailing list
>use-livecode@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode



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


UN-FullScreen a Stack?

2016-07-22 Thread Scott Rossi
OK, on OS X 10.11 I decided to see what happens when maximizing a stack.
The window went fullscreen and my script for repositioning controls works
great, but now the display is stuck in fullscreen mode.  How do I get the
view back to multi-window view?  Setting the width/height of the stack
resizes the stack but leaves a black OS backdrop in place and the display
remains set the fullscreen mode.  What's the command to un-fullscreen a
stack?

Thanks & Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design






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


Re: Backspace unrecoverably deletes an object ....

2016-07-21 Thread Scott Rossi
I haven't paid close attention to this thread -- has anybody determined
what actions trigger the non-responsiveness? I seem to be dealing with
this exact issue in 7.1.4.  Do a couple of updates in the stack, the
window becomes unresponsive.  Drag the window a few pixels or click in the
menubar, and controls become responsive again.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 7/21/16, 11:46 AM, "use-livecode on behalf of Mark Talluto"
 wrote:

>> On Jul 21, 2016, at 11:25 AM, Mike Kerner 
>>wrote:
>> 
>> I'll be happy to get the unresponsive window regression resolved :-)
>> 
>> On Wed, Jul 20, 2016 at 6:44 PM, Monte Goulding 
>>wrote:
>> 
>>> Yes it does
>>> 
>>> Sent from my iPhone
>>> 
>>>> On 21 Jul 2016, at 8:36 AM, Devin Asay  wrote:
>>>> 
>>>> Do you know whether that regression shows up in 8.1.0 dp2?
>>> 
>
>I have learned that if you move the unresponsive window a little by its
>title bar, it responds again. Clearly this bug needs to be fixed, but
>this is the workaround I am using in development. Will have to wait for
>the bug to be fixed before shipping anything.
>
>Best regards,
>
>Mark Talluto
>livecloud.io
>canelasoftware.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: Detect Return From Mobile Keyboard Without Native Field?

2016-07-14 Thread Scott Rossi


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

>Scott Rossi wrote:
>
> > Thanks for checking Richard. How did you do your test?
>
>I had the target field trap returnInField and display its text in a
>second field.

Worth a try, but the second field remains empty.


>
>
> > Using a Nexus 5X here, so recent hardware.  I place a standard
> > LiveCode field a card (nothing native), and in the card script:
> >
> > on returnInField
> >answer millisecs()
> > end returnInField
> >
> > When I press characters on the mobile keyboard, they appear in the
> > field, but when I press return, the cursor moves in the field but
> > nothing else happens.
>
>Did you include the Answer Dialog in the build?

Not sure about your setup, but here, both Ask and Answer are default
inclusions in Standalone Settings.  Just for fun I enabled the manual
"Select inclusions..." but the lack of result was the same.


>
> > To answer your question, focus has always been an issue for me on
> > Android.
> >  I need to track characters and jump between multiple fields of a long
> > registration key, which works as expected on iOS but unfortunately
> > not on Android.  The use of standard LC fields is a workaround.
>
>You may want to go back to Plan A with a mobile-native field.  With an
>LC field we have no copy-and-paste, and the text selection behaviors are
>just so non-mobile that it's likely to frighten and confuse users.

Well, native fields have been finicky for me on Android (and still are).
Apparently unless native fields exceed a certain height dimension, they
briefly show scrollbars when focused, even single line fields.  Focus
(perhaps only in my case) has been unreliable, and with the reg code I
need to manage, the inability to auto-jump between fields is more likely
to confuse users than the lack of cut and paste, so I'm not really
concerned there.


>
>I've had pretty good luck with focus in my Android builds, across a
>fairly wide range of devices (it's become a running gag in my house
>every time I come home with another cheap tablet to test on).
>
>What issues were you having with that?

The issues are what I described above.  I may have gone about it
ineffectively but I need to manage the entry of a reg code across 4
fields, such that:

- After 4 characters are entered one a field, focus automatically jumps to
the next field without the user having to do anything, and without the
keyboard auto-removing itself

- Text characters are automatically converted to caps

- Pressing return triggers submission


As I mentioned, all is working fine on iOS, so I'd like to think it's
possible either with standard or native fields.


Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design






>
>-- 
>  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: Detect Return From Mobile Keyboard Without Native Field?

2016-07-14 Thread Scott Rossi
Thanks for checking Richard. How did you do your test?

Using a Nexus 5X here, so recent hardware.  I place a standard LiveCode
field a card (nothing native), and in the card script:

on returnInField
   answer millisecs()
end returnInField

When I press characters on the mobile keyboard, they appear in the field,
but when I press return, the cursor moves in the field but nothing else
happens.  The result is the same in both LC 7.1.4 and 8.0.1.  I must be
missing something?

To answer your question, focus has always been an issue for me on Android.
 I need to track characters and jump between multiple fields of a long
registration key, which works as expected on iOS but unfortunately not on
Android.  The use of standard LC fields is a workaround.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




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

>Scott Rossi wrote:
>
> > On Android...  I have values in some standard fields (not native)
> > that I need to send to a handler.  How can I trap the return key
> > event on the mobile keyboard without having focus on a native field?
> >  Neither inputReturnKey or returnInField appears to get triggered.
>
>Testing here, the returnInField message goes to the target field as
>expected.
>
>Does your LC field have focus at that time?  If not try trapping
>returnKey in the card script (though that raises the question, how does
>one bring up the keyboard without an editable field having focus?).
>
>Also, just curious: given the difficulty of emulating mobile text
>editing conventions in LC fields, why not use a mobile-native field there?
>
>-- 
>  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



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


Detect Return From Mobile Keyboard Without Native Field?

2016-07-14 Thread Scott Rossi
On Android...  I have values in some standard fields (not native) that I
need to send to a handler.  How can I trap the return key event on the
mobile keyboard without having focus on a native field?  Neither
inputReturnKey or returnInField appears to get triggered.

Thanks for any suggestions.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design



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


Re: Getting the immediate "parent" group of an object

2016-07-07 Thread Scott Rossi
Wouldn't "owner" work for this?

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 7/7/16, 2:50 PM, "use-livecode on behalf of Sannyasin Brahmanathaswami"

wrote:

>If you don't want to enter mouseup handlers all over the UI, the usual
>means is to trap for the target in the card script or stack script.
>
>is there a way to get the immediate "parent" group of a group object?
>In case like this I have a number of "portal-link-label" as the subgroups
>are all made from a template.
>
>but the group name itself is unique
>
>group "home-read"
>
>so the long name of the target is:
>
>field "portal-link-label" of group "home_read" of group "portal-links" of
>card "home" of stack
>"/Users/Brahmanathaswami/Documents/App-Development/SivaSivaAppWorking/_Siv
>aSource/source/modules/home/home.livecode"
>
>So  then you have to so some parsing magic  to determine which is the
>send level group.. from this long string. Is there an easier way?
>
>It would be sweet if we could do something like
>
>get the parent group of the target
>
>where "parent" was the name of the group the object was in.
>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: Get fillGradient props

2016-07-07 Thread Scott Rossi
I've always thought lowercase "L" is a poor choice to prefix a variable
name.  Is it an L? It is a capital i? Is it a pipe?

But that's just me.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 7/7/16, 2:46 PM, "use-livecode on behalf of Sannyasin Brahmanathaswami"

wrote:

>SheeshŠ I gotta stick to conventions better.
>
>I think I like jacque's using "s" as the being character for script local
>variable.
>
>"l" for "local" just disappeared or looks like a "t"
>
>
>sCurrentObjectProperties is better
>
>
>
>From: use-livecode  on behalf of
>Scott Rossi 
>Reply-To: How LiveCode 
>Date: Thursday, July 7, 2016 at 11:41 AM
>To: How LiveCode 
>Subject: Re: Get fillGradient props
>
>You have a typo in your variable name lCurrentObjectProperties when you
>put the keys but it looks like things should still work.
>
>This works here with a test graphic:
>
>on mouseUp
>   put the fillGradient of graphic 1 into theCurrentObjectProperties
>___
>



___
use-livecode mailing list
use-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: Get fillGradient props

2016-07-07 Thread Scott Rossi
You have a typo in your variable name lCurrentObjectProperties when you
put the keys but it looks like things should still work.

This works here with a test graphic:

on mouseUp
   put the fillGradient of graphic 1 into theCurrentObjectProperties
   repeat for each key x in theCurrentObjectProperties
  put x & " | " & theCurrentObjectProperties[x] & cr after
theCheckProperties
   end repeat
   put theCheckProperties
end mouseUp




Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 7/7/16, 1:27 PM, "use-livecode on behalf of Sannyasin Brahmanathaswami"

wrote:

>Goal: get an explicit list of gradient properties from an object.
>
>
>command getGradientProps
>
>set the defaultstack to the topstack
>
>put the fillGradient of graphic "portal-title-bkgnd" into
>lCurrentObjectProperties
>
>put the keys of tCurrentObjectProperties
>
>repeat for each key x in lCurrentObjectProperties
>
>put x & " | " & lCurrentObjectProperties[x] & cr after tCheckProperties
>
>end repeat
>
>put tCheckProperties
>
>end getGradientProps
>
>No matter how I try, I cannot fetch the keys of the gradientŠ the
>dictionary does not indicated that we cannot read this array
>
>any ideas?
>
>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: quirk in group resize behavior

2016-06-21 Thread Scott Rossi
ControlGravity was the first property name that came into my mind, but
it's not really accurate.  In my view, this implies that controls
physically move to the designated edge of the group (as an icon does in a
button with iconGravity -- why this property wasn't named iconAlignment is
beyond me).

Terms that are similar to "anchor", "referencePoint" or "origin" would
seem to make more sense.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 6/21/16, 1:42 PM, "use-livecode on behalf of Monte Goulding"

wrote:

>Hmm... I suspect we don't have resources to do this right now but I'd be
>interested to discuss how it might work. So I presume what we mean by
>this is we have 5 options:
>
>- topLeft - controls only move with the topLeft
>- topRight - controls only move with the topRight
>- bottomLeft - controls only move with the bottomLeft
>- bottomRight - controls only move with the bottomRight
>- center - controls only move if the center changes and move in the
>direction of the change
>- empty - current behavior
>
>BTW I like controlGravity for this. I also think this behavior should be
>the same if resizing by selection handles or script if set.
>
>Sent from my iPhone
>
>> On 22 Jun 2016, at 12:09 AM, Richard Gaskin
>> wrote:
>> 
>> By allowing corners other than topLeft this property can conceivably be
>>even more useful, far beyond the current use case.
>
>
>___
>use-livecode mailing list
>use-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: Windows 10 script editor problem

2016-06-16 Thread Scott Rossi
The script editor in v7 also seems to suffer from display issues.  Once
I've ruled out blendLevel and position, the only way I've been able to get
it to reappear is issue "close stack 

Re: Windows 10 script editor problem

2016-06-16 Thread Scott Rossi
Did you try checking the editor window's location or topLeft and verifying
that it's within the screenRect?

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 6/16/16, 12:10 PM, "use-livecode on behalf of Devin Asay"

wrote:

>Hi all,
>
>I have a student who is trying to run 8.1.0DP1 on her Windows 10 laptop.
>It installs and launches, and she can open a stack, but when she tries to
>open a script editor window, it does not appear. There is a tab for it on
>the task bar, but clicking on the tab doesn¹t bring up the editor window.
>It¹s almost like it¹s invisible or off screen somewhere. I tried showing
>IDE windows in the View menu, and I can see it in the Project Manager
>list, but again, it won¹t appear on the screen. Setting the visibility to
>true doesn¹t help, neither does setting the loc to somewhere on screen.
>
>Has anybody run into this with LC 8? Maybe there¹s something about
>Windows 10 I don¹t get, like some sort of virtual desktop, ³Spaces² thing.
>
>Any ideas appreciated.
>
>Devin
>
>Devin Asay
>Learn to code with LiveCode University
>https://livecode.com/store/education/
>
>
>
>
>___
>use-livecode mailing list
>use-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: strange experience in Windows standalone with windowshape

2016-06-14 Thread Scott Rossi
On 6/14/16, 1:20 PM, "use-livecode on behalf of Klaus major-k"

wrote:


>Hi Dra,
>
>> Am 14.06.2016 um 22:13 schrieb Dar Scott :
>> 
>> Now that is goofy.  Why would that work and Scott's not?
>
>well, that's a rhetorical question, right? ;-)
>
>I added an appropriate comment to the bug report!
>
>> Did you remember the "in 5 seconds" for his?
>
>From the card script:
>...   
>send "go next" to me in 5 secs
># wait 5 seconds with messages
># go to next card
>...
>OK? 8-)


Klaus:

This is the part you missed:

send "goNextCard" to me in 5 seconds

command goNextCard
   go next cd
end goNextCard



Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design



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


Re: strange experience in Windows standalone with windowshape

2016-06-14 Thread Scott Rossi
Hi Klaus:

I may not have seen all your responses, but did you try adding "with
messages" to your code or delaying the card advance using "end in"?

wait 5 secs with messages

Or:

send "goNextCard" to me in 5 seconds

command goNextCard
   go next cd
end goNextCard


Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 6/14/16, 6:56 AM, "use-livecode on behalf of Klaus major-k"

wrote:

>Hi all,
>
>i have a stack with a "splash" screen which has an windowshape set.
>
>I has a script like this:
>on opencard
>  wait 5 secs
>  go next cd
>end opencard
>
>In a standalone on a Mac, everything works as exspected, on Windows
>I see NOTHING for 5 secs and then second card of this stack appear and
>the stack HAS the windowshape set!?
>
>Now if I remove the windowshape (set to 0 again), everything works as
>advertised!?
>LC 8.01, Windows 7. Works also fine in the IDE!
>
>Anyone else seen this?
>
>
>Best
>
>Klaus
>--
>Klaus Major
>http://www.major-k.de
>kl...@major-k.de
>
>
>___
>use-livecode mailing list
>use-livecode@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode



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


Re: Card SnapShot from Negative Rect?

2016-06-07 Thread Scott Rossi
Hi Jim:

LC is unable to capture from the card when the target rect contains
negative values.  But apparently capturing from an object works.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 6/6/16, 5:45 PM, "use-livecode on behalf of Jim Lambert"
 wrote:

>>Scott Rossi wrote
>>> I'm trying to snapshot the card because I want
>>> to capture multiple objects/groups that are present in a designated
>>>rect,
>
>Import snapshot from this card
>then
>Crop the last image to somerect
>
>where somerect is your ³designated rect²
>
>will that give you what you want without grouping and ungrouping a bunch
>of objects?
>
>Jim Lambert
>___
>use-livecode mailing list
>use-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: Card SnapShot from Negative Rect?

2016-06-06 Thread Scott Rossi
Another possible option -- thanks Bernd :-)

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 6/6/16, 1:31 PM, "use-livecode on behalf of BNig"
 wrote:

>Scott,
>
>I don't know of any way to designate multiple objects for one snapshot.
>
>Maybe instead of rearranging the objects then relayer etc. you could make
>multiple snapshots that you place relative to each other in a temporary
>(invisible) group and then snapshot the group? You could probably even use
>the rects of the objects for placing the images of the objects. Since for
>your final snapshot negative rects would not matter.
>
>Of course this is not as fast as one snapshot but saves you from
>rearranging.
>
>(not tested)
>
>Kind regards
>Bernd
>
>
>Scott Rossi wrote
>> I'm trying to snapshot the card because I want
>> to capture multiple objects/groups that are present in a designated
>>rect,
>> along with the card background pattern (where theRect includes negative
>> values).
>> 
>> export snapshot from rect theRect of this cd at size 120,120 to img
>>"map"
>> 
>> 
>> I supposed I could ignore the card and temporarily group the controls to
>> be able to snapshot from a single object, but then I have to relayer
>> everything back to where it was originally.  This is not ideal, but
>> possible.
>> 
>> AFAIK, it's not possible to designate multiple objects for a snapshot,
>>is
>> it?
>> 
>> Regards,
>> 
>> Scott Rossi
>> Creative Director
>> Tactile Media, UX/UI Design
>> 
>> 
>> 
>> 
>> On 6/6/16, 12:42 PM, "use-livecode on behalf of BNig"
>> <
>
>> use-livecode-bounces@.runrev
>
>>  on behalf of
>
>> bernd.niggemann@
>
>> > wrote:
>> 
>>>Hi Scott,
>>>
>>>what happens if you reference the object directly:
>>>
>>>on mouseUp
>>>   export snapshot from field 1 of group 1 to tImg as png
>>>   set the text of image 1 to tImg
>>>   put the rect of field 1 of group 1
>>>end mouseUp
>>>
>>>or 
>>>
>>>on mouseUp
>>>   import snapshot from field 1 of group 1
>>>   put the rect of field 1 of group 1
>>>end mouseUp
>>>
>>>the rect of field 1 being 327,-125,577,-69
>>>
>>>both work for me in LC 7.1.4. Both retain transparency.
>>>
>>>Kind regards
>>>Bernd
>>>
>>>
>>>Scott Rossi wrote
>>>> Anyone know how to snapshot a rect location of a card that includes
>>>> negative values?
>>>> 
>>>> In LC 7.1.3, I have an object in a group that's scrolled out of view,
>>>> resulting in the object's rect having negative values.  I want to
>>>>snapshot
>>>> the object, but I'm unable to snapshot any part of the card outside
>>>>the
>>>> card's rect (where the rect contains values less than zero).  I know
>>>>it's
>>>> possible to snapshot an offscreen stack, but can't seem to do this
>>>>with
>>>>an
>>>> offscreen object on a card.
>>>> 
>>>> Any option for this besides locking the screen and moving the object
>>>>to
>>>>a
>>>> visible location?
>>>> 
>>>> Thanks,
>>>> 
>>>> Scott Rossi
>>>
>>>
>>>
>>>
>>>
>>>--
>>>View this message in context:
>>>http://runtime-revolution.278305.n4.nabble.com/Card-SnapShot-from-Negati
>>>ve
>>>-Rect-tp4705458p4705459.html
>>>Sent from the Revolution - User mailing list archive at Nabble.com.
>>>
>>>___
>>>use-livecode mailing list
>>>
>
>> use-livecode@.runrev
>
>>>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@.runrev
>
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
>
>
>
>--
>View this message in context:
>http://runtime-revolution.278305.n4.nabble.com/Card-SnapShot-from-Negative
>-Rect-tp4705458p4705463.html
>Sent from the Revolution - User mailing list archive at Nabble.com.
>
>___
>use-livecode mailing list
>use-livecode@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode



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


Re: Card SnapShot from Negative Rect?

2016-06-06 Thread Scott Rossi
Thanks for the idea Bernd.  I'm trying to snapshot the card because I want
to capture multiple objects/groups that are present in a designated rect,
along with the card background pattern (where theRect includes negative
values).

export snapshot from rect theRect of this cd at size 120,120 to img "map"


I supposed I could ignore the card and temporarily group the controls to
be able to snapshot from a single object, but then I have to relayer
everything back to where it was originally.  This is not ideal, but
possible.

AFAIK, it's not possible to designate multiple objects for a snapshot, is
it?

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 6/6/16, 12:42 PM, "use-livecode on behalf of BNig"
 wrote:

>Hi Scott,
>
>what happens if you reference the object directly:
>
>on mouseUp
>   export snapshot from field 1 of group 1 to tImg as png
>   set the text of image 1 to tImg
>   put the rect of field 1 of group 1
>end mouseUp
>
>or 
>
>on mouseUp
>   import snapshot from field 1 of group 1
>   put the rect of field 1 of group 1
>end mouseUp
>
>the rect of field 1 being 327,-125,577,-69
>
>both work for me in LC 7.1.4. Both retain transparency.
>
>Kind regards
>Bernd
>
>
>Scott Rossi wrote
>> Anyone know how to snapshot a rect location of a card that includes
>> negative values?
>> 
>> In LC 7.1.3, I have an object in a group that's scrolled out of view,
>> resulting in the object's rect having negative values.  I want to
>>snapshot
>> the object, but I'm unable to snapshot any part of the card outside the
>> card's rect (where the rect contains values less than zero).  I know
>>it's
>> possible to snapshot an offscreen stack, but can't seem to do this with
>>an
>> offscreen object on a card.
>> 
>> Any option for this besides locking the screen and moving the object to
>>a
>> visible location?
>> 
>> Thanks,
>> 
>> Scott Rossi
>
>
>
>
>
>--
>View this message in context:
>http://runtime-revolution.278305.n4.nabble.com/Card-SnapShot-from-Negative
>-Rect-tp4705458p4705459.html
>Sent from the Revolution - User mailing list archive at Nabble.com.
>
>___
>use-livecode mailing list
>use-livecode@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode



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


Card SnapShot from Negative Rect?

2016-06-06 Thread Scott Rossi
Anyone know how to snapshot a rect location of a card that includes
negative values?

In LC 7.1.3, I have an object in a group that's scrolled out of view,
resulting in the object's rect having negative values.  I want to snapshot
the object, but I'm unable to snapshot any part of the card outside the
card's rect (where the rect contains values less than zero).  I know it's
possible to snapshot an offscreen stack, but can't seem to do this with an
offscreen object on a card.

Any option for this besides locking the screen and moving the object to a
visible location?

Thanks,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design



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


Re: Odd native scroller issue on iOS

2016-05-18 Thread Scott Rossi
Try setting the vScroll of the scroller to itself (its current value) upon
opening the card or after creating the scroller.  Goofy, yes, but doing so
may solve the problem.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 5/18/16, 9:11 PM, "use-livecode on behalf of Terry Judd"
 wrote:

>I¹m having an issue with a native scroller on iOS. It¹s used to scroll a
>group of expanding and contracting form elements that each contain a
>number of Œon/off¹ buttons. It all works well enough (with the
>contentRect of the scroller being adjusted each time an element is
>expanded or contracted) except under certain circumstances, where some of
>the elements (typically above a particular point in the form) become
>unresponsive to mouse/touch events. The only way to get things happening
>again is to Œjiggle¹ the scroller with your finger.
>
>The problem is definitely related to the native scroller because if I
>turn it off and resort to a LC scroller it never happens. With the
>scroller on, the contentRect always appears to report the correct
>dimensions but even though it (contentRect) doesn¹t include a strip down
>the side of the screen where the controls for toggling the elements are
>located these are still affected when the problem occurs. Controls that
>are above the contentRect area (i.e. nearer the top of the screen) are
>never affected.
>
>Before I file a bug report, has anyone seen anything similar or have any
>suggestions for working around the problem. I feel like I¹ve tried
>everything up to this point but maybe not.
>
>Terry
>
>Terry Judd  | Senior Lecturer in Medical Education
>Department of Medical
>Education<http://medicine.unimelb.edu.au/medical-education>
>The University of Melbourne<http://www.unimelb.edu.au>
>M: 0435 961 594  |  E:
>terry.j...@unimelb.edu.au<mailto:t...@unimelb.edu.au>
>Publications<https://scholar.google.com.au/citations?user=XC5s6wwJ&hl=
>en>
>___
>use-livecode mailing list
>use-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: Daft "text Editor" question

2016-05-18 Thread Scott Rossi
If you look at the Find and Replace... option in the Edit menu, you'll see
you can do replace actions throughout a stack by changing the "In" option
to "This stack and its stack files".

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 5/18/16, 10:05 AM, "use-livecode on behalf of RM"
 wrote:

>So am really wondering how to go about this.
>
>In a perfect world (bloody silly thing to say really, as a "perfect
>world" is just some sort of delusion) I would be able to
>open the whole stack in some sort of text editor, run, say, 50
>search-&-replace routines for multiple occurrences, save the thing,
>and reopen it in Livecode, and "Bob's yer Uncle".
>
>I wonder why Livecode is "so stuffy"?



___
use-livecode mailing list
use-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: read volume

2016-05-10 Thread Scott Rossi
I think what you're looking for is directory walking (files & folders, not
file contents).

You're part of a fairly recent thread that explains this:
http://runtime-revolution.278305.n4.nabble.com/recursion-limit-when-creatin
g-file-list-of-harddrive-td4697952i20.html


Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 5/10/16, 12:29 PM, "use-livecode on behalf of JB"

wrote:

>I thought I had read you could read
>a volume like you read a file but it
>can not be the startup volume.
>
>I tried to read using the volume name shown
>from the volumes function and open file and
>it did not work so I used open driver and it
>did not return any data either.
>
>Is there a way to read a disk drive like you
>read a file?  If I want to read all of the data
>on a drive do I need to list all of the files and
>then read from each file instead of reading
>the drive or volume to end of file?
>
>JB
>
>___
>use-livecode mailing list
>use-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: ArrowKey Handler in LiveCode 8?

2016-05-07 Thread Scott Rossi
The arrowKey code has nothing to do with a change in language -- the lack
of arrowKey functionality in the IDE is just an oversight on the part of
LiveCode Ltd. (at least, I hope it is).

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 5/7/16, 12:24 PM, "use-livecode on behalf of RM"
 wrote:

>I am beginning to wonder exactly HOW MUCH of the language has been
>changed,
>and what justifies such change.
>
>Richmond.
>
>On 7.05.2016 21:56, Scott Rossi wrote:
>> If you want to recreate the behavior of previous versions of LC, you can
>> do something like this:
>>
>> on arrowKey theKey
>> if the selObj is empty then pass arrowKey
>> put loc of the selObj into theLoc
>> put 1 into D
>> if the shiftkey is down then multiply D by 10
>> switch theKey
>> case "left"
>> subtract D from item 1 of theLoc
>> break
>> case "right"
>> add D to item 1 of theLoc
>> break
>> case "up"
>> subtract D from item 2 of theLoc
>> break
>> case "down"
>> add D to item 2 of theLoc
>> end switch
>> set loc of the selObj to theLoc
>> end arrowKey
>>
>>
>>
>> Regards,
>>
>> Scott Rossi
>> Creative Director
>> Tactile Media, UX/UI Design
>>
>>
>>
>>
>>> On 7.05.2016 01:07, JOHN PATTEN wrote:
>>>> Hi All,
>>>>
>>>> I was going to use the arrow keys to move an object, something like
>>>> what Devin wrote up a while ago:
>>>>
>>>> on arrowKey pWhich
>>>> # determine some way to designate which object is to be nudged
>>>> put the long id of btn "test" into tSelObj # for example
>>>> switch pWhich
>>>>   case "left"
>>>> put -1 into tXamount
>>>> put 0 into tYamount
>>>> break
>>>>   case "up"
>>>> put 0 into tXamount
>>>> put -1 into tYamount
>>>> break
>>>>   case "right"
>>>> put 1 into tXamount
>>>> put 0 into tYamount
>>>> break
>>>>   case "down"
>>>> put 0 into tXamount
>>>> put 1 into tYamount
>>>> break
>>>> end switch
>>>> move tSelObj relative tXamount,tYamount
>>>> end arrowKey
>>>> Šand after a few tests in LiveCode 8, I can¹t get anything to budge
>>>> with the arrowkeys? I opened the same stack in LiveCode 7.06 and it
>>>> works fine. Something change or is this a bug in 8?
>>>>
>>>> Thank you!



___
use-livecode mailing list
use-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: ArrowKey Handler in LiveCode 8?

2016-05-07 Thread Scott Rossi
If you want to recreate the behavior of previous versions of LC, you can
do something like this:

on arrowKey theKey
   if the selObj is empty then pass arrowKey
   put loc of the selObj into theLoc
   put 1 into D
   if the shiftkey is down then multiply D by 10
   switch theKey
   case "left"
   subtract D from item 1 of theLoc
   break
   case "right"
   add D to item 1 of theLoc
   break
   case "up"
   subtract D from item 2 of theLoc
   break
   case "down"
   add D to item 2 of theLoc
   end switch
   set loc of the selObj to theLoc
end arrowKey



Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




>
>On 7.05.2016 01:07, JOHN PATTEN wrote:
>> Hi All,
>>
>> I was going to use the arrow keys to move an object, something like
>>what Devin wrote up a while ago:
>>
>> on arrowKey pWhich
>># determine some way to designate which object is to be nudged
>>put the long id of btn "test" into tSelObj # for example
>>switch pWhich
>>  case "left"
>>put -1 into tXamount
>>put 0 into tYamount
>>break
>>  case "up"
>>put 0 into tXamount
>>put -1 into tYamount
>>break
>>  case "right"
>>put 1 into tXamount
>>put 0 into tYamount
>>break
>>  case "down"
>>put 0 into tXamount
>>put 1 into tYamount
>>break
>>end switch
>>move tSelObj relative tXamount,tYamount
>> end arrowKey
>> Šand after a few tests in LiveCode 8, I can¹t get anything to budge
>>with the arrowkeys? I opened the same stack in LiveCode 7.06 and it
>>works fine. Something change or is this a bug in 8?
>>
>> Thank you!



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


Re: 8.0--huh???

2016-05-06 Thread Scott Rossi
In v8, the default background of new stacks appears to be light grey.  So
you can either set the backColor of your stack to (am guessing) white, or
you can try setting the theme of your stack to "legacy", which has the
added benefit displaying text with the same sizing/spacing as v7, if you
need that.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 5/6/16, 10:21 AM, "use-livecode on behalf of Dr. Hawkins"

wrote:

>I just opened my project in 8.0.
>
>I'll give it that it caught a syntax error in a switch that had been there
>for ages.
>
>It's changed the background color of my stacks--or is this a new default.
>
>It also seems to handle margins differently (and I'll grant that the
>behavior / consistency of such in prior versions can best be described as
>"psychotic" and "inconsistent").
>
>Are there any other landmines awaiting me?
>
>And is there anything similar to the application browser, or is there a
>way
>to use the application browser instead of the multi-fold project browser?
>
>-- 
>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



___
use-livecode mailing list
use-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: Adding existing object to group?

2016-05-02 Thread Scott Rossi
Have you already tried cutting and pasting your objects?

If not...  Copy the object you want to be in the group.  Select the group,
click the Edit Group button on the toolbar to start editing the group, and
paste the object.  It will now be part of your group. While editing any
group, you can select nested groups to edit those as well.


Or, using the message box...

If you want to create a new object in an existing group:

  create  in group "xyz"

If you want to copy an already existing object to a group:

  copy  to group "xyz"


Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 5/2/16, 3:21 PM, "use-livecode on behalf of William Prothero"
 wrote:

>Ali:
>Work has stopped. How can I work around this bug? Is there another way to
>add a new control to a group?
>Bill
>
>> On May 2, 2016, at 3:14 PM, Ali Lloyd  wrote:
>> 
>> Hi Bill, I believe this is an instance of this bug:
>> http://quality.livecode.com/show_bug.cgi?id=17256
>> 
>> The fix for this is awaiting merge.
>> https://github.com/livecode/livecode-ide/pull/1154
>> 
>> On Mon, May 2, 2016 at 10:46 PM William Prothero
>>
>> wrote:
>> 
>>> I think the problem occurs when there is a group within a group. I
>>>have a
>>> group (topgroup), which contains a datagrid group (dgGroup). The
>>>project
>>> browser can¹t move an object that is outside of any group, into
>>>³topGroup²
>>> group. With a bunch of agony and messing around, I got it to work, but
>>>it¹s
>>> not transparent.
>>> Bill
>>> 
>>>> On May 2, 2016, at 2:26 PM, William Prothero 
>>> wrote:
>>>> 
>>>> Folks:
>>>> Puzzling over this. LC RC1. OSX El Capitan.
>>>> 
>>>> I¹m trying to add an existing object to a group. In the project
>>>>browser,
>>> I drag the object to the group listing and it disappears. When I did
>>>Apple
>>> Key[, the object moved to the back, but stopped showing up in the
>>>project
>>> browser. It returns if I close the project and open it again.
>>>> 
>>>> I can¹t drag the object (in the project browser) into the group part
>>>>of
>>> the project browser.
>>>> 
>>>> So, how do I get an existing object into a group?
>>>> 
>>>> I must be missing something??
>>>> 



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


Re: How does one determine screen resolution with LiveCode?

2016-05-01 Thread Scott Rossi
I think you should be able to use the screenPixelScale and/or systemPixelScale.

Regards,

Scott Rossi
Creative Director
Tactile Media UX/UI Design

> On May 1, 2016, at 12:12 PM, David Beck  wrote:
> 
> Hello,
> 
> Does anybody know of a way to determine if a stack is being displayed on a
> high resolution monitor? It seems like there should definitely be a
> function for this purpose but I can not find one. Is this even
> theoretically possible or is there some contour of the universe that makes
> this impossible to know, like the possibility of the stack being displayed
> on multiple monitors that have different resolutions?
> 
> For some added context, we need to find a work around the following issue
> that only happens on Windows 10, high resolution displays, but without
> being able to detect whether or not a display is high resolution, we are
> unable to apply a work around correctly.
> 
> http://quality.livecode.com/show_bug.cgi?id=15696
> 
> Thank you very much for any help.
> 
> David Beck
> Rotunda Software
> ___
> use-livecode mailing list
> use-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: Common Background Group Across Multiple Stacks

2016-04-17 Thread Scott Rossi
If you don't mind nesting your navbar within a separate group, another
option is to have an empty group already assigned to all your cards --
when the navbar group is copied over to your stack, it will automatically
be available on all appropriate cards.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 4/17/16, 1:25 PM, "use-livecode on behalf of Sannyasin
Brahmanathaswami"  wrote:

>doch...@gmail.com> wrote:
>
>
>
>>I have a couple that delete if exists from the second stack, copies from
>>first to send, and then places on every card.
>>
>>You could also have a custom property for cards indicating whether or not
>>it should be placed on them.
>
>This makes senseŠ so how do you do it.
>
>I¹m thinking this (pseudo code, yet to be tested)
>
>On preopenStack
>   # assume the main stack the trigger this is still open
>   # but on Mobile the new stack will take over the screen
>   # where 
>  Copy group ³bottomNavBar² of stack ³mainStackName" to card 1 of this
>stack
>Set the bottom of group ³BottomNavBar² of card 1 of this stack to the
>height of this stack
>Repeat with x - 2 to the number of cards of this stack
>   If the uHasBottomNav of card x of this stack = ³true² then
>  Place group ³bottomNavBar² onto card x of this stack
>End if
>
>End preopenstack
>
>
>
>
>___
>use-livecode mailing list
>use-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: Volunteer github guru for documentation submissions?

2016-04-13 Thread Scott Rossi
I'm a GitHub novice, but I've used this with another client (OS X):
https://desktop.github.com/


Not sure I have it pointed at the right directory,  but I see a bunch of
pull requests from livecodeali and peter-b.

:-)

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 4/13/16, 3:44 PM, "use-livecode on behalf of Alex Tweedly"

wrote:

>Which do you recommend?
>If it's a git gui - any favourite(s) ?



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


Re: selObj changed?

2016-04-13 Thread Scott Rossi
I'd vote bug.

The name of the property (and its history) implies an object that can be
selected and unselected.  It's too much work to have to compare the
property value with the stack name to determine if nothing is selected.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 4/13/16, 1:13 PM, "use-livecode on behalf of Richard Gaskin"
 wrote:

>RECIPE:
>1. Make a new stack
>2. With the Browse tool active, in the Message Box run:
>
>   put the selObj
>
>
>In versions prior to v8 the selObj is empty, but in v8 it returns the
>name of the stack.
>
>Bug or feature?
>
>-- 
>  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



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


Re: Plugins vs. the Mac app bundle

2016-04-12 Thread Scott Rossi
At least one reason: one of the more significantly needed
user-modifications is the ability to disable UIApplicationExitsOnSuspend
in the iOS pList settings.

Is this now an option in v8?  I don't see it in dp16 but maybe I'm missing
it.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 4/12/16, 10:02 AM, "use-livecode on behalf of Richard Gaskin"
 wrote:

>On 12/04/2016 17:08, Paul Hibbert wrote:
> > Peter,
> >
> > Does this affect solutions such as the one posted here:
>http://quality.livecode.com/show_bug.cgi?id=17292 - Comment 6?
> >
> > I¹m curious because I usually modify the revMenuBar stack to add
> > in my own preferred shortcuts, there are also people like Richmond
> > that like to change the tool bar icons etc., so I¹m assuming this
> > type of activity will also break code signing validity.
>
>Well, if you want to truly own your computer there's always Ubuntu, or
>any other Linux. :)
>
>Apple and Microsoft are proprietary systems.  They each make a fine OS,
>but to use it you play by their rules. In terms of the UX, it's more of
>a lease than a purchase. That's neither a feature nor a bug, just one
>way of working with an OS.
>
>If you like what they provide, enjoy it.  If you want total control over
>the computing experience, I'm hard pressed to think of anything but an
>open source system that'll provide that.
>
>But frankly, even then I'd think twice about modifying signed files.
>Bypassing security is rarely advantageous.
>
>With LiveCode, however, I believe it's not quite so deep.
>
>The issue here is specific to changing the files on disk within the
>application bundle.
>
>But why do that?



___
use-livecode mailing list
use-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: Choose Browse Tool with click

2016-04-12 Thread Scott Rossi
I realize I should have included the object selection in the
mouseDoubleDown handler:

on mouseDoubleDown
   choose pointer tool
   select the mouseControl
end mouseDoubleDown


Also, if controls will have code that can be activated, you may want to
use the these handlers in a front script to preempt the controls' code
from firing.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 4/12/16, 3:05 AM, "use-livecode on behalf of Scott Rossi"
 wrote:

>If I understand what you're attempting, the following should get you
>going, as long as you select an object immediately upon mouseDoubleDown.
>
>Create a backScript with the following script:
>
>on mouseDoubleDown
>   choose pointer tool
>end mouseDoubleDown
>
>on selectedObjectChanged
>   if the mouseControl is empty then choose browse tool
>end selectedObjectChanged
>
>
>When the pointer tool is enabled and you click between objects, you should
>continue to select whatever is clicked, until clicking on the card, which
>should then switch to the browse tool.
>
>Note that the mouseDoubleDown trigger won't work with an unlocked field.
>
>Regards,
>
>Scott Rossi
>Creative Director
>Tactile Media, UX/UI Design
>
>
>
>
>On 4/12/16, 2:24 AM, "use-livecode on behalf of Peter Bogdanoff"
>
>wrote:
>
>>Thanks, Scott that works…however...
>>
>>I’m experimenting with a tool interface for an application where the user
>>works with buttons, fields, and draw objects (sort of like Apple Pages or
>>Preview). I'm seeing if I can come up with a simple tool strategy that
>>doesn’t require the user to keep track of, or even know which tool is
>>chosen, only that the object can be edited (selected, moved and resized)
>>by something other than a normal single click. Then, clicking off the
>>object would set things back to normal run. Fields might be selected by a
>>single click and text changed by a double click (as in Preview).
>>
>>Has anyone tried this kind of interface?
>>
>>Peter
>>
>>
>>On Apr 11, 2016, at 11:29 PM, Scott Rossi  wrote:
>>
>>> Not sure what you're actually building but if you don't want to use a
>>>key
>>> press to change tools, can you simply toggle the tool?
>>> 
>>> 
>>> on mouseDoubleDown
>>>   if the tool is "browse tool" then
>>>  choose pointer tool
>>>   else choose browse tool
>>> end mouseDoubleDown
>>> 
>>> 
>>> 
>>> Regards,
>>> 
>>> Scott Rossi
>>> Creative Director
>>> Tactile Media, UX/UI Design
>>> 
>>> 
>>> 
>>> 
>>> On 4/11/16, 11:12 PM, "use-livecode on behalf of Peter Bogdanoff"
>>> 
>>> wrote:
>>> 
>>>> Hi all,
>>>> 
>>>> I have a script in a button:
>>>> 
>>>> on mouseDoubleDown
>>>>choose pointer tool
>>>>select me
>>>> end mouseDoubleDown
>>>> 
>>>> I move the button around, etc.
>>>> 
>>>> Now I want to click off of the button and choose the browse tool by
>>>>just
>>>> clicking on the card.
>>>> 
>>>> mouseUp, and other click messages aren¹t sent because I¹m not using
>>>>the
>>>> browse tool.
>>>> 
>>>> How might the card receive a mouse click in that mode?
>>>> 
>>>> The mouseMove message is always sent and I can use that when the mouse
>>>> leaves the button, but I really only want to choose the browse tool
>>>>with
>>>> a click on the card.
>>>> 
>>>> Is there another way?
>>>> 
>>>> Peter Bogdanoff
>>>> UCLA
>>>> 
>>>> 
>>>> 
>>>> ___
>>>> use-livecode mailing list
>>>> use-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



___
use-livecode mailing list
use-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: Choose Browse Tool with click

2016-04-12 Thread Scott Rossi
If I understand what you're attempting, the following should get you
going, as long as you select an object immediately upon mouseDoubleDown.

Create a backScript with the following script:

on mouseDoubleDown
   choose pointer tool
end mouseDoubleDown

on selectedObjectChanged
   if the mouseControl is empty then choose browse tool
end selectedObjectChanged


When the pointer tool is enabled and you click between objects, you should
continue to select whatever is clicked, until clicking on the card, which
should then switch to the browse tool.

Note that the mouseDoubleDown trigger won't work with an unlocked field.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 4/12/16, 2:24 AM, "use-livecode on behalf of Peter Bogdanoff"

wrote:

>Thanks, Scott that works…however...
>
>I’m experimenting with a tool interface for an application where the user
>works with buttons, fields, and draw objects (sort of like Apple Pages or
>Preview). I'm seeing if I can come up with a simple tool strategy that
>doesn’t require the user to keep track of, or even know which tool is
>chosen, only that the object can be edited (selected, moved and resized)
>by something other than a normal single click. Then, clicking off the
>object would set things back to normal run. Fields might be selected by a
>single click and text changed by a double click (as in Preview).
>
>Has anyone tried this kind of interface?
>
>Peter
>
>
>On Apr 11, 2016, at 11:29 PM, Scott Rossi  wrote:
>
>> Not sure what you're actually building but if you don't want to use a
>>key
>> press to change tools, can you simply toggle the tool?
>> 
>> 
>> on mouseDoubleDown
>>   if the tool is "browse tool" then
>>  choose pointer tool
>>   else choose browse tool
>> end mouseDoubleDown
>> 
>> 
>> 
>> Regards,
>> 
>> Scott Rossi
>> Creative Director
>> Tactile Media, UX/UI Design
>> 
>> 
>> 
>> 
>> On 4/11/16, 11:12 PM, "use-livecode on behalf of Peter Bogdanoff"
>> 
>> wrote:
>> 
>>> Hi all,
>>> 
>>> I have a script in a button:
>>> 
>>> on mouseDoubleDown
>>> choose pointer tool
>>> select me
>>> end mouseDoubleDown
>>> 
>>> I move the button around, etc.
>>> 
>>> Now I want to click off of the button and choose the browse tool by
>>>just
>>> clicking on the card.
>>> 
>>> mouseUp, and other click messages aren¹t sent because I¹m not using the
>>> browse tool.
>>> 
>>> How might the card receive a mouse click in that mode?
>>> 
>>> The mouseMove message is always sent and I can use that when the mouse
>>> leaves the button, but I really only want to choose the browse tool
>>>with
>>> a click on the card.
>>> 
>>> Is there another way?
>>> 
>>> Peter Bogdanoff
>>> UCLA
>>> 
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-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: Choose Browse Tool with click

2016-04-11 Thread Scott Rossi
Not sure what you're actually building but if you don't want to use a key
press to change tools, can you simply toggle the tool?


on mouseDoubleDown
   if the tool is "browse tool" then
  choose pointer tool
   else choose browse tool
end mouseDoubleDown



Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 4/11/16, 11:12 PM, "use-livecode on behalf of Peter Bogdanoff"

wrote:

>Hi all,
>
>I have a script in a button:
>
>on mouseDoubleDown
>   choose pointer tool
>   select me
>end mouseDoubleDown
>
>I move the button around, etc.
>
>Now I want to click off of the button and choose the browse tool by just
>clicking on the card.
>
>mouseUp, and other click messages aren¹t sent because I¹m not using the
>browse tool.
>
>How might the card receive a mouse click in that mode?
>
>The mouseMove message is always sent and I can use that when the mouse
>leaves the button, but I really only want to choose the browse tool with
>a click on the card.
>
>Is there another way?
>
>Peter Bogdanoff
>UCLA
>
>
>
>___
>use-livecode mailing list
>use-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


Remove Android Scroll Indicators?

2016-04-10 Thread Scott Rossi
On Android, scroll indicators show up on native single line input fields.
Is there any way to disable this?  I've tried setting the Vindicator to
false even though that property isn't listed for single line input fields.

Creating a simple form becomes a chore unless the input fields are
somewhat oversize (not always an option), and making the same control work
cross-platform (iOS) requires completely different settings.

Thanks for any insight on this.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design



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


Re: "this me" vs "me"

2016-04-05 Thread Scott Rossi
Using "this me" gets you the long id of the object (button/stack) serving
as a control's behavior. Using "me" by itself gets you the long id of the
control the behavior is assigned to.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 4/5/16, 7:34 PM, "use-livecode on behalf of Sannyasin Brahmanathaswami"

wrote:

>Rummaging through all the IDE scripts, lots of gold in there.
>
>on setAsBehavior pTarget
>   set the behavior of pTarget to the long id of this me
>end setAsBehavior
>
>What does the use of "this" get us? vs just using "me"
>
>I read the dictionary entry... doesn't help with understanding the use
>case for one or the other.
>
>FYI this is taken from
>
>script "revPaletteBehavior"
>
>
>___
>use-livecode mailing list
>use-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: with effects

2016-04-03 Thread Scott Rossi
"With effects" refers to graphic effects, not inks.  It would be nice if inks 
were included but you probably need to do a snapshot of a card region to 
include inks (and I believe Alejandro may have already posted the suggestion 
for this).

Regards,

Scott Rossi
Creative Director
Tactile Media UX/UI Design

> On Apr 3, 2016, at 12:15 PM, RM  wrote:
> 
> So . . .
> 
> Here I am trying to import and/or export a snapshot of either an image or a 
> graphic
> with inks, and the ink does NOT 'stick'.
> 
> I have tried stuff like this:
> 
> import snapshot of image "ZZZ" with effects
> 
> to no avail.
> 
> Richmond.
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: Set Text to the Vertical Center of the field

2016-04-02 Thread Scott Rossi
This has already been submitted at least a couple of times:

http://quality.livecode.com/show_bug.cgi?id=2707

http://quality.livecode.com/show_bug.cgi?id=9561


Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 4/2/16, 2:49 PM, "use-livecode on behalf of Sannyasin Brahmanathaswami"

wrote:

>Can you submit? with your test stack?
>
>On April 2, 2016 at 11:42:43 AM, Richard Gaskin
>(ambassa...@fourthworld.com<mailto:ambassa...@fourthworld.com>) wrote:
>
>So a bug report wouldn't be for any specific number of lines, but merely
>that either the topMargin and/or formattedHeight be fixed so it can be
>possible to apply good logic to get good results.
>___
>use-livecode mailing list
>use-livecode@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode



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


Re: Set Text to the Vertical Center of the field

2016-04-01 Thread Scott Rossi
Bernd N and I have been through this -- there's no reliable way to this, unless 
you have a known number of lines, and a fixed point size, line height, etc.  
Bernd wrote a method that uses the pixel rect of the text via snapshot that can 
work.  My solution is to use buttons since those can display centered text, but 
that may not be an option for some implementations.

Regards,

Scott Rossi
Creative Director
Tactile Media UX/UI Design

> On Apr 1, 2016, at 9:08 PM, Sannyasin Brahmanathaswami  
> wrote:
> 
>  
> lc8 16
> 
> I thought this should work to set the text of a field to vertical center
> 
> (in a behavior)
> 
> on mouseup
> set the textsize of me to 28
> put the formattedheight of me into tTotalTextHeight
> put ( ( the height of me - tTotalTextHeight ) / 2) into tTopBottomMargins
> set topmargin of me to tTopBottomMargins
> end mouseUp
> 
> But it doesn't and the vertical position varies depending on the number of 
> lines. field is 122 px high
> 
> 1 line# rides very high in the field
> 2 Lines # rides high but not so much
> 3 lines # centered perfectly vertically.
> 
> Futher testing reveals that I'm getting variations of responses from for the 
> formattedHeight in three different fields which
> 
> a) same number of lines
> b) same text size
> c) same text height
> d) different words
> 
> go stack url "http://wiki.hindu.org/screenshots/formattedheights.livecode";
> 
> if you do "put the formattedheight of selected object()"
> 
> into the msg box, and select the two fields you get different values for each 
> one, even though, obviously, they take exactly the same vertical space. And, 
> to make matters more interesting. if you set 0 margins in both fields, set 
> the top to the same, the text rides higher in the right field.
> 
> Am I doing something wrong or do we have something to 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

___
use-livecode mailing list
use-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: Multiple Versions of LC on Mac

2016-03-31 Thread Scott Rossi
You can run multiple versions simultaneously -- I often run multiple
versions side by side, and copy scripts/objects between versions.
Settings can be an issue if you're going to have different locations for
extensions, etc -- not sure if the LiveCode people made accommodations for
that.

But an efficient way to work that has suggested on the mail list many
times is, if you use Dropbox or some other cloud sharing service, to place
your LC Extensions folder there. Set all versions of LC on the machine to
reference that folder, but also set up LC on other systems to reference
that same folder.  You will then have your plugins and utility stacks
available consistently across all systems.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 3/31/16, 1:44 PM, "use-livecode on behalf of Sannyasin
Brahmanathaswami"  wrote:

>The read me notes on LC 8 say
>
>"Each version of LiveCode installs to its own, separate folder, to allow
>multiple versions of LiveCode to be installed side-by-side."
>
>Just to confirm:
>
>If we maintain all these in the applications folder (on mac)
>
>LiveCode Indy 7.5.app
>LiveCode Indy 8.0.0 (dp 16).app
>LiveCode Indy 8.0 (dp 15).app
>
>etc.
>
>and be sure to close anyone of them before using another...
>are we getting ourselves into trouble at all, does this affect the
>preferences?
>
>Of course we  would need to "save stack with format version" to run in
>7... and features not available 8 disappear e.g. use of new json lib.
>
>Any other caveats?
>
>
>___
>use-livecode mailing list
>use-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: Border color of graphic

2016-03-29 Thread Scott Rossi
This pointless bickering needs to end fourthwidth.


Scott Rossi
Creative Director
Tactile Media UX/UI Design

> On Mar 29, 2016, at 4:36 PM, Mark Wieder  wrote:
> 
>> On 03/29/2016 04:08 PM, J. Landman Gay wrote:
>> Well if that isn't the height of snobbery.
> 
> The depth of your replies always charges me up.
> 
> -- 
> Mark Wieder
> ahsoftw...@gmail.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: Border color of graphic

2016-03-29 Thread Scott Rossi
Frankly, I could do widthout this commentary.

;-)

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 3/29/16, 1:40 PM, "use-livecode on behalf of Mark Wieder"
 wrote:

>And why is "Width" easier to understand than "width"?



___
use-livecode mailing list
use-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: Design Challenge -- Round Corner mask on images

2016-03-27 Thread Scott Rossi
Oh, I understand -- I'm just saying a graphic + backPattern may be a good
option because you have control over the shape (the roundRadius of the
corners be changed), the radius will auto-scale across different screen
sizes, and you don't have to pre-process all the images with rounded
corners.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 3/27/16, 9:25 PM, "use-livecode on behalf of J. Landman Gay"
 wrote:

>My method doesn't use a graphic at all. The button itself just uses the
>image as a backpattern.
>
>I'll leave my test stack here for a while:
><https://www.dropbox.com/s/ho56oaaaqjvbe26/RoundRect%20Button%20example.li
>vecode?dl=0>
>
>On 3/27/2016 11:03 PM, Scott Rossi wrote:
>> Jacque's backPattern idea is an option purely for masking images as
>>well,
>> though you're more limited using that option.  The image and graphic
>>need
>> to be the same height, and you need to have "extra" image on the left
>>side
>> so you can crop off the rounded corners on the left.
>>
>> The advantage of that option is you probably won't get any rendering
>> artifacts with acceleratedRendering enabled (no ink effects needed).
>>The
>> disadvantage is the image needs to be fit precisely to the masking
>> graphic, while in a group with ink effects, you have more flexibility in
>> placing/sizing the image.
>>
>> Regards,
>>
>> Scott Rossi
>> Creative Director
>> Tactile Media, UX/UI Design
>>
>>
>>
>>
>> On 3/27/16, 8:38 PM, "use-livecode on behalf of J. Landman Gay"
>> > jac...@hyperactivesw.com> wrote:
>>
>>> On 3/27/2016 5:26 PM, Sannyasin Brahmanathaswami wrote:
>>>
>>>> I'm thinking this is probably (I hope)  not that hard to implement.
>>>>
>>>> it's obviously easy enough to create a background graphic with round
>>>> corners, add a small field on the left site that is transparent, lock
>>>> that, put an image on the right side, make this a small group and
>>>> give the name of a target and we have a nice cool "button" but how do
>>>> I get the image in the right half of the group to take the rounded
>>>> corners of the background graphic?
>>>>
>>>
>>> I could reproduce it this way:
>>>
>>> Have your designer create the entire content of the image area,
>>> including the beige left-side label area, but without any text. Import
>>> the image.
>>>
>>> Make a button the same dimensions as the image. Set the button
>>> properties to:
>>>
>>> Showborder: false
>>> Opaque: true
>>> Backpattern: the ID of the image
>>> Margins: 4,4,250,4
>>> Textsize: 28
>>> Label: set it in the msg box or script:
>>> set the label of btn x to "Three" &cr& "Line" &cr& "Label"
>>>
>>> You can't type in a multi-line label in the inspector, but you can set
>>> one via script.
>>>
>>> This gives you a regular button that you can attach a script to
>>>normally.
>>>
>>> --
>>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>>> HyperActive Software   | http://www.hyperactivesw.com
>>>
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>>
>>
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>>subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>
>-- 
>Jacqueline Landman Gay | jac...@hyperactivesw.com
>HyperActive Software   | http://www.hyperactivesw.com
>
>___
>use-livecode mailing list
>use-livecode@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode



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


Re: IMG resize advice wanted

2016-03-27 Thread Scott Rossi
Weight a minute...

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 3/27/16, 8:57 PM, "use-livecode on behalf of Mark Wieder"
 wrote:

>On 03/27/2016 08:52 PM, Scott Rossi wrote:
>
>> (And while we're at it, someone should really add the word "heidth" to
>>the
>> English language because "height" doesn't really go with "width".)
>
>I've been told repeatedly to stay away from synonyms, so I'm staying far
>away from that .
>
>Besides, maybe we should just rename "width"... "height" goes just fine
>with "weight".
>
>-- 
>  Mark Wieder
>  ahsoftw...@gmail.com
>
>___
>use-livecode mailing list
>use-livecode@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode



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


Re: Design Challenge -- Round Corner mask on images

2016-03-27 Thread Scott Rossi
Jacque's backPattern idea is an option purely for masking images as well,
though you're more limited using that option.  The image and graphic need
to be the same height, and you need to have "extra" image on the left side
so you can crop off the rounded corners on the left.

The advantage of that option is you probably won't get any rendering
artifacts with acceleratedRendering enabled (no ink effects needed).  The
disadvantage is the image needs to be fit precisely to the masking
graphic, while in a group with ink effects, you have more flexibility in
placing/sizing the image.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 3/27/16, 8:38 PM, "use-livecode on behalf of J. Landman Gay"
 wrote:

>On 3/27/2016 5:26 PM, Sannyasin Brahmanathaswami wrote:
>
>> I'm thinking this is probably (I hope)  not that hard to implement.
>>
>> it's obviously easy enough to create a background graphic with round
>> corners, add a small field on the left site that is transparent, lock
>> that, put an image on the right side, make this a small group and
>> give the name of a target and we have a nice cool "button" but how do
>> I get the image in the right half of the group to take the rounded
>> corners of the background graphic?
>>
>
>I could reproduce it this way:
>
>Have your designer create the entire content of the image area,
>including the beige left-side label area, but without any text. Import
>the image.
>
>Make a button the same dimensions as the image. Set the button
>properties to:
>
>Showborder: false
>Opaque: true
>Backpattern: the ID of the image
>Margins: 4,4,250,4
>Textsize: 28
>Label: set it in the msg box or script:
>set the label of btn x to "Three" &cr& "Line" &cr& "Label"
>
>You can't type in a multi-line label in the inspector, but you can set
>one via script.
>
>This gives you a regular button that you can attach a script to normally.
>
>-- 
>Jacqueline Landman Gay | jac...@hyperactivesw.com
>HyperActive Software   | http://www.hyperactivesw.com
>
>___
>use-livecode mailing list
>use-livecode@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode



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


Re: IMG resize advice wanted

2016-03-27 Thread Scott Rossi
Can you use referenced images and lock their widths to the width of your
field/s?

I believe others on the list have mentioned system-level tools that can be
used for image processing, but if you want to resize within LC, the
"traditional" method is to scale the image and set the imageData of the
resized image to itself.  Alternatively, you might be able to scale the
image and export a snapshot of the image to itself.

(And while we're at it, someone should really add the word "heidth" to the
English language because "height" doesn't really go with "width".)

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 3/27/16, 7:11 PM, "use-livecode on behalf of jameshale"

wrote:

>I current;y have an app for indexing ans searching ePub files. The focus
>of
>the app being the ability to apply complex searches against the text of
>the
>ePub.
>That being said some ePubs have embedded images which my app can display
>in
>situ.
>At this time the on;y change I make is to ensure the image sits by itself
>(i.e. There is Aline breaker both before and after the image.)
>However images can be large.
>Their height is of no real concern but their width is.
>If their width is greater than the width of the field displaying the text
>they are embedded within I need to allow horizontal scrolling. The image
>could also end up being displayed in multiple text panes, something I
>really
>want to avoid.
>There has been some recent discussion about resizing images and so I
>thought
>it was time to tackle this in my app.
>When I read in an ePub I extract all resources and put the text into a
>SQLite dub and the images into a separate folder.
>My question is this.
>What would make more sense, resize the actual image files to fit into the
>desired text field without requiring scrolling or read in the existing
>files
>and resize on the fly within LC.
>The advantage of the first is that it only needs to be done once (unless
>the
>user is constantly resizing the app).
>The disadvantage is that the original image is lost.
>The advantage of the second is that nothing happens to the original image.
>The disadvantage is that all the   links within the text would require
>rewriting and each image would require processing each time it was needed.
>After writing the above the first option looks better.
>
>Anyway, can anyone give me a hint as to how to use LC to read in an image,
>resize it and then write it out again?
>
>
>
>--
>View this message in context:
>http://runtime-revolution.278305.n4.nabble.com/IMG-resize-advice-wanted-tp
>4702682.html
>Sent from the Revolution - User mailing list archive at Nabble.com.
>
>___
>use-livecode mailing list
>use-livecode@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode



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


Re: Design Challenge -- Round Corner mask on images

2016-03-27 Thread Scott Rossi
If you have acceleratedRendering enabled, try disabling it.

Regarding your second screenshot, you're likely getting that result
because you repositioned the graphic within the group.

LC8 might be more sensitive to acceleratedRendering than previous
versions, but enabling the property in general sometimes causes
idiosyncrasies that need to be worked around.  It's possible ink effects
won't work for your situation, so you may need to resort to other methods.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 3/27/16, 8:00 PM, "use-livecode on behalf of Sannyasin
Brahmanathaswami"  wrote:

>Thanks for the re-assurance and, that's a relief, that its a simple
>solution...
>
>Are you working in LC8 dp 16?
>
>BUT: What's happening here is:  I'm getting some serious rendering
>issues. Your stack opens fine and I could see the lovely roundrect grc
>mask... then as soon as I touch anything we get this kind of behavior
>
>http://wiki.hindu.org/screenshots/IDE-rendering-ssues.jpg
>
>If I save the stack the whole effect is lost. Thinking this is a
>temporary rendering issue, I saved, quit and reboot LC
>
>but then we get this:
>
>http://wiki.hindu.org/screenshots/round-corner-after-save.jpg
>
>And the group, inks etc. are all corrupted in the saved stack... at least
>here on my mac.
>
>What version of LC are you working in?
>
>I thought dp16 was stable enough to work in, and I want to pitch in on
>the beta testing so that LC team could get as much feedback on 16 as I
>could provide, but now I have to get real work done, so i think I need to
>step back from this bleeding edge... DP15 was actually pretty stable.
>What are you using?
>
>Can anyone else test this please?  Open Scotts stack in LC8 DP16
>
>go url "http://tactilemedia.com/download/RoundCornerSample.livecode";
>
>then set the selectGroupedControls to True, choose the selection tool and
>move the graphic mask around...does everything stay OK?  If the problem
>can be duplicated elsewhere... I will bug it
>
>actually I bugged it anyway
>
>http://quality.livecode.com/show_bug.cgi?id=17247
>
>BR
>
>
>
>
>
>On March 27, 2016 at 4:12:58 PM, Scott Rossi
>(sc...@tactilemedia.com<mailto:sc...@tactilemedia.com>) wrote:
>
>An oval is the same as a roundRect, just with larger radii. The technique
>doesn't "fail" as shown in the demo stack, so yes, you may indeed be
>missing something. Make sure you have the inks applied properly.
>
>
>
>Regards,
>
>Scott Rossi
>Creative Director
>Tactile Media, UX/UI Design
>
>
>
>
>On 3/27/16, 6:52 PM, "use-livecode on behalf of Sannyasin
>Brahmanathaswami" bra...@hindu.org> wrote:
>
>>Scott, thanks stack downloaded
>>
>>Fascinating technique.
>>
>>But your example uses an oval... but if I use graphic style "round
>>rectangle" -- the technique fails -- or I am missing something.
>>
>>Can you try it there?
>>
>>tks
>>
>>
>>On March 27, 2016 at 1:42:52 PM, Scott Rossi
>>(sc...@tactilemedia.com<mailto:sc...@tactilemedia.com>) wrote:
>>
>>One way is using ink effects. In a group with the roundRect graphic
>>layered above the image:
>>blendSrcOver applied to the group
>>blendDstIn applied to the graphic
>>
>>You might want to take a look at the stack provided in this article for
>>ideas:
>>http://tactilemedia.com/blog/2015/11/04/livecode-basics-masking-objects/
>>
>>
>>Regards,
>>
>>Scott Rossi
>>Creative Director
>>Tactile Media, UX/UI Design
>>
>>
>>
>>
>>On 3/27/16, 3:26 PM, "use-livecode on behalf of Sannyasin
>>Brahmanathaswami" >bra...@hindu.org> wrote:
>>
>>>Our design team finished a design for a mobile app. The used rounded
>>>corners everywhere.
>>>
>>>see
>>>
>>>http://wiki.hindu.org/screenshots/radius-all-corners.jpg
>>>
>>>Something I wished we had in LC for all controls (groups included) is
>>>corner radius, but is is only available for graphics objects.
>>>
>>>
>>>set the roundRadius of grc "roundRectAngleButton" to pValue
>>>
>>>I'm digging in the forums for info an masks etc... but I'm out of my
>>>depth here.
>>>
>>>I'm thinking this is probably (I hope) not that hard to implement.
>>>
>>>it's obviously easy enough to create a background graphic with round
>>>corners, add a small field on the left site that is transparent, lock
>>>that, put an imag

Re: Design Challenge -- Round Corner mask on images

2016-03-27 Thread Scott Rossi
An oval is the same as a roundRect, just with larger radii.  The technique
doesn't "fail" as shown in the demo stack, so yes, you may indeed be
missing something.  Make sure you have the inks applied properly.

go url "http://tactilemedia.com/download/RoundCornerSample.livecode";

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 3/27/16, 6:52 PM, "use-livecode on behalf of Sannyasin
Brahmanathaswami"  wrote:

>Scott, thanks stack downloaded
>
>Fascinating technique.
>
>But your example uses an oval... but if I use  graphic style  "round
>rectangle" -- the technique fails -- or I am missing something.
>
>Can you try it there?
>
>tks
>
>
>On March 27, 2016 at 1:42:52 PM, Scott Rossi
>(sc...@tactilemedia.com<mailto:sc...@tactilemedia.com>) wrote:
>
>One way is using ink effects. In a group with the roundRect graphic
>layered above the image:
>blendSrcOver applied to the group
>blendDstIn applied to the graphic
>
>You might want to take a look at the stack provided in this article for
>ideas:
>http://tactilemedia.com/blog/2015/11/04/livecode-basics-masking-objects/
>
>
>Regards,
>
>Scott Rossi
>Creative Director
>Tactile Media, UX/UI Design
>
>
>
>
>On 3/27/16, 3:26 PM, "use-livecode on behalf of Sannyasin
>Brahmanathaswami" bra...@hindu.org> wrote:
>
>>Our design team finished a design for a mobile app. The used rounded
>>corners everywhere.
>>
>>see
>>
>>http://wiki.hindu.org/screenshots/radius-all-corners.jpg
>>
>>Something I wished we had in LC for all controls (groups included) is
>>corner radius, but is is only available for graphics objects.
>>
>>
>>set the roundRadius of grc "roundRectAngleButton" to pValue
>>
>>I'm digging in the forums for info an masks etc... but I'm out of my
>>depth here.
>>
>>I'm thinking this is probably (I hope) not that hard to implement.
>>
>>it's obviously easy enough to create a background graphic with round
>>corners, add a small field on the left site that is transparent, lock
>>that, put an image on the right side, make this a small group and give
>>the name of a target and we have a nice cool "button" but how do I get
>>the image in the right half of the group to take the rounded corners of
>>the background graphic?
>>
>>BR
>>___
>>use-livecode mailing list
>>use-livecode@lists.runrev.com
>>Please visit this url to subscribe, unsubscribe and manage your
>>subscription preferences:
>>http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
>
>___
>use-livecode mailing list
>use-livecode@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode
>___
>use-livecode mailing list
>use-livecode@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-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: Design Challenge -- Round Corner mask on images

2016-03-27 Thread Scott Rossi
One way is using ink effects.  In a group with the roundRect graphic
layered above the image:
blendSrcOver applied to the group
blendDstIn applied to the graphic

You might want to take a look at the stack provided in this article for
ideas:
http://tactilemedia.com/blog/2015/11/04/livecode-basics-masking-objects/


Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 3/27/16, 3:26 PM, "use-livecode on behalf of Sannyasin
Brahmanathaswami"  wrote:

>Our design team finished a design for a mobile app. The used rounded
>corners everywhere.
>
>see
>
>http://wiki.hindu.org/screenshots/radius-all-corners.jpg
>
>Something I wished we had in LC for all controls (groups included) is
>corner radius, but is is only available for graphics objects.
>
>
>set the roundRadius of grc "roundRectAngleButton" to pValue
>
>I'm digging in the forums for info an masks etc... but I'm out of my
>depth here.
>
>I'm thinking this is probably (I hope)  not that hard to implement.
>
>it's obviously easy enough to create a background graphic with round
>corners, add a small field on the left site that is transparent, lock
>that, put an image on the right side, make this a small group and give
>the name of a target and we have a nice cool "button" but how do I get
>the image in the right half of the group to take the rounded corners of
>the background graphic?
>
>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


[ANN] Blog Post

2016-03-26 Thread Scott Rossi
New blog article about crazy fast blur and pixelizing effects, with sample
stacks.


http://tactilemedia.com/blog/


Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




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


Shorter Vibration?

2016-03-24 Thread Scott Rossi
I don't suppose it's possible to change the duration of mobileVibrate?

When using this command (on my Android phone) the interval seems to be
somewhere between 3/4 and a full second which is way too long for UI
feedback.  I'd like to trigger an extremely short vibration as feedback
when a button is pressed, similar to how many onscreen keyboards operate.

Any way to accomplish this?

Thanks & Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design



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


  1   2   3   4   5   6   7   8   9   10   >