Re: Groups as background

2010-11-18 Thread Klaus on-rev
Hi Josep,

> Hi,
> 
> I have a stack with 3 card that have a group "background" as menu for all
> the cards. Now I modified the group and add some cards more. All the cards
> have different groups and the changes aren't replicated.
> 
> Why? How solve this? recreate again all the cards with delete and
> copy&paste?

no copy & paste neccessary!

Go to the card(s) here you want to place your group and choose menu 
"Object" -> "Place" group" -"Name of your group here..."

That's it :-)

> Salut,
> Josep

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Create button script won't work - why?

2010-11-15 Thread Klaus on-rev
Hi Bantymom,

> 
> I had similar problems with copy and paste, and discovered there really
> seemed no way to do it without being on the card. I could copy from another
> card, but I had to be on the card I wanted to paste to.
> 
> So I use lock screen to go there in secret.
> 
> Now, I'm a very unsophisticated and simple person, and it is quite likely I
> don't understand why you don't want to go to the actual card, unless you
> have an "on openCard" handler you don't want to run right at that moment.

you can avoid this by "locking the messages", see below...

> But unless that is the case, this seems to work (again, I realize that I
> have probably oversimplified the situation and this might not be of any use
> to you at all):
> 
> on mouseUp
>   lock screen
lock messages
>   go to card "Two"
>   create button "Herb"
>   go to card "One"
>   unlock screen
unlock messages
> end mouseUp
> 
> It is still five lines instead of one though, I'm afraid. I made a little
> stack but I don't think I can upload it here. It worked though.
> 
> Humbly,
> Bantymom

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: movie in a standalone

2010-11-13 Thread Klaus on-rev
Hi Edward,

> Well thanks to the list have a much better understanding of getting things 
> into a bundle. I didn't know you could place a file directly into the 
> resource in the bundle, instead of letting the standalone maker do it. It is 
> working fine now in finding the files.
> But now a new problem, i play a short video movie with the following script:
> on openCard
>   global pname,pic
>   set filename of image "1" to "Resources/BKG.paneling.jpg"
>   show image 1
> set the currentTime of player 1 to 0
>  set the filename of  player 1 to "resources/flight3.mov"
>  set the showController of player 1 to false
>  play player 1 --"flight3.mov"
> end openCard
> 
> 
> on playstopped
>   set the currentTime of player 1 to 0
> go cd "pool 13-a"
> end playstopped
> 
> It works fine on the  desktop but in the standalone the cd opens, I can see 
> the first frame of the movie, but then it goes right to the next card without 
> playing the movie. Any ideas?

from the docs about "playstopped":
...
Note:  The playStopped message is sent when a card containing the player closes 
and when the player's filename property is changed...!!!
  To prevent a playStopped handler from being executed inappropriately, set the 
lockMessages to true before changing the filename or switching cards:
...

And the docs also show the workaround:
on openCard
  global pname,pic
  set filename of image "1" to "Resources/BKG.paneling.jpg"
  show image 1

  lock messages -- prevent sending playStopped
  set the currentTime of player 1 to 0
 set the filename of  player 1 to "resources/flight3.mov"
 set the showController of player 1 to false
 unlock messages ##!!!
 start player 1
end openCard

Looks like the IDE catches the playstopped messages somehow!?


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: delete chunk.

2010-11-03 Thread Klaus on-rev
Hi Ken,

>> Just tossing this out there, but I *love* this behavior. I'm sure there are
>> situations where it's undesirable, but are easily compensated for by just
>> adding another delimiter.
>> 
>> Begin able to do the following is very handy and makes the code clean:
>> 
>> put "foo" & cr after fld "x"
>> put "bar" & cr after fld "x"
>> put the number of lines of fld "x"
>> 
>> Having that return 2 is extremely convenient.
> 
> Agreed, but sometimes it's not convenient when you want to get the "last
> item" of a line; for example, if you have a container that holds columns for
> First Name (tab) Last Name (tab) Notes, and some lines have a note and some
> don't, you can't just set the itemDelimiter to tab and run through the
> container and get the "last item" or "item -1" of the line to check if the
> person entered a note; if they didn't provide one, then check the "last
> item" will give you their Last Name instead.
> 
> It would be great if there was a global setting that you could toggle it on
> in these circumstances, something like:

Yes, good idea!

> put item -1 of "Ken,Ray,"
> ==> returns "Ray"
> 
> set the dontIgnoreTrailingDelimiter to true
> put item -1 of "Ken,Ray,"
> ==> returns ""

But please no "dontXYZ" props anymore, they are SO counterintuitive!

Don't you think that "set the useqt to false" is mentally a lot less 
challenging than
"set the dontuseqt to true"???

:-D

> :-)

> Ken Ray
> Sons of Thunder Software, Inc.
> Email: k...@sonsothunder.com
> Web Site: http://www.sonsothunder.com/

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Standalone and "About..." menu

2010-10-25 Thread Klaus on-rev
Hi Rene,

> Hi René,
>> Hello,
>> Mac OS 10.6.4 / LiveCode 4.5
>> When I create a standalone, LiveCode make automatically an "About..." menu 
>> in the application menubar...
>> How can I pick this menu item ?
> I think this is added by the OS!
> You can't unless you create your own menu(s) by yourself!
> See below...
>> on menuPick theItem
>>  if theItem is "About..." then
>>  ...
>> end mousePick
>> don't work
> See also my "enhancement request" from about 5 years ago:
> 
>> Merci par avance
>> René
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> http://www.major-k.de
> kl...@major.on-rev.com

after reading all the other replies, it looks like I MIGHT have misunderstood 
your question :-)


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Standalone and "About..." menu

2010-10-25 Thread Klaus on-rev
Hi René,

> Hello,
> Mac OS 10.6.4 / LiveCode 4.5
> When I create a standalone, LiveCode make automatically an "About..." menu in 
> the application menubar...
> How can I pick this menu item ?

I think this is added by the OS!
You can't unless you create your own menu(s) by yourself!

See below...

> on menuPick theItem
>   if theItem is "About..." then
>   ...
> end mousePick
> don't work

See also my "enhancement request" from about 5 years ago:


> Merci par avance
> René

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Programmer for Mac external(s) wanted

2010-10-25 Thread Klaus on-rev
Hi friends,

for our current project we might need someone with experience 
who can write externals for Mac OS X. 

Please contact me off-list,. thanks!


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de
--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


MetaCard and LiveCode externals WAS: Re: [ANN]BvG Docu 1.7

2010-10-21 Thread Klaus on-rev
Hi Mark,

> Björnke-
> 
> Wednesday, October 20, 2010, 4:41:27 AM, you wrote:
> 
>> I fixed that, and i changed the test of "revappversion() = 4.5.0"
>> to "char 1 to 3 of the version = 4.5". I think that one should also
>> work in metacard, as well as for those crazy people who use beta
>> versions of the ide as main environment (shame on you). 
> 
> Nice. To remain future-friendly, you might want to change the check to
> if the version > 4.5
>> note: claim of properly working in metacard untested
> It doesn't work in mc because you make calls to the revxml library, as
> in line 245 of DocsLibContent ("revcreatexmltree"). Once I figure out
> how to get mc to recognize rev externals (Klaus?) this should work.

Hmm, this is pretty straightforward! :-)

Anyway, I created a folder "externals" in my MC folder and copied ALL the LC
externals into that folder. NO subfolder for "RevDB" stuff!!!

Then I added a little script to my "home" stack that will load the externals and
"use" that stack:

on openStack
  externalseinrichten
  start using this stack
  #...
end openStack

## German for "setup externals"
command externalseinrichten
  put the filename of this stack into fn
  set itemdel to "/"
  delete item -1 of fn
  put "/externals/" after fn
  put the folder into olddir
  set the folder to fn

  # Mac! 
  # Use "files" and filter with "*.dll" for Windows
  put the folders into tBundles
  filter tBundles with "*.bundle"
  repeat for each line i in tBundles
put fn & i & CR after Xlist
  end repeat
  delete char -1 of Xlist
  set the folder to olddir
  set the externals of this stack to Xlist
end externalseinrichten

That's it!

> -- 
> -Mark Wieder
> mwie...@ahsoftware.net

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Sending mouseup to checkboxes on different card

2010-10-20 Thread Klaus on-rev
Hi Robert,

> On 20.10.10 at 18:04 +0200 Klaus on-rev apparently wrote:
>> >> Anyway, your script may fail if your mouseup function does sth that
>>>> refers to the buttons on the other card, which are not present on the
>>>> current card and it does not make full reference to them but only
>>>> uses short names.
>> 
>> To avoid this and other traps when sending "mouseup" to object on other 
>> cards you coul do this and
>> since there is no "defaultCard" (like "defaultstack") that we can set, we 
>> have to go to all the cards to
>> avoid this above mentioned phenomenon!
> 
> If one uses full reference in the called script (that is script in btn b of 
> cd y refers to itself as btn b of cd y) then going to that card before 
> running that script is not needed.

