Re: Quitting Question

2010-11-17 Thread Mark Schonewille
Hi Joe,

The problem here is that the Quit menu item in the application menu doesn't 
trigger any Revolution messages, except for shutdownRequest. After you choose 
the Quit menu item, it is the operating system that stops the application, not 
Revolution itself. However, before the operating system stops the application, 
it sends a message, which in turn triggers the shutdownRequest message.

If you still want to solve this, then you'll need to post your current script.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Follow Economy-x-Talk on Facebook now and get a free Color Converter license 
http://qurl.tk/gn (read the conditions)

On 17 nov 2010, at 08:27, Joe Lewis Wilkins wrote:

> Mark, I can't get this to work properly. Frankly, I think something like this 
> should be automatically resolved as part of the Auto script on the Menu 
> Builder. As is, too complicated; plus it doesn't work even implementing your 
> suggestions. I may have made a mistake, but I don't think so. I've just 
> decided to always save with that caveat to users. Not a friendly solution, 
> but my users will be very bright professionals. Not to say that we haven't 
> all screwed up at one time or another. (smile)
> 
> Joe Wilkins

___
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: DOWNLOADING REV 4.0.0

2010-11-17 Thread Joseba Aguayo
Kaixo:

How it's possible that RunRev delete the Revolution Player from his Web??
Update the software, but don't delete old files that your client use!
This is a serious company?

Un saludo.

Joseba Aguayo Fernández
(jagu...@telur.es)

___
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: DOWNLOADING REV 4.0.0

2010-11-17 Thread Richmond

On 11/17/2010 11:23 AM, Joseba Aguayo wrote:

Kaixo:

How it's possible that RunRev delete the Revolution Player from his Web??
Update the software, but don't delete old files that your client use!
This is a serious company?

Un saludo.

Joseba Aguayo Fernández
(jagu...@telur.es)

___

The whole situation is all rather odd:

Prior to RunRev changing the name of their product to "Livecode" quite
a range of earlier versions of Runtime Revolution were available for
download; presumably as a service to people whose backups have gone screwy;
and a very nice and friendly service it was too - in keeping with the very
nice and friendly image RunRev projected in general.

As soon as "Runtime Revolution" changed to "Livecode" all those
downloads vanished: this reminds me of all those "popular revolutions"
that, like Chronos, ate their own children once power had been
established. It might not be a bad idea to remember what subsequently
happened to Chronos and Robespierre.

As I am a natural conservative sort of fellow (i.e. I conserve all sorts of
odds and ends in case I may need them later) I have burnt all the 
variants of
RevStudio 4 as well as quite a few earlier recensions, onto CDs, 
external hard drives

and so on - so I can be a "revolutionary backslider" should I choose.

Yours, "Sanson", Richmond.
___
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: what's "this" stack

2010-11-17 Thread Robert Brenstein

On 15.11.2010 at 17:42 Uhr -0800 Mark Smith apparently wrote:

Robert Brenstein wrote:


 change your code as follows to resolve this for yourself ;-)

 on savenotes
 modeless stack "save"
 answer "Saving" && (the short name of this stack) -- just to know




Interesting, when I put the answer line in the notepad stack script I get
"saving notepad". But when I put it into the "save" substack it says "saving
save". I couldn't find a way for the "save" substack to say "saving notepad"
and "saving save" looks dumb. So, yes, I know now which stack is being saved
but how do I let the user know? One idea (not tested) is to put a blank
label in the save stack and then try and put the Saving && stuff into the
save stack label. I think i'll give that a try and let you know how it
works.


So what you find confirms that 'this' refers to the active stack, 
which should be what the defaultstack function returns.


The answer command was meant only to figure out what is the meaning 
of 'this' at that point. You said that one stack is the substack on 
the other, so it does not matter which "this" is being saved since 
saving affects all stacks in a given stackfile.


I presumably misunderstood what you meant, but using answer to tell 
something to end-user (in context of saving) is not a good idea since 
answer interrupts the program.


If you want to enhance your program to tell user the name of its file 
(if your program can open multiple user files, for example), you can 
pass it as parameter, keep in a global/local (depending on your 
structure) or reverse engineer from the mainstack's name/title.


Robert
___
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: Gif issues

2010-11-17 Thread Trevor DeVore
On Thu, Nov 11, 2010 at 4:27 PM, Andrew Kluthe  wrote:

>
>  My splash screen presents a login and upon authenticating the actual
> splash
> comes up, checks for updates, then connects to a database using SQLYoga. I
> had made 2 handlers, one for starting and showing the gif, and one for
> stopping, hiding and resetting the gif's state.
>
> Everything works as it should until SQLYoga actual goes to connect to the
> database. At this point the gif animation freezes until the connection is
> successfully made. The rest of the processes for initialization are
> lightning fast so primarily the gif is for the wait on the connection to
> the
> db.
>

GIF animations will not animate while the engine is involved in a long
process. If it is taking a while to connect to the database then the engine
is in a revOpenDatabase call which would stop the GIF animation.

I don't know that the GIF animation issue is something that can be addressed
right now but you could submit a request to have revOpenDatabase be
non-blocking. hostnametoaddress was recently update in 4.5 so a to be
non-blocking if [callback] was provided:

hostnameToAddress(hostname, [ callback ])

This is significant because now our applications don't have to lock up if
there is a problem connecting to the internet. Maybe revOpenDatabase could
have a [callback] option as well.

-- 
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers:
http://revolution.bluemangolearning.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: Gif issues

2010-11-17 Thread Richmond

Animated GIF images seem to cause more trouble than they are worth with
Livecode:

- turning the clock back -

Animations were effected in Hypercard by running through a series of cards.

---

A method I have used is by having a Button where I want the animation to 
be and
setting the icon to a series of images. If one opens an animated GIF 
with Quicktime one
can export the series of frames as individual images which can then be 
imported into
a stack, stored off-screen, and called as icons for a button. Although a 
series of images will
involves a RAM overhead in comparison with an animated GIF that is 
hardly relevant

when people look at you askance if your computer has less that a Gig of RAM.
___
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: s it possible to access or set individual pixels of an image?

2010-11-17 Thread Trevor DeVore
On Tue, Nov 16, 2010 at 6:50 PM, Marty Billingsley
wrote:

> Is it possible to read and set the color of individual pixels in an image?
>  ImageData is a little incomprehensible.
>
> Basically, I'd like to be able to do something like:
> for each pixel in image "x",  set the color of that pixel to some
> calculated value (or a value pulled from a pixel of another image)
>
> Thanks for any pointers you can give me!
>

Unfortunately there is no shortcut for looping over each pixel. It would be
great to be able to do this:

repeat with i = 1 to the number of pixels of theImageData
put pixel i of theImageData into thePixelA

put 20 into thePixelA["red"]
put 0 into thePixelA["green"]
put 255 into thePixelA["blue"]

set pixel i of theImageData to thePixelA
end repeat

But we can't :-)

You will need to work with the imageData. It isn't too bad once you get your
head around it. Here is one way you could loop through the imageData of an
image, accessing individual pixels. This may not be the most efficient way
but hopefully it illustrates how to access each pixel clearly enough so that
the format of the imageData makes sense.

put the imageData of img 1 into theImageBytes
repeat with i = 1 to the number of bytes of theImageBytes
put byte i of theImageBytes into theAlphaValue -- always 0
put byte (i+1) of theImageBytes into theRedValue
put byte (i+2) of theImageBytes into theGreenValue
put byte (i+3) of theImageBytes into theBlueValue

## Convert bytes to numbers that you can manipulate
put charToNum(theRedValue) into theRedValue
put charToNum(theGreenValue) into theGreenValue
put charToNum(theBlueValue) into theBlueValue

## manipulate values as needed
...

## Convert back into binary data
put numToChar(theRedValue) into theRedValue
put numToChar(theGreenValue) into theGreenValue
put numToChar(theBlueValue) into theBlueValue

## Store modified pixel in theImageBytes
put theRedValue into byte (i+1) of theImageBytes
put theGreenValue into byte (i+2) of theImageBytes
put theBlueValue into byte (i+3) of theImageBytes

## You might be tempted to use "step 4" in the repeat loop up above.
## The problem with this is that the engine will execute one last time
when
## the counter steps to (the number of bytes + 1). This is no good as
there
## will be no pixel starting at (the number of bytes + 1).
## Instead, we rely on the repeat loop incrementing i by 1 and we add on
an
## additional 3 for the equivalent of "step 4"
add 3 to i
end repeat

set the imageData of img 1 to theImageBytes

Hopefully this helps.

-- 

Trevor DeVore

Blue Mango Learning Systems

ScreenSteps: http://www.screensteps.com

Releasable Revolution Resources for Developers:
http://revolution.bluemangolearning.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: LiveCode and the Mac App Store

2010-11-17 Thread Thomas McGrath III
Ron,

I haven't used LC for the APPLE desktop store yet but I am developing a few 
applications for the APP iOS store. In the APP iOS store application you can 
not spit out stacks as in 1. and although you could auto check for upgrades 3. 
you could not download them because Apple won't allow it except through the APP 
iOS store upgrade mechanism. I do list my homepage in my app and on the APP iOS 
store in iTunes.

I would assume that for the APPLE desktop store there will be some restrictions 
but not as tight as the APP iOS store. I haven't looked into it yet but I would 
think that the auto upgrade 3. will not be possible since by using the APPLE 
store your are agreeing to use their auto upgrade features. Not sure about the 
prefs or saving a stack out or the home page listing for an APPLE desktop store 
application.


Tom McGrath III
Lazy River Software
http://lazyriver.on-rev.com
3mcgr...@comcast.net

I Can Speak - Communication for the rest of us...
http://mypad.lazyriver.on-rev.com

I Can Speak on the iPad Store
http://itunes.apple.com/us/app/i-can-speak/id364733279?mt=8

On Nov 16, 2010, at 11:06 PM, ron barber wrote:

> As a follow up to my earlier question _can_ we use LiveCode desktop to
> make desktop apps to be sold through the Apple store (Kevin's answer
> was a qualified 'yes') Is anyone _actually_ moving forward with an app
> for the Apple store?
> 
> I have an app that I want to make available in the store but I'm
> worried that current set up may not meet Apple guidelines.
> 
> If so could you comment on how you eliminated or modified the way you:
> 
> 1. Save prefs: currently I spit out another stack from a customprop
> stored in the startupstack.
> 2. Listing your homepage in the About or Help menus or anywhere else.
> In other words, Are you providing a way for users to contact you in a
> way that Apple likes?
> 3. Auto checking upgrade options: currently my app checks a file on
> homepage on startup and informs users if there is a newer version.
> 
> Any other parts of your application that you have modified to conform
> to Apple's (current) guidelines?
> 
> Thanks for your suggestions...
> Ron
> ___
> 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

___
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


How do you resize a snapshot from rect?

2010-11-17 Thread William de Smet
Hi there all,

I take a snapshot from a card put I want the exported file to be saved
resized (bigger).
I do the same with printing but then I set the printscale to 1.8.
Can anyone tell me what the best way is to do this?

 --
set the fileType to "ogleJPEG"
   ask file "Save:" with "*.jpg"
   if char -4 to -1 of it <> ".jpg" then put ".jpg" after it
   export snapshot from rect "-2,48,507,557"  of this card to file it as JPEG
-


greetings,

William
___
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: LiveCode and the Mac App Store

