Re: html entities

2010-10-29 Thread Chris Sheffield
Yeah, looks like a lookup table of some kind is my best bet. Thanks for the 
suggestions.

Chris

On Oct 29, 2010, at 10:34 AM, J. Landman Gay wrote:

> On 10/29/10 11:11 AM, dunb...@aol.com wrote:
>> I should have been more clear. Use the ampersand and semicolon to locate
>> the original char in the source text. Convert that char with the charToNum
>> function.
> 
> Except that the htmltext doesn't return characters you can convert in these 
> cases, it returns constants that html recognizes, like "acute" and "mdash", 
> etc. Chris will need a lookup table, I think.
> 
> -- 
> 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

--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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


html entities

2010-10-29 Thread Chris Sheffield
Got a small problem and wondering if there's any way around it.

When getting the htmlText of a field, is there any way to make Rev/LiveCode 
return the numeric html entities of special characters? So for example, if I 
have a word in Spanish, like "día" (accented i), if I put that into a text 
field and get the htmlText property of that field, is there any way to return 
the string "día" instead of "día"? When setting the htmlText 
property, either one works, but Rev always returns the latter.

Thoughts?

Thanks,
Chris

--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com

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


Re: Mac standalones (Rev 4.0) don't run under Jaguar (10.2.8)

2010-06-15 Thread Chris Sheffield
After doing a little more research, it appears that a standalone built with Rev 
3.5 does indeed work just fine running under 10.2. One built with Rev 4.0 does 
not. So does anyone know if Rev dropped support for 10.2 when they released 
4.0. If so, why is the Jaguar theme support plugin still part of the app bundle?

I will probably end up writing to Rev support about this, but thought I'd ask 
here first. Responses tend to be a little faster in arriving.

Thanks again.


On Jun 15, 2010, at 10:53 AM, Chris Sheffield wrote:

> Not sure if anyone out there is even still supporting Jaguar with their apps, 
> but we are (schools tend to take forever to upgrade equipment/operating 
> systems). We are in the process of doing an update to our software. We 
> switched to Rev 4.0 for this update in order to fix a few bugs. 
> Unfortunately, it's looking like standalones built with Rev 4.0 do not run 
> under Jaguar. We're getting the infamous bouncing icon in the dock and then 
> it crashes. Is anyone else seeing this? The jaguar_theme_support bundle is 
> still in the Plugins folder in the app bundle, so I'm assuming this issue is 
> not intentional (in other words, RunRev have not intentionally dropped 
> support for 10.2.x). This 
> 
> It seems like we've had this happen in the past, where switching to a new 
> version of Rev caused a problem like this. What I can't remember though is if 
> there ended up being an easy fix for it, or if we had to revert to a previous 
> version of Rev. I've checked permissions on the app bundle, which is usually 
> the cause of such behavior, but everything looks fine to me. I've compared 
> the info.plist files between the previous version of our app (built with Rev 
> 3.0) and this version (built with 4.0) and the only differences are version 
> information. Everything seems to be correct there. So I'm worried it's an 
> engine problem.
> 
> Can anyone shed some light on this? Any ideas as to what I could try to make 
> it work? We're in a bit of a pickle if we can't get this to work.
> 
> Thanks,
> Chris
> 
> 
> --
> Chris Sheffield
> Read Naturally, Inc.
> www.readnaturally.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


Mac standalones (Rev 4.0) don't run under Jaguar (10.2.8)

2010-06-15 Thread Chris Sheffield
Not sure if anyone out there is even still supporting Jaguar with their apps, 
but we are (schools tend to take forever to upgrade equipment/operating 
systems). We are in the process of doing an update to our software. We switched 
to Rev 4.0 for this update in order to fix a few bugs. Unfortunately, it's 
looking like standalones built with Rev 4.0 do not run under Jaguar. We're 
getting the infamous bouncing icon in the dock and then it crashes. Is anyone 
else seeing this? The jaguar_theme_support bundle is still in the Plugins 
folder in the app bundle, so I'm assuming this issue is not intentional (in 
other words, RunRev have not intentionally dropped support for 10.2.x). This 

It seems like we've had this happen in the past, where switching to a new 
version of Rev caused a problem like this. What I can't remember though is if 
there ended up being an easy fix for it, or if we had to revert to a previous 
version of Rev. I've checked permissions on the app bundle, which is usually 
the cause of such behavior, but everything looks fine to me. I've compared the 
info.plist files between the previous version of our app (built with Rev 3.0) 
and this version (built with 4.0) and the only differences are version 
information. Everything seems to be correct there. So I'm worried it's an 
engine problem.

Can anyone shed some light on this? Any ideas as to what I could try to make it 
work? We're in a bit of a pickle if we can't get this to work.

Thanks,
Chris


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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


revlet newbie questions

2010-02-19 Thread Chris Sheffield
So I'm just now playing with revlets, and was hoping to be able to convert an 
existing desktop app to a revlet, just as kind of a proof of concept thing. So 
far I'm striking out. Running on a Mac, OS X 10.6.2, it's totally locking up 
Firefox and, while Safari doesn't lock up, the revlet doesn't load properly. I 
just get a blank screen.

This is a fairly complex desktop app, basically a front end to a mysql 
database, so I'm sure there is simply code in there that will not run in a 
revlet. So I'm wondering, is there a good, single source out there somewhere 
that lists what works and what doesn't work in a revlet? Things to avoid in 
revlets? One thing I discovered is that the "go stack" command is supported in 
a revlet, but I can't seem to make it work unless I use the "go stack in 
window" form. Is that the only way to do it?

This app consists of several stack files, not substacks of one main stack, but 
rather several main stack files that are opened and closed depending on what 
the user is doing. Is that a problem in a revlet? Is it necessary to build each 
stack file into a revlet, or can they remain in their regular stack file and 
still be loaded using "go stack" from the first stack, which would be built as 
a revlet?

I've noticed in the Rev documentation that the "Class" column lists whether or 
not handlers work in a revlet, but is there some way to filter  the list? I 
don't seem to be able to. The search field seems to only search on the 
handler/property names.

What would be really nice, and I suppose I could do this myself if I had the 
time right now, would be a little plugin for Rev that could scan through an 
open stack and spit out a list of the "incompatilities" with revlets that 
appear in that stack. Any takers? If not, can someone point me to a 
"step-by-step" revlet guide? Hopefully I'm not asking too much. :-)

Thanks,
Chris


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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


strange option menu behavior

2010-02-12 Thread Chris Sheffield
I may be doing something that option menus were not intended for, so I want to 
check if others are seeing the same behavior.

Using Rev 4.0, I'm creating an option menu in a stack with all the possible 
menu items I need in it. However, some of these menu items need to be disabled 
at different points. So I'm simply running a "disable menuitem 2" command, and 
that works great on the Mac side. But when I do this on the Windows side, the 
menu items do not appear disabled, and they're displaying the "(" before the 
"disabled" items. What's strange, though, is when I select one of these items, 
my menuPick handler does not fire, but the menuHistory of the button changes to 
the item I selected. So there's kind of some weird mixed behavior going on.

Anyone else seeing this? Is it normal? Is there a workaround? Should I not be 
using an option menu this way?

Thanks for any suggestions.

Chris


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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: parental control problems - Mac OS X

2010-02-04 Thread Chris Sheffield
For anyone interested in this, I'm not sure what changed between Rev 3.0 and 
Rev 4.0, but this problem seems to disappear when building our standalone with 
Rev 4.0. We first discovered that the problem only occurred when building for 
Universal Binary. An Intel-only build did not have the problem (that was with 
Rev 3.0). So we decided at that point just to try a build with Rev 4.0 
(Universal Binary) and that seemed to work just fine. Not the most ideal 
solution, as we had to do a special build to send to some customers, but at 
least we found a solution.

Just thought I'd let you all know. And thanks to all those who replied with 
suggestions.

Chris


On Jan 28, 2010, at 3:13 PM, Chris Sheffield wrote:

> Honestly, I wish that were the case, but I don't think so. This is the same 
> build of our app that has been running for nearly a year now (updated last 
> April). We've had no reports of this problem until just recently, which makes 
> me think some security update changed something in parental controls that's 
> causing this problem. Again, why it only happens on Rev-built apps, I don't 
> know.
> 
> On Jan 28, 2010, at 3:03 PM, Sarah Reichelt wrote:
> 
>> On Fri, Jan 29, 2010 at 4:47 AM, Chris Sheffield  
>> wrote:
>>> Jacque,
>>> 
>>> Here's some more info from our end. Not sure if everyone is experiencing 
>>> this same behavior or not, but in our case, the executable inside the app 
>>> bundle is actually getting damaged. We compared an app that had been 
>>> launched with parental controls enabled for it and one that hadn't, and the 
>>> one that had was about 1 MB smaller. When trying to launch the executable 
>>> directly from Terminal, we get a file read error. So in this case, it looks 
>>> like no amount of messing with permissions is going to fix the problem. The 
>>> file is toast at that point.
>> 
>> 
>> Is your app trying to write a file, being denied permission, so
>> over-writing the executable instead?
>> I encountered this with an app that was writing a preferences file
>> with the same name as the executable. When the path was set
>> incorrectly, the executable got replaced.
>> 
>> Cheers,
>> Sarah
>> ___
>> 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
> 

--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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: parental control problems - Mac OS X

2010-01-28 Thread Chris Sheffield
Honestly, I wish that were the case, but I don't think so. This is the same 
build of our app that has been running for nearly a year now (updated last 
April). We've had no reports of this problem until just recently, which makes 
me think some security update changed something in parental controls that's 
causing this problem. Again, why it only happens on Rev-built apps, I don't 
know.

On Jan 28, 2010, at 3:03 PM, Sarah Reichelt wrote:

> On Fri, Jan 29, 2010 at 4:47 AM, Chris Sheffield  
> wrote:
>> Jacque,
>> 
>> Here's some more info from our end. Not sure if everyone is experiencing 
>> this same behavior or not, but in our case, the executable inside the app 
>> bundle is actually getting damaged. We compared an app that had been 
>> launched with parental controls enabled for it and one that hadn't, and the 
>> one that had was about 1 MB smaller. When trying to launch the executable 
>> directly from Terminal, we get a file read error. So in this case, it looks 
>> like no amount of messing with permissions is going to fix the problem. The 
>> file is toast at that point.
> 
> 
> Is your app trying to write a file, being denied permission, so
> over-writing the executable instead?
> I encountered this with an app that was writing a preferences file
> with the same name as the executable. When the path was set
> incorrectly, the executable got replaced.
> 
> Cheers,
> Sarah
> ___
> 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

--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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: parental control problems - Mac OS X

2010-01-28 Thread Chris Sheffield
Thanks for the suggestions Scott. I think we're already doing the permissions 
part, as our installer is taking care of that. But I will verify.

As for selecting our app in Parental Controls, that part is also being done. 
What's strange is, the corruption does not occur *until* we try to run the app 
under a managed account. It's not the process of selecting the app in Parental 
Controls. As soon as you try to launch it under the managed student account, 
the launch fails and the corruption occurs. Very, very weird behavior.

Chris

On Jan 28, 2010, at 1:09 PM, Scott Rossi wrote:

> Recently, Chris Sheffield wrote:
> 
>> I'm wondering if anyone has run into this problem and, if so, what the
>> possible fix would be. We have several customers (schools) reporting a 
>> problem
>> with our Rev-built application when trying to implement parental controls on
>> managed student accounts. Here's what's happening. When installing the
>> application under an admin account (we're using a Vise X installer) 
>> everything
>> appears to work as expected. The admin can launch the app and everything 
>> works
>> fine. Then the admin grants access to our app, via parental controls, to the
>> managed student account. After logging in with the student account, 
>> attempting
>> to launch the app results in the infamous bouncing icon in the dock but then
>> the app shuts down problem. What's even stranger, though, is that after
>> attempting this and then logging back in with the admin account and 
>> attempting
>> to run the app again, it doesn't work for the admin anymore. So it's like by
>> attempting to run the app with a managed account, it is breaking something
>> system wide. The only recourse at that point is to uninstall and reinstall.
> 
> Hi Chris:
> 
> I don't know if this will work for Rev apps or not, but I have fought for
> years with Parental Controls on kids' machines and have done the following
> to get apps to launch.  Apologies if any of this is basic knowledge for you.
> 
> 1) As admin under System Preferences, look in the user's account and see if
> applications are enabled on an item-by-item basis.  If yes, the checkbox for
> your app needs to be enabled.
> 
> 2) After installing an application as admin, I would get info on the app's
> folder bundle (bundle folder?) and change the "You can:" pulldown under
> Ownership and Permissions to read/write.  I don't know if this is acceptable
> in your situation, but it solved every problem install I had with Parental
> Controls and I now do this out of habit.
> 
> I do the above on a couple of old eMac systems running (I believe) OS X 10.4
> or thereabouts.  I'm not sure if Parental Controls on more recent versions
> of the OS works better, or is more intelligent.
> 
> 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

--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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: parental control problems - Mac OS X

2010-01-28 Thread Chris Sheffield
One more strange piece of information.

After allowing our app to be run through Parental Controls, a "_CodeSignature" 
folder gets created inside the app bundle in the Contents folder. Inside this 
is a CodeResources folder, which appears to be a plist-style file, except no 
.plist extension on it. It appears to list the icon files in the Resources 
folder, as well as a few other things that I'm not sure what they mean. Just 
thought I'd' mention that if it helps.

Is it time to file a bug report do you think? The bad thing is, I'm still not 
really convinced it's a Revolution problem. But if it is, this is a very 
serious issue that needs to get fixed asap if it still exists in the current 
version of Rev. I believe I used Rev 3.0 when I built this particular 
standalone. I may try a newer version just to see.

Chris


On Jan 28, 2010, at 11:47 AM, Chris Sheffield wrote:

> Jacque,
> 
> Here's some more info from our end. Not sure if everyone is experiencing this 
> same behavior or not, but in our case, the executable inside the app bundle 
> is actually getting damaged. We compared an app that had been launched with 
> parental controls enabled for it and one that hadn't, and the one that had 
> was about 1 MB smaller. When trying to launch the executable directly from 
> Terminal, we get a file read error. So in this case, it looks like no amount 
> of messing with permissions is going to fix the problem. The file is toast at 
> that point.
> 
> Another interesting tidbit of information is that the damage only seems to 
> occur on Intel machines. On a PPC machine, we still have a problem launching 
> the app when parental controls are enabled, but all we have to do to fix it 
> is deselect the app in parental controls. On an Intel machine, this does not 
> work. The app is built as a universal binary. We're going to try building 
> only for Intel just to see if there's any difference.
> 
> Again, this seems to only happen with Rev-built apps. Not sure why.
> 
> Chris
> 
> 
> On Jan 28, 2010, at 10:25 AM, J. Landman Gay wrote:
> 
>> 

--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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: parental control problems - Mac OS X

2010-01-28 Thread Chris Sheffield
Jacque,