yep, but if one doesn't, it is ;-)

> Robert

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Sending mouseup to checkboxes on different card

2010-10-20 Thread Klaus on-rev
Hi Charles,

> Klaus,
> 
> Your script worked!  

Go figure :-)

> What changes do I have to make if I wanted to use this script to send a 
> mouseUp to checkboxes on marked cards?  I did not use marked cards in my 
> sample stack.

See below...

> Charles Szasz
> csz...@mac.com
> 
> 
> ...
>> 
>> 
> on mouseUp 
> ## We want to return to this card after the script has finished! 
> put the num of this cd into tStartCard 
> lock screen 
>  repeat with y = 1 to the number of cards 

  if the mark of cd y <> true then
   next repeat
  end if
> 
>  ## We actually have to GO to the cards but to avoid unnecessary 
>  ## PRE/OPENCARD messages we have to: 
> lock messages 
> go cd y 
> unlock messages 
> repeat with b= 1 to the number of buttons 
>if the style of button b  = "checkbox" then 
>   if the hilite of button b  = "true" then 
>   send "mouseUp" to button b 
>   end if 
>   end if 
> end repeat 
> end repeat 
> 
> ## Go back 
> lock messages 
> go cd tStartCard 
> unlock messages 
> unlock screen 
> end mouseUp 

Best

Klaus
--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Sending mouseup to checkboxes on different card

2010-10-20 Thread Klaus on-rev
Hi Charles,

> Robert,
> 
> I tried your suggestion. But I get the same results: the checkboxes received 
> the message on the first card but the checkboxes on the second card did not 
> receive the mouseUp message. 
> 
> Charles Szasz
> csz...@mac.com

your script is OK!
But check Roberts answer, that is what's going on on your side!

>> ...
>> Anyway, your script may fail if your mouseup function does sth that 
>> refers to the buttons on the other card, which are not present on the 
>> current card and it does not make full reference to them but only 
>> uses short names. 

To avoid this and other traps when sending "mouseup" to object on other cards 
you coul do this and
since there is no "defaultCard" (like "defaultstack") that we can set, we have 
to go to all the cards to 
avoid this above mentioned phenomenon!

on mouseUp
 ## We want to return to this card after the script has finished!
 put the num of this cd into tStartCard
 lock screen
  repeat with y = 1 to the number of cards
  
  ## We actually have to GO to the cards but to avoid unnecessary
  ## PRE/OPENCARD messages we have to:
 lock messages
 go cd y
 unlock messages
 repeat with b= 1 to the number of buttons
if the style of button b  = "checkbox" then
   if the hilite of button b  = "true" then 
   send "mouseUp" to button b
   end if
   end if
 end repeat
end repeat

## Go back
 lock messages
 go cd tStartCard
 unlock messages
 unlock screen
end mouseUp

>> 
>> Robert 

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: dragData["files"] question

2010-10-17 Thread Klaus on-rev
Hi Hugh,

> Is it my syntax, or is it simply not possible to modify the
> dragData["files"] during a file drag operation?
> 
> If I drag a .png file and a .rev file, I would expect the .rev filepath to
> have been removed, but it isn't...
> 
> on dragEnter
>  put the dragData["files"] into tFilePaths
>  set the itemDel to "."
>  repeat for each line L in tFilePaths
>if (last item of L is NOT among the items of "GIF.JPG.JPEG.PNG")
>then delete line lineOffset(CR&L&CR,CR&tFilePaths&CR) of tFilePaths
>  end repeat
>  set the dragData["files"] to tFilePaths
>  put the dragData["files"] --> Value does not get updated!
> end dragEnter
> 
> So what am I missing?

repeat for each is read only, but you try to change tFilePaths on the fly :-)

Do this:

on dragEnter
 put the dragData["files"] into tFilePaths
 set the itemDel to "."
 repeat for each line L in tFilePaths
   if (last item of L is among the items of "GIF.JPG.JPEG.PNG") then
put l & CR after tFilePaths2
  end if
 end repeat
 delete char  -1 of tFilePaths2
 set the dragData["files"] to tFilePaths2
 put the dragData["files"] --> Value does not get updated!
end dragEnter

> Hugh Senior
> FLCo

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: [ANN] scroll wheel object for RevMobile iPhone made with Rev

2010-10-08 Thread Klaus on-rev
Hi Bernd,

> Hi Klaus,
> 
> sorry for that: Phil is right the correct address is
> http://berndniggemann.on-rev.com/scrollwheel/scrollwheelstack/scrollWheeliPhone.rev.zip

thank you very much!

> (when testing the link I had to correct it in the browser, forgot to copy it 
> back to the text)
> oh well.

:-)

> regards
> Bernd

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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



Re: [ANN] scroll wheel object for RevMobile iPhone made with Rev

2010-10-07 Thread Klaus on-rev
Hi Bernd,

> some time ago someone was looking for native iPhone controls for RevMobile. I
> tried to emulate an iPhone scroll wheel through Rev objects that looks close
> to the native scroll wheel. 
> The advantage of an Rev object is that it is all graphics and scalable. The
> disadvantage that RevMobile and the iPhone are not the fastest. (small
> scroll wheels work acceptably on an iPhone 3G, much better experience on an
> iPad)
> As a revlet look here:
> http://berndniggemann.on-rev.com/scrollwheel/scrollWheeliPhone/index.html
> as a zipped stack here:
> http://berndniggemann.on-rev.com/scrollwheel/scrollwheelstack/scrollwheeliphone.rev.zip

I get a file not found error here?

> click and drag on the wheels, if at first not responsive click outside the
> revlet and than inside again.
> Comments welcome
> regards
> Bernd

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Cursor Position Within A Field

2010-10-06 Thread Klaus on-rev
Hi Warren,

> Is there a command that tells me the character position of the where the
> cursor is located in a field?

see "selectedchunk" in the dictionary, that is what you are looking for.

> Also..is there a command that allows me to specify a character position to
> change the cursor position within a field?

...
select after char 2 of fld 1
..
will do :-)

> Thanks,
> Warren

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Plug-ins missing

2010-10-06 Thread Klaus on-rev
Hi all,

> it needs to not set to NOT the Plugins folder but the surrounding folder,
> like "My Livecode Stuff". mine is set to "Livecode" inside of my "dropbox" 
> directory.

here a related issue!

Yesterday I updated some old bugs of mine including this one:


Looks like LiveCode does not check the "externals" folder inside of the
user "My " folder. 

So none of the externals here are listed in the standalone builder
and thus do not get copied to into a standalone!


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: RevBrowser bug

2010-10-06 Thread Klaus on-rev
Hi Ken,

> On 10/6/10 9:58 AM, "Klaus on-rev"  wrote:
>> Hi Andre,
>>> can someone confirm this is a regression?
>>> Did it happen in 4.0 or 3.x ?
>> I also tested this on Rev 3.4 and 4.0, same problem.
> 
> But isn't this just when you turn the resizable of a stack on and off?

Yep and if I toggle "the fullscreen of stack xyz".

> I mean if the stack is meant to be resizable, wouldn't you just leave it
> resizable? I have several resizable revBrowser stacks with no problems (at
> least, not as far as resizing goes :-)...
> 
> I'm just curious, I guess... is it only during dev in the IDE that you are
> toggling the resizable of a stack? Or if you do it at runtime, I'd be
> curious to find how you're applying this functionality...

In my current project I need to toggle this according to some META TAGs 
inside of the html source.

Ken, I was not born yesterday (LiveCode-wise) :-D

> Ken Ray
> Sons of Thunder Software, Inc.
> Email: k...@sonsothunder.com
> Web Site: http://www.sonsothunder.com/

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: RevBrowser bug

2010-10-06 Thread Klaus on-rev
Hi Andre,

> can someone confirm this is a regression?
> Did it happen in 4.0 or 3.x ?

I also tested this on Rev 3.4 and 4.0, same problem.


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: RevBrowser bug

2010-10-06 Thread Klaus on-rev
Hi Mike,

> This happens because the revbrowser instance is linked to a specific
> windowid and certain things change that id. As you mentioned changing the
> resizable, going fullscreen, and if I recall correctly, changing the window
> decorations all change the windowid.  Haven't tried it but changing window
> mode will probably do this also.
> 
> This is something that I too hope will be changed/fixed? Though i'm not sure
> if it should be a bug report or a feature request.

whatever, I marked it as "Blocker"

A workaround ist to make the stack NOT resizable and use the "Mac Style Stack 
Resizer"
from the object lib or make your own :-) 

> Where is your report, i'll vote for it.

Ah, sorry, here it is:



Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: RevBrowser bug

2010-10-06 Thread Klaus on-rev
Hi all,

> Hi all, 
> 
> I just filed a bug report for a nasty bug I found today and wanted to let you 
> know.
> 
> When you toggle "the resizable" of a stack with an active browser, the 
> content 
> of the browser will disappear in data nirvana :-/
> 
> Try it yourself:
> Open an URL in any browser and toggle the resizable of that stack with a 
> button
> or the message box, big fun :-/
> 
> You will need to close the browser and open a new instance to make it work 
> again.