2010-11-17 Thread ron barber
Tom,
Thanks for the reply and specifics. I recognize that Apple's policy is
a work in progress and the app store will probably be somewhat
different from the iOS store but I am looking for some guidelines to
keep from making obvious mistakes.

So what do you do for saving prefs for your iOS app? It sounds like
the Apple upgrade mechanism is compatible with a LC app but do we need
to do anything to link to it?

Thanks
Ron

On Wed, Nov 17, 2010 at 11:13 PM, Thomas McGrath III  wrote:
> Ron,
>
> I haven't used LC for the APPLE desktop store yet but I am developing a few 
> applications for the APP iOS store. In the APP iOS store application you can 
> not spit out stacks as in 1. and although you could auto check for upgrades 
> 3. you could not download them because Apple won't allow it except through 
> the APP iOS store upgrade mechanism. I do list my homepage in my app and on 
> the APP iOS store in iTunes.
>
> I would assume that for the APPLE desktop store there will be some 
> restrictions but not as tight as the APP iOS store. I haven't looked into it 
> yet but I would think that the auto upgrade 3. will not be possible since by 
> using the APPLE store your are agreeing to use their auto upgrade features. 
> Not sure about the prefs or saving a stack out or the home page listing for 
> an APPLE desktop store application.
>
>
> Tom McGrath III
> Lazy River Software
> http://lazyriver.on-rev.com
> 3mcgr...@comcast.net
>
> I Can Speak - Communication for the rest of us...
> http://mypad.lazyriver.on-rev.com
>
> I Can Speak on the iPad Store
> http://itunes.apple.com/us/app/i-can-speak/id364733279?mt=8
>
> On Nov 16, 2010, at 11:06 PM, ron barber wrote:
>
>> As a follow up to my earlier question _can_ we use LiveCode desktop to
>> make desktop apps to be sold through the Apple store (Kevin's answer
>> was a qualified 'yes') Is anyone _actually_ moving forward with an app
>> for the Apple store?
>>
>> I have an app that I want to make available in the store but I'm
>> worried that current set up may not meet Apple guidelines.
>>
>> If so could you comment on how you eliminated or modified the way you:
>>
>> 1. Save prefs: currently I spit out another stack from a customprop
>> stored in the startupstack.
>> 2. Listing your homepage in the About or Help menus or anywhere else.
>> In other words, Are you providing a way for users to contact you in a
>> way that Apple likes?
>> 3. Auto checking upgrade options: currently my app checks a file on
>> homepage on startup and informs users if there is a newer version.
>>
>> Any other parts of your application that you have modified to conform
>> to Apple's (current) guidelines?
>>
>> Thanks for your suggestions...
>> Ron
>> ___
>> 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
>
> ___
> 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
>
___
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 do you resize a snapshot from rect?

2010-11-17 Thread Harald Müller
Hi William,

couldn't you make a snaphot of the card as image (placed on the card),
resize it and save the (bigger) result?

Best regards,
Harald.

Am 17.11.2010 um 16:29 schrieb William de Smet:

> Hi there all,
> 
> I take a snapshot from a card put I want the exported file to be saved
> resized (bigger).
> I do the same with printing but then I set the printscale to 1.8.
> Can anyone tell me what the best way is to do this?
> 
> --
> set the fileType to "ogleJPEG"
>   ask file "Save:" with "*.jpg"
>   if char -4 to -1 of it <> ".jpg" then put ".jpg" after it
>   export snapshot from rect "-2,48,507,557"  of this card to file it as JPEG
> -
> 
> 
> greetings,
> 
> William
> ___
> 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
> 

___
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: Quitting Question

2010-11-17 Thread Joe Lewis Wilkins
Hi Mark,

Right now I have some more crucial issues to address, as I mentioned in an 
earlier email to the list. Once I have those resolved, I "may" get back to 
this. Maybe not. (smile)

Regardless, thank you for your time.

Joe Wilkins

On Nov 17, 2010, at 1:05 AM, Mark Schonewille wrote:

> Hi Joe,
> 
> The problem here is that the Quit menu item in the application menu doesn't 
> trigger any Revolution messages, except for shutdownRequest. After you choose 
> the Quit menu item, it is the operating system that stops the application, 
> not Revolution itself. However, before the operating system stops the 
> application, it sends a message, which in turn triggers the shutdownRequest 
> message.
> 
> If you still want to solve this, then you'll need to post your current script.
> 
> --
> Best regards,
> 
> Mark Schonewille
> 
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
> 
> Follow Economy-x-Talk on Facebook now and get a free Color Converter license 
> http://qurl.tk/gn (read the conditions)
> 
> On 17 nov 2010, at 08:27, Joe Lewis Wilkins wrote:
> 
>> Mark, I can't get this to work properly. Frankly, I think something like 
>> this should be automatically resolved as part of the Auto script on the Menu 
>> Builder. As is, too complicated; plus it doesn't work even implementing your 
>> suggestions. I may have made a mistake, but I don't think so. I've just 
>> decided to always save with that caveat to users. Not a friendly solution, 
>> but my users will be very bright professionals. Not to say that we haven't 
>> all screwed up at one time or another. (smile)
>> 
>> Joe Wilkins

___
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 do you resize a snapshot from rect?

2010-11-17 Thread Mark Wieder
William-

Wednesday, November 17, 2010, 7:29:17 AM, you wrote:

> Hi there all,

> I take a snapshot from a card put I want the exported file to be saved
> resized (bigger).
> I do the same with printing but then I set the printscale to 1.8.
> Can anyone tell me what the best way is to do this?

>  --
> set the fileType to "ogleJPEG"
>ask file "Save:" with "*.jpg"
>if char -4 to -1 of it <> ".jpg" then put ".jpg" after it
>export snapshot from rect "-2,48,507,557"  of this card to file it as JPEG
> -

Here's how I do resized snapshots:

import snapshot from control id tControl
set the resizequality of the last image to "best"
set the width of the last image to tWidth
set the height of the last image to tHeight

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

___
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: Windows Version problems

2010-11-17 Thread Joe Lewis Wilkins
Well, it seems that my problem is more pernicious than I realized. While within 
the IDE I can go back and forth between stacks by providing the name of the 
stack with the .rev on the end, but that doesn't help to identify the stacks in 
the standalone, so I thought that, if I stripped the .rev from the names, I'd 
be able to go back and forth in the standalone. It appears that I can't. So, 
I've been deluded into thinking that this is even possible in the MacOX 
standalone. This concept is/was the basis of my entire application.

So my BIG question is: "Is there ANY way that we can go back and forth between 
stacks in a standalone?" If so, what is the syntax? I want to click on a button 
in one stack, go to another and retrieve some information stored there, return 
to the original stack and use the information to do something. In the IDE I can 
do this. It appears that I cannot do that in a standalone. Is my only solution 
to run the application using StackRunner?

TIA to anyone who has insight into this problem. 

Joe Wilkins

On Nov 16, 2010, at 11:06 PM, Joe Lewis Wilkins wrote:

> The Windows version of my app has a few problems. I'm using this on a MacPro 
> under Fusion.
> 
> 1.  A whole series of buttons on the first card are missing; while others on 
> the card are there. They are all there on the MacOSX version. All are exactly 
> the same except for their scripts which are very simple and used to go to 
> other cards. The missing ones take the user to another stack.
> 2.  The Menus of one of the three stacks are Very Large text, whereas the 
> other two are small text. 
> Any ideas? I'd like them all to be Very Large.
> 
> Joe Wilkins
> 
> 
> 
> 
> 

___
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: Windows Version problems

2010-11-17 Thread Joe Lewis Wilkins
What's even more confusing is that I find I CAN go to sub-stacks from the Main 
Stack, but not the other way around. Hmn!

Sorry for all the postings. I'll just keep working and maybe stumble over a 
solution.

Joe Wilkins

On Nov 17, 2010, at 8:51 AM, Joe Lewis Wilkins wrote:

> Well, it seems that my problem is more pernicious than I realized. While 
> within the IDE I can go back and forth between stacks by providing the name 
> of the stack with the .rev on the end, but that doesn't help to identify the 
> stacks in the standalone, so I thought that, if I stripped the .rev from the 
> names, I'd be able to go back and forth in the standalone. It appears that I 
> can't. So, I've been deluded into thinking that this is even possible in the 
> MacOX standalone. This concept is/was the basis of my entire application.
> 
> So my BIG question is: "Is there ANY way that we can go back and forth 
> between stacks in a standalone?" If so, what is the syntax? I want to click 
> on a button in one stack, go to another and retrieve some information stored 
> there, return to the original stack and use the information to do something. 
> In the IDE I can do this. It appears that I cannot do that in a standalone. 
> Is my only solution to run the application using StackRunner?
> 
> TIA to anyone who has insight into this problem. 
> 
> Joe Wilkins
> 
> On Nov 16, 2010, at 11:06 PM, Joe Lewis Wilkins wrote:
> 
>> The Windows version of my app has a few problems. I'm using this on a MacPro 
>> under Fusion.
>> 
>> 1.  A whole series of buttons on the first card are missing; while others on 
>> the card are there. They are all there on the MacOSX version. All are 
>> exactly the same except for their scripts which are very simple and used to 
>> go to other cards. The missing ones take the user to another stack.
>> 2.  The Menus of one of the three stacks are Very Large text, whereas the 
>> other two are small text. 
>> Any ideas? I'd like them all to be Very Large.
>> 
>> Joe Wilkins

___
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: Windows Version problems

2010-11-17 Thread Richmond

On 11/17/2010 06:51 PM, Joe Lewis Wilkins wrote:

Well, it seems that my problem is more pernicious than I realized. While within 
the IDE I can go back and forth between stacks by providing the name of the 
stack with the .rev on the end, but that doesn't help to identify the stacks in 
the standalone, so I thought that, if I stripped the .rev from the names, I'd 
be able to go back and forth in the standalone. It appears that I can't. So, 
I've been deluded into thinking that this is even possible in the MacOX 
standalone. This concept is/was the basis of my entire application.

So my BIG question is: "Is there ANY way that we can go back and forth between 
stacks in a standalone?" If so, what is the syntax? I want to click on a button in 
one stack, go to another and retrieve some information stored there, return to the 
original stack and use the information to do something. In the IDE I can do this. It 
appears that I cannot do that in a standalone. Is my only solution to run the application 
using StackRunner?


Excuse me if ths is a rather goofy question: but, are these stacks all 
substacks of one main stack,

or are they all mainstacks being rolled into one standalone??

Certainly if all these stacks are substacks there SHOULD be no problem 
navigating back and forth.



TIA to anyone who has insight into this problem.

Joe Wilkins

On Nov 16, 2010, at 11:06 PM, Joe Lewis Wilkins wrote:


The Windows version of my app has a few problems. I'm using this on a MacPro 
under Fusion.

1.  A whole series of buttons on the first card are missing; while others on 
the card are there. They are all there on the MacOSX version. All are exactly 
the same except for their scripts which are very simple and used to go to other 
cards. The missing ones take the user to another stack.
2.  The Menus of one of the three stacks are Very Large text, whereas the other 
two are small text.
Any ideas? I'd like them all to be Very Large.

Joe Wilkins






___
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


___
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: Windows Version problems

2010-11-17 Thread John Dixon

Joe...

I'm confused with what you want to do...

Do you want to put data from your standalone into say a field in a substack and 
also at some point in time get that data back from the substack and view it in 
your mainstack ?