Here's some more info from our end. Not sure if everyone is experiencing this 
same behavior or not, but in our case, the executable inside the app bundle is 
actually getting damaged. We compared an app that had been launched with 
parental controls enabled for it and one that hadn't, and the one that had was 
about 1 MB smaller. When trying to launch the executable directly from 
Terminal, we get a file read error. So in this case, it looks like no amount of 
messing with permissions is going to fix the problem. The file is toast at that 
point.

Another interesting tidbit of information is that the damage only seems to 
occur on Intel machines. On a PPC machine, we still have a problem launching 
the app when parental controls are enabled, but all we have to do to fix it is 
deselect the app in parental controls. On an Intel machine, this does not work. 
The app is built as a universal binary. We're going to try building only for 
Intel just to see if there's any difference.

Again, this seems to only happen with Rev-built apps. Not sure why.

Chris


On Jan 28, 2010, at 10:25 AM, J. Landman Gay wrote:

> Chris Sheffield wrote:
>> After logging in with the student
>> account, attempting to launch the app results in the infamous
>> bouncing icon in the dock but then the app shuts down problem. What's
>> even stranger, though, is that after attempting this and then logging
>> back in with the admin account and attempting to run the app again,
>> it doesn't work for the admin anymore. So it's like by attempting to
>> run the app with a managed account, it is breaking something system
>> wide.
> 
> The tech queue is getting questions about this too, and I'm not sure what the 
> answer is. It isn't related to your filtering program. This works for some:
> 
> Log into Terminal and do sudo chmod 755 on the app bundle.
> 
> You could also try throwing away the OS-generated plist file in Preferences.
> 
> Also try changing the owner of the app in Get Info.
> 
> None of these has proved to be successful for everyone though, and in your 
> situation it isn't really reasonable to ask your customers to use Terminal.
> 
> The above is from a web page that has other suggestions too:
> 
> <http://reviews.cnet.com/8301-13727_7-10330759-263.html>
> 
> That page is a little old but the Terminal instructions worked in one case I 
> had. I need to find out more about this.
> 
> -- 
> 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

--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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: parental control problems - Mac OS X

2010-01-28 Thread Chris Sheffield
Thanks for the suggestions, Jacque. I'll forward this info to our support team.

Chris


On Jan 28, 2010, at 10:25 AM, J. Landman Gay wrote:

> Chris Sheffield wrote:
>> After logging in with the student
>> account, attempting to launch the app results in the infamous
>> bouncing icon in the dock but then the app shuts down problem. What's
>> even stranger, though, is that after attempting this and then logging
>> back in with the admin account and attempting to run the app again,
>> it doesn't work for the admin anymore. So it's like by attempting to
>> run the app with a managed account, it is breaking something system
>> wide.
> 
> The tech queue is getting questions about this too, and I'm not sure what the 
> answer is. It isn't related to your filtering program. This works for some:
> 
> Log into Terminal and do sudo chmod 755 on the app bundle.
> 
> You could also try throwing away the OS-generated plist file in Preferences.
> 
> Also try changing the owner of the app in Get Info.
> 
> None of these has proved to be successful for everyone though, and in your 
> situation it isn't really reasonable to ask your customers to use Terminal.
> 
> The above is from a web page that has other suggestions too:
> 
> <http://reviews.cnet.com/8301-13727_7-10330759-263.html>
> 
> That page is a little old but the Terminal instructions worked in one case I 
> had. I need to find out more about this.
> 
> -- 
> 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

--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com

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


Re: AW: parental control problems - Mac OS X

2010-01-28 Thread Chris Sheffield
As far as we know the problem only occurs when customers are using parental 
controls to control access to our app. If they leave our app deselected in 
parental controls, which I know doesn't really make sense, then things seem to 
work okay. It's almost like there's a conflict between file permissions and 
parental controls. It's very strange.

On Jan 28, 2010, at 10:07 AM, Tiemo Hollmann TB wrote:

> Hi Chris,
> 
> I also had some permission issues with weird behaviours on different user
> accounts.
> 
> are you sure it is only related with a parental control system, or do you
> also have customers without such a control experiencing it?
> 
> Are you developing on Mac or Win?
> 
> Tiemo
> 
>> -Ursprüngliche Nachricht-
>> Von: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
>> boun...@lists.runrev.com] Im Auftrag von Chris Sheffield
>> Gesendet: Donnerstag, 28. Januar 2010 17:41
>> An: How to use Revolution
>> Betreff: parental control problems - Mac OS X
>> 
>> I'm wondering if anyone has run into this problem and, if so, what the
>> possible fix would be. We have several customers (schools) reporting a
>> problem with our Rev-built application when trying to implement parental
>> controls on managed student accounts. Here's what's happening. When
>> installing the application under an admin account (we're using a Vise X
>> installer) everything appears to work as expected. The admin can launch
>> the app and everything works fine. Then the admin grants access to our
>> app, via parental controls, to the managed student account. After logging
>> in with the student account, attempting to launch the app results in the
>> infamous bouncing icon in the dock but then the app shuts down problem.
>> What's even stranger, though, is that after attempting this and then
>> logging back in with the admin account and attempting to run the app
>> again, it doesn't work for the admin anymore. So it's like by attempting
>> to run the app with a managed account, it is breaking something system
>> wide. The only recourse at that point is to uninstall and reinstall.
>> 
>> It seems like I remember somebody reporting a similar problem a while
>> back, but I can't for the life of me find the details. Has anyone seen
>> this? If so, is there a solution? Seems permissions-related, but as far as
>> I can tell, permissions on the app bundle are set to what they need to be.
>> So then I wondered if it might be some strange problem in the info.plist
>> file in the app bundle. Could that be a possibility?
>> 
>> The problem seems to be happening on both Leopard and Snow Leopard
>> systems. Another thing that's strange is that all of a sudden we're
>> getting a lot of support calls about this. It's almost like the most
>> recent security update from Apple has caused the problem to appear for us.
>> Other non-Rev apps seem to be unaffected, however.
>> 
>> Thanks for any suggestions,
>> Chris
>> 
>> 
>> --
>> Chris Sheffield
>> Read Naturally, Inc.
>> www.readnaturally.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

--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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


parental control problems - Mac OS X

2010-01-28 Thread Chris Sheffield
I'm wondering if anyone has run into this problem and, if so, what the possible 
fix would be. We have several customers (schools) reporting a problem with our 
Rev-built application when trying to implement parental controls on managed 
student accounts. Here's what's happening. When installing the application 
under an admin account (we're using a Vise X installer) everything appears to 
work as expected. The admin can launch the app and everything works fine. Then 
the admin grants access to our app, via parental controls, to the managed 
student account. After logging in with the student account, attempting to 
launch the app results in the infamous bouncing icon in the dock but then the 
app shuts down problem. What's even stranger, though, is that after attempting 
this and then logging back in with the admin account and attempting to run the 
app again, it doesn't work for the admin anymore. So it's like by attempting to 
run the app with a managed account, it is breaking something system wide. The 
only recourse at that point is to uninstall and reinstall.

It seems like I remember somebody reporting a similar problem a while back, but 
I can't for the life of me find the details. Has anyone seen this? If so, is 
there a solution? Seems permissions-related, but as far as I can tell, 
permissions on the app bundle are set to what they need to be. So then I 
wondered if it might be some strange problem in the info.plist file in the app 
bundle. Could that be a possibility?

The problem seems to be happening on both Leopard and Snow Leopard systems. 
Another thing that's strange is that all of a sudden we're getting a lot of 
support calls about this. It's almost like the most recent security update from 
Apple has caused the problem to appear for us. Other non-Rev apps seem to be 
unaffected, however.

Thanks for any suggestions,
Chris


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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 title reduced to a single character

2010-01-28 Thread Chris Sheffield
I failed to mention that I have this line of code in my startup handler. Not 
sure if that's required or not. Might be okay to have it in preOpenStack as 
well.

On Jan 28, 2010, at 8:36 AM, Chris Sheffield wrote:

> Hi Sarah,
> 
> I believe this is the workaround we used:
> 
>   set the revruntimebehaviour to 4
> 
> I honestly don't remember the details behind this. It might be documented in 
> the bug ticket (7290 or 6343). I think this is an undocumented property, and 
> I'm not entirely sure what the value 4 means. Sorry for being rather vague. 
> It's also possible that this line of code came to me as a result of emailing 
> support directly.
> 
> Anyway, hope it helps.
> 
> Chris
> 
> 
> On Jan 28, 2010, at 3:20 AM, Sarah Reichelt wrote:
> 
>> Has anyone managed to find a work-around to the problem with a stack's
>> title being reduced to a single character under Windows, if there is a
>> player on the card? This is proving a real blocker for me at the
>> moment, despite several bug reports, one of which says it was fixed in
>> Rev 3.0. I'm using Rev 4.0 and a pre-release of Rev 4.5 and it's still
>> happening there. So far the only solution I have found is to build the
>> app using Rev 2.8 which seems a bit ridiculous and causes other
>> problems.
>> 
>> For further details see:
>> http://quality.runrev.com/qacenter/show_bug.cgi?id=6235
>> http://quality.runrev.com/qacenter/show_bug.cgi?id=6343
>> http://quality.runrev.com/qacenter/show_bug.cgi?id=7290
>> 
>> Basically, it means that it is impossible to deploy a professional
>> looking standalone under Windows if it uses a player.
>> 
>> Checking the archives of this list, I see that Scott Rossi was reduced
>> to trying to place a sub-stack over the title bar so as to fake the
>> title of the stack but I don't know if that was successful. It
>> certainly seems rather extreme for a problem that has supposedly been
>> fixed. Mark Waddingham's work-around, suggested in September 2008, of
>> setting the revRuntimeBehaviour to 4 does not work, at least not in
>> the versions of Rev that I have tested. Maybe it worked in Rev 3.
>> 
>> If this cannot be fixed, then I suggest that it be noted in the docs
>> or on the web site that player objects are not fully implemented or
>> supported under Windows. And there will then need to be an alternative
>> supplied that will do the same job for Windows apps.
>> 
>> 
>> Miffed having spent hours wrestling with this problem,
>> Sarah
>> ___
>> 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
> 
> --
> Chris Sheffield
> Read Naturally, Inc.
> www.readnaturally.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

--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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 title reduced to a single character

2010-01-28 Thread Chris Sheffield
Hi Sarah,

I believe this is the workaround we used:

set the revruntimebehaviour to 4

I honestly don't remember the details behind this. It might be documented in 
the bug ticket (7290 or 6343). I think this is an undocumented property, and 
I'm not entirely sure what the value 4 means. Sorry for being rather vague. 
It's also possible that this line of code came to me as a result of emailing 
support directly.

Anyway, hope it helps.

Chris


On Jan 28, 2010, at 3:20 AM, Sarah Reichelt wrote:

> Has anyone managed to find a work-around to the problem with a stack's
> title being reduced to a single character under Windows, if there is a
> player on the card? This is proving a real blocker for me at the
> moment, despite several bug reports, one of which says it was fixed in
> Rev 3.0. I'm using Rev 4.0 and a pre-release of Rev 4.5 and it's still
> happening there. So far the only solution I have found is to build the
> app using Rev 2.8 which seems a bit ridiculous and causes other
> problems.
> 
> For further details see:
> http://quality.runrev.com/qacenter/show_bug.cgi?id=6235
> http://quality.runrev.com/qacenter/show_bug.cgi?id=6343
> http://quality.runrev.com/qacenter/show_bug.cgi?id=7290
> 
> Basically, it means that it is impossible to deploy a professional
> looking standalone under Windows if it uses a player.
> 
> Checking the archives of this list, I see that Scott Rossi was reduced
> to trying to place a sub-stack over the title bar so as to fake the
> title of the stack but I don't know if that was successful. It
> certainly seems rather extreme for a problem that has supposedly been
> fixed. Mark Waddingham's work-around, suggested in September 2008, of
> setting the revRuntimeBehaviour to 4 does not work, at least not in
> the versions of Rev that I have tested. Maybe it worked in Rev 3.
> 
> If this cannot be fixed, then I suggest that it be noted in the docs
> or on the web site that player objects are not fully implemented or
> supported under Windows. And there will then need to be an alternative
> supplied that will do the same job for Windows apps.
> 
> 
> Miffed having spent hours wrestling with this problem,
> Sarah
> ___
> 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

--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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: regex question in matchChunk function

2009-12-17 Thread Chris Sheffield
Thanks to all who replied and offered suggestions. I ended up using the "find" 
command on my field in order to accomplish what I need. While probably not 
super speedy, it seems to be working well. Fortunately the story passages are 
not too long, so the decreased speed is really not that noticeable.

Thanks again,
Chris

--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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: regex/HTMLText question

2009-12-15 Thread Chris Sheffield
Thanks, Craig. Unfortunately, this doesn't quite work either. If I were to run:

replace "use" with "useused", which 
is not the desired result.


On Dec 15, 2009, at 1:56 PM, dunb...@aol.com wrote:

> Right, thanks to all.
> 
> Chris', your original regex question could better be addressed by:
> 
> on mouseup
>get fld "yourField"
>replace yourtext with "" & yourtext & "" in it
>set the htmltext of fld "yourField" to it
> end mouseup
> 
> This would be fast, and easily extendable, since we are just crunching 
> data.
> 
> Not that there isn't a good regex solution as well...
> 
> Craig Newman
> ___
> 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

--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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: regex question in matchChunk function

2009-12-15 Thread Chris Sheffield
Thanks, Troy. Unfortunately, offset doesn't quite work for me, as it does not 
honor the wholeMatches property. So I might search for "use", and it would find 
both "use" and "used", which is not the desired result. However, with some 
extra code I could probably make it work (manually checking for punctuation, 
spaces, etc.). Not pretty, but might work.

Thanks again,
Chris

On Dec 15, 2009, at 1:05 PM, Troy Rollins wrote:

> 
> On Dec 15, 2009, at 1:46 PM, Chris Sheffield wrote:
> 
>> Can anyone help? Is there a way to do this? Or can someone recommend another 
>> method of accomplishing the same thing?
> 
> Offset
> 
> --
> Troy
> RPSystems, Ltd.
> http://www.rpsystems.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

--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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


regex question in matchChunk function

2009-12-15 Thread Chris Sheffield
I am not very familiar with regular expressions, and I'm wondering if someone 
more knowledgeable could give me a hint as to how to accomplish this.

Given a passage of text, I need to find every instance of certain words within 
that text and draw a box around them. The box drawing I can handle just fine by 
including "box" in the textStyle of the found chunk. But it's finding the 
instances that I'm struggling with. Here is my code. Big warning! This should 
not be run as is, if anyone wants to attempt it. The second repeat will go 
forever.

repeat for each line tWord in tDiffWords
repeat until matchChunk(tStoryText, "(?i)\b(" & tWord & ")\b", 
tStartChar, tEndChar) is false
   
put the textStyle of char tStartChar to tEndChar of fld "StoryText" 
into tStyle
if tStyle is empty or tStyle is "plain" then
put "box" into tStyle
else
put comma & "box" after tStyle
end if
set the textStyle of char tStartChar to tEndChar of fld "StoryText" 
to tStyle
   
end repeat
end repeat

What I need is some way to use the matchChunk function and continue the search 
where the last search ended. I read through some regex documentation and came 
across "\G", but this doesn't seem to work in Rev. But maybe I'm not putting it 
in the right place in my search string.

Can anyone help? Is there a way to do this? Or can someone recommend another 
method of accomplishing the same thing? Keep in mind that this needs to search 
whole words in a story passage, and we're dealing with all kinds of punctuation 
here, including hyphens, em dashes, etc.

Thanks,
Chris

--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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: csv parser

2009-11-16 Thread Chris Sheffield
Great. Thanks, Alex. This will definitely come in handy. Point taken about 
using tabs vs. commas as the delimiter. That would be my preference too, but 
I'm not sure I have control in this case. We'll see.

Thanks again,
Chris


On Nov 13, 2009, at 4:04 PM, Alex Tweedly wrote:

> Chris Sheffield wrote:
>> Wow, it's been a while since I've posted to the list. I first have to say 
>> congratulations to the Rev team on the release of Rev 4.0. I've been using 
>> it for a couple days now, and it's looking great.
>> 
>> I was wondering if anyone out there has written a csv parsing library in Rev 
>> and would be willing to share it. I'm in need of something that will 
>> read/write values to a csv file. I'll create my own if I have to, but 
>> obviously it would save me a ton of time if I don't have to.
>> 
>>  
> Not exactly a library, but there was a fairly extensive thread back in 
> October 2004 about the perils of the various forms of csv file, and it 
> included a couple of handlers to read in csv files - I think there was a very 
> readable and straightforward one from Richard Gaskin, and later there was a 
> very efficient (but significantly more complex and obscure) version from me, 
> at
> 
> http://lists.runrev.com/pipermail/use-revolution/2004-October/045495.html
> 
> If you have any control at all, I'd recommend TSV (i.e. TAB Separated Values 
> rather than Comma SVs).
> 
> -- alex.
> ___
> 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