the same happens when you "set the fullscreen of stack xyz to true"


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


RevBrowser bug

2010-10-06 Thread Klaus on-rev
Hi all, 

I just filed a bug report for a nasty bug I found today and wanted to let you 
know.

When you toggle "the resizable" of a stack with an active browser, the content 
of the browser will disappear in data nirvana :-/

Try it yourself:
Open an URL in any browser and toggle the resizable of that stack with a button
or the message box, big fun :-/

You will need to close the browser and open a new instance to make it work 
again.


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Revlets make Safari to crash on Mac OS X 10.6.4!? NO: it's an extensions problem

2010-10-05 Thread Klaus on-rev
Bonsoir François,

> How is adblock supposed to know a revlet is not an ad?

Pas du tôut, mon ami! :-)

It is not that the revlet does not get displayed, but instead Safari CRASHES
when AdBlock (in my case, maybe extensions in general?) is not deactivated!

> The ice is thin between advertisement and information
> Le 5 oct. 2010 à 21:30, Klaus on-rev a écrit :
> 
>> Hi Medard,
>> 
>>> Klaus on-rev  wrote:
>>> 
>>>> you mean you DEactivated AdBlock, right?
>>> 
>>> first, I deactivated all the extensions
>>> (general switch at the top of the panel)
>>> revlets worked
>>> second I put the switch on "activated"
>>> and I activated only AdBlock* (left panel, with individual extensions)
>>> and revlets crashed
>>> *2.21 on my Mac
>> 
>> I see.
>> But this was my only extension and crashed Safari everytime I tried to load 
>> a Revlet.
>> Once deactivated, Revlets load fine.

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Revlets make Safari to crash on Mac OS X 10.6.4!? NO: it's an extensions problem

2010-10-05 Thread Klaus on-rev
Hi Medard,

> Klaus on-rev  wrote:
> 
>> you mean you DEactivated AdBlock, right?
> 
> first, I deactivated all the extensions
> (general switch at the top of the panel)
> 
> revlets worked
> 
> second I put the switch on "activated"
> and I activated only AdBlock* (left panel, with individual extensions)
> 
> and revlets crashed
> 
> *2.21 on my Mac

I see.

But this was my only extension and crashed Safari everytime I tried to load a 
Revlet.
Once deactivated, Revlets load fine.


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Revlets make Safari to crash on Mac OS X 10.6.4!? NO: it's an extensions problem

2010-10-05 Thread Klaus on-rev
Hi Medard,

> Klaus on-rev  wrote:
> 
>> Since I only have one extension installed it is "AdBlock" in my case!
> 
> Ahem!
> 
> I activated AdBlock (only)

you mean you DEactivated AdBlock, right?

> and Safari crashed at revlet launch ;-<<
> 
> Be positive: we have now something to tell to the tech support ;-)))

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Revlets make Safari to crash on Mac OS X 10.6.4!? NO: it's an extensions problem

2010-10-05 Thread Klaus on-rev
Hi Medard,

Am 05.10.2010 um 18:25 schrieb Medard:

> Klaus on-rev  wrote:
>> Since I only have one extension installed it is "AdBlock" in my case!
> if you are right, it is somewhat troublesome: AdBlock is indeed a very
> useful extension... 

You bet, and that's why I rather avoid to load revlets until this got fixed!


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Revlets make Safari to crash on Mac OS X 10.6.4!? NO: it's an extensions problem

2010-10-05 Thread Klaus on-rev
Hi Medard,

> Medard  wrote:
> 
>> Scratching my head..
> reading other posts... and thinking of Flash ;->
> I remember I do have a number of extensions for Safari related to
> Flash!!as ClickToFlash, FlashToHTML, YouTube...
> so I deactivated all the extensions in Safari...
> and... Revlets do load

YES! Same here!

> for now, searching which is the culprit ;-)))

Since I only have one extension installed it is "AdBlock" in my case!

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Cant set field property from Multi-line Msg Box

2010-10-04 Thread Klaus on-rev
Hi Joe,

Am 03.10.2010 um 01:07 schrieb Joe Lewis Wilkins:

> I should have done this originally; To clarify:
> 
> This one works:
> 
> repeat with k = 15 to 69
>   repeat with i = 1 to the number of flds on cd k
>   set the DontWrap of fld i of cd k to true
>   end repeat
> end repeat
> beep
> 
> This one doesn't:
> 
> repeat with k = 15 to 69
>   repeat with i = 1 to the number of flds on cd k
>   set the TabOnReturn of fld i of cd k to true
>   end repeat
> end repeat
> beep

This does work! But you did not exspect how it worked!
Check all these fields and you will find their custom property named 
"TabOnReturn" is set to true! :-D

You might want to set the "autotab" in your loop ;-)
A fact that Richard already mentioned below.

> Joe Lewis Wilkins
> 
> 
> On Oct 2, 2010, at 3:20 PM, stephen barncard wrote:
> 
>> there are no  property names with spaces.
>> 
>> sqb
>> 
>> On 2 October 2010 17:10, Joe Lewis Wilkins  wrote:
>> 
>>> Sorry, but I  said "TAB on Return", which IS a field property.
>>> 
>>> Joe Wilkins
>>> 
>>> On Oct 2, 2010, at 2:56 PM, Richard Gaskin wrote:
>>> 
 Joe Lewis Wilkins wrote:
 
> ...
 In this case the actual property name is "autoTab".

!

 The first thing I tell my clients to do when they begin learning Rev is:
 
 1. Go to Preferences
 2. In the section with the heading "Property labels are:", click the
 option labeled "Name of LiveTalk Property".
 
 Once that's done the Inspector provides reinforcement of the tokens
>>> you'll have to learn for scripting anyway.
 
 And without that, as you've found it just raises the learning curve.
 
 --
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 LiveCode Journal blog: http://LiveCodejournal.com/blog.irv

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: [OT} is WebP going anywhere, and if it is how will LiveCode cope with it?

2010-10-04 Thread Klaus on-rev
Hi all,

Am 04.10.2010 um 18:15 schrieb Ian Wood:

> WepP doesn't really offer anything over JPEG, I honestly can't see any reason 
> for it to take off.
> 
> File sizes can be slightly smaller, but it has the same bit depth, *smaller* 
> pixel dimension limits, doesn't appear to include a progressive download spec 
> like JPEG, doesn't include an alpha layer for transparency like PNGs etc. etc.
> 
> Ian
> 
> On 4 Oct 2010, at 17:04, Richmond wrote:
>> http://code.google.com/speed/webp/download.html
>> 
>> Is this just Google trying to extend its imperialistic influence
>> even further, or is this s serious competitor up against
>> PNG and GIF?
>> 
>> Is RunRev/LiveCode going to be able to import and export WebP
>> in a future recension?

anyone remembers JPEG2000? Good quality and tiny file sizes.

If yes, when did you last encounter this file type?
OK, that may answer the question :-)


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Feture request? WAS Re: RevBrowser question

2010-10-04 Thread Klaus on-rev
Hi all,

Am 04.10.2010 um 16:32 schrieb Andre Garzia:

> I'd vote for it!
> not that my votes ever came into fruition...

OK, will post a feature request then. This would making "secure" browser a lot 
easier!

Not that we are going to see this any sooner than LiveCode 8.2 ;-)

> On Mon, Oct 4, 2010 at 11:29 AM, Ben Rubinstein  wrote:
>> On 04/10/2010 15:24, Klaus on-rev wrote:
>>> Hi all,
>>> Klaus,
>>>> You can have a hidden revBrowser window where you load things, if it
>>>> suits
>>>> you then, you load things on the visible one after fiddling with the
>>>> hidden
>>>> one. Kinda cumbersome but it works, if all you need to check is in the
>>>> HTML
>>>> source then it is better with libURL calls under beforeNavigate but if
>>>> the
>>>> interaction with the server needs cookies then maybe you'd better use a
>>>> hidden revbrowser
>>>> Andre
>>> 
>>> maybe this is an idea for a feature request?
>>> 
>>> I mean to have a message that gets sent when:
>>> 1. an URL has been loaded in RevBrowser BUT
>>> 2. right BEFORE it is going to be displayed!
>>> 
>>> So one could check the htmltext to not/allow the display.
>>> Know what I mean? Something like "BrowserDocumentLoaded"
>> 
>> FWIW, I think this could be a useful feature, but is a relatively obscure
>> requirement.  I'd support it, but with much lower priority than other
>> requests, eg http://quality.runrev.com/qacenter/show_bug.cgi?id=6986
>> 
>> Ben

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Feture request? WAS Re: RevBrowser question

2010-10-04 Thread Klaus on-rev
Hi all,

> Klaus,
> 
> You can have a hidden revBrowser window where you load things, if it suits
> you then, you load things on the visible one after fiddling with the hidden
> one. Kinda cumbersome but it works, if all you need to check is in the HTML
> source then it is better with libURL calls under beforeNavigate but if the
> interaction with the server needs cookies then maybe you'd better use a
> hidden revbrowser
> 
> Andre