or

Do you want to open your substack from your main stack and then go back to your 
main stack from your substack ?

Dixie

> From: pepe...@cox.net
> Date: Wed, 17 Nov 2010 09:09:35 -0800
> To: use-revolution@lists.runrev.com
> Subject: Re: Windows Version problems
> 
> What's even more confusing is that I find I CAN go to sub-stacks from the 
> Main Stack, but not the other way around. Hmn!
> 
> Sorry for all the postings. I'll just keep working and maybe stumble over a 
> solution.
> 
> Joe Wilkins
> 
> On Nov 17, 2010, at 8:51 AM, Joe Lewis Wilkins wrote:
> 
> > Well, it seems that my problem is more pernicious than I realized. While 
> > within the IDE I can go back and forth between stacks by providing the name 
> > of the stack with the .rev on the end, but that doesn't help to identify 
> > the stacks in the standalone, so I thought that, if I stripped the .rev 
> > from the names, I'd be able to go back and forth in the standalone. It 
> > appears that I can't. So, I've been deluded into thinking that this is even 
> > possible in the MacOX standalone. This concept is/was the basis of my 
> > entire application.
> > 
> > So my BIG question is: "Is there ANY way that we can go back and forth 
> > between stacks in a standalone?" If so, what is the syntax? I want to click 
> > on a button in one stack, go to another and retrieve some information 
> > stored there, return to the original stack and use the information to do 
> > something. In the IDE I can do this. It appears that I cannot do that in a 
> > standalone. Is my only solution to run the application using StackRunner?
> > 
> > TIA to anyone who has insight into this problem. 
> > 
> > Joe Wilkins
> > 
> > On Nov 16, 2010, at 11:06 PM, Joe Lewis Wilkins wrote:
> > 
> >> The Windows version of my app has a few problems. I'm using this on a 
> >> MacPro under Fusion.
> >> 
> >> 1.  A whole series of buttons on the first card are missing; while others 
> >> on the card are there. They are all there on the MacOSX version. All are 
> >> exactly the same except for their scripts which are very simple and used 
> >> to go to other cards. The missing ones take the user to another stack.
> >> 2.  The Menus of one of the three stacks are Very Large text, whereas the 
> >> other two are small text. 
> >> Any ideas? I'd like them all to be Very Large.
> >> 
> >> Joe Wilkins
> 
> ___
> 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
  
___
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


Stackrunner

2010-11-17 Thread Peter Haworth
Just started using this and very happy but have come across a problem  
regarding button icons.  I imported a set of icons into the image  
library in the IDE and refer to the icon numbers within the Image  
Library when specifying icons for buttons.  All works fine in the IDE  
and standalone but in Stackrunner the icons are not displayed and the  
buttons are invisible.  I can click on them OK (if I guess where they  
are!).  Any ideas as to why this might be happening?


Pete Haworth








http://www.mollysrevenge.com
http://www.sonicbids.com/MollysRevenge
http://www.myspace.com/mollysrevengeband








___
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: Windows Version problems

2010-11-17 Thread Joe Lewis Wilkins
Hi Dixie,

I guess it IS a little confusing. I have a main-stack and two sub-stacks. The 
user has to answer questions presented in the Main-stack. The information 
required to answer the questions is located in one of the sub-stacks - The 
Reference Stack. When a question is presented in the Main-stack, information 
that will allow the question to be answered is presented by opening and going 
to a card in the sub-stack that contains that information. That is done 
automatically when the user goes to a card in the Main-stack with each 
question. The user must read the information and then return to the Main-stack 
to answer the question. The questions and the process are quite complex. 
Sometimes the user must answer a series of other questions in the sub-stack 
before s/he can answer the Main-stack question. Those questions are presented 
in yet a third stack. Based on how each of these questions is answered, 
eventually a report is generated that tells the user what they must do to their 
project in order to make it compliant with a set of rules that are outlined in 
the Reference Sub-stack. As I said, it IS quite complex.

Less confused? Probably not! (smile)

Joe Wilkins


On Nov 17, 2010, at 9:35 AM, John Dixon wrote:

> 
> Joe...
> 
> I'm confused with what you want to do...
> 
> Do you want to put data from your standalone into say a field in a substack 
> and also at some point in time get that data back from the substack and view 
> it in your mainstack ?
> 
> or
> 
> Do you want to open your substack from your main stack and then go back to 
> your main stack from your substack ?
> 
> Dixie
> 
>> From: pepe...@cox.net
>> Date: Wed, 17 Nov 2010 09:09:35 -0800
>> To: use-revolution@lists.runrev.com
>> Subject: Re: Windows Version problems
>> 
>> What's even more confusing is that I find I CAN go to sub-stacks from the 
>> Main Stack, but not the other way around. Hmn!
>> 
>> Sorry for all the postings. I'll just keep working and maybe stumble over a 
>> solution.
>> 
>> Joe Wilkins
>> 
>> On Nov 17, 2010, at 8:51 AM, Joe Lewis Wilkins wrote:
>> 
>>> Well, it seems that my problem is more pernicious than I realized. While 
>>> within the IDE I can go back and forth between stacks by providing the name 
>>> of the stack with the .rev on the end, but that doesn't help to identify 
>>> the stacks in the standalone, so I thought that, if I stripped the .rev 
>>> from the names, I'd be able to go back and forth in the standalone. It 
>>> appears that I can't. So, I've been deluded into thinking that this is even 
>>> possible in the MacOX standalone. This concept is/was the basis of my 
>>> entire application.
>>> 
>>> So my BIG question is: "Is there ANY way that we can go back and forth 
>>> between stacks in a standalone?" If so, what is the syntax? I want to click 
>>> on a button in one stack, go to another and retrieve some information 
>>> stored there, return to the original stack and use the information to do 
>>> something. In the IDE I can do this. It appears that I cannot do that in a 
>>> standalone. Is my only solution to run the application using StackRunner?
>>> 
>>> TIA to anyone who has insight into this problem. 
>>> 
>>> Joe Wilkins
>>> 
>>> On Nov 16, 2010, at 11:06 PM, Joe Lewis Wilkins wrote:
>>> 
 The Windows version of my app has a few problems. I'm using this on a 
 MacPro under Fusion.
 
 1.  A whole series of buttons on the first card are missing; while others 
 on the card are there. They are all there on the MacOSX version. All are 
 exactly the same except for their scripts which are very simple and used 
 to go to other cards. The missing ones take the user to another stack.
 2.  The Menus of one of the three stacks are Very Large text, whereas the 
 other two are small text. 
 Any ideas? I'd like them all to be Very Large.
 
 Joe Wilkins
>> 
>> ___
>> 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
> 
> ___
> 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

___
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


script interruption (suite)

2010-11-17 Thread Yves COPPE
Hi list


i've made a fld appearing on the screen
this fld show a text (coming from a variable)
this fld  is locktext 
his fld contains the script

on mouseUp
global gFlagEnd
put true into gFlagEnd
end mouseUp


the fld does appear
when I click inside the fld, the fld disappears
it's OK

BUT
i'd like that the fld will disapear spontaneously after 5 seconds

how can I add this command to the script below ?


my script

on toggleexercice tDerniereDate
   global gEndFlag
if gEndFlag is false then
  if tDerniereDate <> empty then
 set the blendLevel of  fld "showExercice" to 100
 show fld "showExercice"
 repeat with x = 100 down to 35
set the blendLevel of  fld "showExercice" to x
wait 1 ticks
 end repeat
  end if
  send toggleexercice to me in 1
   else
  repeat with x = 35 to 100
 set the blendLevel of  fld "showExercice" to x
 wait 1 tick
  end repeat
  hide fld "showExercice"
  exit to top
   end if
end toggleexercice


thank you very much

Greetings.

Yves COPPE
yvesco...@skynet.be

___
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


Please suggest script

2010-11-17 Thread Timothy Miller
Sigh... Always the newbie...

I have a rev stack containing tens of thousands of words of notes, in plain 
text, in various fields, on many cards. I won't bore you with the details.

Some of these notes include URLs for web sites, in plain text. There are 
hundreds of these.

I'd like to be able to highlight a web URL, click on a button, and turn the 
text into a clickable link. (We can assume my web browser is already open)

Is this possible? If so, how? If someone can sketch out what the script needs 
to do, I can probably work out the details.

I got as far as making a new button, turning off "auto-hilite" and "get the 
selectedText". That works.

What next?

Thanks in advance,


Tim___
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: Please suggest script

2010-11-17 Thread Andre Garzia
Tim,