--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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


csv parser

2009-11-13 Thread Chris Sheffield
Wow, it's been a while since I've posted to the list. I first have to say 
congratulations to the Rev team on the release of Rev 4.0. I've been using it 
for a couple days now, and it's looking great.

I was wondering if anyone out there has written a csv parsing library in Rev 
and would be willing to share it. I'm in need of something that will read/write 
values to a csv file. I'll create my own if I have to, but obviously it would 
save me a ton of time if I don't have to.

Thanks,
Chris


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com

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


Re: How to filter a big list

2009-10-19 Thread Chris Sheffield

Jérôme,

Are you applying the filter to a text field? If so, try temporarily  
saving the field to a variable, applying the filter to the variable,  
then saving the variable back to the field. The speed should increase  
dramatically. If you're already doing this, I'm afraid I don't have  
another suggestion.


Chris


On Oct 19, 2009, at 2:49 PM, Jérôme Rosat wrote:

I wish to filter a list which contains approximately 300'000 lines.  
I try the "filter ... with" command. It's slow.


I try the "Repeat for each" loop but it's slower.

Is it possible to use the "filter ... with" command and to "force"  
RunRev to check only one "item" of the line and not the whole line  
with the "filterPattern" ?


Thanks.

Jerome
___
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


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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


Test

2009-08-28 Thread Chris Sheffield
Please ignore. Just testing some e-mail account settings. :-)
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Launch another app from my standalone

2009-08-28 Thread Chris Sheffield
Adrian,

Is it possible you've changed the defaultFolder somewhere in your code?
That's the only reason I can think of why a command like launch "myApp"
wouldn't work.

Also, sorry to state the obvious, but just in case, be aware that it is
necessary to include the .exe or .app as part of the app's name.

Good luck.

Chris Sheffield


On 8/28/09 8:50 AM, "Adrian Williams"  wrote:

> Thanks Ray, but I don't want a navigation dialog to select it, I want
> the app to launch automatically.
> Adrian
> 
> On 28 Aug 2009, at 18:38, Ray Horsley wrote:
> 
>> I'm not having any trouble with:
>> 
>> on mouseUp
>>  answer file "Pick an application"
>>  launch it
>> end mouseUp
>> 
>> Ray Horsley
>> LinkIt! Sofware
>> 
>> On Aug 28, 2009, at 6:42 AM, Adrian Williams wrote:
>> 
>>> A Mac standalone that needs to Launch another .app
>>> A Win standalone that needs to Launch another .exe
>>> Everything is in the same Folder.
>>> The docs just say launch "myApp" but that does nothing.
>>> How can I do this?
>>> 
>>> Thanks,
>>> Adrian
>>> __
>>> Club Type
>>> http://www.clubtype.co.uk
>>> 
>>> 
>>> 
>>> 
>>> ___
>>> 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 subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Passwords in standalone settings not working

2009-05-29 Thread Chris Sheffield
Yep, and even before 3.5. I think it's a bug that's existed for a  
while now. Not sure if there's a report for it or not.


On May 29, 2009, at 10:41 AM, Mark Schonewille wrote:


Hi,

Has anyone else noticed that passwords for stack files, set in the  
standalone settings, are not applied when the standalone is built?  
I'm using Rev 3.5.


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.color-converter.com
http://twitter.com/xtalkprogrammer

New: Snapper Screen Recorder 2.0.1
Download at http://snapper.economy-x-talk.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


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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: Animate contents of a stack/card to turn like a page

2009-03-30 Thread Chris Sheffield
Not sure what the requirements are, but there is a CoreImage page curl  
transition. This would be Mac only, of course. There's a core image  
sampler stack located in Resources/Examples of your Revolution folder.  
Version 2.6 and above I believe. Not sure if there's something similar  
for Windows or not.


Chris


On Mar 30, 2009, at 11:29 AM, Richard Gaskin wrote:


mfstuart wrote:
I'd like to animate the contents on a stack or a card or even a  
field, to
animate the contents like turning a page of a book/magazine/ 
newspaper. It

would turn from the top-right to bottom-left. Or something like that.
This would have to be a cross-platform solution.
Q: Can the animation do this?
Or
Q: can I do this without the animation engine, and do it with the  
RunRev

engine alone?
If so how?


Good news:  the "answer effect" command gives you access to  
QuickTime's transition dialog, which provides a stunning variety of  
transition effects.


Bad news: page turning isn't among them.* :(

I good page-curling transition would be nice to have, but I'm not  
sue it could even be done with an external (is there an API for  
imaging unopened cards?).


You might consider submitting a request for that.  In the meantime,  
you may have to make due with something like the "push" effect for  
now.



* Also absent from that QT dialog is the Ken Burns effect, in which  
images are moved, zoomed, and faded simultaneously during the  
transition.  It's a gorgeous effect, and since it's used in multiple  
apps in OS X I suspect there's an API for it somewhere.  But it's  
not in the QT dialog we get with "answer effect", and I've found no  
way to emulate it in scripting.


--
Richard Gaskin
Fourth World
Revolution training and consulting: http://www.fourthworld.com
Webzine for Rev developers: http://www.revjournal.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


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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: Does ctrl+q work?

2009-03-09 Thread Chris Sheffield
This doesn't necessarily require the menu builder. If you simply have  
a File menu in your stack with a Quit menu item, making sure that Ctrl- 
Q can be used to fire the menu item, build a standalone for Windows  
using Rev 3.0 and see if it works. In fact, you don't necessarily even  
have to have a menu. Simply place a commandKeyDown handler in your  
card or stack script, with a put or answer command so you can see what  
key gets pressed. Then press control and any other key. You'll see  
that any key besides 'q' works. Very strange.


Thanks,
Chris

On Mar 6, 2009, at 8:00 PM, Mark Wieder wrote:


Chris-

Friday, March 6, 2009, 3:42:07 PM, you wrote:


Thanks, Mark. Unfortunately we're talking about the behavior in a
standalone, not the IDE.


Oh. Ouch - I missed reading that part. Well, I haven't used the menu
builder in years, so I won't be much help here.

--
-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


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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: Does ctrl+q work?

2009-03-06 Thread Chris Sheffield
Thanks, Mark. Unfortunately we're talking about the behavior in a  
standalone, not the IDE.



On Mar 6, 2009, at 4:19 PM, Mark Wieder  wrote:


Chris-

Try dumping your preferences file. I have to do that regularly to get
control-C working again after the prefs eat it. pita.

--
-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

___
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


Does ctrl+q work?

2009-03-06 Thread Chris Sheffield
I'm wondering if someone could try this for me just so I know it's not  
something I'm doing wrong.


1.  Using Rev 3.0, create a new stack.
2.  Use the menu builder to create a new menu. Just use the default  
settings for the menu bar, hit the autoscript button. Verify that Ctrl/ 
Cmd+Q is set as the keyboard shortcut for the File->Quit menu item.

3.  Add a "quit" command to the script for the Quit menu item.
4.  Build the app for Windows.
5.  When you run it, does pressing Ctrl+q on the keyboard work to quit  
your app?


This is not working for me, and I know it has in the past. I think  
it's a bug in Rev 3.0, but I want to confirm that first. The thing  
that's strange is that there doesn't appear to be any good workaround  
for it, as it seems that the commandKeyDown message does not fire at  
all when pressing the q key. It does with other letters, however. I've  
tested this in my stack's script. Maybe there's something I could do  
with rawKeyDown. That's the only other route I haven't tried.


Other suggestions would be most welcome. Thanks.


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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: Good looking examples of applications built with Revolution

2009-02-17 Thread Chris Sheffield

Hi Ben,

Read Naturally was fully developed in Revolution  
(www.readnaturally.com). I work for Read Naturally (that's the name of  
the company as well as the name of our flagship product) as the  
primary developer. I don't know that I would go so far as to say it  
has "an impressive modern user interface", however, as it is  
definitely due for a revamping in that area. But it is one example of  
a very successful commercial product. Visit this page http://www.readnaturally.com/products/se2evalrequest.htm 
 to download a fully functional evaluation.


Give me a holler if you have more questions.

Chris


On Feb 17, 2009, at 6:12 AM, Ben Rubinstein wrote:

I know that this must be an FAQ, but I've not been able to find that  
handy list I'm looking for.


It's that time again: considering what development approach to take  
on a new project, which requires a cross-platform well connected  
desktop app with a slick UI, for a wide consumer audience.


The arguments about development efficiency of Rev are well  
understood; there's no doubt that Rev can do all the tasks that will  
be needed; the question mark over Rev, as compared to the other two  
routes being considered, is evidence of good looking, slick, user  
interfaces.  (A shocking indictment of my own work, of course, but  
then my work has always concentrated on functionality.)


So, here's that question again: I'm looking for examples of actual  
applications (not just sample stacks, tool stacks etc), built in  
Rev, that can be pointed to as demonstrating that people have used  
Rev to distribute products with an impressive modern user  
interface.  I'm sure that they're out there - I just don't know where.


Please send examples, links, or lists - whether your own work or  
others - either to me directly or to the list as you prefer.


Many thanks,

- Ben

___
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


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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: DOS window and shell function

2008-12-03 Thread Chris Sheffield

Set the hideConsoleWindows to true. :-)

Chris

On Dec 3, 2008, at 1:10 PM, Devin Asay wrote:

I'm doing a project in which I need to call a DOS shell script. It  
all works great, but the DOS terminal window briefly appears and  
disappears. This doesn't happen in OS X--the shell script just  
executes silently. Does anyone know if there is a way to get rid of  
the annoying DOS terminal window flash? (Win XP, Rev 3.0)


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


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com

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


Re: Rev 3 Player/Stack Title Bug - Help?

2008-11-19 Thread Chris Sheffield

Does setting the title in a preOpenStack handler make any difference?

On Nov 19, 2008, at 11:25 AM, Scott Rossi wrote:


Recently, Scott Rossi wrote:

If you see what I see, the stack's title (in the titlebar) changes  
to "A";

the title in the inspector does change.


...does NOT change.  Sorry for the typo (frustration evident).

Thanks & Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & 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


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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: building a installer with rev

2008-11-14 Thread Chris Sheffield

Tiemo,

Speaking from experience, while you can certainly create your own  
installer using Rev, it ends up being a fair amount of work. You could  
save a lot of time using another installer tool.


Most installers (InnoSetup for one, and it's totally free) will allow  
you to keep your files external to the installer. In other words, you  
can opt not to compress the files, and have the installer do a simple  
copy action instead. Simply use the "external" flag. That way, your  
app could still run straight from the DVD, but you'd also have an easy  
interface for allowing the user to copy files to HD. If you're not  
familiar with InnoSetup, I recommend using ISTool, a third-party  
interface that provides a lot of extra functionality that you would  
otherwise have to script yourself.


HTH,
Chris Sheffield


On Nov 14, 2008, at 1:54 AM, Tiemo Hollmann TB wrote:


Hello,

I have read the archives about this issue, but didn't found an  
answer to my
specific needs. Perhaps somebody can give me some advice. What I  
want to do
is to distribute my app on DVD-ROM for Mac and Win. It is heavily  
based on
Videos (7.5GB), that's why the medium is not a CD-ROM, but a double  
layer

DVD-9.  My app should be runable direct from DVD-ROM (on Win with
autostart), that's why I can't have any packaged/zipped content on the
DV-ROM. So far no problem. Now I want to supply the user that he can  
also
install / copy the whole app on HD to be independent of the DVD-ROM.  
Here I

have some open questions.

On Mac:

- The easiest way would be to tell the user, that he just can copy  
the whole

DVD-ROM into any folder on HD and that's it. I think to provide a
"copyAll-setup" wouldn't bring much more comfort

- Are there any issues, not to do this, or what the user would  
expect coming

along with a HD install (like a desktop alias on Win)?

On Win:

- All installers I have seen so far want to compress/zip the content  
of my
app on the medium and do an unzip while installing. Because all my  
files
have to be runable from DVD, they can't be compressed and I can't  
use any

installer (like innosetup or installgadget or stuffit) Do you know any
installer, which just can copy the files without having them packaged
before?

So my thought was to create my own setup with rev, which just copies  
all the
content of my DVD to HD, I don't need any drivers, registry settings  
or

things like that, just a full copy.

- If I would offer the user to install into the standard C:\program  
files,

how will Vista give me the privilege of admin rights to copy to that
destination? I have read sometime before, that Vista just recognizes  
a setup
from the name "setup.exe". Is this true and sufficient? How to  
prevent from

being virtualized?

- How can I create an alias on the desktop and startmenu to my app  
with rev?

Is it possible at all?

- How to create an uninstall? After having deleted all my files in
C:\programm files\ (what thinks Vista about that?), how do I delete  
"myself"

(the uninstall.exe) Never done such a thing before.

- Are there any other issues, I haven't thought about yet and I  
should tell
the win user also, just to copy the DVD wherever he wants to and has  
to care

about it for himself?

Thanks for your experience and recommendations

Tiemo









___
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


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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: List of all possible messages?

2008-10-08 Thread Chris Sheffield
If you're using Rev 3.0, you can also simply open the Dictionary, then  
under the Language disclosure on the left, select Message. :-)


On Oct 8, 2008, at 12:54 PM, Mark Schonewille wrote:


Hi Michael,

Try this in the message box:

put the commandNames & cr & the functionNames & cr & the propertyNames

It might also be interesting for you to search the dictionary for  
"names". You will see that there are also driverNames, constantNames  
etc.


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum/

Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html 
 for more info.


On 8 okt 2008, at 20:45, Michael wrote:


Hi:

I was wondering if there was an explicit list somewhere of all  
possible

messages that can be sent in Rev?

Thanks,

m

___
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


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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: Urgent! Standalone Problem!!!

2008-09-18 Thread Chris Sheffield
Custom property set cRevStandaloneSettings, then the name property  
within that set. Make sure you have "Rev UI elements appear in lists"  
checked in Rev prefs or you won't be able to see it in the prop  
inspector.


So something like:

put the cRevStandaloneSettings["name"] of this stack into  
tStandaloneName


should get you what you want.

Hope that helps
Chris


On Sep 18, 2008, at 1:54 PM, Dave wrote:


Hi,

I need to get the name of the Standalone Application when I'm  
running in IDE mode. I have a standaloneSaved handler that sets  
vital information for the Standalone after is has been saved, The  
main problem is that the  standaloneSaved handler is passed the name  
of the Standalone folder in which the new folder for the  
applications (Mac and Windows) have been saved, e.g.


/StandAloneFolder/

Whereas what would be really useful would be the folder that is  
created to store the Standalone Application, e.g.


/StandAloneFolder/AppName/

Which contains:

MacOSX
Windows

I either the folder name or I need to be able to get the Standalone  
Settings for the Application where the name of the Application is  
stored.


Does anyone have any idea on how to solve this?

All the Best
Dave





___
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


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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


not getting my posts

2008-09-18 Thread Chris Sheffield
For some reason I'm not getting my own posts even though in my  
settings I've opted to do so. Anyone else having this problem? And no,  
they're not getting stuck in my spam/junk folder.


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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: OS9 standalone builds

2008-09-18 Thread Chris Sheffield
Hmm, it used to be possible to download old versions from their ftp  
site at ftp://ftp.runrev.com. But I just tried and it looks like the  
"pub" folder is now empty. Anyone?



On Sep 18, 2008, at 1:17 PM, Joe Lewis Wilkins wrote:


Richard,

I started using Rev. with 2.7, so how do I get a copy of 2.6.1? It  
might be a good idea if this were made common knowledge some way or  
another, so we don't beat our heads against a stone wall trying to  
do Classic with later versions of Rev.


TIA,
Joe Wilkins

On Sep 18, 2008, at 11:40 AM, Richard Gaskin wrote:


Jeff Reynolds wrote:


is the classic build going to be frozen at 2.6.1 for good now?

...
i still have to create mac classic stanalones for the school  
cdroms as  its still a significant market in the elementary  
schools still holding  onto older macs and not going to osx with  
them...
I have not been working on these cdroms for the last 6 months,  
but  will need to be upgrading some old ones and creating new  
grade levels  of others and wondering if its ok to move the  
software line to 3.0  from 2.6.1 at this time or wait. i purposely  
froze these projects on  2.6.1 to keep compatibility for building  
classic standalones. our  mulitmedia cdroms are pretty simple and  
seem to be very happy  currently with 2.6.1 builds on mac and pc,  
but am aware we may be just  new system version away from that  
being true at any point here...


The nice thing about supporting Classic is that it's frozen in  
time, just like the Rev engine for it appears to be.  Apple isn't  
likely to do anything more for Classic, so the Rev 2.6.1 is  
expected to run as long as your hardware holds out.


--
Richard Gaskin
Managing Editor, revJournal
___
Rev tips, tutorials and more: http://www.revJournal.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


--
Please avoid sending me Word or PowerPoint attachments.
See   <http://www.gnu.org/philosophy/no-word-attachments.html>

Joe Lewis Wilkins
[EMAIL PROTECTED]





___
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


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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


PCWorld

2008-09-11 Thread Chris Sheffield
Way to go RunRev. I may be wrong, but this is the first time in my  
memory that there has been an announcement on PCWorld.


http://www.pcworld.com/article/150946/.html?tk=rss_news

Congratulations!

Chris


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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: semi-OT: can Rev pre-populate data on a web form?

2008-09-11 Thread Chris Sheffield
Just wanted to write and say thanks to Trevor, Ben, and Jim. Using the  
web form is working great. I just needed a little push in the right  
direction, and I got it here. So thanks for the suggestions.


Chris

On Sep 5, 2008, at 3:28 AM, Ben Rubinstein wrote:


Chris Sheffield wrote:
So my main question is, can Rev send data to a web form like this  
in such a way that whatever fields we specify will be populated  
when the browser/form opens? Not sure if something like this is  
even possible. I haven't done enough web development to know. Is  
some special JavaScript required to accomplish this? In thinking  
this through a little more, if we have a web form that's already  
set up to send an email, can't I take advantage of that in Rev by  
creating my own form and then sending the data straight to the cgi  
behind the form? Once again, I haven't done much web dev, so I may  
not even know what I'm talking about. :-)


If anyone can help or can offer any other suggestions for how to
accomplish something similar, it'd be much appreciated.



If I've understood your request correctly, you really want a Rev  
stack to
collect some information from the user, and have it arrive at your  
server in
the form of an email.  There's a simple way to get what you want, I  
think.


Using the SMTP libraries should make this possible, but has some  
issues, in
particular your rev stack then needs to know the address of a mail  
server it
can use from within the user's network to send email.  But if you  
have a web
form on your server that's successfully sending email where you want  
it,

there's no need to open a user's browser to view it.  Instead, Rev can
effectively be that web form.

(Apologies if what follows is teaching my granny to suck eggs.) If  
you look at
the source of the web page, it will contain a "form" element with an  
action
and a method.  The action is the address of a server-side resource  
(a script
etc) which receives the values entered into the form and processes  
it, in this
case by sending an email.  The method is either POST or GET.  If  
it's GET,
then the resource expects the values in the URL string, eg if I fill  
in this

simple form







my browser will next fetch a URL like this:
 ./formmail.cgi?first=Ben&last=Rubinstein

(the first part of the URL being constructed based on the URL of the  
page

holding the form, adjusted by the 'action' of the form.)

Lecture over; the point is that executing

put "./formmail.cgi?first=Ben&last=Rubinstein" into tURL
get URL tURL

or perhaps more likely
put "./formmail.cgi" into tScriptURL
put tScriptURL \
   & "?first=" & tFirstName \
& "&last=" & tLastName \
into tURL
get URL tURL



in your Rev stack will have exactly* the same effect on the  
'formmail.cgi'
resource as the user entering those details into their browser.  At  
this point
Rev is acting like a browser, making a request of the web server.   
So no need

to open an actual browser.

If the form uses the POST method instead, then it's only slightly more
complicated.  Instead of get URL, you need to use the "post"  
command, which

will look something more like this:

put libURLformData("first", tFirstName, "last", tLastName) into tData
post tData to tScriptURL

There will be a few complications along the way; you should read the
(splending new in 3.0) docs, check out functions like URLencode, and  
above
all, test.  But either way, given that you have the web form  
already, this is

probably the simplest route to achieve what you want.

HTH,

- Ben


*pedants please leave now



___
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


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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: semi-OT: can Rev pre-populate data on a web form?

2008-09-05 Thread Chris Sheffield
Thanks for the response and good explanation, Ben. This may be exactly  
what I need. I'll be giving it a try today.


Chris


On Sep 5, 2008, at 3:28 AM, Ben Rubinstein wrote:


Chris Sheffield wrote:
So my main question is, can Rev send data to a web form like this  
in such a way that whatever fields we specify will be populated  
when the browser/form opens? Not sure if something like this is  
even possible. I haven't done enough web development to know. Is  
some special JavaScript required to accomplish this? In thinking  
this through a little more, if we have a web form that's already  
set up to send an email, can't I take advantage of that in Rev by  
creating my own form and then sending the data straight to the cgi  
behind the form? Once again, I haven't done much web dev, so I may  
not even know what I'm talking about. :-)


If anyone can help or can offer any other suggestions for how to
accomplish something similar, it'd be much appreciated.



If I've understood your request correctly, you really want a Rev  
stack to
collect some information from the user, and have it arrive at your  
server in
the form of an email.  There's a simple way to get what you want, I  
think.


Using the SMTP libraries should make this possible, but has some  
issues, in
particular your rev stack then needs to know the address of a mail  
server it
can use from within the user's network to send email.  But if you  
have a web
form on your server that's successfully sending email where you want  
it,

there's no need to open a user's browser to view it.  Instead, Rev can
effectively be that web form.

(Apologies if what follows is teaching my granny to suck eggs.) If  
you look at
the source of the web page, it will contain a "form" element with an  
action
and a method.  The action is the address of a server-side resource  
(a script
etc) which receives the values entered into the form and processes  
it, in this
case by sending an email.  The method is either POST or GET.  If  
it's GET,
then the resource expects the values in the URL string, eg if I fill  
in this

simple form







my browser will next fetch a URL like this:
 ./formmail.cgi?first=Ben&last=Rubinstein

(the first part of the URL being constructed based on the URL of the  
page

holding the form, adjusted by the 'action' of the form.)

Lecture over; the point is that executing

put "./formmail.cgi?first=Ben&last=Rubinstein" into tURL
get URL tURL

or perhaps more likely
put "./formmail.cgi" into tScriptURL
put tScriptURL \
   & "?first=" & tFirstName \
& "&last=" & tLastName \
into tURL
get URL tURL



in your Rev stack will have exactly* the same effect on the  
'formmail.cgi'
resource as the user entering those details into their browser.  At  
this point
Rev is acting like a browser, making a request of the web server.   
So no need

to open an actual browser.

If the form uses the POST method instead, then it's only slightly more
complicated.  Instead of get URL, you need to use the "post"  
command, which

will look something more like this:

put libURLformData("first", tFirstName, "last", tLastName) into tData
post tData to tScriptURL

There will be a few complications along the way; you should read the
(splending new in 3.0) docs, check out functions like URLencode, and  
above
all, test.  But either way, given that you have the web form  
already, this is

probably the simplest route to achieve what you want.

HTH,

- Ben


*pedants please leave now



___
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


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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


semi-OT: can Rev pre-populate data on a web form?

2008-09-04 Thread Chris Sheffield
We want our customers to go through a registration process. So the  
standalone would open a url to a form on our web site. The only reason  
we're going to a web form instead of using a form in the application  
is because we want an email message sent to us upon submitting the  
information. I've explored Sarah's smtp library for sending email from  
Rev, which I'm sure is great, but for some reason I can't get it to  
work. I can't get it to connect to our smtp server. Anyway, that's a  
different topic.


So my main question is, can Rev send data to a web form like this in  
such a way that whatever fields we specify will be populated when the  
browser/form opens? Not sure if something like this is even possible.  
I haven't done enough web development to know. Is some special  
JavaScript required to accomplish this? In thinking this through a  
little more, if we have a web form that's already set up to send an  
email, can't I take advantage of that in Rev by creating my own form  
and then sending the data straight to the cgi behind the form? Once  
again, I haven't done much web dev, so I may not even know what I'm  
talking about. :-)


If anyone can help or can offer any other suggestions for how to  
accomplish something similar, it'd be much appreciated.


Thanks,
Chris


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com

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


Re: Mac icon specifications

2008-08-22 Thread Chris Sheffield
Thanks, Marc. Good to see your presence on this list. :-) I will have  
our artist make sure he's using the latest version and try again. That  
could very well have been the problem, seeing as how the artwork he  
sent me seemed just fine.



On Aug 22, 2008, at 4:24 AM, Marc EMILE - Axialis wrote:


Chris:

My name is Marc EMILE from Axialis Software, author of IconWorkshop.
May I ask you what version of IconWorkshop you used to generate the
ICNS file? FYI, in the latest version 6.31 we've fixed an issue in
256x256 and 512x512 formats.

If you used an older version, could you update to 6.31 and try to  
load/

save your icon? Does it fix the issue?

Regards,
Marc - Axialis Team
www.axialis.com



On Aug 21, 5:16 pm, Chris Sheffield <[EMAIL PROTECTED]> wrote:

Just to let everyone know, I got the artwork from the artist, plugged
the images into Icon Composer, and all is well. :-) Thanks for all  
the

suggestions.

On Aug 20, 2008, at 10:51 AM, Ken Ray wrote:







This is a limitation in Icon Composer, which only offers a few  
basic

sizes. 128 pixels is the largest it allows.



Actually, the latest Icon Composer under Leopard has 512, 256, 128,
32, and
16 pixel sizes.



Chris, if you still have the problem after you check on the artwork,
the
other thing you can do is to check the 'info.plist' file in the
bundle -
this is where the OS connects the app to the icon. Look for:



   CFBundleTypeIconFile



This should have a  after it that is the icon file that will
be used
for the app -  make sure this is the same name as the actual icon
file in
the Resources folder.



Just my 2 cents...



Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site:http://www.sonsothunder.com/



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


--
Chris Sheffield
Read Naturally, Inc.www.readnaturally.com

___
use-revolution mailing list
[EMAIL PROTECTED]
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:http://lists.runrev.com/mailman/listinfo/use-revolution- 
 Hide quoted text -


- Show quoted text -

___
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


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com

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


Re: Mac icon specifications

2008-08-21 Thread Chris Sheffield
Just to let everyone know, I got the artwork from the artist, plugged  
the images into Icon Composer, and all is well. :-) Thanks for all the  
suggestions.


On Aug 20, 2008, at 10:51 AM, Ken Ray wrote:




This is a limitation in Icon Composer, which only offers a few basic
sizes. 128 pixels is the largest it allows.


Actually, the latest Icon Composer under Leopard has 512, 256, 128,  
32, and

16 pixel sizes.

Chris, if you still have the problem after you check on the artwork,  
the
other thing you can do is to check the 'info.plist' file in the  
bundle -

this is where the OS connects the app to the icon. Look for:

   CFBundleTypeIconFile

This should have a  after it that is the icon file that will  
be used
for the app -  make sure this is the same name as the actual icon  
file in

the Resources folder.

Just my 2 cents...

Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
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


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com

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


Re: Mac icon specifications

2008-08-20 Thread Chris Sheffield
I'm pretty sure the 512 size at least is only supported under Leopard.  
Not sure about the 256 size. I'm running Leopard, but this app will  
have to run on 10.3 and up. So maybe we should simply stick with the  
128 size?



On Aug 20, 2008, at 10:42 AM, J. Landman Gay wrote:


Chris Sheffield wrote:

when I open the icns file in Icon Composer (looks like a great tool  
btw) only the 128x128 size and below load into the image wells.  
There's not 256 or 512 size, even though these display in Preview.


This is a limitation in Icon Composer, which only offers a few basic  
sizes. 128 pixels is the largest it allows. The Finder will scale  
the icon if necessary, but 128 is the largest size that Icon  
Composer will save in the icns file. It's limitations have never had  
any ill effects in my icon files though, the Finder works fine with  
128 px.