maybe this is an idea for a feature request?

I mean to have a message that gets sent when:
1. an URL has been loaded in RevBrowser BUT
2. right BEFORE it is going to be displayed!

So one could check the htmltext to not/allow the display.
Know what I mean? Something like "BrowserDocumentLoaded"

What do you think?


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: loading a https page on OS X

2010-10-04 Thread Klaus on-rev
Malte:

> Klaus:
> 
>libUrlSetSSLVerification false

Yo!

> hth,

id

> Malte

Klaus :-)

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Revlets make Safari to crash on Mac OS X 10.6.4!?

2010-10-04 Thread Klaus on-rev
Hi Medard,

> At least on my machine...
> 
> I upgraded from Mac OS X 10.6.2 to 10.6.4 at the end of June; 
> I don't remember if I acceded the installed revlets on my web page after
> that date -- maybe NOT, if I refer to the visitors IP (my personal IP is
> not fixed)
> Briefly, I think that the revlets runned correctly with Mac OS X 10.6.2
> Now, under 10.6.4 the crash is immediate ;->
> The revlets web page:
> 
> Can you, on your side, test any revlet on this web page, and report the
> result, along with your Mac OS X version?
> 
> TIA :-)
> 
> PS: the technical support is aware of this bug, but excepted me they got
> only one bug report, along with the crash log

Yep, that was me! :-)

> PS2: tested on others machines, that runs smoothly on 10.5.8 and
> 10.6.2...
> 
> PS3: I tested on a fresh "Guest" account, and that crashes also...
> 
> (-8 Médard

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


RevBrowser question

2010-10-04 Thread Klaus on-rev
Hi all,

does someone know if there is a mesge that is sent AFTER a URL has loaded 
but BEFORE it is displayed, so one can check the source html and maybe cancel 
the display if necessary?

Did not find it in hte docs.
"BrowserDocumentComplete" will be too late, page is already displayed.

Any hints very appreciated!


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: RevBrowser question

2010-10-04 Thread Klaus on-rev
Hi Andre,

> Klaus,
> 
> You can have a hidden revBrowser window where you load things, if it suits
> you then, you load things on the visible one after fiddling with the hidden
> one. Kinda cumbersome but it works,

Yep, I wanted to avoid this.

> if all you need to check is in the HTML
> source then it is better with libURL calls under beforeNavigate

Yes, that's what I do now, load the URL and then check the html source first
and "put true into browsercancel" if necessary.

Takes a lillte more time, but what the heck :-D

Unfortunately "browsercancel" is also not in the docs as 
"libUrlSetSSLVerification"
I was looking for yesterday :-/

> but if the
> interaction with the server needs cookies then maybe you'd better use a
> hidden revbrowser
> 
> Andre

Thanks!


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: RevBrowser question

2010-10-04 Thread Klaus on-rev
Hi Ben,

> On 04/10/2010 13:31, Klaus on-rev wrote:
>> does someone know if there is a mesge that is sent AFTER a URL has loaded
>> but BEFORE it is displayed, so one can check the source html and maybe cancel
>> the display if necessary?
> 
> Hi Klaus:
> 
> browserBeforeNavigate.
> You can investigate the URL, and if you don't like it, set the global 
> "browserCancel".

Ah, yes, I will still have to "load" the url though, but this will do, thanks!

I was hoping for something that might already give me "revbrowserget XY, 
"htmltext"" :-)

> Ben

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


loading a https page on OS X

2010-10-03 Thread Klaus on-rev
Hi all,

I tried to load a page from an https server and got of course an
error because the user certicitate was not found.

No username or password required for the site!

the result was:
error -Error with certificate at depth: 0  issuer  ...
...
...
err 20:unable to get local issuer certificate 

So since any internt browser can do this,  my question is how can I do?

Are there any "generic" certificates in some folder on the users hd that I can 
set "the sslcerificates" to?

I seem to remember that this was a topic on this list, but can't remember the 
thread title.

Any hint are very appreciated!


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Launch app from MacOSX system bar

2010-10-02 Thread Klaus on-rev
Hi Josep and Marc,

according to the 4.5 Release Notes (page 10-11) this feature is
1. experimental, which is better than unsupported :-) BUT
2. currently only implemented into the Windows version!

Am 02.10.2010 um 17:36 schrieb Mark Schonewille:
> Josep,
> 
> Apparently, you don't know that you can do this with RR 4.5 now. No need for 
> NSStatusItems.
> 
> --
> Best regards,
> Mark Schonewille
> 
> On 2 okt 2010, at 17:22, JosepM wrote:
> Hi Mark,
>> 
>> And how I put the standalone into de status bar as status item? As
>> NSStatusItem?
>> Maybe I don't explain myself or I don't understand you..., I refer to put
>> the item to the status bar as Airport icon, Monitor icon, the time, the
>> spotlight, and clicking from this show options and one of them was launch
>> the standalone...
>> 
>> Salut,
>> Josep

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: ANN: Updated website

2010-09-26 Thread Klaus on-rev
Bonsoir Pierre,

> Good to see that you went never really away from concert stages even after 
> and indeed the tennis-helbow event ... ;-)

Yep, except the mandatory break of two years.
I like your typo (if it was one!) "tennis helbow" :-D

> Kind Regards,
> 
> Pierre

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: ANN: Updated website

2010-09-26 Thread Klaus on-rev
Hi Colin,

> 
> On Sep 26, 2010, at 1:53 PM, Klaus on-rev wrote:
> 
>> "What you always wanted to know about sex...":
> 
> Your translation of the title isn't quite right:
> http://www.imdb.com/title/tt0068555/

Ah, right, I was just translating the german title...

> I suspect that some teenage boys would be giggling at the fact that the star 
> of that film has the name "woody".

LOL :-D


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: ANN: Updated website

2010-09-26 Thread Klaus on-rev
Hi Richmond,

> On 09/26/2010 08:25 PM, Klaus on-rev wrote:
>> Hi Mark,
>> 
>>> Klaus-
>>> 
>>> ...and turn up the bass...
>> Yeah, you BET! :-D
>> 
>>> -- 
>>> -Mark Wieder
>>> mwie...@ahsoftware.net
>> Best
>> 
>> Klaus
>> 
> Piccolo, piccolo . . . :)

To quote one of my favourite scenes form Woody Allen's 
"What you always wanted to know about sex...":
"Piccolo? Ha! Com' un pane franchessa!"

OK, you have to know the movie to get the joke ;-)

> Good to see that you back; badder and more dangerous than before!

:-D

> Love, Richmond.

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: ANN: Updated website

2010-09-26 Thread Klaus on-rev
Hi Mark,

> Klaus-
> 
> ...and turn up the bass...

Yeah, you BET! :-D

> -- 
> -Mark Wieder
> mwie...@ahsoftware.net

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: ANN: Updated website

2010-09-26 Thread Klaus on-rev
Bom dias Andre,

> Klaus,
> 
> On the reference pages why not list most recent work on top and then go down
> the years, this way it is easier to find what you're up with!

Good question, I will consider this ;-)

> (And maybe some search ranking algorithms will crawl better since they might
> think more important content comes first, or at least it is how I would
> implement them since I want to a social communications course with all the
> journalism stuff saying to get the important fact out first and then dabble
> on the details after)
> 
> :D

:-D


Best and thanks

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: ANN: Updated website

2010-09-26 Thread Klaus on-rev
Hi Jacques,

> Hi Klaus,
> 
> I'm not a native german speaker but... Entwickl-i-ng (on home page) sounds 
> rather like Schwytzertütch...

Ouch, thanks for the hint!

> Jacques

Thanks to all taht have helped me so far, you guys ROCK! :-)


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


ANN: Updated website

2010-09-26 Thread Klaus on-rev
Hi friends,

I just updated my website to reflect the new name of our favorite IDE
and also took the chance to complement and streamline the whole thing.

Since I am not a native english speaker I would appreciate any hints
where my translation is not correct or a bit clumsy", thank you!


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Colors in LiveCode

2010-09-21 Thread Klaus on-rev
Bonjour René,

> In french : "on ne fait pas d'omelette sans casser des œufs" > "we do not 
> make an omelet without breaking eggs"
> and, YES, there is omelette with cheese !  ;-)

I KNEW I was right! :-D