What you need to do is to loop your fields using a Regular Expression (
http://www.regular-expressions.info/ ) and MatchChunk to find out what
chunks are URLs. Then you set the textstyle of those chunks to linktext. On
the fields you intercept linkclicked and the clicked text will be the urls
which you will be able to open with RevGoURL.

Sorry but I can't help you with the RegEx, I am not that good with them and
I don't have an URL extraction RegEx handy in here. I can try to cook
something at some later time but right now it is not possible for me.

Cheers
andre

On Wed, Nov 17, 2010 at 3:58 PM, Timothy Miller <
gand...@doctortimothymiller.com> wrote:

> Sigh... Always the newbie...
>
> I have a rev stack containing tens of thousands of words of notes, in plain
> text, in various fields, on many cards. I won't bore you with the details.
>
> Some of these notes include URLs for web sites, in plain text. There are
> hundreds of these.
>
> I'd like to be able to highlight a web URL, click on a button, and turn the
> text into a clickable link. (We can assume my web browser is already open)
>
> Is this possible? If so, how? If someone can sketch out what the script
> needs to do, I can probably work out the details.
>
> I got as far as making a new button, turning off "auto-hilite" and "get the
> selectedText". That works.
>
> What next?
>
> Thanks in advance,
>
>
> Tim___
> 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
>



-- 
http://www.andregarzia.com All We Do Is Code.
___
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: DOWNLOADING REV 4.0.0

2010-11-17 Thread J. Landman Gay

On 11/17/10 3:23 AM, Joseba Aguayo wrote:

Kaixo:

How it's possible that RunRev delete the Revolution Player from his Web??
Update the software, but don't delete old files that your client use!
This is a serious company?


They are not deleted, but are no longer supported so they aren't on the 
web site. Write to supp...@runrev.com and they will give you a download 
link.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.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: Please suggest script

2010-11-17 Thread Timothy Miller
Thanks Andre!

I think you might have misunderstood my request. What I want to do is pretty 
simple. I will manually locate web URLs, and hilite them manually. They are in 
plain text. Then I want to click a button that will turn the hilited plain-text 
URL into a clickable link. By "clickable link" I mean I want it to open the URL 
in my web browser.

I tried:

get the selectedText
revGoUrl it

That worked, to my amazement. Cool. Didn't know about RevGoUrl.

OTOH, the docs say revGoUrl is deprecated. I'm not sure what to use instead.

I want the same link to be clickable next time I come across it. I know how to 
set the textstyle of the selectedText to "link", but that doesn't make it a 
clickable link.

Hope that's clear.

Tim


On Nov 17, 2010, at 10:05 AM, Andre Garzia wrote:

> Tim,
> 
> What you need to do is to loop your fields using a Regular Expression (
> http://www.regular-expressions.info/ ) and MatchChunk to find out what
> chunks are URLs. Then you set the textstyle of those chunks to linktext. On
> the fields you intercept linkclicked and the clicked text will be the urls
> which you will be able to open with RevGoURL.
> 
> Sorry but I can't help you with the RegEx, I am not that good with them and
> I don't have an URL extraction RegEx handy in here. I can try to cook
> something at some later time but right now it is not possible for me.
> 
> Cheers
> andre
> 

___
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: Please suggest script

2010-11-17 Thread Phil Davis

On 11/17/10 10:30 AM, Timothy Miller wrote:

I tried:

get the selectedText
revGoUrl it

That worked, to my amazement. Cool. Didn't know about RevGoUrl.

OTOH, the docs say revGoUrl is deprecated. I'm not sure what to use instead.


Try:

get the selectedText
launch url it

--
Phil Davis

PDS Labs
Professional Software Development
http://pdslabs.net

___
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: Please suggest script

2010-11-17 Thread Andre Garzia
On Wed, Nov 17, 2010 at 4:30 PM, Timothy Miller <
gand...@doctortimothymiller.com> wrote:

> Thanks Andre!
>
> I think you might have misunderstood my request. What I want to do is
> pretty simple. I will manually locate web URLs, and hilite them manually.
> They are in plain text. Then I want to click a button that will turn the
> hilited plain-text URL into a clickable link. By "clickable link" I mean I
> want it to open the URL in my web browser.
>


o so it is easier than I thought



>
> I tried:
>
> get the selectedText
> revGoUrl it
>
> That worked, to my amazement. Cool. Didn't know about RevGoUrl.
>
> OTOH, the docs say revGoUrl is deprecated. I'm not sure what to use
> instead.
>

I don't believe RevGoURL is deprecated. Oh My Lord Ganesha!!! It is
deprecated... well, it is not the end of the world, it appears that they
introduced launch url sometime during 2.9 and I missed it.

So, use the selectedchunk. Something along the lines of:

set the textstyle of the selectedchunk to "linktext".

Then, lock the text field so it is not editable anymore. Put a handler in it
like

on linkcliked pLink
  launch url pLink
end linkclicked

See if it works for you.

cheers




>
>
-- 
http://www.andregarzia.com All We Do Is Code.
___
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: Please suggest script

2010-11-17 Thread Mike Bonner
I see where you're going with this.  First I need to point out, if the field
doesn't have locktext set, don't think it will work, BUT, if it is.. For the
plainest, simplest form, no validation or anything of that sort you can do
the following.

In the button you can put:

on mouseUp
   set the textstyle of the selectedchunk to link
end mouseUp

And for the field:

on mouseUp
   if the textstyle of the clickchunk is "link" then
  launch url the clicktext
   end if
end mouseUp

On Wed, Nov 17, 2010 at 11:36 AM, Phil Davis  wrote:

> On 11/17/10 10:30 AM, Timothy Miller wrote:
>
>> I tried:
>>
>> get the selectedText
>> revGoUrl it
>>
>> That worked, to my amazement. Cool. Didn't know about RevGoUrl.
>>
>> OTOH, the docs say revGoUrl is deprecated. I'm not sure what to use
>> instead.
>>
>>  Try:
>
> get the selectedText
> launch url it
>
> --
> Phil Davis
>
> PDS Labs
> Professional Software Development
> http://pdslabs.net
>
>
> ___
> 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
>
___
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: Please suggest script

2010-11-17 Thread Mike Bonner
Oh yeah. Do what andre said and use linkclicked.

On Wed, Nov 17, 2010 at 11:36 AM, Andre Garzia wrote:

> On Wed, Nov 17, 2010 at 4:30 PM, Timothy Miller <
> gand...@doctortimothymiller.com> wrote:
>
> > Thanks Andre!
> >
> > I think you might have misunderstood my request. What I want to do is
> > pretty simple. I will manually locate web URLs, and hilite them manually.
> > They are in plain text. Then I want to click a button that will turn the
> > hilited plain-text URL into a clickable link. By "clickable link" I mean
> I
> > want it to open the URL in my web browser.
> >
>
>
> o so it is easier than I thought
>
>
>
> >
> > I tried:
> >
> > get the selectedText
> > revGoUrl it
> >
> > That worked, to my amazement. Cool. Didn't know about RevGoUrl.
> >
> > OTOH, the docs say revGoUrl is deprecated. I'm not sure what to use
> > instead.
> >
>
> I don't believe RevGoURL is deprecated. Oh My Lord Ganesha!!! It is
> deprecated... well, it is not the end of the world, it appears that they
> introduced launch url sometime during 2.9 and I missed it.
>
> So, use the selectedchunk. Something along the lines of:
>
> set the textstyle of the selectedchunk to "linktext".
>
> Then, lock the text field so it is not editable anymore. Put a handler in
> it
> like
>
> on linkcliked pLink
>  launch url pLink
> end linkclicked
>
> See if it works for you.
>
> cheers
>
>
>
>
> >
> >
> --
> http://www.andregarzia.com All We Do Is Code.
> ___
> 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
>
___
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: Please suggest script

2010-11-17 Thread Devin Asay

On Nov 17, 2010, at 11:30 AM, Timothy Miller wrote:

> Thanks Andre!
> 
> I think you might have misunderstood my request. What I want to do is pretty 
> simple. I will manually locate web URLs, and hilite them manually. They are 
> in plain text. Then I want to click a button that will turn the hilited 
> plain-text URL into a clickable link. By "clickable link" I mean I want it to 
> open the URL in my web browser.
> 
> I tried:
> 
> get the selectedText
> revGoUrl it
> 
> That worked, to my amazement. Cool. Didn't know about RevGoUrl.
> 
> OTOH, the docs say revGoUrl is deprecated. I'm not sure what to use instead.
> 
> I want the same link to be clickable next time I come across it. I know how 
> to set the textstyle of the selectedText to "link", but that doesn't make it 
> a clickable link.
> 
> Hope that's clear.

Tim,

It's pretty simple:

The link-making button:

on mouseUp
set the textStyle of the selectedChunk to "link"
end mouseUp

In the field that has the linked text:

on linkClicked pTxt
launch url pTxt
end linkClicked

That should do what you want.

Regards,

Devin


Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

___
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: Please suggest script

2010-11-17 Thread Andre Garzia
ho ho ho I was going to say, do what Mike said...

On Wed, Nov 17, 2010 at 4:40 PM, Mike Bonner  wrote:

> Oh yeah. Do what andre said and use linkclicked.
>
> On Wed, Nov 17, 2010 at 11:36 AM, Andre Garzia  >wrote:
>
> > On Wed, Nov 17, 2010 at 4:30 PM, Timothy Miller <
> > gand...@doctortimothymiller.com> wrote:
> >
> > > Thanks Andre!
> > >
> > > I think you might have misunderstood my request. What I want to do is
> > > pretty simple. I will manually locate web URLs, and hilite them
> manually.
> > > They are in plain text. Then I want to click a button that will turn
> the
> > > hilited plain-text URL into a clickable link. By "clickable link" I
> mean
> > I
> > > want it to open the URL in my web browser.
> > >
> >
> >
> > o so it is easier than I thought
> >
> >
> >
> > >
> > > I tried:
> > >
> > > get the selectedText
> > > revGoUrl it
> > >
> > > That worked, to my amazement. Cool. Didn't know about RevGoUrl.
> > >
> > > OTOH, the docs say revGoUrl is deprecated. I'm not sure what to use
> > > instead.
> > >
> >
> > I don't believe RevGoURL is deprecated. Oh My Lord Ganesha!!! It is
> > deprecated... well, it is not the end of the world, it appears that they
> > introduced launch url sometime during 2.9 and I missed it.
> >
> > So, use the selectedchunk. Something along the lines of:
> >
> > set the textstyle of the selectedchunk to "linktext".
> >
> > Then, lock the text field so it is not editable anymore. Put a handler in
> > it
> > like
> >
> > on linkcliked pLink
> >  launch url pLink
> > end linkclicked
> >
> > See if it works for you.
> >
> > cheers
> >
> >
> >
> >
> > >
> > >
> > --
> > http://www.andregarzia.com All We Do Is Code.
> > ___
> > 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
> >
> ___
> 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
>



-- 
http://www.andregarzia.com All We Do Is Code.
___
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: Please suggest script

2010-11-17 Thread Andre Garzia
yes, Devin wins!

On Wed, Nov 17, 2010 at 4:40 PM, Devin Asay  wrote:

>
> On Nov 17, 2010, at 11:30 AM, Timothy Miller wrote:
>
> > Thanks Andre!
> >
> > I think you might have misunderstood my request. What I want to do is
> pretty simple. I will manually locate web URLs, and hilite them manually.
> They are in plain text. Then I want to click a button that will turn the
> hilited plain-text URL into a clickable link. By "clickable link" I mean I
> want it to open the URL in my web browser.
> >
> > I tried:
> >
> > get the selectedText
> > revGoUrl it
> >
> > That worked, to my amazement. Cool. Didn't know about RevGoUrl.
> >
> > OTOH, the docs say revGoUrl is deprecated. I'm not sure what to use
> instead.
> >
> > I want the same link to be clickable next time I come across it. I know
> how to set the textstyle of the selectedText to "link", but that doesn't
> make it a clickable link.
> >
> > Hope that's clear.
>
> Tim,
>
> It's pretty simple:
>
> The link-making button:
>
> on mouseUp
>set the textStyle of the selectedChunk to "link"
> end mouseUp
>
> In the field that has the linked text:
>
> on linkClicked pTxt
>launch url pTxt
> end linkClicked
>
> That should do what you want.
>
> Regards,
>
> Devin
>
>
> Devin Asay
> Humanities Technology and Research Support Center
> Brigham Young University
>
> ___
> 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
>



-- 
http://www.andregarzia.com All We Do Is Code.
___
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: script interruption (suite)

2010-11-17 Thread Ian McKnight
How about sending another send in time message to change the global after 5
seconds?
I haven't tried itand there may be a more efficient way to code this but I
think it should work.

The only thing is you will have quite a number of unneeded calls of the
secondTimer. To overcome this you need to record the send ID in a variable
and then clear these IDs from the pending messages

For more info look up send and cancel in the dictionary

local myPendingMessages

on toggleexercice tDerniereDate
  global gEndFlag
   if gEndFlag is false then
 if tDerniereDate <> empty then
set the blendLevel of  fld "showExercice" to 100
show fld "showExercice"
repeat with x = 100 down to 35
   set the blendLevel of  fld "showExercice" to x
   wait 1 ticks
end repeat
 end if

send secondTimer to me in 5 Sec
-- record the message ID
put the result&cr after myPendingMessages

 send toggleexercice to me in 1

  else
 repeat with x = 35 to 100
set the blendLevel of  fld "showExercice" to x
wait 1 tick
 end repeat
 hide fld "showExercice"
clearMyPendingMessages
 exit to top
  end if
end toggleexercice



command secondTimer
if gFlagEnd is false then put True into gFlagEnd
end secondTimer

command clearMyPendingMessages
repeat for each line tMsg in myPendingMessages
cancel tMsg
end repeat
put empty into myPendingMessages
end clearMyPendingMessages



On 17 November 2010 17:53, Yves COPPE  wrote:

> Hi list
>
>
> i've made a fld appearing on the screen
> this fld show a text (coming from a variable)
> this fld  is locktext
> his fld contains the script
>
> on mouseUp
> global gFlagEnd
> put true into gFlagEnd
> end mouseUp
>
>
> the fld does appear
> when I click inside the fld, the fld disappears
> it's OK
>
> BUT
> i'd like that the fld will disapear spontaneously after 5 seconds
>
> how can I add this command to the script below ?
>
>
> my script
>
> on toggleexercice tDerniereDate
>   global gEndFlag
>if gEndFlag is false then
>  if tDerniereDate <> empty then
> set the blendLevel of  fld "showExercice" to 100
> show fld "showExercice"
> repeat with x = 100 down to 35
>set the blendLevel of  fld "showExercice" to x
>wait 1 ticks
> end repeat
>  end if
>  send toggleexercice to me in 1
>   else
>  repeat with x = 35 to 100
> set the blendLevel of  fld "showExercice" to x
> wait 1 tick
>  end repeat
>  hide fld "showExercice"
>  exit to top
>   end if
> end toggleexercice
>
>
> thank you very much
>
> Greetings.
>
> Yves COPPE
> yvesco...@skynet.be
>
> ___
> 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
>



-- 
Regards


Ian McKnight

iangmckni...@gmail.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: Windows Version problems

2010-11-17 Thread Devin Asay

On Nov 17, 2010, at 10:52 AM, Joe Lewis Wilkins wrote:

> Hi Dixie,
> 
> I guess it IS a little confusing. I have a main-stack and two sub-stacks. The 
> user has to answer questions presented in the Main-stack. The information 
> required to answer the questions is located in one of the sub-stacks - The 
> Reference Stack. When a question is presented in the Main-stack, information 
> that will allow the question to be answered is presented by opening and going 
> to a card in the sub-stack that contains that information. That is done 
> automatically when the user goes to a card in the Main-stack with each 
> question. The user must read the information and then return to the 
> Main-stack to answer the question. The questions and the process are quite 
> complex. Sometimes the user must answer a series of other questions in the 
> sub-stack before s/he can answer the Main-stack question. Those questions are 
> presented in yet a third stack. Based on how each of these questions is 
> answered, eventually a report is generated that tells the user what they must 
> do to their project in order to make it compliant with a set of rules that 
> are outlined in the Reference Sub-stack. As I said, it IS quite complex.
> 
> Less confused? Probably not! (smile)

Joe,

It might work to use push card and pop card. The push card list can allow you 
to go several "layers" in to a series of cards, and then you should be able to 
"backtrack" out of the series using pop card. You'd have to be scrupulous about 
always matching pushes with pops to end up at the original location, but it 
should work reliably, regardless of whether the 'pushed' cards are in a 
substack, mainstack or even a completely different stack file.

Devin


Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

___
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: Windows Version problems

2010-11-17 Thread J. Landman Gay

On 11/17/10 11:52 AM, Joe Lewis Wilkins wrote:


I have a main-stack and two
sub-stacks. The user has to answer questions presented in the
Main-stack. The information required to answer the questions is
located in one of the sub-stacks


If the stacks are all substacks, and you do not build your app to store 
them as separate stack files, then just refer to each stack by its short 
name. Once the stack has been embedded into your app, there is no file 
on disk named "stack.rev" -- it is just "stack".



--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.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: Stackrunner

2010-11-17 Thread J. Landman Gay

On 11/17/10 11:45 AM, Peter Haworth wrote:

Just started using this and very happy but have come across a problem
regarding button icons. I imported a set of icons into the image library
in the IDE and refer to the icon numbers within the Image Library when
specifying icons for buttons. All works fine in the IDE and standalone
but in Stackrunner the icons are not displayed and the buttons are
invisible. I can click on them OK (if I guess where they are!). Any
ideas as to why this might be happening?


The IDE and the standalones it builds know about the image library, but 
StackRunner does not. The best way to make your images always available 
is to import them directly into your stack (the IDs will change) and 
refer to the embedded image IDs as your icons. Those will work anywhere.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.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: Please suggest script

2010-11-17 Thread Mike Bonner
General rule of thumb. Never do what Mike says. All my friends see this as a
life rule. If Mike thinks its a good idea, or even worse, if Mike came UP
with the idea, its doomed DOOMED I TELL YOU! HAHAHAHAHAHAHA (you gotta
imagine the cackles)

>ho ho ho I was going to say, do what Mike said...
___
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


Posting binary data

2010-11-17 Thread Devin Asay
Hi all,

One of my students is doing a Rev project in which he needs to post binary data 
(a .mov file, in this case) to a web server. I've never done this, but I'm told 
that in a standard web form one sets the enctype attribute of a form input to 
indicate that the data being posted is binary.

How would you do this using a Rev--errr--LiveCode post statement?

Thanks

Devin


Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

___
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: Posting binary data

2010-11-17 Thread Mark Schonewille
Hi Devin,

Before using the post command, execute the following line:

set the httpHeaders to "Content-type: application/binary" & cr & \
"Content-Transfer-Encoding: binary" & cr & \
"Content-Length: "

Let us know if this works for you.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Follow Economy-x-Talk on Facebook now and get a free Color Converter license 
http://qurl.tk/gn (read the conditions)

On 17 nov 2010, at 20:04, Devin Asay wrote:

> Hi all,
> 
> One of my students is doing a Rev project in which he needs to post binary 
> data (a .mov file, in this case) to a web server. I've never done this, but 
> I'm told that in a standard web form one sets the enctype attribute of a form 
> input to indicate that the data being posted is binary.
> 
> How would you do this using a Rev--errr--LiveCode post statement?
> 
> Thanks
> 
> Devin

___
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: Posting binary data

2010-11-17 Thread Devin Asay

On Nov 17, 2010, at 12:15 PM, Mark Schonewille wrote:

> Hi Devin,
> 
> Before using the post command, execute the following line:
> 
> set the httpHeaders to "Content-type: application/binary" & cr & \
> "Content-Transfer-Encoding: binary" & cr & \
> "Content-Length: "
> 
> Let us know if this works for you.

Thanks, Mark. I'll have my student try that and report back.

Devin

> On 17 nov 2010, at 20:04, Devin Asay wrote:
> 
>> Hi all,
>> 
>> One of my students is doing a Rev project in which he needs to post binary 
>> data (a .mov file, in this case) to a web server. I've never done this, but 
>> I'm told that in a standard web form one sets the enctype attribute of a 
>> form input to indicate that the data being posted is binary.
>> 
>> How would you do this using a Rev--errr--LiveCode post statement?
>> 
>> Thanks
>> 
>> Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

___
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: Stackrunner

2010-11-17 Thread Peter Haworth
Thanks.  It will be a huge amount of work for me to change icon  
numbers everywhere so I guess Stackrunner won't work for me.  Oh well!


Pete Haworth

On Nov 17, 2010, at 11:02 AM, J. Landman Gay wrote:


On 11/17/10 11:45 AM, Peter Haworth wrote:

Just started using this and very happy but have come across a problem
regarding button icons. I imported a set of icons into the image  
library
in the IDE and refer to the icon numbers within the Image Library  
when
specifying icons for buttons. All works fine in the IDE and  
standalone

but in Stackrunner the icons are not displayed and the buttons are
invisible. I can click on them OK (if I guess where they are!). Any
ideas as to why this might be happening?


The IDE and the standalones it builds know about the image library,  
but StackRunner does not. The best way to make your images always  
available is to import them directly into your stack (the IDs will  
change) and refer to the embedded image IDs as your icons. Those  
will work anywhere.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.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



___
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: Stackrunner

2010-11-17 Thread Devin Asay

On Nov 17, 2010, at 12:22 PM, Peter Haworth wrote:

> Thanks.  It will be a huge amount of work for me to change icon  
> numbers everywhere so I guess Stackrunner won't work for me.  Oh well!

Pete,

You could include the Image Library stack with your stack and start using it 
when it's opened by Stack Runner.

Devin


> 
> Pete Haworth
> 
> On Nov 17, 2010, at 11:02 AM, J. Landman Gay wrote:
> 
>> On 11/17/10 11:45 AM, Peter Haworth wrote:
>>> Just started using this and very happy but have come across a problem
>>> regarding button icons. I imported a set of icons into the image  
>>> library
>>> in the IDE and refer to the icon numbers within the Image Library  
>>> when
>>> specifying icons for buttons. All works fine in the IDE and  
>>> standalone
>>> but in Stackrunner the icons are not displayed and the buttons are
>>> invisible. I can click on them OK (if I guess where they are!). Any
>>> ideas as to why this might be happening?
>> 
>> The IDE and the standalones it builds know about the image library,  
>> but StackRunner does not. The best way to make your images always  
>> available is to import them directly into your stack (the IDs will  
>> change) and refer to the embedded image IDs as your icons. Those  
>> will work anywhere.
>> 
>> -- 
>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>> HyperActive Software   | http://www.hyperactivesw.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
>> 
> 
> ___
> 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

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

___
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: Stackrunner

2010-11-17 Thread Richmond

On 11/17/2010 09:24 PM, Devin Asay wrote:

On Nov 17, 2010, at 12:22 PM, Peter Haworth wrote:


Thanks.  It will be a huge amount of work for me to change icon
numbers everywhere so I guess Stackrunner won't work for me.  Oh well!

Pete,

You could include the Image Library stack with your stack and start using it 
when it's opened by Stack Runner.

Devin

RR/LC is infinitely flexible, and Devin's suggestion should remind us 
all that RR/LC is itself
implemented in RR/LC (even if, frankly, that is rather difficult to 
conceptualise), and as such,
most componets of the IDE can be moved, as substacks, to one's own 
stacks, and then sent
off with StackRunner, or the Metacard IDE (that does NOT contain lots of 
components that

are present in the RR/LC setup), to do whatever one wants.

In fact, one of the first things I did, in 2001 when I "discovered" RR, 
was start unpacking the thing

as a way to understanding how it worked.

If one is not entirely happy with the RR/LC GUI one can use components 
from it to build an
individualised GUI, either on the RR/LC GUI, or by hacking the MC GUI. 
While this rarely
results in anythibg particularly better, it does prove an instructive 
exercise rather in the

same sort of way as one unpacks a series of nested Russian dolls.
___
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: Stackrunner

2010-11-17 Thread Peter Haworth
I'm not 100% sure how to do this.  I guess it means finding where the  
image library stack is then issuing a command of some sort when my app  
starts up to bring that stack into my stack file?


Pete Haworth

On Nov 17, 2010, at 11:24 AM, Devin Asay wrote:



On Nov 17, 2010, at 12:22 PM, Peter Haworth wrote:


Thanks.  It will be a huge amount of work for me to change icon
numbers everywhere so I guess Stackrunner won't work for me.  Oh  
well!


Pete,

You could include the Image Library stack with your stack and start  
using it when it's opened by Stack Runner.


Devin




Pete Haworth

On Nov 17, 2010, at 11:02 AM, J. Landman Gay wrote:


On 11/17/10 11:45 AM, Peter Haworth wrote:
Just started using this and very happy but have come across a  
problem

regarding button icons. I imported a set of icons into the image
library
in the IDE and refer to the icon numbers within the Image Library
when
specifying icons for buttons. All works fine in the IDE and
standalone
but in Stackrunner the icons are not displayed and the buttons are
invisible. I can click on them OK (if I guess where they are!). Any
ideas as to why this might be happening?


The IDE and the standalones it builds know about the image library,
but StackRunner does not. The best way to make your images always
available is to import them directly into your stack (the IDs will
change) and refer to the embedded image IDs as your icons. Those
will work anywhere.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.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



___
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


Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

___
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



___
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 it possible to access or set individual pixels of an image?

2010-11-17 Thread Geoff Canyon Rev
You should try to do all the updates as one: get the imagedata of the image,
make whatever changes you need to, then set the imagedata of the image
again. There are a few gotchas when setting the imagedata. Make sure the
image is the right size. If you're setting a 10x20 pixel image, you need to
supply exactly 800 bytes of data. That's 4 for each pixel. The first byte is
0, the next three are Red, Green and Blue.

gc

On Wed, Nov 17, 2010 at 12:02 AM, Scott Rossi wrote:

> Hi Marty:
>
> Maybe this will help -- execute the following in your message box:
> go url "
> http://www.tactilemedia.com/site_files/downloads/pixel_colorize.rev";
>
> See all tutorial stacks (Web link):
> http://www.tactilemedia.com/site_files/software/tutorials.html
>
> Regards,
>
> Scott Rossi
> Creative Director
> Tactile Media, UX Design
>
>
>
> Recently, Marty Billingsley wrote:
>
> > Is it possible to read and set the color of individual pixels in an
> > image?  ImageData is a little incomprehensible.
> >
> > Basically, I'd like to be able to do something like:
> > for each pixel in image "x",  set the color of that pixel to some
> > calculated value (or a value pulled from a pixel of another image)
> >
> > Thanks for any pointers you can give me!
> >
> >   - marty
> >
> > --
> > Marty Billingsley
> > Department of Computer Science
> > The University of Chicago Laboratory Schools
> > ___
> > 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
> >
>
>
>
>
>
> ___
> 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
>
___
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 it possible to access or set individual pixels of an image?

2010-11-17 Thread Scott Rossi
Recently, I wrote:

> execute the following in your message box:
> go url "http://www.tactilemedia.com/site_files/downloads/pixel_colorize.rev";

Whoops -- something stopped working in the random colorizing portion of this
demo.  Reposted the stack with a fix (hopefully it's working correctly now).

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design


___
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: Stackrunner

2010-11-17 Thread Devin Asay

On Nov 17, 2010, at 12:36 PM, Peter Haworth wrote:

> I'm not 100% sure how to do this.  I guess it means finding where the  
> image library stack is then issuing a command of some sort when my app  
> starts up to bring that stack into my stack file?

That's the general idea. You find the stack that contains the images you are 
using as button icons, make a copy of it, then include it with your mainstack. 
You could even make it a substack of your mainstack to keep it in the same 
stack file. Then, in the stack that uses the images, include the statement, 
probably in a preOpenStack handler:

  start using stack "myIconStack" --or whatever it's called.

Once you do that all images in the used stack are available to be used in the 
calling stack.

Devin


> On Nov 17, 2010, at 11:24 AM, Devin Asay wrote:
> 
>> 
>> On Nov 17, 2010, at 12:22 PM, Peter Haworth wrote:
>> 
>>> Thanks.  It will be a huge amount of work for me to change icon
>>> numbers everywhere so I guess Stackrunner won't work for me.  Oh  
>>> well!
>> 
>> Pete,
>> 
>> You could include the Image Library stack with your stack and start  
>> using it when it's opened by Stack Runner.
>> 
>> Devin
>> 
>> 
>>> 
>>> Pete Haworth
>>> 
>>> On Nov 17, 2010, at 11:02 AM, J. Landman Gay wrote:
>>> 
 On 11/17/10 11:45 AM, Peter Haworth wrote:
> Just started using this and very happy but have come across a  
> problem
> regarding button icons. I imported a set of icons into the image
> library
> in the IDE and refer to the icon numbers within the Image Library
> when
> specifying icons for buttons. All works fine in the IDE and
> standalone
> but in Stackrunner the icons are not displayed and the buttons are
> invisible. I can click on them OK (if I guess where they are!). Any
> ideas as to why this might be happening?
 
 The IDE and the standalones it builds know about the image library,
 but StackRunner does not. The best way to make your images always
 available is to import them directly into your stack (the IDs will
 change) and refer to the embedded image IDs as your icons. Those
 will work anywhere.
 
 -- 
 Jacqueline Landman Gay | jac...@hyperactivesw.com
 HyperActive Software   | http://www.hyperactivesw.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
 
>>> 
>>> ___
>>> 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
>> 
>> Devin Asay
>> Humanities Technology and Research Support Center
>> Brigham Young University
>> 
>> ___
>> 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
>> 
> 
> ___
> 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

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

___
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: Stackrunner

2010-11-17 Thread Richmond

On 11/17/2010 09:36 PM, Peter Haworth wrote:
I'm not 100% sure how to do this.  I guess it means finding where the 
image library stack is then issuing a command of some sort when my app 
starts up to bring that stack into my stack file?


Pete Haworth

I don't think this is all that difficult: set your prefs so ALL RR/LC 
stacks show up in lists.


The open the prefs palette for the image library stack and set its 
mainstack to your stack and

save the thing; Done!
___
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 it possible to access or set individual pixels of an image?

2010-11-17 Thread Scott Rossi
Recently, Geoff Canyon Rev wrote:

> You should try to do all the updates as one: get the imagedata of the image,
> make whatever changes you need to, then set the imagedata of the image
> again. There are a few gotchas when setting the imagedata. Make sure the
> image is the right size. If you're setting a 10x20 pixel image, you need to
> supply exactly 800 bytes of data. That's 4 for each pixel. The first byte is
> 0, the next three are Red, Green and Blue.

No doubt, there are more efficient ways to do it -- am just trying to show
what's possible.  You're the man when it comes to efficiency Geoff!

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design


___
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: script interruption (suite)

2010-11-17 Thread Yves COPPE

Le 17 nov. 2010 à 19:45, Ian McKnight a écrit :

> How about sending another send in time message to change the global after 5
> seconds?
> I haven't tried itand there may be a more efficient way to code this but I
> think it should work.
> 
> The only thing is you will have quite a number of unneeded calls of the
> secondTimer. To overcome this you need to record the send ID in a variable
> and then clear these IDs from the pending messages
> 
> For more info look up send and cancel in the dictionary
> 
> local myPendingMessages
> 
> on toggleexercice tDerniereDate
>  global gEndFlag
>   if gEndFlag is false then
> if tDerniereDate <> empty then
>set the blendLevel of  fld "showExercice" to 100
>show fld "showExercice"
>repeat with x = 100 down to 35
>   set the blendLevel of  fld "showExercice" to x
>   wait 1 ticks
>end repeat
> end if
> 
> send secondTimer to me in 5 Sec
> -- record the message ID
> put the result&cr after myPendingMessages
> 
> send toggleexercice to me in 1
> 
>  else
> repeat with x = 35 to 100
>set the blendLevel of  fld "showExercice" to x
>wait 1 tick
> end repeat
> hide fld "showExercice"
> clearMyPendingMessages
> exit to top
>  end if
> end toggleexercice
> 
> 
> 
> command secondTimer
> if gFlagEnd is false then put True into gFlagEnd
> end secondTimer
> 
> command clearMyPendingMessages
> repeat for each line tMsg in myPendingMessages
> cancel tMsg
> end repeat
> put empty into myPendingMessages
> end clearMyPendingMessages
> 




Hi Ian,

the script above runs but the fld "showExercice" doesn't disappear sponaneously
I still have to click in the fld to makes it disappear
please do you have another idea for me???
thank you very much

Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: Stackrunner

2010-11-17 Thread Ken Ray
> The IDE and the standalones it builds know about the image library, but
> StackRunner does not.

That's right - the list of things that are built in to StackRunner are
listed under the "Using StackRunner" section of the web page:

 http://www.sonsothunder.com/devres/revolution/downloads/StackRunner.htm

Although a lot of libraries and externals are provided with SR, images are
not.

Ken Ray
Sons of Thunder Software, Inc.
Email: k...@sonsothunder.com
Web Site: http://www.sonsothunder.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: script interruption (suite)

2010-11-17 Thread Ian McKnight
Hi Yves

Try moving the lines

send secondTimer to me in 5 Sec
-- record the message ID
put the result&cr after myPendingMessages

out of the handler altogether, placing it immediately before the place where
the main call to toggleexercice is made.

This should mean that a timer is started as soon as you call the main
handler.
If nothing is touched then the flag should be set to true after 5 secs which
is what the mouseclick does anyway. In this case you probably won't need the
clearMyPendingMessages handler but, maybe its overkill on my part, whenever
I use any send command I always like to clear up aftermyself this way -0
just to make sure.

Try that and see.

All the best



On 17 November 2010 20:12, Yves COPPE  wrote:

>
> Le 17 nov. 2010 à 19:45, Ian McKnight a écrit :
>
> > How about sending another send in time message to change the global after
> 5
> > seconds?
> > I haven't tried itand there may be a more efficient way to code this but
> I
> > think it should work.
> >
> > The only thing is you will have quite a number of unneeded calls of the
> > secondTimer. To overcome this you need to record the send ID in a
> variable
> > and then clear these IDs from the pending messages
> >
> > For more info look up send and cancel in the dictionary
> >
> > local myPendingMessages
> >
> > on toggleexercice tDerniereDate
> >  global gEndFlag
> >   if gEndFlag is false then
> > if tDerniereDate <> empty then
> >set the blendLevel of  fld "showExercice" to 100
> >show fld "showExercice"
> >repeat with x = 100 down to 35
> >   set the blendLevel of  fld "showExercice" to x
> >   wait 1 ticks
> >end repeat
> > end if
> >
> > send secondTimer to me in 5 Sec
> > -- record the message ID
> > put the result&cr after myPendingMessages
> >
> > send toggleexercice to me in 1
> >
> >  else
> > repeat with x = 35 to 100
> >set the blendLevel of  fld "showExercice" to x
> >wait 1 tick
> > end repeat
> > hide fld "showExercice"
> > clearMyPendingMessages
> > exit to top
> >  end if
> > end toggleexercice
> >
> >
> >
> > command secondTimer
> > if gFlagEnd is false then put True into gFlagEnd
> > end secondTimer
> >
> > command clearMyPendingMessages
> > repeat for each line tMsg in myPendingMessages
> > cancel tMsg
> > end repeat
> > put empty into myPendingMessages
> > end clearMyPendingMessages
> >
>
>
>
>
> Hi Ian,
>
> the script above runs but the fld "showExercice" doesn't disappear
> sponaneously
> I still have to click in the fld to makes it disappear
> please do you have another idea for me???
> thank you very much
>
> Greetings.
>
> Yves COPPE
> yvesco...@skynet.be
>
> ___
> 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
>



-- 
Regards


Ian McKnight

iangmckni...@gmail.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: Windows Version problems

2010-11-17 Thread Joe Lewis Wilkins
Thanks Devin, I'll keep that in mind as a possibility.

Joe Wilkins

On Nov 17, 2010, at 10:45 AM, Devin Asay wrote:

> 
> On Nov 17, 2010, at 10:52 AM, Joe Lewis Wilkins wrote:
> 
>> Hi Dixie,
>> 
>> I guess it IS a little confusing. I have a main-stack and two sub-stacks. 
>> The user has to answer questions presented in the Main-stack. The 
>> information required to answer the questions is located in one of the 
>> sub-stacks - The Reference Stack. When a question is presented in the 
>> Main-stack, information that will allow the question to be answered is 
>> presented by opening and going to a card in the sub-stack that contains that 
>> information. That is done automatically when the user goes to a card in the 
>> Main-stack with each question. The user must read the information and then 
>> return to the Main-stack to answer the question. The questions and the 
>> process are quite complex. Sometimes the user must answer a series of other 
>> questions in the sub-stack before s/he can answer the Main-stack question. 
>> Those questions are presented in yet a third stack. Based on how each of 
>> these questions is answered, eventually a report is generated that tells the 
>> user what they must do to their project in order to make it compliant with a 
>> set of rules that are outlined in the Reference Sub-stack. As I said, it IS 
>> quite complex.
>> 
>> Less confused? Probably not! (smile)
> 
> Joe,
> 
> It might work to use push card and pop card. The push card list can allow you 
> to go several "layers" in to a series of cards, and then you should be able 
> to "backtrack" out of the series using pop card. You'd have to be scrupulous 
> about always matching pushes with pops to end up at the original location, 
> but it should work reliably, regardless of whether the 'pushed' cards are in 
> a substack, mainstack or even a completely different stack file.
> 
> Devin
> 
> 
> Devin Asay
> Humanities Technology and Research Support Center
> Brigham Young University

___
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: Stackrunner

2010-11-17 Thread J. Landman Gay

On 11/17/10 2:14 PM, Ken Ray wrote:

The IDE and the standalones it builds know about the image library, but
StackRunner does not.


That's right - the list of things that are built in to StackRunner are
listed under the "Using StackRunner" section of the web page:

  http://www.sonsothunder.com/devres/revolution/downloads/StackRunner.htm

Although a lot of libraries and externals are provided with SR, images are
not.


It's still a wonderful tool. I use it sometimes to send prototypes or 
ideas to clients so I don't have to build standalones repeatedly for 
little things.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.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


Unable to Affect Printer Paper Orientation?

2010-11-17 Thread Scott Rossi
Hi List:

I'm wondering if anyone has come across a print dialog situation that has 
multiple ways of setting paper orientation (LC4, Windows XP).

After beating my head against the wall for several hours, I realized that the 
landscape paper  setting in the Page Setup dialog in XP is not being honored in 
the main Print dialog. Even when I explicitly script "set the 
printPaperOrientation to "landscape" before opening the system print dialog, 
the orientation setting shows up as "Portrait".  In my situation, the paper 
orientation is found in a secondary dialog that is accessed by clicking the 
Preferences button in the main print dialog.

There doesn't seem to be any way to force the Print dialog to accept the 
landscape setting.  In the Page Setup dialog, setting landscape orientation 
works as expected.  If I set the paper orientation manually and bypass the 
print dialog, I can print landscape no problem, so really the only issue is the 
main print dialog.  Is there anything else I can try short of creating yet 
another dialog for users to click "No, really, I want to print landscape!" ???

Thanks for any suggestions.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design___
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: script interruption (suite)

2010-11-17 Thread Yves COPPE

Le 17 nov. 2010 à 21:26, Ian McKnight a écrit :

> Hi Yves
> 
> Try moving the lines
> 
> send secondTimer to me in 5 Sec
> -- record the message ID
> put the result&cr after myPendingMessages
> 
> out of the handler altogether, placing it immediately before the place where
> the main call to toggleexercice is made.
> 
> This should mean that a timer is started as soon as you call the main
> handler.
> If nothing is touched then the flag should be set to true after 5 secs which
> is what the mouseclick does anyway. In this case you probably won't need the
> clearMyPendingMessages handler but, maybe its overkill on my part, whenever
> I use any send command I always like to clear up aftermyself this way -0
> just to make sure.
> 
> Try that and see.
> 


Hi Ian

no changes alas ...
after 5 secs, the fld doesn't disappear ...

Greetings.

Yves COPPE
yvesco...@skynet.be

___
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] buttons for iPhone

2010-11-17 Thread BNig

I tried to make the making of buttons for the iPhone / iPad easier.
The stack consists of graphics that are changeable in width height color,
arrow right, arrow left, round rect. Set the font of the text.
Once you configured your 'button' you make a snapshot of the graphics as PNG
to use in your project.

Also makes complete buttons with images contained, all that in a group with
an install button to be copied to your project and installed.

Hope it looks a bit like native iOS buttons. And hope it saves a lot of time
in Photoshop.

as a zipped stack:

http://www.berndniggemann.on-rev.com/btnsiphone/buttonsiphone_0.1.livecode.zip

or type/paste in your message box:

go stack url
"http://www.berndniggemann.on-rev.com/btnsiphone/buttonsiphone_0.1.livecode";

and hit return. Watch out for linebreaks

feedback welcome

regards
Bernd

-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/ANN-buttons-for-iPhone-tp3047653p3047653.html
Sent from the Revolution - User mailing list archive at Nabble.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: script interruption (suite)

2010-11-17 Thread Yves COPPE

Le 17 nov. 2010 à 21:26, Ian McKnight a écrit :

> Hi Yves
> 

Hi Ian,


I have noticed that
command secondTimer
global gEndFlag
   if gFlagEnd is false then put True into gFlagEnd
 end secondTimer



this command is well activated after 5 secs but the fld doesn't disappear
something misses !


Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: script interruption (suite)

2010-11-17 Thread Yves COPPE

Le 17 nov. 2010 à 21:26, Ian McKnight a écrit :

> Hi Yves
> 
> Try moving the lines
> 
> send secondTimer to me in 5 Sec
> -- record the message ID
> put the result&cr after myPendingMessages
> 
> out of the handler altogether, placing it immediately before the place where
> the main call to toggleexercice is made.
> 
> This should mean that a timer is started as soon as you call the main
> handler.
> If nothing is touched then the flag should be set to true after 5 secs which
> is what the mouseclick does anyway. In this case you probably won't need the
> clearMyPendingMessages handler but, maybe its overkill on my part, whenever
> I use any send command I always like to clear up aftermyself this way -0
> just to make sure.
> 
> Try that and see.
> 
> All the best
> 


Hi Ian


sorry, i've made a typo !
after correction, it works great ! yesss!!
many thanks 


Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: script interruption (suite)

2010-11-17 Thread Ian McKnight
Glad to be of help.

On 17 November 2010 21:25, Yves COPPE  wrote:

>
> Le 17 nov. 2010 à 21:26, Ian McKnight a écrit :
>
> > Hi Yves
> >
> > Try moving the lines
> >
> > send secondTimer to me in 5 Sec
> > -- record the message ID
> > put the result&cr after myPendingMessages
> >
> > out of the handler altogether, placing it immediately before the place
> where
> > the main call to toggleexercice is made.
> >
> > This should mean that a timer is started as soon as you call the main
> > handler.
> > If nothing is touched then the flag should be set to true after 5 secs
> which
> > is what the mouseclick does anyway. In this case you probably won't need
> the
> > clearMyPendingMessages handler but, maybe its overkill on my part,
> whenever
> > I use any send command I always like to clear up aftermyself this way -0
> > just to make sure.
> >
> > Try that and see.
> >
> > All the best
> >
>
>
> Hi Ian
>
>
> sorry, i've made a typo !
> after correction, it works great ! yesss!!
> many thanks 
>
>
> Greetings.
>
> Yves COPPE
> yvesco...@skynet.be
>
> ___
> 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
>



-- 
Regards


Ian McKnight

iangmckni...@gmail.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: Stackrunner

2010-11-17 Thread Peter Haworth

Thanks Devin and Richmond.

Pete Haworth








http://www.mollysrevenge.com
http://www.sonicbids.com/MollysRevenge
http://www.myspace.com/mollysrevengeband








On Nov 17, 2010, at 11:49 AM, Devin Asay wrote:



On Nov 17, 2010, at 12:36 PM, Peter Haworth wrote:


I'm not 100% sure how to do this.  I guess it means finding where the
image library stack is then issuing a command of some sort when my  
app

starts up to bring that stack into my stack file?


That's the general idea. You find the stack that contains the images  
you are using as button icons, make a copy of it, then include it  
with your mainstack. You could even make it a substack of your  
mainstack to keep it in the same stack file. Then, in the stack that  
uses the images, include the statement, probably in a preOpenStack  
handler:


 start using stack "myIconStack" --or whatever it's called.

Once you do that all images in the used stack are available to be  
used in the calling stack.


Devin



On Nov 17, 2010, at 11:24 AM, Devin Asay wrote:



On Nov 17, 2010, at 12:22 PM, Peter Haworth wrote:


Thanks.  It will be a huge amount of work for me to change icon
numbers everywhere so I guess Stackrunner won't work for me.  Oh
well!


Pete,

You could include the Image Library stack with your stack and start
using it when it's opened by Stack Runner.

Devin




Pete Haworth

On Nov 17, 2010, at 11:02 AM, J. Landman Gay wrote:


On 11/17/10 11:45 AM, Peter Haworth wrote:

Just started using this and very happy but have come across a
problem
regarding button icons. I imported a set of icons into the image
library
in the IDE and refer to the icon numbers within the Image Library
when
specifying icons for buttons. All works fine in the IDE and
standalone
but in Stackrunner the icons are not displayed and the buttons  
are
invisible. I can click on them OK (if I guess where they are!).  
Any

ideas as to why this might be happening?


The IDE and the standalones it builds know about the image  
library,

but StackRunner does not. The best way to make your images always
available is to import them directly into your stack (the IDs will
change) and refer to the embedded image IDs as your icons. Those
will work anywhere.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.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



___
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


Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

___
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



___
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


Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

___
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



___
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] buttons for iPhone

2010-11-17 Thread BNig

here is the stack for the iPhone buttons as a revlet:

http://berndniggemann.on-rev.com/iphonebtnsrevlet/

on my local machine I could even copy the images and the button object into
a new Livecode stack.

If you copy a button object and it works you will see an install button,
click on it to make the icons visible.

Dont know about fonts etc. might not work in all the real web.

If this works you could get your buttons from a revlet...

regards

Bernd
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/ANN-buttons-for-iPhone-tp3047653p3047713.html
Sent from the Revolution - User mailing list archive at Nabble.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


The free form linguistics revolution

2010-11-17 Thread Alejandro Tejada

Hi all, 

Please read these comments from Stephen Wolfram about 
using Free-Form Linguistics Revolution in Mathematica: 

http://blog.stephenwolfram.com/2010/11/the-free-form-linguistics-revolution-in-mathematica/
http://blog.stephenwolfram.com/2010/11/programming-with-natural-language-is-actually-going-to-work/

Now, English-like programming languages are the shape of 
things to come. :-) 