Now that I think about it, I wonder if having huge icon sizes in the  
icns file is what's messing up everything. I've never created a Mac  
icon with a stored image larger than 128. Maybe just the existence  
of extra images gives the Finder a heart attack?


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
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


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com

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


Re: Mac icon specifications

2008-08-20 Thread Chris Sheffield
Thanks, Jacque. Good info. I opened the icon in Preview and yes, I see  
all the images. However, they are not all the same. Some of them don't  
appear to have a transparency, and one of them is a perfect square  
where all the rest have rounded corners. So there are some strange  
things. And when I open the icns file in Icon Composer (looks like a  
great tool btw) only the 128x128 size and below load into the image  
wells. There's not 256 or 512 size, even though these display in  
Preview. So something is definitely goofy with the file. I'll report  
these findings to the artist and see what he can do.


Thanks again.

Chris


On Aug 20, 2008, at 10:08 AM, J. Landman Gay wrote:


Chris Sheffield wrote:
I don't think that's necessary. At least, it never has been in the  
past. Specifying an icon to use in the Standalone Application  
Settings is supposed to apply that icon to the bundle. I'm pretty  
sure it's something in the way the icon is getting created in  
IconWorkshop that Rev doesn't like. So I just need someone  
(hopefully familiar with IconWorkshop) to tell me how to make it  
work. :-)


If you open the Mac icon file with Preview, are the images there?  
That won't be a definitive test for the icon file's validity but if  
they are blank in Preview it would tell you that the file format  
isn't right.


There is a free icon tool included with the Developer Tools on the  
OS X installation CD. You need to install the Developer Tools to see  
it (it isn't part of a normal installation.) I often use it, it is  
called "Icon Composer", and it creates Mac icon files in the  
appropriate format. There's a Photoshop plugin too that many swear  
by, but it isn't free and I haven't ever tried it. Graphic  
Converter, a terrific Mac image editor, also has a free version and  
it creates Mac icon files as well.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
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


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com

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


Re: Mac icon specifications

2008-08-20 Thread Chris Sheffield
By "in the Finder" I mean in a Finder window looking at the  
application. Doesn't matter if I'm using icon, list, or column view.  
By "blank" I mean blank. :-) No icon appears next to the application  
name. You know how in a Finder window you see your application names  
with an the icon in front of them (or above them if you're using icon  
view)? Well, my application has no icon. Not sure how much more clear  
I can be.


The icon files are there in the bundle, just as they should be. That's  
what's so weird about this. And when I look at the preview for my icon  
file, I do in fact see the image just fine. It just doesn't display in  
front of the application name. No idea why. Using touch does not make  
any difference. I've tried logging out and even restarting the  
computer just to be sure and nothing changes.


I still think it's something with the icns file itself. Does anybody  
know if there are any published specs anywhere for icon files?



On Aug 20, 2008, at 9:47 AM, Mark Schonewille wrote:


Hi Chris,

What do you mean with "in the Finder" and "blank"?

If you open the application package, go to standalone.app/contents/ 
resources. This folder should contain a file Revolution.icns and  
RevolutionDoc.icns. If these icons have a file size equal to 0 or if  
they simply don't exist, just put your own icon file there and give  
it the correct name. Now use one of the methods to "touch" the  
application package and you should see the icon.


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
http://facebook.economy-x-talk.com

Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html 
 for more info.


On 20 aug 2008, at 17:28, Chris Sheffield wrote:

No go. Already tried that. That was the first thing I tried cause  
I've had that happen many times before. But usually in that case  
there is still an icon, whether it's the generic app icon or  
whatever. In this case, however, there is absolutely no icon. In  
the Finder, I see the name of the app bundle, but where the icon  
should be, it's simply blank.


On Aug 20, 2008, at 9:17 AM, Mark Schonewille wrote:


Hi Chris,

The icon doesn't appear, because the OS doesn't know about it yet.  
You can touch the icon with the shell function, you can zip and  
unzip the file, or get the info window and click on the icon in  
that window followed by a press on backspace key. There might be  
more tricks to make the icon appear.


--
Best regards,

Mark Schonewille


___
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


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com

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


Re: Mac icon specifications

2008-08-20 Thread Chris Sheffield
No go. Already tried that. That was the first thing I tried cause I've  
had that happen many times before. But usually in that case there is  
still an icon, whether it's the generic app icon or whatever. In this  
case, however, there is absolutely no icon. In the Finder, I see the  
name of the app bundle, but where the icon should be, it's simply blank.


On Aug 20, 2008, at 9:17 AM, Mark Schonewille wrote:


Hi Chris,

The icon doesn't appear, because the OS doesn't know about it yet.  
You can touch the icon with the shell function, you can zip and  
unzip the file, or get the info window and click on the icon in that  
window followed by a press on backspace key. There might be more  
tricks to make the icon appear.


--
Best regards,

Mark Schonewille


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com

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


Re: Mac icon specifications

2008-08-20 Thread Chris Sheffield
I don't think that's necessary. At least, it never has been in the  
past. Specifying an icon to use in the Standalone Application Settings  
is supposed to apply that icon to the bundle. I'm pretty sure it's  
something in the way the icon is getting created in IconWorkshop that  
Rev doesn't like. So I just need someone (hopefully familiar with  
IconWorkshop) to tell me how to make it work. :-)



On Aug 20, 2008, at 8:43 AM, William de Smet wrote:


Hi there Chris,

As I recall you need to paste the icon file yourself be done by
right-clicking on the .rev file (???)  and then use the 'show info'
option.
Then copy and paste the icon file and then built the app.

Greetings,

William

2008/8/20 Chris Sheffield <[EMAIL PROTECTED]>:
Forgive me if this has been covered in the past, but I can't seem  
to find

any info about it.

We have a graphics artist in our company who is trying to create some
program icons, and for some reason the Mac icns file just isn't  
working
quite right. Revolution builds the standalone without errors, but  
the icon
does not appear on the app after being built. The icns file is  
included in
the bundle, and selecting it in the Finder does show the image  
correctly.

What would cause the icon from not showing on the app bundle itself?
Something in the way the icon was created, or is it something in  
Revolution?
We've not had trouble with icons in the past. The artist is using a  
program

called Axialis IconWorkshop to create both Win and Mac icons.

Any help would be appreciated.

Thanks,
Chris


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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


Mac icon specifications

2008-08-20 Thread Chris Sheffield
Forgive me if this has been covered in the past, but I can't seem to  
find any info about it.


We have a graphics artist in our company who is trying to create some  
program icons, and for some reason the Mac icns file just isn't  
working quite right. Revolution builds the standalone without errors,  
but the icon does not appear on the app after being built. The icns  
file is included in the bundle, and selecting it in the Finder does  
show the image correctly. What would cause the icon from not showing  
on the app bundle itself? Something in the way the icon was created,  
or is it something in Revolution? We've not had trouble with icons in  
the past. The artist is using a program called Axialis IconWorkshop to  
create both Win and Mac icons.


Any help would be appreciated.

Thanks,
Chris


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com

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


Re: A Simple Question: How do I draw a vertical line?

2008-08-19 Thread Chris Sheffield

Len,

First off, if you hold down the shift key while drawing your line, you  
should be able to make it perfectly vertical. Second, after your line  
is drawn, simply adjust the lineSize property, which is under Border - 
> Size on the first pane of the property palette. You can also adjust  
the length using the height property. So I think the trick is to use  
lineSize rather than width to adjust the line thickness.


HTH,
Chris


On Aug 19, 2008, at 2:03 PM, [EMAIL PROTECTED] wrote:

This would seem to be an easy thing to do with a GUI IDE but I can't  
seem
to get it right.  I want to draw some vertical lines on a form that  
are

thicker than one pixel (this is where I'm having problems).

I can't do it (accurately) with the mouse so I'm drawing a pretty  
close
approximation of vertical and then I want to use the property  
inspector to

"correct" the line and make it vertical.  The problem is if I move the
bottom of the line, the top moves.  If I move the top, the bottom  
moves.
It seems to be trying to create a line inside the corners of a  
rectangle

and therefore, I can never get a truly vertical line.

Any ideas as to what I'm doing wrong here?  For what it's worth, I'm
trying to put on lines that are somewhere around 6 to 8 pixels  
"thick."


Thanks!

Len Morgan

___
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


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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: Intercepting new card

2008-07-02 Thread Chris Sheffield
If I'm not mistaken, you could certainly do it with a front script.  
Just be sure to pass it, or none of the menus in the IDE will work. So  
put a menuPick handler in a button or some other object, then "insert  
the script of  into front".


On Jul 2, 2008, at 8:35 AM, Mikey wrote:


Chris,
Thanks for that, but for curiosity sake, what is necessary to  
intercept the

menuPick, or is this one of those cases where you can't because RR is
directly executing a RR command?


--
Diogenes  - "What I like to drink most is wine that belongs to  
others."

___
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


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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: Intercepting new card

2008-07-02 Thread Chris Sheffield
Unless I'm misunderstanding, I believe you want the newCard message,  
placed in your stack script.


On Jul 2, 2008, at 8:12 AM, Mikey wrote:

Hmm.  Well, back in HC, if I wanted to intercept a new card being  
created, I
had an on doMenu handler.  When I put in an on menuPick handler in  
RR and
hit ctrl-n, my handler doesn't get hit, and a new card is created.   
So if

this handler should not go in the current stack where should I put it?

--
Ronald Reagan  - "Recession is when a neighbour loses his job.  
Depression is

when you lose yours."
___
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


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com

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


Re: Standalone Not Running for a Customer

2008-06-12 Thread Chris Sheffield

Tom,

If this is the same problem I remember from back a couple years ago,  
then the app bundle is missing the CFBundleIdentifier key from the  
info.plist file in the bundle. There was a bug in earlier versions of  
Rev where this key did not get added, but it has been fixed for a  
while now (I don't remember the version where the fix appeared).  
Anyway, you have two options: fix it manually, or rebuild your app  
with a newer version of Rev.


You can fix it manually by editing the info.plist file using the  
Property List Editor tool (easy way) that comes with Apple's developer  
tools. Or you can use any editor capable of xml editing I believe (a  
little harder, but still not too bad). You need to add the key  
CFBundleIdentifier, and then a value that you specify. Usually this  
should be something like com.[companyname].[productname]. You could  
look at some other app bundle for an example.


I actually have a stack that can fix the problem for you, but you  
would need to edit it to match your application and situation. If  
you're interested, I can certainly email it to you. Just let me know.  
If nothing else, it might give you an easier grasp on how to fix it  
manually.


Chris


On Jun 12, 2008, at 6:12 AM, Tom Cole wrote:

A person who has bought a license for a standalone of mine is having  
a problem running it. Here is the note he sent. Does anyone know the  
answer to his problem, so I can help him? I made the program with  
Rev 2.1.

Thanks,
Tom

He writes:
* iMac
* OS 10.4.10
* Managed user account, restricted to certain programs, no admin  
rights.


I installed the program and I can run it fine as an admin. However,  
I can't give the student (non-admin) account permission to use it.  
It doesn't appear in the list of applications to select. If I click  
"locate..." and browse to the application and select it that way, it  
tells me it won't run with the limitations I've select, but it  
doesn't tell me the specific problem.


I tried adding permissions to change system preferences and such  
things, but I still get the error. It seems like maybe it doesn't  
want to run at all for a managed user account, but I don't see why  
it would need admin rights to do anything it's doing.


Any ideas on how I can get this to work?
___
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


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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: Time to upgrade my Techniquie...

2008-06-10 Thread Chris Sheffield
And, might I add, if at all possible, use a "repeat for each" loop  
rather than "repeat with x = 1 to the number of lines of [whatever]".  
This will also greatly improve the performance.


Chris


On Jun 10, 2008, at 9:02 AM, Joe Lewis Wilkins wrote:


Hi Jim,

As an old HCer myself, there is one glaring slow-down that I see;  
even if it were in HC. You need to put your field data into vars and  
then work with the vars; not the fields. This will shown an immense  
speed up right at the outset. In fact, you may not even have to do  
anything else.


HTH,

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


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com

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


Re: [ANN] GLX Application Framework

2008-04-02 Thread Chris Sheffield

Bob,

Here are the links. Enjoy!


From Trevor:

-- Tutorials --
I have started to create tutorials to help people get started. If  
there is anything that isn't clear or additional questions you have  
you can submit comments at the end of a lesson. The tutorials are  
available here:

<http://glxapp.screenstepslive.com/>

-- Download --
If the framework still seems interesting after looking at the  
tutorials you can download the framework files here:
<http://www.bluemangolearning.com/developer/revolution/glxapp_framework/glx_application_framework.zip 
>



Chris Sheffield

On Apr 2, 2008, at 11:43 AM, Robert Sneidar wrote:


Hi Trevore.

Could you relink that framework? I went to your web site, but alas,  
no dl for it. I deleted the original email. So sorry.


Bob Sneidar
IT Manager
Logos Management
Calvary Chapel CM

On Apr 2, 2008, at 9:13 AM, Trevor DeVore wrote:


On Mar 31, 2008, at 9:38 AM, Trevor DeVore wrote:
Today I'm announcing the GLX Application Framework. The GLX  
Application Framework provides a foundation of common building  
blocks for building applications in Revolution (2.8.1 and above)


I just noticed that I left some code in the main framework library  
that was 2.9 specific. It had to do with checking command line  
parameters passed to a Windows application on startup. 2.9  
introduced the $# value which returns the number of parameters  
passed in. While this code would not cause an error, the "command  
line files" property would not be set correctly on Windows. I also  
noticed that I had not documented "command line files". I have  
updated the PDF to include this property and I've added a lesson  
about it:


<http://glxapp.screenstepslive.com/topics/show_lesson/104?lesson_id=833 
>


I created a lesson showing how to upgrade the glxapp_framework.dat  
file for those of you who already created an application using the  
framework.


<http://glxapp.screenstepslive.com/topics/show_lesson/104?lesson_id=832 
>


Regards,

--
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com-www.screensteps.com

Email has been scanned for viruses by Altman Technologies' email  
management service - www.altman.co.uk/emailsystems

___
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: Question with CGI at JaguarPC..

2008-02-20 Thread Chris Sheffield

Chipp,

It's been my experience that you have to perform a Save As on the  
stack, specifying to save in Legacy format, before that preference  
truly kicks in. I've never been able to simply open a legacy stack in  
2.8.1 and have it stay that way unless I do a Save As first. Kind of  
strange, but it has worked for me.


Chris

--
Chris Sheffield
Read Naturally, Inc.


On Feb 20, 2008, at 3:42 PM, Chipp Walters wrote:

Well, I got the cgi up and running. "Open stack" worked fine.  
Supposedly you

need to call "close stack" though I haven't tested it.

Another note of interest...
my comments are typically:

--> THIS IS A COMMENT...2 DASHES FOLLOWED BY A GREATER THAN SIGN

but they just hang the cgi for some reason (engine 2.6.6 - Linux)

but these work as comments:

// THIS IS A VALID COMMENT
# SO IS THIS

what up?

Also, in 2.8.1-gm-3, using the "Preserve stack file version on  
stacks saved
in legacy format" preference doesn't work. It saves them in the new  
format.
Funny thing is, even my old StackFormat plugin won't save the stacks  
in

legacy format...Is there a new command for this?

It used to be
set the stackFileVersion to...(new stack version)

But, it doesn't seem to work...any other ideas?

TIA, Chipp
___
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


check for a CD

2008-01-22 Thread Chris Sheffield
I would think this has to be a common problem, so I'm wondering how  
the rest of you have gotten around it.


The single-user version of our software comes with media content on a  
series of CDs. Things have been working pretty well, except in a case  
where a user might have more than one CD drive (we're talking Windows  
only here). I have written a routine that scans through each available  
drive looking for our CD. The problem is, if there is no CD in the  
drive(s) at all, a "no disk" error, generated by Windows, pops up.  
This error will appear for each drive that does not have a CD in it.  
My question is, is there some way to suppress this error? I'm simply  
using a "if there is a file" type of check to determine if our CD is  
in one of the drives. Is there some other method available to me? A  
command line utility perhaps?


Any suggestions would be appreciated.

Thanks,
Chris


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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: cancel a wait

2008-01-16 Thread Chris Sheffield
Thanks for the suggestion Eric. That probably would work.  
Unfortunately, it would probably require a fairly big code rewrite in  
order to accomplish it, which I was hoping to avoid. But maybe that's  
my only option.



On Jan 16, 2008, at 11:00 AM, Eric Chatonet wrote:


Hi Chris,

Instead of using a 'wait until the sound is "done" with messages",  
could you just set a flag to true on playstarted and set it to false  
on playstopped?
And use this flag (a local script var, a custom prop, etc.) to act  
as you want it to work?


___
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


cancel a wait

2008-01-16 Thread Chris Sheffield

Is there any way to cancel a wait command?

I've got a strange thing happening, and I'm just not sure how to get  
around it. In the app, the user has the ability to move back and forth  
between two certain cards. When the first card opens, some audio  
instructions start playing. After starting the player, I have a  
wait..with messages command to wait until the audio is done, and then  
of course the handler continues after that. If you move to that second  
card, the audio of the first card stops playing, and the second card  
displays and the audio there starts playing. This all works fine the  
first time. Here's the problem. If you go back to the first card  
before that wait...with messages finishes, then quickly forward to the  
second card again, things start to go wrong, as the wait's start  
stacking up or something, and certain things on the second card appear  
to not respond correctly, like an animation that plays. And there is  
also a field on the second card for entering text that doesn't respond  
until the wait's "catch up".


So I'm wondering, if a user moves to that second card before the audio  
of the first card finishes, is there some way to cancel that  
wait...with messages? Does that make sense? Let me know if I need to  
clarify.


Thanks,

Chris Sheffield
Read Naturally, Inc.

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


Re: revBrowser system requirements

2007-12-21 Thread Chris Sheffield
Thanks Chipp. How about the min versions of the OSs supported? Win  
2000? Win XP? Panther? Tiger?


On Dec 21, 2007, at 2:26 AM, Chipp Walters wrote:


Hi Chris,

I believe both Mac and PC versions depend on the installation of  
Safari and

Internet Explorer respectively.

best, Chipp
___
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


revBrowser system requirements

2007-12-20 Thread Chris Sheffield
Maybe I'm just totally missing them somewhere, but can someone tell me  
the requirements for the revBrowser object? I need to know min  
versions of both Windows and OS X it'll run on. Are the requirements  
in the docs somewhere? If not, would be very helpful. :-)


Thanks,

Chris Sheffield
Read Naturally, Inc.

___
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: Place to stash a text file in Vista thats shared by all users?

2007-11-02 Thread Chris Sheffield

Hi Eric,

Honestly I don't recall the exact circumstances, as it has now been  
some time ago. But my company was doing an update to our software back  
when Vista was first hitting the market, and we wanted everything to  
be Vista-compatible. We also needed a place to store a prefs file that  
was accessible to all users. We first went with C:\ProgramData, as  
that seemed to be the logical choice. However, after doing some  
testing, we discovered that in some cases, not all, and I'm still not  
totally sure why, our prefs file was getting virtualized, which of  
course was causing all kinds of strange things to happen with our  
program. All I was doing was writing the file to our own folder inside  
ProgramData. I'm not sure if it had something to do with the type of  
Vista installation or what. We were mostly testing on the Business and  
Ultimate flavors. But it was then that I had to research other  
locations and found Public Documents to be the best place.


Not sure if that really answers your questions or not. :-)