> Le 21 sept. 2010 à 12:40, Klaus on-rev a écrit :
> 
>> Hi Ben,
>> 
>>> On 21/09/2010 10:33, René Micout wrote:
>>>> All this is still annoying, almost every new version of Revolution (Pardon 
>>>> LiveCode) is the same thing ...
>>> 
>>> This is the problem when fixing a bug... sometimes that means breaking 
>>> stacks that were adapted to work with the previous behaviour.  But for me 
>>> this is a massive upgrade because now Rev/LiveCode can read CYMK images.  
>>> So while I accept some eggs have been broken, I'm enjoying the delicious 
>>> omelette!
>>> 
>>> Ben
>>> 
>>> (who's not sure whether that the egg/omelette phrase is only in English...)
>> 
>> I am sure in french this is something with CHEESE! :-D

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Colors in LiveCode

2010-09-21 Thread Klaus on-rev
Hi Ben,

> On 21/09/2010 10:33, René Micout wrote:
>> All this is still annoying, almost every new version of Revolution (Pardon 
>> LiveCode) is the same thing ...
> 
> This is the problem when fixing a bug... sometimes that means breaking stacks 
> that were adapted to work with the previous behaviour.  But for me this is a 
> massive upgrade because now Rev/LiveCode can read CYMK images.  So while I 
> accept some eggs have been broken, I'm enjoying the delicious omelette!
> 
> Ben
> 
> (who's not sure whether that the egg/omelette phrase is only in English...)

I am sure in french this is something with CHEESE! :-D


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Mac OS X - how to darken screen?

2010-09-17 Thread Klaus on-rev
Hi all,

important addition!

> ...
> something like this should work:
> 
> 1. set some properties for "the templatestack":
> the rect to the screenrect
> backgroundcolor to black
decorations to empty!
> loc to the screenloc
> blendlevel to 100 = completely transparent
> 
> 2. create stack "the_cover"
> 3. set blendlevel in a repeat loop up to 0**
> 4. Now do your work behind this stack
> 5. set blendlevel of htat stack in a repeat loop to 0**
> 6. Close stack "the_cover"
> 
> ** Experiment a bit wiht the "step" in the repeat loop, maybe "step 5" or 
> "step 10" will do

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Mac OS X - how to darken screen?

2010-09-17 Thread Klaus on-rev
Hi all,

>>  I want to darken my Mac screen (not just a stack window) the way a slide
>> presentation would do it at its beginning, and then bring it up again to
>> reveal 
>> what has been changed. Does anyone have an AppleScript or a shell() command
>> for this that can be run from Rev?

something like this should work:

1. set some properties for "the templatestack":
the rect to the screenrect
backgroundcolor to black
loc to the screenloc
blendlevel to 100 = completely transparent

2. create stack "the_cover"
3. set blendlevel in a repeat loop up to 0**
4. Now do your work behind this stack
5. set blendlevel of htat stack in a repeat loop to 0**
6. Close stack "the_cover"

** Experiment a bit wiht the "step" in the repeat loop, maybe "step 5" or "step 
10" will do

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Getting started with databases

2010-09-15 Thread Klaus on-rev
Hi Tim,

> Hello
> I am a long time user of Rev but have always developed databases with FMPro 
> advanced. Time to try to make the move to Rev. 
> With big amounts of data and lots of tables joining etc, it all looks pretty 
> arcane to me.
> 
> Can anyone recommend any aids memoire  or templates or anything to help a 
> database slow-coach along?

first of all: Leanr and get used to SQL!

Here is a good start, if you not already know SQL:


At least this one got me started with SQL :-)

> TIA
> 
> Tim

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Card Question

2010-09-12 Thread Klaus on-rev
Hi Warren,

> Is there a way to open a stack without the title bar?  Basically the card
> should be a square box.  Currently the stack is opened as modeless.

Stack script (or script of card 1):
on preopenstack
  set the decorations of this stack to empty
end preopenstack

You can also set this in the inspector for the stack!
> 
> Thanks for any help!
> Warren

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Closing Substack With Mouse Click

2010-09-09 Thread Klaus on-rev
Hi Warren,

> What would be the best method to close a substack if I click a mouse button
> anywhere outside of the substack card?

put this into the stack script

on suspendstack
  close this stack
end suspendstack

Hm, on the second thought I would rather:

on suspendstack
 if the environment <> "development" then close this stack
end suspendstack

:-)

> Warren

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Revolution Enterprise - Encrypt

2010-09-04 Thread Klaus on-rev
Hi Warren,

> With the encrypt command with Enterprise, would I be able to encrypt
> data that I write to SQLite and decrypt it when retrieving it?  I just
> have Studio (so I can't test ths) but would upgrade if this was the
> case.

Yes :-)

> Thanks,
> Warren

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: PDF reading window

2010-09-04 Thread Klaus on-rev
Bonjour Andre,

>> On Mac OS X, you can "play" a PDF file in a QuickTime player.
>> 
>> On all platforms, you can display PDF files in the browser, but a PDF
>> browser plugin maybe be required.
> 
> Thanks Mark.
> Thus, in any case, an external plugin is required...

yes.

> If QT is installed on Windows, displaying in a QT player is not possible?

no, this is a Mac OS X only feature.


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Multi-platform PDF launch?

2010-09-03 Thread Klaus on-rev
Hi David,

> Hello folks,
> I know that on windows I can do something like this for a chm help file:
> 
> launch "MyhelpFile.chm" with hh.exe
> 
> However, I'm trying to figure out a cross-platform solution for
> launching a PDF file instead, using the users default reader program.
> Any tips out there for me?

launch document "path/to your/PDFdoc.pdf"

Should do the job :-)

> Best regards,
> David C.

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Bundle Shmundle: more "Bad Boy" mouthings.

2010-09-02 Thread Klaus on-rev
Hi Richmond,

> At the risk of offending Klaus Major [ what me? surely not? ]

oh well...

> ...
> What got me was this:
> "the surprising new bundle structure on OS X introduced with 4.5 dp4"

I only meant that Rev on OS X now will come as ONE app bundle with everything 
in it
and not with easily accessible folders like earlier versions.

So I am not sure what the meaning of your post is?


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: revCopyFile problems on Mac OS X.6.4

2010-09-01 Thread Klaus on-rev
Hi Malte,:

> Slight correction.
> 
> This appears to work:
> put URL ("binfile:"&tNewFilename) into URL 
> ("binfile:"&pDestinationPath&"/bilder/"&tNewFileName)
> However, this is quite suboptimal, as it reads the file into memory. 

Wild guess:
Does it work if you add a SLASH to the targetfolder
-> revCopyFile tNewFilename,(pDestinationPath&"/bilder/")

> Cheers,
> 
> malte

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Is anybody working with Arabic?

2010-09-01 Thread Klaus on-rev
Hi Lars, Du alter Globetrotter :-)

> Thanks Richmond and Mark for the tips and advice.
> 
> Both were beyond my abilities at this time, but I appreciate it anyway.
> For now I'll stick with my workarounds, one of which is trying to make sure 
> that empty lines are never created in the custom property the first place. If 
> that doesn't succeed, there is always:
> 
> repeat with i = 1 to the num of lines in tData
>  if line i in tData = empty then delete line i in tData
> end repeat

when deleting lines in data, you should start from the END of the data like:
...
repeat with i =  the num of lines of tData DOWN to 1
   if line i of tData = empty then 
  delete line i of tData
  end if
end repeat
...

> Obviously slower than "filter without empty" but the content of that custom 
> property won't be large enough to make it noticable. By the way - I never 
> understood why this, which is faster than "repeat with ..", doesn't work.
> 
> repeat for ech line X in tData
>  if X = empty then delete  X
> end repeat

"repeat for each" is READ only, which means you cannot modify (or delete) the 
value in X in your case!
X in this case will hold the CONTENT of the line and not its line number!

Change it like this and it will work:
...
repeat for each line X in tData
   if X <> empty then 
 put X & CR after newData
  end if
end repeat
delete char -1 of newData
put newData into tData
## Or just use newData from now on...
...

> 
> I use "repeat for each ..." in many handlers, but it doesn't work here and i 
> don't see the difference.

See above...

> Last thing - the alphabetical question. Is the result of sorting Arabic text 
> linesalphabetical indeed alphabetical?

Mark, Richmond? :-)

> Cheers again,
> 
> Lars


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Rev Forum error?

2010-08-31 Thread Klaus on-rev
Hi all,

Am 31.08.2010 um 15:30 schrieb BNig:

> Hi Klaus,
> 
> I see it also, RevOnline  the internet version (images and download) is also
> broken, can access it from Rev though.

looks like the forum is online again.


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Rev Forum error?

2010-08-31 Thread Klaus on-rev
Hi all,

someone also gets this when accessing the Rev forum:
-
General Error
SQL ERROR [ mysql4 ]

Too many connections [1040]

An sql error occurred while fetching this page. Please contact an administrator 
if this problem persists.
--

"Too many connections"??? C'mon this is not Google :-)

This is the second time in two weeks for me.


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: drawer stack

2010-08-25 Thread Klaus on-rev
Hi all,

Am 25.08.2010 um 18:13 schrieb Éric Miclo:

> Hello,
> 
> It was filled as bug #6843 on 2008-07-26 for version 3.0 and is still 
> unconfirmed 2 years after and the dictionary for version 4.0 has not been 
> modified.
> The correct syntax is :
> drawer stack nameOfTheStack at bottom -- left or right
> 
> If you add the parent's stack reference is does not open on the chosen side.

