Re: Getting Webpage Information

2022-03-27 Thread Rick Harrison via use-livecode
Hi Keith,

Yes, I have tried that several times and ways.  It doesn’t seem to work.
One would think that would work fine.

Other ideas?

Thanks,

Rick

> On Mar 27, 2022, at 3:58 PM, Keith Clarke via use-livecode 
>  wrote:
> 
> Hi Rick,
> Maybe try 'put the text of widget "youtBrowserName" into field 
> "yourFieldName" ' to get the plain text? If you need the html source, try 
> '...the htmlText' of widget...
> Best,
> Keith

___
use-livecode mailing list
use-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 Webpage Information

2022-03-27 Thread Keith Clarke via use-livecode
Hi Rick,
Maybe try 'put the text of widget "youtBrowserName" into field "yourFieldName" 
' to get the plain text? If you need the html source, try '...the htmlText' of 
widget...
Best,
Keith

> On 27 Mar 2022, at 19:01, Rick Harrison via use-livecode 
>  wrote:
> 
> I have been playing around with the WebBrowser
> widget, and I can’t seem to grab the content results of
> what the page returns.
> 
> Example:  If I use the Browser to navigate to google,
> I can program a way to search for “Bird”.
> When the results are returned in the browser, I can
> manually perform a select all. I can then do a simple
> copy and paste of the copied text into a field.
> 
> I just can’t perform the above programmatically
> with LiveCode.  What am I missing here?
> 
> Thanks,
> 
> Rick
> 
> 
> 
> ___
> use-livecode mailing list
> use-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


Getting Webpage Information

2022-03-27 Thread Rick Harrison via use-livecode
I have been playing around with the WebBrowser
widget, and I can’t seem to grab the content results of
what the page returns.

Example:  If I use the Browser to navigate to google,
I can program a way to search for “Bird”.
When the results are returned in the browser, I can
manually perform a select all. I can then do a simple
copy and paste of the copied text into a field.

I just can’t perform the above programmatically
with LiveCode.  What am I missing here?

Thanks,

Rick



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


tags in menus other than Pulldown (menubar) menus

2022-03-27 Thread Paul Dupuis via use-livecode

Here is another LC wish list for practical reasons:

I with that the menu item format for "regular" (pulldown/menubar) menus of:

[]  ['/'  ['|' ]] -- with the caveat 
that to have a  with out an , you just use /| 
[NOTE: This syntax is listed in the Dictionary under the "Menu" (keyword)]


Would work with other menu types, like OPTION menus (as 1 example)

I have several option menus with some long text for each options, for 
example:


All References to one media file
All References for each Case to a media file per Case
All References for each Source to a media file per Source
All References for each Code to a media file per Code
All References for each Code for each Source to a separate media file
All References for each Code for each Case to a separate media file
Each Reference to a individual media file

I would LOVE to be able to use s for internationalization (and 
simplicity), for example:


All References to one media file/|all
All References for each Case to a media file per Case/|case
All References for each Source to a media file per Source/|source
All References for each Code to a media file per Code/|code
All References for each Code for each Source to a separate media 
file/|codeSource
All References for each Code for each Case to a separate media 
file/|codeCase

Each Reference to a individual media file/|individual

This way my menuPick handler could look like:
on menuPick pChosenItem, pPreviousTab
  switch pChosenItem
    case "all"
  -- do stuff for the 1st option
  break
    case "case"
  -- do stuff for the 2nd option
  break
    case "source"
  -- do stuff for the 3rd option
  break
    -- etc
  end switch

And if I need to change the text of the OPTION menu items, say to 
another language for internationalization, I do not have to change my on 
menuPick handler as well. Every button of type menu that is handled by a 
menuPick handler, should support  for ease of internationalization.


Unfortunately,  do not work in Option menus (I have not tested any 
other non-menubar menu types)

end menuPick


___
use-livecode mailing list
use-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: playrate & templateimage

2022-03-27 Thread Klaus major-k via use-livecode
Hi all,

> Am 24.03.2022 um 12:31 schrieb Klaus major-k via use-livecode 
> :
> 
> Hi friends,
> 
> LC never ceases to surprise me and I love that!
> 
> 1. In earlier versions setting the "playrate" of a player object to a 
> different value than 1
> unfortunately also changed the PITCH of the sound/movie.
> 
> Today I was delighted to find out that this is not the case anymore! 
> PITCH does not change anymore when setting the PLAYRATE!
> Thanks for the hint, Frans!
> 
> At least on a Mac. Is this also the case on Windows?

could someone please test it and report here?
Thank you!

> When did this happen?
> ...

Best

Klaus


--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
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