Chris


--
Chris Sheffield
Read Naturally, Inc.


On Nov 1, 2007, at 10:24 AM, Eric Chatonet wrote:


hris and Richard,

I was confronted with this problem and the 'horrible' way Vista  
makes its own of all it wants as it wants.

But you know this too...
Sometimes, I do regret to not be obliged to work on my Mac only ;-)

I had noticed that Norton LiveUpdate folder and others significant  
data that have to be updated frequently were there...
And as far as I can agree (!!!) the way Vista makes its job, I  
assume that C:/ProgramData (the name itself is significant) could be  
the right place and it works for me AFAIK.


Chris, you say that some files you put in it were nevertheless  
virtualized?
It would be interesting to go to the bottom of this: can you share  
circumstances when it happened?


Best regards from Paris,
Eric Chatonet.


___
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: Place to stash a text file in Vista thats shared by all users?

2007-11-01 Thread Chris Sheffield
Watch out for this though. It's been my experience, and maybe it's  
just some sort of bug for now in Vista that will later be fixed, that  
even sometimes writing to C:\ProgramData will cause things to be  
redirected to the user's VirtualStore, which in some cases may be  
okay, but in other's not okay at all.


I found the Public Documents folder to be about the safest place for  
me. I realize it's maybe not the best place to store a prefs file, but  
it seems to work best as far as all users being able to access it,  
without things being redirected to the VirtualStore. The official path  
is C:\Users\Public\Public Documents.


My two cents...

Chris Sheffield


On Nov 1, 2007, at 9:19 AM, Richard Gaskin wrote:


Eric Chatonet wrote:

Le 31 oct. 07 à 19:11, rgould8 at aol.com a écrit :
Can anyone tell me if there's a directory somewhere in Windows   
Vista that is accessible by all users of the PC??

specialFoderPath(35) (C:/ProgramData) seems the directory you need.


Good find, Eric.  Thanks!

Some months ago we had a discussion here looking for such a  
directory, and no one could turn up one which was writable by even  
non-admin accounts.


But I was able to verify that specialFolderPath(35) can indeed be  
written to and read from by admin and non-admin accounts.


Good sleuthing!

--
Richard Gaskin
Managing Editor, revJournal
___
Rev tips, tutorials and more: http://www.revJournal.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: Leopard

2007-10-17 Thread Chris Sheffield

Shari,

I've been doing some Leopard testing myself and have not run into  
issues like these. I have seen a couple strange things where default  
buttons are not "throbbing" as they should and just look like normal  
buttons, even though they still behave as default. I've also found in  
one app that audio does not play. Not sure if this is some sort of  
QuickTime/Rev issue with Leopard or what. But as far as UB apps  
running, that works just fine for me. I'm running the latest Leopard  
developer seed on a new 20" iMac, core 2 duo 2.4 GHz, 2 GB ram.


Anyway, just thought I'd chime in and let you know my findings.

Chris


On Oct 17, 2007, at 5:25 AM, Shari wrote:


I got the following emaiI today:

"I downIoaded the latest version of your game to try out but was  
told it was not for my systems architecture. The version I  
downIoaded was the OSX version and my system is an iMac running the  
developer seed of Leopard."


What he downIoaded was a UB for OSX and Macintel.

Is Apple getting ready to break another whole set of apps again?  
Didn't they just literally do that?  Where is Revolution sitting  
for this new wave?  Will UB's not work on the newfangled machines?


Shari
--
WlND0WS and MAClNT0SH shareware games
BIackjack GoId
http://www.gypsyware.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


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com
www.oneminutereader.com

Watch reading achievements rise with Read Naturally's school-to-home  
program, One Minute Reader. Make reading fun straight from your  
classroom right to their home!


___
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: matchText and accented characters

2007-10-17 Thread Chris Sheffield
Thanks, Ken. Using the hex equivalents is an interesting suggestion.  
I may look into that further.


As for replacing the accented characters with their non-accented  
equivalents, that is also something I've done in the past, but the  
problem here is that this is Mac/PC cross platform, so it's quite a  
few extra lines of code.


So I decided to simply try the offset function, with wholeMatches set  
to true (although I can't really determine if wholeMatches affects  
offset or not), and that seems to be working fine for me. Still  
testing it out to make sure, but so far so good.


Thanks again for the suggestions.


On Oct 16, 2007, at 5:59 PM, Ken Ray wrote:


On Tue, 16 Oct 2007 12:18:54 -0600, Chris Sheffield wrote:


Thanks, Andres. But that didn't seem to fix the problem. That
property, according to the docs, only seems to apply to the numToChar
and charToNum functions. I did try it just to make sure.


The issue is that PCRE (which is the lib that Rev uses) *optionally*
supports locales, so I don't know if any locales were compiled into  
the

code that Rev uses. If you knew what you were looking for, you could
replace the accented characters with their hex equivalents and you'd
get a match:

  put matchChunk(fld 1,".*(fianc\x8E).*",tStart,tEnd)

in this case "\x8E" means "use hex code 8E", which is ASCII 142, which
is é (at least on my Mac). To determine this, I ran this code:

  put baseConvert(charToNum("é"),10,16)

which gave me "8E". So if you know specifically the characters to
match, you can use this.

On the other hand, if you have a big chunk of text and you don't know
if there are accented chars or not, I would personally run it the
"brute force" way:

1) put a copy of the text into another variable
2) replace the accented chars with their non-accented counterparts - a
dozen or so lines like:
   - replace "é" with "e" in myVar
   - replace "ó" with "o" in myVar
   - etc.
3) run your 'matchChunk' on the second "clean" variable using
non-accented text (look for "fiance" and not "fiancé")
4) if you get a hit, use the startChar/endChar variables from the
'matchChunk' to extract the text from the *first* variable (the one
with the accented text)

Just my 2 cents,

Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
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


___
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: matchText and accented characters

2007-10-16 Thread Chris Sheffield
Thanks, Andres. But that didn't seem to fix the problem. That  
property, according to the docs, only seems to apply to the numToChar  
and charToNum functions. I did try it just to make sure.


On Oct 16, 2007, at 12:02 PM, Andres Martinez wrote:


Hello Chris

I think you need to check on the unicode setting.

Use the following line before your search...

set the useUnicode to true

Regards,
Andres Martinez
www.baKno.com


On Oct 16, 2007, at 1:59 PM, Chris Sheffield wrote:



___
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: matchText and accented characters

2007-10-16 Thread Chris Sheffield
Sorry, I'm using matchChunk, not matchText. But maybe the solution is  
the same?


On Oct 16, 2007, at 11:49 AM, Chris Sheffield wrote:

The matchText function seems to be failing when searching for  
accented characters like á, é, í, ó, or ú. I'm not really up on my  
regex. Is there something special I need to do to make these  
characters work? For example, one search I'm performing is for the  
word "fiancé".


Thanks,
Chris


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com
www.oneminutereader.com

Watch reading achievements rise with Read Naturally's school-to- 
home program, One Minute Reader. Make reading fun straight from  
your classroom right to their home!


___
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


matchText and accented characters

2007-10-16 Thread Chris Sheffield
The matchText function seems to be failing when searching for  
accented characters like á, é, í, ó, or ú. I'm not really up on my  
regex. Is there something special I need to do to make these  
characters work? For example, one search I'm performing is for the  
word "fiancé".


Thanks,
Chris


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com
www.oneminutereader.com

Watch reading achievements rise with Read Naturally's school-to-home  
program, One Minute Reader. Make reading fun straight from your  
classroom right to their home!


___
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


Vista dilemma

2007-08-02 Thread Chris Sheffield

I'm wondering if anyone can help with this.

I've got a standalone that, by default, is installed to the Program  
Files directory. At one point, it performs a check to see if the  
currently logged in user can write to that directory. Right now I  
just have it attempt to write to a file and then delete the file.  
Under Win 2000/XP this seems to work great, but under Vista the darn  
VirtualStore "feature" is fouling things up.


So, question number one. Is there some way to tell my standalone, or  
the Vista OS, that I really and truly want my check to be performed  
on the Program Files directly, and not have things redirected to the  
VirtualStore?


Question number two. If the above is not possible, is there some way  
to determine (via shell command perhaps) what type of user is  
currently logged in to the computer (i.e. admin, standard, etc.)? And  
if so, would this command be available to by any user to run from the  
shell? This would be a better way to go all around if it's possible.


Thanks,
Chris


------
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.com
--


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


Re: [ANN] BvG Docu gets an add-on AAG WebNotes

2007-07-31 Thread Chris Sheffield

Ian,

I was getting the same error and had to go through a bit of a setup  
process. Click the Settings button and notice the path set for  
documentation. Hit the Set button and it'll walk you through a wizard  
so you can get going. At one point, I believe it mentions clicking a  
Next button, but you can't see it unless you resize the window.


HTH,
Chris


On Jul 31, 2007, at 11:43 AM, Ian Wood wrote:


Great work Andre, unfortunately I'm getting:

 "I couldn't understand the file you referenced:
/Applications/Revolution Enterprise/2.8.1-gm-1/documentation/BvG  
Docu/1702.xml"


whenever I click on an entry (with 1702 replaced by whatever file  
name). The BvG viewer works fine on the same install.


Presumably everyone else who has tried this is running Enterprise,  
not Studio like me... ;-)


Ian
___
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



--
Chris Sheffield
Read Naturally

___
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: Filtering Columnar Data

2007-07-16 Thread Chris Sheffield

Gregory,

Try this and see if it works.

filter tmpData with "*" & tab & myNumber & tab & "*"

There shouldn't be any need to include the preceding or trailing  
tabs, except for the ones directly surrounding the number.


Chris


On Jul 16, 2007, at 9:58 AM, Gregory Lypny wrote:


Hello Everyone,

I'm struggling with the filter command.  I have tab-delimited data  
in a field, where each row has at least 56 columns.  I want to  
filter the data based on a chosen number in that fourth column, for  
example, to return all lines that have a 9 there.  The fourth  
column only contains a number from 1 to 10.  The following handler  
works most of the time.  I put three wild card expressions, lone  
asterisks separated by tabs, to make sure nothing is being picked  
up in the first three columns.  The tab and asterisk (and it could  
be just an *) following myNumber says that it doesn't matter what  
is in the columns after the fourth.


put fld "Data" of this card into tmpData
	filter tmpData with "*" & tab & "*" & tab & "*" & tab & myNumber &  
tab & "*"


The trouble is, the first three wild card expressions are  
interpreted by Revolution to include tab characters, which means  
that I'm not necessarily filtering the fourth column!  If a 9  
appears by itself in column 58, then the filter command will pick  
it up.  Sigh.