Ah, well, yes, I remember and also the workaround to make this work!
You have to set the defaultstack first to the stack where you want to attach 
the drawer!

So for William this should work:
...
set the defaultstack to "Clients"
drawer stack "consignees" at right aligned to top
...

> It seems that correcting the dictionary is really to much work (if reported 
> bugs are really looked at).
> 
> Best regards,
> 
> ÉrIC Miclo

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: drawer stack

2010-08-25 Thread Klaus on-rev
Hi Mark,

> Hi Klaus,
> 
> At first sight, drawers may seem to work fine, but they are very buggy. I'd 
> avoid them.

buggy or not, that was not the question :-)
At least the drawer should open, which does here!

> --
> Best regards,
> 
> Mark Schonewille

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: drawer stack

2010-08-25 Thread Klaus on-rev
Hi William,

> I did this: "drawer stack "consignees" at right of stack "Clients"
> aligned to top"

hmmm, correct, should work and works here???

> but you can go stack "consignees" or open stack consignees and that
> works. Funny that RunRev has to still be compatible with Mac OS 9. I

I think the last version compatible with MacOS 9 is 2.61(?), at least not a 
newer version.

> wonder how much of an advantage that is?

Imagine you had a machine with OS 9 or even 8 running!
Maybe that will answer your question :-)


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: drawer stack

2010-08-25 Thread Klaus on-rev
Hi William,

> I was just trying to open a drawer stack on my mac OS 10.6.4 system
> and noticed it did nothing at all (stack doesn't even open when using
> the drawer command) and then I read this in the dictionary:
> 
> Cross-platform note:  On Mac OS, Unix, and Windows systems, drawers
> are not supported, so the drawer command opens the stack as a palette
> instead. The palette uses the current rectangle of the stack and does
> not resize or move it.
> 
> 
> So I'm wondering... what system are the folks at RunRev talking about
> where drawers do work? Perhaps RunRev works on BeOs?

:-)

MacOS <> MacOS X!
MacOS = everything <= OS 9!

But drawers DO work on OS X!
Just tested and worked fine.

Could you post your script to open a drawer?
Maybe a typo in the syntax or whatever...


Best

Klaus
--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: UUID

2010-08-17 Thread Klaus on-rev
Hi all,

Am 17.08.2010 um 14:18 schrieb Malte Pfaff-Brill:

> Hey Monte,
> 
> http://marksmith.on-rev.com/revstuff/
> He has got a very nice lib for UUIDs
> 
> Cheers,
> 
> Malte

Yep, or just use shell on Mac and Win (no idea about Linux, but might be 
similar to MacOS)!

Put these two lines into a custom property of your stack or wherever

Set TypeLib = CreateObject("Scriptlet.TypeLib")
result = TypeLib.Guid

And then use this function to get a UUID:

function get_uuid
if the platform = "MacOS" then
put shell("uuidgen") into tUUID
  else
do (the YOUR_CP_NAME_HERE of stack "your stack with the CP") as VBScript
put the result into tUUID

  ## Comes in {} on Windows!
delete char -1 of tUUID
delete char 1 of  tUUID
  end if
  return tUUID
end get_uuid


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Dividing Line in Button

2010-08-12 Thread Klaus on-rev
Hi all,

Am 12.08.2010 um 02:02 schrieb Richard Gaskin:

> Dan Friedman wrote:
> > You can add a dividing line in a option menu (a button who's
> > menuMode is set to "option") on the Mac by simply putting a
> > "-" into a line in the button's text.  How do you get a
> > dividing line on Windows?  All I get is the dash.
> 
> Not supported by the Win HIG - I say ignore the HIG and add it in the engine 
> anyway:
> 
> 

Yep, and when they are at it, they could make the engine a bit more intelligent 
and
check for ONE dash in a line, so negative numbers will be possible as menu 
entries
without ugly hacks and workarounds!



> --
> Richard Gaskin
> Fourth World
> Rev training and consulting: http://www.fourthworld.com
> Webzine for Rev developers: http://www.revjournal.com
> revJournal blog: http://revjournal.com/blog.irv

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Unable to Print/ Email from Standalone

2010-08-10 Thread Klaus on-rev
Hi Brent,

> When User hits the Print Button or Email Button using Windows XP/Vista in 
> Standalone it prints or emails a Blank Document - Even with printing exported 
> as part of the Standalone. Works fine directly from within RevEnterprise on 
> my Macintosh! Below I describe what I am trying to achieve:
> 
> Scenario - Multiple Choice Questions with four modules.
> User can complete one module for a Credential or do the whole lot.
> 
> User Enters their personal details once and it is propagated across several 
> Modules
> 
> on Opencard
>   ...
> ...
> ...
> end if
> end mouseUp
> 
> I have spent over three months trying to resolve this issue and I am getting 
> frustrated. Any suggestions?

well, all of you posted code does only collect the users data, but we need to 
take a look at the mailing resp.
printing handler(s) to be able to guess why the results do not get 
printed/mailed!

BTW, does the above code work as exspected?


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Saving data in List Magic tables

2010-08-05 Thread Klaus on-rev
Hi Charles,

> Richard,
> 
> What is the best location for an app to be installed on OSX?

The "Application" folder. Get it with: 
specialfolderpath("apps")

> Charles Szasz
> csz...@mac.com
> 

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Saving data in List Magic tables

2010-08-05 Thread Klaus on-rev
Hi Charles,

additionally to Richard's answer, plese see my coments below your code.

> I have a standalone consisting of a splash stack and an app stack. I have set
> up a script that the user can insert some information into two tables - one
> for students and one for adults. These tables are on two different cards in
> my app stack. 
> 
> I have been testing my standalone on Windows XP where it was installed in
> the AllUsersAppData directory using an installer program.  I tried the
> following script for the card that has the student list:
> 
> on closeCard
>   Save "School Report" as "\Documents and Settings\All Users\Application
> Data"
> end closeCard

1. You only provide the STRING "School report" to the SAVE command!
Probably you mean "save STACK "School report..."?

2. You only provided the target FOLDER and no filename!
Hint: specialfolderpath(35) will give you that folder on all win versions!
...
save STACK "School report" as (specialfolderpath(35) & "/" & "School report.rev"
## Richards debug code here...
...

Hope that helps.

> But this does not save the data in the two tables!  Any suggestions would be
> greatly appreciated!

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: on-rev facebook api

2010-08-02 Thread Klaus on-rev
Hi Andre,

> Robert,
> 
> Could you please explain this, what is R*d*o?

just add an "o" and "e" in the appropriate places :-)

> Cheers
> andre

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: A problem with this prefers script...

2010-07-07 Thread Klaus on-rev
Hi Charles,

> Klaus,
> 
> Thank! I understand now that I left out the name of the file. But what is the 
> suffix at the end of "your_prefs_file.prf"?

just a fancy suffix ("prf" = abbr. for preferences and is a common suffix on 
Windows systems for pref files :-)
Will of course work without it!

> Charles Szasz
> csz...@mac.com

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: New Window App allows programming for iPhone!

2010-07-07 Thread Klaus on-rev
Hi Andre,

Am 07.07.2010 um 20:04 schrieb Andre Garzia:

> I've liberated beer before... what that makes me, a liberator?

Probably  a libeerator :-)


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: A problem with this prefers script...

2010-07-07 Thread Klaus on-rev
Hi Charles,

> 
> I am trying to set up a preference file. I have two stacks - a splash stack
> and an app stack. The Prefs stack is a substack of the app stack and is not
> a separate stack I trying to use the url and binfile with specialfolder to
> set up my preference file in the appropriate place for windows
> (specialFolderPath(26) ) and mac (specialFolderPath("preferences")).

These functions will only return a path to a FOLDER, 
as the name "specialFOLDERpath" suggests!
You have to provide a filename, too!

Like:
...
specialFolderPath(26) & "/" & "your_prefs_file.prf"
...

> 
> I am getting an error message for  
> ...

See above "binfile:..." requires a filename but you only supply a FOLDER.


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: App deployment on Windows

2010-07-03 Thread Klaus on-rev
Hi Charles,

Am 03.07.2010 um 19:08 schrieb Mark Schonewille:

> Hi,
> 
> This should be X:\program files, where X is the start-up drive.

which you should get with:
specialfolderpath(38)

according to this extremely helpful page:
http://sonsothunder.com/devres/revolution/tips/file010.htm

:-)

> --
> Best regards,
> 
> Mark Schonewille
> 
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> 
> Subscribe to the Economy-x-Talk newsletter at http://qurl.tk/cj
> Download Clipboard Link http://clipboardlink.economy-x-talk.com and share the 
> clipboard of your computer over the local network.
> 
> On 3 jul 2010, at 18:49, charles61 wrote:
> 
>> 
>> What are the standard locations for deploying ann app on Windows XP, Vista
>> and Windows 7?

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: [ANN] ssImageThingy

2010-07-02 Thread Klaus on-rev
Hi all,