Alejandro
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/The-free-form-linguistics-revolution-tp3047726p3047726.html
Sent from the Revolution - User mailing list archive at Nabble.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: LiveCode and the Mac App Store

2010-11-17 Thread Thomas McGrath III
Ron,

I haven't tried in the latest release but before that there was no way for iOS 
to save out a stack or a preferences file that I know of. In xCode you have a 
few choices. Either save to the settings pane via API provided by apple or you 
could save a pList to 'your sandbox' documents folder and read that in. I think 
-- not sure -- that LC is allowing an internal -- in your bundle -- documents 
folder that you can write to. I just don't know if this is the same folder that 
iOS lets you write to. The other choice you have is to write to an external 
server and read that in on launch. The problem with that approach is that the 
app would have to be connected to the internet when launched.

FWIW, If it is the exact same folder THEN it will be possible to register with 
iOS and iTunes a shared folder that will be available via iTunes for manually 
putting and getting files from/into your app.

I am working on a few different apps now and will have more info over the next 
week or so.

Tom McGrath III
Lazy River Software
http://lazyriver.on-rev.com
3mcgr...@comcast.net

I Can Speak on the iPad Store
http://itunes.apple.com/us/app/i-can-speak/id364733279?mt=8

On Nov 17, 2010, at 10:34 AM, ron barber wrote:

> Tom,
> Thanks for the reply and specifics. I recognize that Apple's policy is
> a work in progress and the app store will probably be somewhat
> different from the iOS store but I am looking for some guidelines to
> keep from making obvious mistakes.
> 
> So what do you do for saving prefs for your iOS app? It sounds like
> the Apple upgrade mechanism is compatible with a LC app but do we need
> to do anything to link to it?
> 
> Thanks
> Ron
> 
> On Wed, Nov 17, 2010 at 11:13 PM, Thomas McGrath III  wrote:
>> Ron,
>> 
>> I haven't used LC for the APPLE desktop store yet but I am developing a few 
>> applications for the APP iOS store. In the APP iOS store application you can 
>> not spit out stacks as in 1. and although you could auto check for upgrades 
>> 3. you could not download them because Apple won't allow it except through 
>> the APP iOS store upgrade mechanism. I do list my homepage in my app and on 
>> the APP iOS store in iTunes.
>> 
>> I would assume that for the APPLE desktop store there will be some 
>> restrictions but not as tight as the APP iOS store. I haven't looked into it 
>> yet but I would think that the auto upgrade 3. will not be possible since by 
>> using the APPLE store your are agreeing to use their auto upgrade features. 
>> Not sure about the prefs or saving a stack out or the home page listing for 
>> an APPLE desktop store application.
>> 
>> 
>> Tom McGrath III
>> Lazy River Software
>> http://lazyriver.on-rev.com
>> 3mcgr...@comcast.net
>> 
>> I Can Speak - Communication for the rest of us...
>> http://mypad.lazyriver.on-rev.com
>> 
>> I Can Speak on the iPad Store
>> http://itunes.apple.com/us/app/i-can-speak/id364733279?mt=8
>> 
>> On Nov 16, 2010, at 11:06 PM, ron barber wrote:
>> 
>>> As a follow up to my earlier question _can_ we use LiveCode desktop to
>>> make desktop apps to be sold through the Apple store (Kevin's answer
>>> was a qualified 'yes') Is anyone _actually_ moving forward with an app
>>> for the Apple store?
>>> 
>>> I have an app that I want to make available in the store but I'm
>>> worried that current set up may not meet Apple guidelines.
>>> 
>>> If so could you comment on how you eliminated or modified the way you:
>>> 
>>> 1. Save prefs: currently I spit out another stack from a customprop
>>> stored in the startupstack.
>>> 2. Listing your homepage in the About or Help menus or anywhere else.
>>> In other words, Are you providing a way for users to contact you in a
>>> way that Apple likes?
>>> 3. Auto checking upgrade options: currently my app checks a file on
>>> homepage on startup and informs users if there is a newer version.
>>> 
>>> Any other parts of your application that you have modified to conform
>>> to Apple's (current) guidelines?
>>> 
>>> Thanks for your suggestions...
>>> Ron
>>> ___
>>> 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
>> 
>> ___
>> 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
>> 
> ___
> 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

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to 