I also tried the following, but I don't think I have the regular  
expression syntax right.


   filter it with "[A-Z0-9]" & tab & "[0-9]" & tab & "[A-Z]" & tab  
& myNumber & tab & "*"


I know that my first column always contains five words, two of  
which are numbers.  I wasn't sure how to represent the four spaces  
between the words.  The second column is always a seven-digit  
number.  The third contains first and last names, which will  
contain at least two words.  This turns up empty.


Any advice would be most appreciated.  If I can't get the RegEx  
working for me, I know I can resort to a repeat loop and pull out  
all lines with myNumber in the fourth item.


Regards,

Gregory







___
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


--
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.com
--


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


Re: OT - shell script to kill a process

2007-07-10 Thread Chris Sheffield
Tried this. All parts seem to work except now I'm getting an  
"operation not permitted" error from the kill command. I'm running it  
with sudo, so I don't understand why this would happen. But I did  
verify that the correct pid is now getting returned. In fact, the  
entire error message reads, "kill: 1031: Operation not permitted",  
and 1031 is the correct pid.


Any other thoughts? :-(



On Jul 10, 2007, at 11:01 AM, Ken Ray wrote:

Ah... actually use {print $1} (you want the first chunk)... so try  
this:


ps -awx | grep 'TextEdit' | grep -v 'grep' | awk '{print $1}' | xargs
-I pid kill -9 pid


--
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.com
--


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


Re: OT - shell script to kill a process

2007-07-10 Thread Chris Sheffield
Excellent. That seems to work just fine. Although I had to change the  
2 to 1, since the pid is the first column returned.


I'm running 10.4.10. What's different on yours?


On Jul 10, 2007, at 10:55 AM, chris bohnert wrote:


Chris,

Try this:

 ps -awx | awk '{print $2}'

if that prints you a list of pid's you should be good to replace  
the cut

pipe with the awk command.  By the way, what version of os X are you
running..mine doesn't seem to behave as you describe.

--
cb

On 7/10/07, Chris Sheffield <[EMAIL PROTECTED]> wrote:


Okay, I think I figured out the problem.

The pid as returned from ps has a different number of leading spaces
depending on the number of digits in the pid. So using a set value
for the -f option doesn't seem to work. For example, if the pid has
four digits, using 2 works since the pid has 2 leading spaces. But if
it has 3 digits, you have to use 3 to get the pid returned correctly
since it has 3 leading spaces. Am I making sense? It's kind of
confusing to me. Anyway, can you think of a way around this? Is there
some other command that would work instead of cut, or some other form
of cut maybe?

Thanks again.


On Jul 10, 2007, at 9:28 AM, Chris Sheffield wrote:

>
> I've got another question for you though. It concerns the 'cut -d\
> -f2' part of this. This doesn't seem to be working correctly. Can
> you explain more what's supposed to happen here? It seems to just
> be returning an empty string, so a valid pid is never passed on.
> I've tried it using TextEdit as well as using my own process in the
> command. Any thoughts?

--
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.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


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


Re: OT - shell script to kill a process

2007-07-10 Thread Chris Sheffield

Okay, I think I figured out the problem.

The pid as returned from ps has a different number of leading spaces  
depending on the number of digits in the pid. So using a set value  
for the -f option doesn't seem to work. For example, if the pid has  
four digits, using 2 works since the pid has 2 leading spaces. But if  
it has 3 digits, you have to use 3 to get the pid returned correctly  
since it has 3 leading spaces. Am I making sense? It's kind of  
confusing to me. Anyway, can you think of a way around this? Is there  
some other command that would work instead of cut, or some other form  
of cut maybe?


Thanks again.


On Jul 10, 2007, at 9:28 AM, Chris Sheffield wrote:



I've got another question for you though. It concerns the 'cut -d\   
-f2' part of this. This doesn't seem to be working correctly. Can  
you explain more what's supposed to happen here? It seems to just  
be returning an empty string, so a valid pid is never passed on.  
I've tried it using TextEdit as well as using my own process in the  
command. Any thoughts?


------
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.com
--


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


Re: OT - shell script to kill a process

2007-07-10 Thread Chris Sheffield
Well, Ken. It turns out I think I need to go with your method. The  
'killall' command is definitely more concise, but it turns out that I  
am going to have to do a partial search on the path to the process  
exe just to make sure I get the right one, and killall doesn't seem  
to allow that.


I've got another question for you though. It concerns the 'cut -d\  - 
f2' part of this. This doesn't seem to be working correctly. Can you  
explain more what's supposed to happen here? It seems to just be  
returning an empty string, so a valid pid is never passed on. I've  
tried it using TextEdit as well as using my own process in the  
command. Any thoughts?


Thanks,
Chris


On Jul 9, 2007, at 4:03 PM, Ken Ray wrote:


On Mon, 9 Jul 2007 14:46:32 -0600, Chris Sheffield wrote:


My Unix scripting knowledge leaves a bit to be desired, so I thought
I'd ask here for some help.

I have a Vise installer for OS X that needs to check for and kill our
own process if it's running. The installer will be authenticated when
running. I need a shell script that I can execute from within the
installer that will determine, by name, if a given process is
running, and then kill it dead if so. Can someone help?


Well, it's ugly, but you can execute this:

ps -awx | grep 'TextEdit' | grep -v 'grep' | cut -d\  -f2 | xargs -I
pid kill -9 pid

A few notes:
  - I'm using TextEdit as the app I want to close - replace your app
name here (to see what I'm parsing, execute 'ps -awx' in the Terminal
by itself).
  - This is all one line, no returns here
  - There are actually two spaces after the "d\" and before the "-f2".

Here's what it means (for those wondering):

  (ps -awx) = Get a list of all currently running processes with full
path names.

  ( | grep 'TextEdit') = Pipe the result to 'grep' (the regex engine)
and return any lines that contain 'TextEdit'. This will return TWO
lines, one with the path to TextEdit on it, and the other one is the
actual 'grep' call that is trying to find 'TextEdit'.

  ( | grep -v 'grep') = Pipe the result to 'grep' again, but this time
ignore any lines that have 'grep' in it. (Sneaky!)

  ( cut -d\  -f2) = Extract ("cut") the second space-delimited "word"
in the resulting string ("-d" means use a delimiter, "\ " is the
delimiter to use (has to be escaped because spaces normally signify a
change of parameters, etc. on the command line), "-f2" means look for
the second space-delimited "field" in the string)

  ( | xargs -I pid kill -9 pid) = Pipe the result (the process ID)  
into

a variable called 'pid' that will replace the argument variable 'pid'
in the call to the 'kill' command (normally to kill a process it would
look like "kill -9 1012")).

HTH,

Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
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


--
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.com
--


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


Re: OT - shell script to kill a process

2007-07-10 Thread Chris Sheffield

Excellent. Thanks, Chris.

On Jul 9, 2007, at 4:06 PM, chris bohnert wrote:


"killall ProcessName" should do what you want

--
cb

On 7/9/07, Chris Sheffield <[EMAIL PROTECTED]> wrote:


My Unix scripting knowledge leaves a bit to be desired, so I thought
I'd ask here for some help.

I have a Vise installer for OS X that needs to check for and kill our
own process if it's running. The installer will be authenticated when
running. I need a shell script that I can execute from within the
installer that will determine, by name, if a given process is
running, and then kill it dead if so. Can someone help?

Thanks,
Chris


------
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.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


------
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.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


OT - shell script to kill a process

2007-07-09 Thread Chris Sheffield
My Unix scripting knowledge leaves a bit to be desired, so I thought  
I'd ask here for some help.


I have a Vise installer for OS X that needs to check for and kill our  
own process if it's running. The installer will be authenticated when  
running. I need a shell script that I can execute from within the  
installer that will determine, by name, if a given process is  
running, and then kill it dead if so. Can someone help?


Thanks,
Chris


------
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.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


wait for a process in OS X

2007-06-07 Thread Chris Sheffield
This is probably a stupid question. And I swear I've done this in the  
past, but I can't for the life of me remember how I did it.


I need to launch an application from within a script, but I need my  
script to wait for the application to close before continuing. I've  
tried launch, open process, and even the shell() function, but in  
each case the script just continues running. How can I do this? Is my  
only option to launch it, then wait in a loop and continually check  
the running processes using shell()? If so, I suppose that's fine.  
Just kind of a hassle.


Any help would be appreciated.

Thanks,
Chris


------
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.com
--


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


Re: Mac UB standalones and OS versions

2007-06-04 Thread Chris Sheffield

Great news. Thanks, Jacque (and Rev Team) :-)

On Jun 4, 2007, at 10:44 AM, J. Landman Gay wrote:


Jeff Reynolds wrote:
[EMAIL PROTECTED] we just sent our cd out for replication, im trying to put  
a stop on it if possible. 10.1 and 10.2 ARE STILL ALIVE AND WELL  
IN THE SCHOOLS!


Urgh. I hope you can stop it in time, really sorry to hear that.

I just asked the team about the problem, and they weren't aware of  
it. In all those months of beta testing involving hundreds of  
testers, it was never reported. The breakage wasn't intentional.  
They will do a fix ASAP and asked me to let you all know.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
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


------
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.com
--


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


Re: Mac UB standalones and OS versions

2007-06-04 Thread Chris Sheffield
For anyone who's interested, I did create bug #5109 for this issue.  
Feel free to add your votes.


On Jun 3, 2007, at 9:26 AM, Shari wrote:

I've noticed a lot of software that requires 10.3.9 lately, I get  
the feeling that was pretty much the cutoff these days.


By the way, thank you, Chris, for verifying that I wasn't crazy.  
Much appreciated :-)


A little snippet in the help docs would have been very welcome, and  
saved me much agony, if the Rev engine itself supports such a  
cutoff for variations of OSX.  Maybe even they didn't know...


Shari
--
Windows and Macintosh shareware games
BIackjack Gold
http://www.gypsyware.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


------
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.com
--


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


Re: Mac UB standalones and OS versions

2007-06-01 Thread Chris Sheffield
One more update. Turns out a PPC standalone built with 2.8.1 does not  
work either, which makes the issue even more serious. :-(


On Jun 1, 2007, at 1:32 PM, Chris Sheffield wrote:

Confirmed! UBs built with 2.8.1 *do not* run under OS X 10.2.x. But  
one built with 2.8.0 does. At least in my testing. What changed? If  
no one else has, I'll submit this as a bug. It's a nasty one.


Chris


On Jun 1, 2007, at 1:17 PM, Chris Sheffield wrote:

I'm wondering if there's a problem with the 2.8.1 engine. Other  
non-Rev universal apps I have (installers, for example) run  
perfectly fine under 10.2.x. And I'm almost positive that  
standalones built with previous Rev engines have run fine for me.  
I'm going to double check this though.


Chris


On Jun 1, 2007, at 12:47 PM, J. Landman Gay wrote:


Shari wrote:
After a couple of hours of reading old archived posts dating  
back a couple years I came across one tiny tidbit that may  
explain why the UB standalone fails to launch on my G-3.
Can anyone verify this?  Nowhere in the docs of either  
Revolution or Metacard could I find a mention of this.  I did a  
pretty exhaustive search and if the info is out there, it is  
well hidden.
Universal Binaries for Mac only launch on systems OSX 10.3.x and  
higher...

Is this true?


I couldn't find a specific statement in the Apple Developer area,  
but the stuff I did read seems to indicate it is true.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
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


------
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.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


------
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.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


------
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.com
--


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


Re: Mac UB standalones and OS versions

2007-06-01 Thread Chris Sheffield
Confirmed! UBs built with 2.8.1 *do not* run under OS X 10.2.x. But  
one built with 2.8.0 does. At least in my testing. What changed? If  
no one else has, I'll submit this as a bug. It's a nasty one.


Chris


On Jun 1, 2007, at 1:17 PM, Chris Sheffield wrote:

I'm wondering if there's a problem with the 2.8.1 engine. Other non- 
Rev universal apps I have (installers, for example) run perfectly  
fine under 10.2.x. And I'm almost positive that standalones built  
with previous Rev engines have run fine for me. I'm going to double  
check this though.


Chris


On Jun 1, 2007, at 12:47 PM, J. Landman Gay wrote:


Shari wrote:
After a couple of hours of reading old archived posts dating back  
a couple years I came across one tiny tidbit that may explain why  
the UB standalone fails to launch on my G-3.
Can anyone verify this?  Nowhere in the docs of either Revolution  
or Metacard could I find a mention of this.  I did a pretty  
exhaustive search and if the info is out there, it is well hidden.
Universal Binaries for Mac only launch on systems OSX 10.3.x and  
higher...

Is this true?


I couldn't find a specific statement in the Apple Developer area,  
but the stuff I did read seems to indicate it is true.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
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


------
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.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


------
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.com
--


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


Re: Mac UB standalones and OS versions

2007-06-01 Thread Chris Sheffield
I'm wondering if there's a problem with the 2.8.1 engine. Other non- 
Rev universal apps I have (installers, for example) run perfectly  
fine under 10.2.x. And I'm almost positive that standalones built  
with previous Rev engines have run fine for me. I'm going to double  
check this though.


Chris


On Jun 1, 2007, at 12:47 PM, J. Landman Gay wrote:


Shari wrote:
After a couple of hours of reading old archived posts dating back  
a couple years I came across one tiny tidbit that may explain why  
the UB standalone fails to launch on my G-3.
Can anyone verify this?  Nowhere in the docs of either Revolution  
or Metacard could I find a mention of this.  I did a pretty  
exhaustive search and if the info is out there, it is well hidden.
Universal Binaries for Mac only launch on systems OSX 10.3.x and  
higher...

Is this true?


I couldn't find a specific statement in the Apple Developer area,  
but the stuff I did read seems to indicate it is true.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
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


------
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.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: Making OS-Specific Standalones

2007-05-10 Thread Chris Sheffield

Hi Bridger,

Check out the savingStandalone message. Very useful for setting  
custom props at the time of building a standalone.


Chris


On May 9, 2007, at 6:28 PM, Bridger Maxwell wrote:


Hey,
 Is there any way to have the Windows standalone saved differently  
from the

OS X standalone?  I would like the Windows standalone to have custom
properties containing the externals to be unpacked, but because OS  
X uses
bundles this is not an issue and I don't want these custom  
properties to be
saved as part of the OS X standalone (no need to use extra  
memory).  I know
I could just build for Windows, clear the externals, and build it  
again for

OS X, but is there an easier way so I don't get mixed up?

 Thank You,
   Bridger Maxwell
   www.FieryFerret.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


------
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.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: What's up with this?????

2007-04-19 Thread Chris Sheffield
What's in field "FieldFrameCount"? Is it possible it's not a number?  
Perhaps you've got text in there you're not seeing (i.e. spaces,  
returns, etc.)?



On Apr 19, 2007, at 9:23 AM, Dave wrote:


Hi,

I'm using RunRev 2.8.0.370.

I have the following in a Button Script:

  put text of field "FieldFrameCount" into myFrameCount
  repeat with myFrameCounter = 1 to myFrameCount

It has been working fine up until about half an hour ago when it  
started giving me this execution error:


Type:   repeat error in 'with' end condition expression
Object: button
Line:   repeat with myFrameCounter - 1 to myFrameCount

I'm at a loss as to what to do to fix it!

I've tried re-starting RunRev and then Restarting the whole machine.

Thanks a lot
All the Best
Dave


___
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


--
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.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: OS X Preferences menu item

2007-04-11 Thread Chris Sheffield

Perfect, Sarah. Thank you. I'll give that a try.

On Apr 11, 2007, at 3:21 PM, Sarah Reichelt wrote:



The method I use is to rename the Edit menu to something other than
"Edit", say "EditMenu" instead. Then change the label of the Edit
button in the menubar to "Edit" so it displays correctly. This will
disable the Preferences item just as if you had no Edit menu. It will
also stop the bottom 2 items of the menu being moved, so you will need
to delete them yourself.

Cheers,
Sarah
___
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


------
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.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


OS X Preferences menu item

2007-04-11 Thread Chris Sheffield
I have to say I feel kind of stupid asking this question, seeing as  
how I've been using Rev for a few years now. You'd think I'd already  
know the answer to this. :-)