Am 02.07.2010 um 04:11 schrieb stephen barncard:
> yes odd things in the script of the button that seem not to relate. Doesn't
> work for me either (Mac OS)
> This is not up to your standards of quality Shao - please check the stack.
> 
> On 1 July 2010 19:08, Ken Ray  wrote:
>> Looks interesting, but how do you get it set up? (I DL'ed It and everything
>> looks blank ATM.
>> 
>> Ken Ray
>> Sons of Thunder Software, Inc.
>> Email: k...@sonsothunder.com
>> Web Site: http://www.sonsothunder.com/

come on guys, are you developers or mice? :-D
Works fine here after I changed the file references in the script of button 
"Load"!

Shao, please dont be offended, they are just... erm... MEN ;-)


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Intelligent sorting: A bit of a poser

2010-07-01 Thread Klaus on-rev
Hi Hugh,

> I have a list of words, each ending in a number...
> 
> img1
> img10
> img11
> img2
> img201
> img3
> img4
> 
> How do I sort them so they are in the visually correct numerical order, like
> this? ...
> 
> img1
> img2
> img3
> img4
> img10
> img11
> img201
> 
> /H

This works for me:
...
sort lines of fld 1 numeric by char 4 to -1 of each
...


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: specialFolderPath question

2010-06-28 Thread Klaus on-rev
Hi charles61,

> 
> I have the following script (partial script to save space) in an altAccordion
> group. When the user clicks on selection_1 the user is not always taken to
> the path indicated in the script. In these situations, the user is taken to
> the last path, which may selection_2. I thought that the path in the script
> would always take the user to that path
> 
> on mouseUp
>   put the hilitedLine of field "Student Plans" into the_selection
> 
>   if the_selection is 1 
>   then
>  answer file "Open Student Plans file:" with
> specialFolderPath("documents") & "/Plans_Student"
> 
> Why does this happen? And, how can I insure that the user will always go the
> path indicated by (specialFolderPath("documents") & "/Plans_Student")?

I think you cannot add a FILENAME to "answer file"! (What if the fiel does not 
exist?)
Leave the "/Plans_Studet" and it will work!
...
answer file "Open Student Plans file:" with specialFolderPath("documents")
## WORKS!
...

You could add this to the prompt:
...
 answer file "Open file :" with...
...
And then check if the user chose the right file.


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Line Numbers in Text Editor

2010-06-25 Thread Klaus on-rev
Hi Justin,

Am 25.06.2010 um 10:49 schrieb BNig:

> 
> Justin,
> 
> look at the formattedText property of a text field. It gives you the the
> text of a field and inserts returns where the line wraps otherwise. This way
> you have a line count of the field which matches what you see and not the
> number of returns.
> 
> put the formattedText of field "myWrappingField" into temp
> put the number of lines of temp

or, if you are in a hurry:
...
put the num of lines of the formattedtext of fld "Bernd's WrappingField"
...

;-)

> regards
> Bernd

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: ObjectList as a variable won't go?

2010-06-21 Thread Klaus on-rev
Hi all,

hm, looks like I missed the explanation why "DO" has to be involved?!

Anyway, I ususally do this:

on mouseUp
  repeat with i = 1 to the number of groups of group "workarea"
set the SELECTED of grp i of grp "workarea" to TRUE
  end repeat
end mouseUp

Et voila, all objects/groups selected.

> Michael,
> 
> as Mark and Jim pointed out:
> try this
> 
> 
> on mouseUp
>   put "" into tCollect
>   repeat with i = 1 to the number of groups of group "workarea"
>  put the long id of group i of group "workarea" & " and " after
> tCollect
>   end repeat
>   delete last word of tCollect
>   lock screen
>   do "select" && tCollect
> end mouseUp
> ---
> and see if it works
> regards
> Bernd

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Parent group

2010-06-17 Thread Klaus on-rev
Hi Simon,

> In flash there was the notion of asking for the name of _parent to get
> the ID or name of the container movieClip.  I have a scenario where I
> would like to poll a button within a group to tell me which group it's
> in.
> 
> The long way would be to get the long name of target, filter it for a
> string, get the first name in quotes to the right of it etc etc.
> 
> But I'm hoping there is something quicker.

try "the owner" of that button!

on mouseDown
   put the owner of the target
end mouseDown


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: How to launch an application (like "word" from a stack?

2010-06-17 Thread Klaus on-rev
Bonjour, Andre.Bisseret:

> Bonjour,
> 
> If I put the following handler in the script of a button:
> 
> on mouseUp
>   launch "/Applications/Microsoft Office 2008/Microsoft Word/"
>   answer the result
> end mouseUp
> 
> I get "no such program"

You supply a path to a FOLDER here, is that correct?
Shouldn't it be:
...
launch "/Applications/Microsoft Office 2008/Microsoft Word.app"
...
?

> I was quite sure that I had have this working well before (Actually, I just 
> replace 2004 with 2008 in an old handler which used to work)
> I get the same result with rev 4.0 and rev 4.5 dp 3
> Did not find any insight in the archives.
> What am I missing?
> Thanks a lot in advance
> 
> Best regards from Grenoble
> 
> André

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Opaque stack resizer

2010-06-12 Thread Klaus on-rev
Hi Simon,

> Ok, I figured out what you're talking about.  The Object Library is
> something new to me since I last used MetaCard (never used RunRev
> until a few weeks ago).
> 
> It works, but it's as sluggish as my two-liner code...the refresh rate
> (even with lockscreen) is very noticeable.
> 
> drag grc "drag-handle"
> set the rect of this stack to the left of this stack, the top of this
> stack, the right of img "drag-handle" + the left of this stack, the
> bottom of img "drag-handle" + the top of this stack
> 
> Thanks Klaus, at least I learned something.  :)

at least something... :-D


Best from rainy germany

Klaus
--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Opaque stack resizer

2010-06-12 Thread Klaus on-rev
Hi Simon,

> Klaus, how would I target this resize widget?  The closest thing I can
> find in the dictionary is resizeControl which doesn't appear to be
> what I thought it was.

??? Sorry, don't know what you mean?

I "placed" that fully functional(!) widget from the "Object library" in my stack
removed its icon and set the "ink" of that namely button to "noop" in the
"Inspector".

After that the (now invisible) button still worked. What am I missing?


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Opaque stack resizer

2010-06-12 Thread Klaus on-rev
Hi Simon,

> The resize widget on the bottom right of my stack has a colour to it.
> It doesn't match the background of my stack.  Is there any way to
> change this value?  I've cobbled together a script to resize the stack
> by dragging an icon around but the result is less then snappy—it's
> downright sluggish.

the resize widget is a button (if we mean the same thingie)!
So you can just set its "icon" to empty and its "ink" to "noop" and that's it 
:-)

If you want its icon to have the right color, then you will have to edit the 
image 
shown in the button or use your own image for this resizer.


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: use-revolution Digest, Vol 81, Issue 21

2010-06-11 Thread Klaus on-rev
Hi Emmett,

> I tried this. What is happening now is that the image ends up covering up and 
> hiding all the other objects in the background. Sending to back doesn't 
> change this. I don't get it yet, sorry to say.

>> Thursday, June 10, 2010, 9:43:42 AM, you wrote:
>> 
>>> up when I try to bring it in as "new control" - like it ends up only
>>> on the current card.
>> 
>> Easiest way to do this is from the menubar:
>> Select the background group
>> Click Edit group (starts the edit process)
>> Import as control (imports the image into the background)
>> Click Edit group (ends the edit process)
>> --
>> -Mark Wieder
>> mwie...@ahsoftware.net

Did you resize the image?
Sounds like the image resizes to its orginal dimensions after setting the 
filename or importing it (again).

In the "Inspector" palette -> "Size & position" check "Lock size and position" 
(lockloc) after you set the correct size of that image object.
That should fix it, if my presumption is correct ;-)


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: AW: How to implement a timebased reminder?

2010-06-11 Thread Klaus on-rev
Hi Tiemo,

> Hi Klaus,
> yes I tried it already with ditto, but my Win7 machine started smoking and
> making funny noise!
> Using "send in" in a self calling handler to get the infinite "loop" or what
> would be the calling handler?

Jim was faster :-)

> Thanks
> Tiemo

Have a sunny weekend!


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: How to implement a timebased reminder?

2010-06-11 Thread Klaus on-rev
Hi Tiemo,

> Hello,
> 
> I would like to create a timebased reminder (like a reminder from a calendar
> app), which runs the whole day "in the background"/ as a task icon (windows)
> or gadget and reminds me in settable intervals about anything.
> 
> How do you realize this kind of app with using a minimum of the processor
> power? Using idle and idlerate or any kind of loop or perhaps something
> completely different?

Do not use IDLE!

> Which would be the less consuming approach?
> 
> Any hint welcome

this also can be done with "ditto" :-D

No, just kidding, use "send ... in... " for this purpose!

> Tiemo

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Klaus . . . :)

2010-06-09 Thread Klaus on-rev
Hi Richmond,