Why Does this Behavior Fail?

2010-11-17 Thread Sivakatirswami

 goal:

I would to put help info in custom props and then call these 
automatically into  display as the user pass his mouse over controls (on 
a preferences card)


A preference might be a check box whose name is

button: __ autoMountServer   type: check box

If I put this script into directly into the check box, it works, but if 
I move the script to another card named "GrappleBehaviors"  and name 
that button:  "Show Prefs Info"


whose long id is: button id 1437 of stack "Grapple"

and then set the behavior of button "autoMountServer" to "button id 1437 
of stack "Grapple"


with this script (below)

it does not work. Initially I had "this card" and I thought that was the 
problem, but even after full explicit references to the preferences 
card, it does not respond.


on mousewithin
   put format ("set the htmltext of fld \"prefsInfo\" of card 
\"preferences\" to the u" & (the short name of the target) & " of card 
\"preferences\"") into pInfoProp

   do pInfoProp
   show fld "prefsInfo"  of card "preferences" with visual effect 
dissolve very fast

end mousewithin

on mouseleave
   hide fld "prefsInfo"  of card "preferences" with visual effect 
dissolve very fast

end mouseleave

Any clues?

obviously the goal is to avoid pasting this into *all* the controls on 
the preferences card... I might also like to change the way of 
displaying the info from a field on the card to a modal substack... a 
behavior I can apply to all the controls is obviously best.