On OS X, is it possible to either remove completely (preferred) or  
disable (acceptable) the Preferences menu item in the application's  
menu? I know it's possible as far as the OS is concerned cause I've  
seen other Mac apps where it's either disabled or completely gone.  
But I'm not sure if there's a way to accomplish either of these with  
Rev.


I currently have an Edit menu in my app that contains two items, the  
last one being Preferences. But the app has no customizable prefs, so  
I'd like to remove it if possible. But the closest I've been able to  
come is to remove the Edit menu entirely. Doing this gives me a  
disabled Preferences item, but I really want to keep my Edit menu. Is  
there another way that I'm missing?


Anyone?

Thanks,
Chris


--
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.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: Back to the Future: Classic support?

2007-04-10 Thread Chris Sheffield

Sean,

Actually, I've got an app for Mac Classic that accesses a MySQL
database just fine. There's a trick to getting it to work, though.
There is something funny with the Mac Classic engine and Valentina.
For some reason the two are bound together. So the trick to getting an
app to work with MySQL is to build it with both MySQL and Valentina
support (using 2.6.1, the latest to support Mac Classic). Using this
method builds a standalone that should be able to access a MySQL
database without problems.

The part I can't remember is whether or not it's necessary to leave
the Valentina library next to the app. You might have to just try it
with and without it.

Hope that helps.

Chris Sheffield


On 4/10/07, Shao Sean <[EMAIL PROTECTED]> wrote:

Even if Rev doesn't ever bring Classic and *NIX support up to par with
the Mac OS X and Windows versions, I'd love to see them do a goodwill
gesture and fix the database support in compiled applications for Mac
Classic. Database support works fine in the IDE, but not in compiled
applications and due to that I lost out on doing some fun projects :-(

-Sean

ps.. 2.5 and 2.6 were tested, the database to access was MySQL and the
other database connectors may actually work but I never had access to
those kinds of databases.

___
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: Installing a Standalone on Windows

2007-03-26 Thread Chris Sheffield

Hi Dan,

Check out InnoSetup. It's free, works great, and is relatively easy  
to use, especially if you use the ISTool front end.


www.innosetup.com

Good luck.

Chris

On Mar 26, 2007, at 1:03 PM, Dan Friedman wrote:


Greetings!

Has anyone found a good solution for installing full applications on
Windows?  My app has multiple file types, file extensions and  
icons.  I have
fonts to install as well and adding the application to the Start  
menu and

file associations.

In the past I have used InstallShield.  Ug... just typing the phrase
"InstallShield" makes me a little dizzy!

What are you using??

Thanks in advance,
Dan


___
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


--
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.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: "unknown publisher" under Windows Vista

2007-03-23 Thread Chris Sheffield

Ah, good info Bill. Thanks.

On Mar 23, 2007, at 11:46 AM, Bill Marriott wrote:


Chris,

After building my standalone, which is sort of a launcher app for  
my  main
installer, and running it under Windows Vista, I get the  security  
warning

that tells me the publisher for the exe is unknown.


Unfortunately, applications you author with Rev cannot simply  
"inherit" the
signature. Rev's installer is "known" because it is digitally  
"signed" by
Revolution in accordance with Microsoft's guidelines. Your  
standalone is a
brand-new program as far as Vista is concerned. And rightly so,  
because
anyone could use a programming tool like Rev to write a program  
that wreaks

havoc.

In order to sign your code, you need to have a digital certificate  
from

Verisign, and then you need to go through the code signing process as
outlined here:

http://msdn.microsoft.com/workshop/security/authcode/signing.asp



___
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


------
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.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: "unknown publisher" under Windows Vista

2007-03-23 Thread Chris Sheffield
I know. It drives me nuts! Unfortunately my company has to support  
it, or I probably wouldn't even bother.


On Mar 23, 2007, at 11:17 AM, Devin Asay wrote:



On Mar 23, 2007, at 11:03 AM, Chris Sheffield wrote:

After building my standalone, which is sort of a launcher app for  
my main installer, and running it under Windows Vista, I get the  
security warning that tells me the publisher for the exe is  
unknown. Anyone know how I can make it "known"? As far as I can  
tell, I've filled in all the pertinent information in the  
standalone builder, but nothing seems to take care of the problem.  
I noticed that Rev's latest installer does not produce this  
warning, as the publisher appears to be "known". I've looked at  
the properties for my exe and for the Rev installer and, as far as  
I can tell, they've both got the same information. Theirs produces  
the normal "A program needs your permissions to continue" dialog,  
while mean produces a "An unidentified program wants access to  
your computer" dialog.


Anyone run into this? I get this warning with other applications I  
use, mostly those that are older and haven't yet been updated for  
Vista.


"You are pointing out Vista's flaws. Cancel or Allow?"

Sorry, couldn't resist. :-)

DNA
___
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


--
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.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


"unknown publisher" under Windows Vista

2007-03-23 Thread Chris Sheffield
After building my standalone, which is sort of a launcher app for my  
main installer, and running it under Windows Vista, I get the  
security warning that tells me the publisher for the exe is unknown.  
Anyone know how I can make it "known"? As far as I can tell, I've  
filled in all the pertinent information in the standalone builder,  
but nothing seems to take care of the problem. I noticed that Rev's  
latest installer does not produce this warning, as the publisher  
appears to be "known". I've looked at the properties for my exe and  
for the Rev installer and, as far as I can tell, they've both got the  
same information. Theirs produces the normal "A program needs your  
permissions to continue" dialog, while mean produces a "An  
unidentified program wants access to your computer" dialog.


Anyone run into this? I get this warning with other applications I  
use, mostly those that are older and haven't yet been updated for Vista.


Thanks,
Chris


--
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.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: make Rev standalone wait for external app

2007-03-07 Thread Chris Sheffield

Hi Ken,

This is what I ended up doing. Seems to work just find. On the  
Windows side, launching the app with the shell seems to automatically  
wait until it's finished. I was just hoping I could do the same thing  
on the Mac side. Doesn't seem to be the case though.


Thanks,
Chris

On Mar 7, 2007, at 12:52 PM, Ken Ray wrote:


Well, theoretically if you launch the installer with "open process",
you can continually check the openProcesses in a loop until the  
process

disappears from the openProcesses... haven't tried it myself, but
theoretically should work.


------
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.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


make Rev standalone wait for external app

2007-03-07 Thread Chris Sheffield
On OS X 10.4.8, Rev 2.8 gm3. I need to launch an external app  
(installer) from my Rev standalone. I need my standalone to wait for  
the app to close before continuing. What's the best way to do this?  
I've tried several different things including using the launch  
command, using the shell() function, and using the "open application"  
command via AppleScript. Nothing seems to work. My standalone  
continues on immediately following the code to open the external app.


Is there some other way? Or will it be necessary to just sit in a  
repeat loop, watching for the application to quit. Any help is  
appreciated.


Thanks,
Chris

------
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.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: revZip and rev 2.8 gm-3

2007-02-22 Thread Chris Sheffield
Excellent Jacque. Thanks. I'll give this a try. I knew I was just  
missing something obvious. And I actually do have code that sets my  
externals on startup, I just wasn't getting the path correct. This  
should help. Thanks again.



On Feb 22, 2007, at 12:02 PM, J. Landman Gay wrote:


Chris Sheffield wrote:
I'm having a problem that I'm wondering if anyone else has  
experienced. This is OS X, btw.
I have an application that makes use of the revZip library. I have  
the standalone builder settings set to search for required  
inclusions. The first problem is that the revZip bundle does not  
get copied to my standalone, which I believe is a long outstanding  
bug, which I thought was supposed to have been fixed with 2.8. The  
second problem is that, even if I manually copy the revZip.bundle  
into my standalone package, the standalone errors when making a  
call to a revZip function. In other words, it's not finding the  
bundle. I have it copied to the Externals folder within the app  
bundle. I have also tried explicitly setting the externals of my  
stack, but I can't seem to get the path quite right to this  
Externals folder. The only way I've been able to get it to work  
without errors is to simply set the externals to "revzip.bundle"  
and then place the bundle directly next to my app bundle, not  
inside it. But I would really like to have this app be as self- 
contained as possible, so I'd prefer to have the revzip.bundle  
inside my app bundle.
First of all, has anyone else experienced these problems with the  
standalone builder Rev 2.8? I think I'm about ready to report them  
to runtime. And second, what should I set the path to in the  
externals property so that I can keep the revzip.bundle inside my  
app bundle? I think I'm just not getting it quite right. I'd  
prefer to use a relative path if possible. Should it be something  
like "./[AppBundleName]/Contents/MacOS/Externals/revzip.bundle"?  
Can anyone help?


I always set externals dynamically on startup. This has always  
worked for me:


on startup
 if the platform = "macos" then
  set the externals of this stack to \
pathToBundleData() & "myExternal.bundle"
 else
  set the externals of this stack to \
pathToBundleData() & "myExternal.dll"
 end if
end startup

function pathToBundleData
  put the effective filename of this stack into tPath
  set the itemDel to slash
  delete last item of tPath
  return tPath & "/Externals/"
end pathToBundleData

This sets the externals property to the Externals folder regardless  
of whether it is inside a Mac bundle or in a folder next to the app  
in a Windows standalone.


Note that the startup message is the only time you can dynamically  
set externals. I've had varying success with hard-coding the paths  
into the stack, which is why I started doing it this way.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
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


--
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.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


revZip and rev 2.8 gm-3

2007-02-22 Thread Chris Sheffield
I'm having a problem that I'm wondering if anyone else has  
experienced. This is OS X, btw.


I have an application that makes use of the revZip library. I have  
the standalone builder settings set to search for required  
inclusions. The first problem is that the revZip bundle does not get  
copied to my standalone, which I believe is a long outstanding bug,  
which I thought was supposed to have been fixed with 2.8. The second  
problem is that, even if I manually copy the revZip.bundle into my  
standalone package, the standalone errors when making a call to a  
revZip function. In other words, it's not finding the bundle. I have  
it copied to the Externals folder within the app bundle. I have also  
tried explicitly setting the externals of my stack, but I can't seem  
to get the path quite right to this Externals folder. The only way  
I've been able to get it to work without errors is to simply set the  
externals to "revzip.bundle" and then place the bundle directly next  
to my app bundle, not inside it. But I would really like to have this  
app be as self-contained as possible, so I'd prefer to have the  
revzip.bundle inside my app bundle.


First of all, has anyone else experienced these problems with the  
standalone builder Rev 2.8? I think I'm about ready to report them to  
runtime. And second, what should I set the path to in the externals  
property so that I can keep the revzip.bundle inside my app bundle? I  
think I'm just not getting it quite right. I'd prefer to use a  
relative path if possible. Should it be something like "./ 
[AppBundleName]/Contents/MacOS/Externals/revzip.bundle"? Can anyone  
help?


Thanks,
Chris


--
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.com
--



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


Re: [ANN] Son 2.0

2007-02-21 Thread Chris Sheffield

Congratulations Malte! Both look happy and healthy. :-)

Take care,

Chris Sheffield


On Feb 21, 2007, at 1:17 PM, Malte Brill wrote:


Hi all,

just wanted to let you know that my second kid arrived today.

Mattis Johan Pfaff
Length 55 cm
Weight 4280 gramm

http://www.derbrill.de/linusundmattis.jpg

All the best,

Malte
___
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


--
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.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: stackFileFormat and RunRev 2.8.x

2007-02-21 Thread Chris Sheffield

Hi Dave,

Looks like you haven't received a response to this yet. The answer is  
yes, but you have to set a new pref for it to work. Simply bring up  
Rev's preferences, go to the Files & Memory section, then check the  
box for "Preserve stack file version..." I tried this just yesterday  
and it seems to work just fine.


Good luck,

Chris Sheffield


On Feb 21, 2007, at 3:43 AM, Dave wrote:


Hi All,

Does anyone know if the 2.8.x version of RunRev has the bug fix so  
that legacy stack format files get saved in the legacy old format?


Thanks a lot
All the Best
Dave



___
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


------
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.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: answer dialog over modal window

2007-02-12 Thread Chris Sheffield
Well, I ended up solving my own problem, but I'm pretty sure there's  
a bug here, as Rev is not behaving as the docs say it should in this  
case. I'm pretty sure, but someone please correct me if I'm wrong,  
that the docs say that using open stack "blahblah" as sheet will open  
the stack as a modal window when running under OS's that don't  
support sheets. But for some reason it's not working correctly. When  
I changed the command to open stack "blahblah" as modal, and then  
opened the answer dialog, it appeared over the modal window  
correctly. Using sheet with the open stack command is doing something  
different. I mean, the dialog appears as modal and works as modal,  
but when you try to open another modal over it, like the answer  
dialog, no dice.


Not a huge issue since there's a workaround, but I think I'll report  
this to Runtime. Either the behavior should reflect the docs, or the  
docs should reflect the behavior. :-)


Thanks,
Chris


On Feb 12, 2007, at 1:41 PM, Chris Sheffield wrote:

I'm having a strange problem. Seems to be happening only under  
Windows (tested on Windows XP, server 2003). I'm not sure if it's  
something I've done wrong or if I've found a bug in Rev. Maybe  
someone can help. Running Rev 2.7.4.


I have an application that at one point opens a modal dialog for  
the user to change some settings. When the user clicks the save  
button, a verification routine runs to make sure all necessary  
settings are correct. If there's a problem, I simply bring up the  
answer dialog to inform the user so they can fix it. But there  
seems to be a problem opening a modal window (answer dialog) over  
another modal window. The answer dialog opens behind the already  
open modal window instead of in front of it. And there's no way to  
switch to it. I even tried using Task Manager to switch to the  
answer dialog, but that didn't do anything. So the application  
looks as though it's hanging, when really it's just waiting for  
user input. Has anyone else experienced this? Is there a workaround  
for it?


Everything works fine on the Mac. Of course, on the Mac I'm opening  
my settings dialog as a sheet rather than as a regular modal window.


Any thoughts?

Thanks,
Chris


--
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.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


--
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.com
--


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


  1   2   3   4   5   >