> Hello Klaus,
>  So glad to see that you are "back with us";
> I do hope that everything has smoothed itself out.

Well, sort of, a work in progress...

> I am putting this message on the Use-List as I am sure
> my sentiments are supported by everyone.
> 
> Love you, you "rotten old chap"!

Thanks buddy :-)

> sincerely, Richmond Mathewson.

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Banner ads...

2010-06-09 Thread Klaus on-rev
Hi Simon,

> When I last used MetaCard it had basic support for HTML rendering.
> RunRev seems to do more so I'm curious to know if anyone has
> successfully built an app with banner ads in the UI.  Does it work?

if you mean a gif/jpeg file as the banner then this is nothing more than 
setting the filename of an (empty) image object to an url on any HTTP server!

But FLASH will also work if you use a browser object!


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: [OT] Google Drops Windows

2010-06-02 Thread Klaus on-rev
Hi Kurt,

> S.R.:
> "One hundred rubles says an army of Russian virus writers is working in the
> office next door to Kasparsky, and they all take cigarette breaks together
> every morning.  :-)"
> 
> LOL!   Wasn't there someone who, years ago on the SC list, would 
> occasionally spin fanciful tales of KGB and Stasi intrigue?

Yep, Ivan Aufulish (or whateveritwasspelled)!
That was my first thought, too :-D

> Kurt

Bestz

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: OT: Panorama of my local iPad queue

2010-05-28 Thread Klaus on-rev
Hi Colin,

Am 28.05.2010 um 19:09 schrieb Colin Holgate:

> On May 28, 2010, at 12:53 PM, Ian Wood wrote:
>>> Is that Zaphod Beeblelbrox in the gray hoodie?
>> No, just a stitching error. ;-)
> 
> Is there a link somewhere that shows the hardware being used?
> 
> One note for anyone using Safari, and who tries the pano player: it's using 
> shockwave, and currently shockwave runs as 32 bit. If you're using Safari in 
> 64 bit then the shockwave movie won't work. You can Get Info on Safari and 
> tell it to run in 32 bit for now (the performance is still good). A 64 bit 
> version of shockwave will be released in a few weeks.

thanks for the info!

But wouldn't it be nice if the rev-web plugin could also do this without QT? ;-)


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: revWeb - revlet - examples please

2010-05-26 Thread Klaus on-rev

Am 26.05.2010 um 16:49 schrieb Richard K. Herz:

> Robert Mann wrote:
>> nice initiative! I really wonder how large is revTalk community... Anyway
>> good opportunity to be able to test what actually work and what does not.
>> 
>> 1) audio on revlet seems to be problematic :
>> # RGB Music RENGA  by Kenji
>> Kojima : no sound (macBook mac os x 10.5 / on safari and firefox)
>>   
> 
> Click on the image on the right side of the link above - or go directly to
> http://www.kenjikojima.com/999ViewsRenga/index.html
> and click "Allow Once" in the security notice. Then, on the lower right of 
> the window, there is set of Play, Pause, Stop buttons - click the Play button 
> - I hear music on Mac on Firefox OK.

Also works fine in Safari for me!


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: (no subject)

2010-04-18 Thread Klaus on-rev
Hi all,

> On 18/04/2010 14:40, Klaus on-rev wrote:
>> Bom dias Haroldo,
>> 
>>> ...
>>> ...
>> 
>> I tend to use "switch" since this makes scripts better readable than lots of
>> nested "if... then" statements.
>> 
>>> Any help would be appreciated. Thank you.
>>> Harold
>> Best
>> 
>> Klaus
>> 
> seems unnecessarily long . . .  :)

Maybe...

I have to apologize Haroldo, the logic in your script is correct!

But maybe "go next cd OF THIS BG" is making Rev choke somehow?
Since "...of this bg" is genuine HyperTalk after all...


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: (no subject)

2010-04-18 Thread Klaus on-rev
Bom dias Haroldo,

> ...
> 
> Instead of going to card 1 it kept going to the next card each time I pressed 
> the up arrow key, and after the last card the stack just closed. 

you have a little error in your logic, that's why!

> Here's my original handler, from the Hypercard stack script, which doens't 
> work:
> (handler is in stack script)
> on arrowKey whichKey
>  if whichKey is "right" then
>if the optionKey is down then
>  go first card of next bg
>else

## ELSE here means EVERYTHING but "right"!
## Therefore every arrowkey but "right" goes to the next card!

>  go next card of this bg
>end if
>  end if
>  if whichKey is "left" then
>if the optionKey is down then
>  go last card of previous bg
>else
>  go previous card of this bg
>end if
>  end if
> end arrowKey

Use this instead:


on arrowkey tKey
  switch tKey
  case "right"
  if the optionKey is down then
go first card of next bg
else
   go next card of this bg
end if
  break
  case "left"
 if the optionKey is down then
  go last card of previous bg
else
   go previous card of this bg
 end if
   break

   # Now let all other arrowkeys pass
   default
 pass arrowkey
break
 end switch
end arrowkey

I tend to use "switch" since this makes scripts better readable than lots of 
nested "if... then" statements.

> Any help would be appreciated. Thank you.
> Harold

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: specialFolderPath

2010-04-15 Thread Klaus on-rev
Hi Charles,

> Klaus,
> 
> Thanks! I have a question: How would I create a folder entitled "MyFolder" in 
> the user's document folder using the following script?:
> ask file "My file as: " with specialFolderPath("docs") & slash

...
put specialfolderpath("docs") & "/MyFolder" into tNewFolder
if there is not a folder tNewFolder then
   create folder tNewFolder
end if
ask file "My file as: " with (tNewFolder & "/The_New_File.txt")
## Or whatever your filetype maybe
...

> Charles Szasz
> csz...@mac.com

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: specialFolderPath

2010-04-15 Thread Klaus on-rev
Hi Charles,

> Klaus,
> 
> Oops,  am sorry for the mistake!

Thou shalt be forgiven!
Don't worry, this happens to me all the time ;-)


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: specialFolderPath

2010-04-15 Thread Klaus on-rev
Hi Charles,

> Kaus,
> 
> Thanks! And congratulations on your new daughter!

my name is Klaus and I am still not Malte :-D


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Display the message ?

2010-04-14 Thread Klaus on-rev
Hi Shani,

> HI, 
> 
> Thanks
> Using answer "Reached the goal"
> 
> Display message before the object reached to the goal. 
> I want to do this, when object reached on Goal then it display the message.

check the "movestopped" message in the dictionary!

Put this into the card script:
on movestopped tTarget
   put the target
end movestopped

This will put the name of the object that has stopped moving in the message box 
like
graphic "xyz"

> Regards,
> SHANI

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Display the message ?

2010-04-14 Thread Klaus on-rev
Hi Shani,

> When one object reach the other object (goal)
> How can I display comments that reach the goal.
>   move graphic XYZ from the loc of grc XYZ to the loc of grc ("ABC") in
> 2 seconds without waiting  
> 
> --corrected by Klaus

my pleasure :-)

> Display "Reached on Goal"

answer "Reached the goal!"

Read the Rev dictionary about "answer" and the related "ask" commands.

> Regars,
> 
> SHANI

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Object Speed ?

2010-04-14 Thread Klaus on-rev
Hi Shani,

> HI, 
> Thanks
> 
> It works same as i mention before. 
> http://www.4shared.com/file/iyM6-FY7/test.html
> 
> 
> Example:-
> like consider that I have two object (car) they both start same time. One is
> moving on speed 75km/h and other is on 120 km/h, the car which is on 120
> km/h reach before and other one reach later.
> 
> So that I want to move like that on different speed.

oh, sorry, I forgot important things -> without waiting!

...
lock moves
## or -> set the lockmoves to true

move grc 1 from X,Y to Y,Z in 2 secs without waiting
move grc 2 from Z,W to H,K in 3 secs without waiting
## more moving objects here...
unlock moves
...

Because I forgot to add "without waiting" the first graphic moves and blocked
the moves of the other objects! That's why this did not work as exspected!

Tested and works!
You had this already in your comented lines in your test stack ;-)

> REGARDS,
> SHANI

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: Object Speed ?

2010-04-14 Thread Klaus on-rev
Hi Shani,

> HO can i change the speed of different objects.
> 
>  move graphic xyz from the loc of grc xyz to the loc of grc ("xz") in 2
> seconds.
> 
> 
> 
> When I apply this command this wait for 2 second then go toward the goal,
> but I need it like when I have 4 objects and four different goal. 
> 
> It goes toward goal with different speed mean some fast and some slow like
> that .
> 
> 
> How can I set their speed.

use "lock moves" first, then move all objects and then use "unlock moves":
...
lock moves
## or -> set the lockmoves to true

move grc 1 from X,Y to Y,Z in 2 secs
move grc 2 from Z,W to H,K in 3 secs
## more moving objects here...
unlock moves
...

"unlock moves" (or "set the lockmoves to false") acts like the starting shot in 
a race :-)

> Regards,
> 
> SHANI

Best from germany

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


  1   2   >