TIA





___
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: Why Does this Behavior Fail?

2010-11-17 Thread J. Landman Gay

On 11/17/10 5:51 PM, Sivakatirswami wrote:

goal:

I would to put help info in custom props and then call these
automatically into display as the user pass his mouse over controls (on
a preferences card)


I have a stack that does that, but it doesn't use behaviors. I just put 
this into the card:


on mouseEnter
  put the cTip of the target into tTip
  if tTip <> "" then
set the htmltext of fld "helptext" to tTip
  end if
  pass mouseEnter
end mouseEnter

on mouseLeave
  put "" into fld "helptext" -- or hide the fld
  pass mouseLeave
end mouseLeave

Only those objects that have a cTip property will do anything. I just 
add help text to anything that needs it. I don't think I'd use 
"mouseWithin", it will trigger repeatedly.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.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: Why Does this Behavior Fail?

2010-11-17 Thread Web Admin Himalayan Academy

 On 11/17/10 2:51 PM, J. Landman Gay wrote:


I have a stack that does that, but it doesn't use behaviors. I just 
put this into the card:


on mouseEnter
  put the cTip of the target into tTip
  if tTip <> "" then
set the htmltext of fld "helptext" to tTip
  end if
  pass mouseEnter
end mouseEnter

on mouseLeave
  put "" into fld "helptext" -- or hide the fld
  pass mouseLeave
end mouseLeave

Only those objects that have a cTip property will do anything. I just 
add help text to anything that needs it. I don't think I'd use 
"mouseWithin", it will trigger repeatedly. 


I love it... simple is better "who needs behaviors if you don't need 
behaviors" (hehe, though I still would like to know why it did not work...)


Right... mousewithin... i had my field blink 35 times at one point... 
I'll use this... only thing was I was putting all the tips in custom 
props for hte card rather than in individual controls. But I like your 
way too. Makes the object portable.


Thanks
Sivakatirswami


___
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: Why Does this Behavior Fail?

2010-11-17 Thread Mark Wieder
S-

Wednesday, November 17, 2010, 5:07:10 PM, you wrote:

> I love it... simple is better "who needs behaviors if you don't need
> behaviors" (hehe, though I still would like to know why it did not work...)

Memory's failing me here, but I think there was a thread recently
about mouseWithin messages not getting passed properly to behavior
objects...

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

___
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: Why Does this Behavior Fail?

2010-11-17 Thread Web Admin Himalayan Academy

 On 11/17/10 3:23 PM, Mark Wieder wrote:

S-

Wednesday, November 17, 2010, 5:07:10 PM, you wrote:


>  I love it... simple is better "who needs behaviors if you don't need
>  behaviors" (hehe, though I still would like to know why it did not work...)

Memory's failing me here, but I think there was a thread recently
about mouseWithin messages not getting passed properly to behavior
objects...



Oh, sweet:

Jacqueline script  in the card had the effect of causing the field to go 
empty if you moved to any object that had no tip



so, following your "hunch" that "within" was failing I put this in the 
behavior button on the "off line" behaviors card:


on mouseEnter
  put the uHelpInfo of the target into tTip
  if tTip <> "" then
 set the htmltext of fld "prefsinfo" to tTip
 show fld "prefsInfo" with visual effect dissolve very fast
 show btn "closeHelp"
  end if

end mouseEnter

and it works now to simply  set the behavior of the objects on the prefs 
card. and this give better control



___
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] buttons for iPhone

2010-11-17 Thread Robert Mann

A warm thank you! ... all the graphic part is getting so sophisticated these
days! I'll test it next few days to make graphics for a iphone version of my
site... and I was shivering at the thought of having to spend too much time
for a non graphic man in GIMP, the chimp.  THanks for sharing. RObert,
Versailles.
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/ANN-buttons-for-iPhone-tp3047653p3048022.html
Sent from the Revolution - User mailing list archive at Nabble.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: LiveCode and the Mac App Store

2010-11-17 Thread J. Landman Gay

On 11/17/10 4:46 PM, Thomas McGrath III wrote:


I haven't tried in the latest release but before that there was no
way for iOS to save out a stack or a preferences file that I know of.


Basic file read/write and file URL access works now. I'm saving a 
text-based prefs file to the Documents folder in the app sandbox.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.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: Please suggest script

2010-11-17 Thread Timothy Miller
Thankya, Devin, Andre, Phil and Mike.

Very helpful. I get it now.

Tim
___
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: Please suggest script

2010-11-17 Thread Timothy Miller
Thankya, Devin, Andre, Phil and Mike.

Your suggestions worked out even better than expected.

I have a little padlock icon near one corner of the field. It locks and unlocks 
the field in question, to prevent accidental erasures. Normally, the field will 
be locked when I am reading its contents.

When locktext is true, the field remains focusable. That means my new "make 
link" button works when the field is locked. As soon as the link is made, it is 
immediately clickable, unless I unlock the field. Perfect!

Cheers,


Tim___
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


Cloning cards

2010-11-17 Thread Joe Lewis Wilkins
A quick question before I spend a lot of time assuming it will work: If we 
create a standalone with a menu item of "New Form" and then implement it with a 
handler script in which we do: clone this card, will this create a new card in 
the Standalone, keeping in mind that this will be done in a sub-stack? Also, 
with a matching menu item: Delete Form with the same concern.

TIA

Joe Wilkins


___
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: Cloning cards

2010-11-17 Thread Scott Rossi
Hi Joe:

If I understand what you're asking, the answer is yes, but the cloned card
won't be saved unless your stack exists in a file that's separate from the
standalone (standalones can't modify themselves).

You'll either need to use the splash screen launcher strategy which involves
building a standalone from a small splash screen stack and using this to
launch your "real" mainstack file, or clone your cards in new stacks and
save those as external files that can be opened by your standalone.  You can
find references in the list archives (one example:
).

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design



Recently, Joe Lewis Wilkins wrote:

> A quick question before I spend a lot of time assuming it will work: If we
> create a standalone with a menu item of "New Form" and then implement it with
> a handler script in which we do: clone this card, will this create a new card
> in the Standalone, keeping in mind that this will be done in a sub-stack?
> Also, with a matching menu item: Delete Form with the same concern.
> 
> TIA
> 
> Joe Wilkins


___
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:DOWNLOADING REV 4.0.0

2010-11-17 Thread Joseba Aguayo
No Jacqueline, no.
The support team respond me this:

Dear Joseba Aguayo,

Thank you for your request. If you are referring to the old DreamCard 
Revolution Player, it is no longer supported or available.

If you mean the Web Plugin, that is here:

http://revweb.runrev.com

I hope this helps,

Regards,

Heather
-

Is incredible 

Un saludo.

Joseba Aguayo Fernández
(jagu...@telur.es)


On Nov 17, 2010, at 8:58 PM, use-revolution-requ...@lists.runrev.com wrote:

> DOWNLOADING REV 4.0.0

___
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