RE: bugzillas 1696, 3385 never was a bug

2006-10-27 Thread MisterX
Thanks Stephen,

But I never left! I keep reading. Lots to say to the list but which
just wouldn't help anyone other than releasing my windows user 
experience frustrations in 27x...

I stopped scripting since February, became a darn good amateur
pool player and now I have a major migration to do at work with
1.5 terabytes of data, hundreds of shares, users, permissions, 
settings, error controls, logs, etc.
 
I needed to revive some scripts and habits... ;)

Then I got sick, had nothing better to do than to fix some taoo bugs,
saw an incredibly interesting threading thread and that kind of woke
up my xtalk scripting hunger...

cheers
Xavier

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Stephen Barncard
> Sent: Saturday, 28 October, 2006 01:59
> To: How to use Revolution
> Subject: Re: bugzillas 1696, 3385 never was a bug
> 
> WELCOME BACK, Mr. X!
> 
> >
> >Before I start doing the colbert report on runrev or worse 
> my Corporate 
> >Jeremy Clarkson on rev's marketing designs and politics I'll 
> stick to 
> >just solving yet another case for them...
> >
> 
> --
> stephen barncard
> s a n  f r a n c i s c o
> - - -  - - - - - - - - -
> ___
> use-revolution mailing list
> use-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: Quicktime Multimedia Authoring - Nearly Dead?

2006-10-27 Thread Sivakatirswami

Devin Asay wrote:


On Oct 27, 2006, at 9:39 AM, Luis wrote:

And a future 'direction' for Flash and Adobe: 
http://labs.adobe.com/wiki/index.php/Apollo:developerfaq


Gee, developing internet-enabled apps for the desktop that leverage 
existing technologies! What I wouldn't give for a development 
environment that would let me do that!


Oh wait Don't we already have one?


We do, but to what extent we can say Revolution
"leverages existing technologies" may require some qualification.



;-)

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



--
Om shanti
(In  Peace)

Sivakatirswami
www.himalayanacademy.com

Get Hinduism Today Digital Edition. It's Free!
http://www.hinduismtoday.com/digital/
___
use-revolution mailing list
use-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: re-setting the MIDI settings with Applescript

2006-10-27 Thread Jim Ault
On 10/27/06 11:43 AM, "Claire Bradin Siskin" <[EMAIL PROTECTED]> wrote:
> Here is the Applescript that we are using:
> 

Thanks for the script!  My use of System Events is very limited since there
is so much trial and error involved.

For those who don't get it, Audio MIDI Setup is an app that does not have
Applescripting built-in beyond the core suite of commands.  With Applescript
we can tell the app to 'activate' and thus open, then use part of OSX to
work with the components of the interface that is showing.

We are telling OSX System Events to >>>
tell pop up button 8 to become choice "iMic USB audio system"
tell pop up button 1 to become choice "2ch-16bit"
tell pop up button 5 to become choice "iMic USB audio system"
tell pop up button 6 to become choice "iMic USB audio system"
tell pop up button 7 to become choice "iMic USB audio system"
tell pop up button 9 to become choice "2ch-16bit"
tell application "Audio MIDI Setup" to quit

System Events can work with a wide variety of apps that don't have more than
the core suite of commands.  Even applets running inside Safari can be read
and controlled.  Using this, you can read the text on any button, the text
lines of a scrolling field, the menu header, or all the choices in a drop
down menu (pop up button).  It is pretty cool to send a click to a button in
a java applet written by someone who isn't even thinking of a Mac.  Safari
renders the applet components available to System Events. (I think that's
how it works)

Anyway, I really appreciate the tech tip for the Audio MIDI Setup app.  This
is definitely going in my tips and tricks archive.

Thanks Claire!

Jim Ault
Las Vegas  --
PS  Hmmm, but CAN IT WORK with Print Dialog boxes/ Page Setup to set paper
orientation, etc?  Perhaps it can.

put "tell SystemEvents/tell app Rev/delay 1.0/
tell pop up button 99/click/ click menu item "legal" of menu 1
tell button "OK"/click" into cmd

do cmd as AppleScript  --without waiting (can't remember how to do this)
revShowPrintDialog true ,false -- shows only Page Setup dialog
--the click from the AppleScript will dismiss the dialog--

--definitely untested.  Probably one little thing that will stop this, since
so many people would like to see this work :-)
--

On 10/27/06 11:43 AM, "Claire Bradin Siskin" <[EMAIL PROTECTED]> wrote:

> Here is the Applescript that we are using:
> 
> ---
> 
> on setPopUpXToY(x, y)
> tell application "System Events"
> tell application process "Audio MIDI Setup"
> tell window "Audio MIDI Setup"
> tell tab group 1
> delay 0.3
> tell pop up button x
> click
> click menu item y of menu 1
> end tell
> end tell
> end tell
> end tell
> end tell
> end setPopUpXToY
> 
> try
> tell application "Audio MIDI Setup" to activate
> 
> setPopUpXToY(8, "iMic USB audio system") -- make sure we're
> setting the properties for the iMic
> setPopUpXToY(1, "2ch-16bit") -- set the audio output format
> setPopUpXToY(5, "iMic USB audio system") -- set the Default Output
> setPopUpXToY(6, "iMic USB audio system") -- set the System Output
> setPopUpXToY(7, "iMic USB audio system") -- set the Default Input
> 
> setPopUpXToY(9, "2ch-16bit") -- set the audio input format
> 
> tell application "Audio MIDI Setup" to quit
> end try
> 
> ---
> 
> The following procedure should work:
> 
> 1. put the above script in a hidden field called "applescriptField"
> 2. use the following handler: do field "applescriptField" as AppleScript
> 
> Many thanks to Devin Asay for telling me how to do this!


___
use-revolution mailing list
use-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: video tutorials not working

2006-10-27 Thread Robert Mann
I got a new laptop and I am not able to get the videos to play even after
downloading ensharpen codec any ideas what to do next?

Thanks

Robert Mann


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of J. Landman
Gay
Sent: Thursday, June 29, 2006 10:47 AM
To: How to use Revolution
Subject: Re: video tutorials not working


Robert Mann wrote:
> I am not able to view the video tutorials, I get a message saying
"QuickTime
> is missing software required to perform this operation", I have updated my
> QuickTime to the latest version, is there something else that I need? I
can
> hear the sound but no video.

You need to make sure the Ensharpen codec is installed. Rev should have
asked you if you wanted to install it when you ran the Rev installer. If
you agreed to the installation, you may need to restart your computer to
make it active. If you did not agree, then you can try re-installed and
click Yes when it asks. Alternately, you can download and install the
codec yourself from this web page:



OR:
http://www.getafile.com/cgi-bin/merlot/get/techsmith/TSCC.exe

OR FOR ALL PLATFORMS:




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


___
use-revolution mailing list
use-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: bugzillas 1696, 3385 never was a bug

2006-10-27 Thread Stephen Barncard

WELCOME BACK, Mr. X!



Before I start doing the colbert report on runrev or worse my Corporate
Jeremy Clarkson on rev's marketing designs and politics I'll stick to just
solving yet another case for them...



--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
use-revolution mailing list
use-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: Careful

2006-10-27 Thread Lynn Fredricks
> I wonder how many programmers are going to bother to find out 
> what is considered rude among people in Papua New Guinea?
> 
> Like all things - there have to be some limits - but not to 
> the point where everybody's creativity is frozen because they 
> are worried about who (or what?) they might offend next.

Probably no thoughts about them - but its possible to generalize what is
going to be offensive to large numbers of people without inhibiting
creativity. There are people who like to toss out that "you do not have the
right not to be offended" as a justification for substituting shock value
for art -- or just plain bad behavior.

Best regards,


Lynn Fredricks
Worldwide Business Operations
Runtime Revolution, Ltd

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


App integration - anyone done this?

2006-10-27 Thread James Goss


Does anyone have much experience with integrating RR with other major  
applications,

such as Flash/Actionscript or Javascript/HTML/XML?

While it seems that external functions can be called, it looks like  
use of these other apps
would require containing it within a subset of the view area, like it  
is a distinct media element,

or am I mistaken?

I guess it comes down to embedding different file types into the RR  
app, or not?


Thanks much.

James Goss


___
use-revolution mailing list
use-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 a day start at 1:00 AM everwhere?

2006-10-27 Thread Devin Asay


On Oct 27, 2006, at 9:20 AM, Marian Petrides wrote:

While we are on the topic of dates, I've been thinking about  
creating a "countdown" calendar, clocking the number of days  
remaining between today's date and some future date (March 31,  
20010 specifically).  Any tips on how I can do this?  Do I have to  
convert dates into seconds in order to subtract one from the other?


I did this recently for my brother-in-law who is counting down the  
days to retirement.


Check out:

go stack URL "http://asay.byu.edu/retire.rev";

Double click on the date at the bottom of the card to change it.  
Simple, but it seems to work.


Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

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


RE: bugzillas 1696, 3385 never was a bug

2006-10-27 Thread MisterX
very last revision 

>   put the height of btn|fld|graphic "myrealheight" of me into s1

should be 

>   put the rect of control "myeffectiverect" of me into s1

takes 3 tries to make it a charm it seems! Really sorry for that...
Trying to hide a few other features in the real script...

X

___
use-revolution mailing list
use-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: Quicktime Multimedia Authoring - Nearly Dead?

2006-10-27 Thread Devin Asay


On Oct 27, 2006, at 9:39 AM, Luis wrote:

And a future 'direction' for Flash and Adobe: http://labs.adobe.com/ 
wiki/index.php/Apollo:developerfaq


Gee, developing internet-enabled apps for the desktop that leverage  
existing technologies! What I wouldn't give for a development  
environment that would let me do that!


Oh wait Don't we already have one?
;-)

Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

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


Re: Does a day start at 1:00 AM everwhere?

2006-10-27 Thread Ken Ray
On 10/27/06 10:39 AM, "Mark Powell" <[EMAIL PROTECTED]> wrote:

> My problem is that I have two inputs.  One is the user inputting a date.
> Another is the creation date in seconds that has previously been
> extracted via a 'detailed files' call, which has been concatenated in
> the format below.
> 
> C:/RevolutionStacks/SortTest/!?!Sept_009K.jpg!/9040/1157431138

Ah, now I understand...
 
> What I wanted to do is to express the input date in seconds and test it
> against item -1 of each line in the container (there are potentially >
> 100,000 such lines in a container). Using dateItems or 'word 1 of
> tFileDateTime' as you suggest would require modification to the original
> 'detailed files' extraction algorithm, which doubtless will have a
> ripple effect elsewhere.  So, is there not any reliable way to compare
> seconds to seconds?  Or do I have to go the route of approximation.
> 
> Also Ken, the DST et. al. wrinkles you describe:  does that affect the
> interpretation of a creation date extracted from the file?  Or is the
> complication confined to how a particular user's computer calculates a
> time query?  For example, if a user's OS displays a creation date for
> "foo.txt" as 11/21/05, will Rev not always interpret it as 11/21/05?  Or
> can fencepost error arise where Rev misinterprets the static date?

I really don't know, Mark... I would *assume* that the seconds is relative
to the computer that is doing the extracting of the seconds from 'detailed
files', but I have no conclusive proof...

It seems like you may have to approximate unless someone else can provide
another solution.

Ken Ray
Sons of Thunder Software, Inc.
Web site: http://www.sonsothunder.com/
Email: [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


RE: bugzillas 1696, 3385 never was a bug

2006-10-27 Thread MisterX
just one issue...

 > put the rect of thisgroup into s1

should be the 

  put the height of btn|fld|graphic "myrealheight" of me into s1

where my the control "myrealheight" has the big rect in the group's
smaller visible rect.

or you can calculate it from the topmost to the bottom most 
object within your group. 

Note that mousedown|up in disabled buttons in the card work on objects of
the group out of the visible group's rect...

otherwise it works well...


> -Original Message-
> From: MisterX
> Sent: Friday, 27 October, 2006 22:47
> 
> Dear Richard...
> 
[snipt]
> 
> Here's the group's script
> 
> on rawkeydown w
> 
> put the rect of thisgroup into s1 -- << -- here!!!
> 
> put the vscroll of me into s
> 
> if w is 65309 then
> 
> if s <= Cscrollvalue then 
> 
> set the scroll of me to 0
> 
> else 
> 
> set the scroll of me to s - Cscrollvalue
> 
> end if
> 
> else if w is 65308 then
> 
> if s + Cscrollvalue >= s1 then 
> 
> set the scroll of me to s1
> 
> else 
> 
> set the scroll of me to s + Cscrollvalue
> 
> end if
> 
> end if
> 
> pass rawkeydown -- may not be required or desired on 
> non-opaque/disabled groups but can be essential too for 
> libraries that handle this automatically ;)...
> 
> end rawkeydown
> 
> 
> rawkeydown baby!
> X8
> --
> If you want less bugs, you got to have more at some point!
> I shouldn't write to this mailist but I just got the bollocks!

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


bugzillas 1696, 3385 never was a bug

2006-10-27 Thread MisterX
Dear Richard...

While looking for a ridiculous bugzilla to relate on, I saw bug 3385 and
subsequently 1696...

This is a pretty easy and straightforward issue to solve and works great
with even 1500 objects in a group!

Im surprised it's still unconfirmed since i had that running last year in
one of my freely available libraries. Makes you wonder how many care to help
make this a better xtalk evironment rather than a showcase of media
compatibility...

Before I start doing the colbert report on runrev or worse my Corporate
Jeremy Clarkson on rev's marketing designs and politics I'll stick to just
solving yet another case for them...



Put the script below next line into the script of the group of the stack
with the group that needs scrolling

set the vscroll of that group to true (didn't try without a scrollbar for
visual clue and GUI friendliness principles)

Here's the group's script

on rawkeydown w

put the rect of thisgroup into s1

put the vscroll of me into s

if w is 65309 then

if s <= Cscrollvalue then 

set the scroll of me to 0

else 

set the scroll of me to s - Cscrollvalue

end if

else if w is 65308 then

if s + Cscrollvalue >= s1 then 

set the scroll of me to s1

else 

set the scroll of me to s + Cscrollvalue

end if

end if

pass rawkeydown -- may not be required or desired on non-opaque/disabled
groups but can be essential too for libraries that handle this automatically
;)...

end rawkeydown

-

Don't forget to handle scrolling and selection update issues with
window/group/pane resizing and stack opening, hiding scrollbars when
pane-area is less than the height of the group, etc... sorry, can't help
thinking taoo addons for xtalk-based contract programming designs :)

Sorry about the script formating, copy-pasted from runrev's script editor. 

Happy Halloween! 

BTW this tip works great also for double/x-columns field layouts in a group
to simulate in-frame scrollable elements... Use the pass rawkeydown so that
in-group scrollable elements can grab the scrolling event too...

rawkeydown baby!
X8 
--
If you want less bugs, you got to have more at some point!
I shouldn't write to this mailist but I just got the bollocks!

___
use-revolution mailing list
use-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 a day start at 1:00 AM everwhere?

2006-10-27 Thread Dar Scott


On Oct 27, 2006, at 6:52 AM, Mark Powell wrote:


At 6:42 this
morning, I ran this:

  put the short date into theDate
  convert theDate to seconds
  put ((the seconds - theDate) / 3600)

and got 4.710556, which suggests that a date starts at 1:00 AM and not
midnight.  Is this accurate?  And more importantly, is this the way  
the

computation would be handled on any client machine anywhere?


The Rev conversions are wrong.

Given any time zone and given any criteria for a new day, that time  
in seconds that just barely makes the seconds to short date  
conversion tick over to a new date should be just over what you get  
when you convert the new date to seconds.  That is not the case.  It  
is off by an hour.


I think seconds-to-date is right (and probably 'the short date') and  
the problem is in date-to-seconds.


Here is the script I used for my time-zone (-0700):


on mouseUp
  put 7 * 3600 + 5 into s
  get s
  convert it to short date
  put it into d
  convert it to seconds
  put d && s && it && (s-it)/3600 & lf

  put 7 * 3600 - 5 into s
  get s
  convert it to short date
  put it into d
  convert it to seconds
  put d && s && it && (s-it)/3600 & lf after msg
end mouseUp
*
==>
1/1/70 25205 28800 -0.998611
12/31/69 25195 -57600 22.998611

The last column should be 0.014 and 23.998

As you can see 7 hours and 5 seconds is one date and 7 hours less 5  
seconds is another just before.  Converting the first date to seconds  
should get a value just under the seconds.  It does not.


Dar



___
use-revolution mailing list
use-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-setting the MIDI settings with Applescript

2006-10-27 Thread Claire Bradin Siskin

Here is the Applescript that we are using:

---

on setPopUpXToY(x, y)
tell application "System Events"
tell application process "Audio MIDI Setup"
tell window "Audio MIDI Setup"
tell tab group 1
delay 0.3
tell pop up button x
click
click menu item y of menu 1
end tell
end tell
end tell
end tell
end tell
end setPopUpXToY

try
tell application "Audio MIDI Setup" to activate

	setPopUpXToY(8, "iMic USB audio system") -- make sure we're 
setting the properties for the iMic

setPopUpXToY(1, "2ch-16bit") -- set the audio output format
setPopUpXToY(5, "iMic USB audio system") -- set the Default Output
setPopUpXToY(6, "iMic USB audio system") -- set the System Output
setPopUpXToY(7, "iMic USB audio system") -- set the Default Input

setPopUpXToY(9, "2ch-16bit") -- set the audio input format

tell application "Audio MIDI Setup" to quit
end try

---

The following procedure should work:

1. put the above script in a hidden field called "applescriptField"
2. use the following handler: do field "applescriptField" as AppleScript

Many thanks to Devin Asay for telling me how to do this!

--
Claire Bradin Siskin
Robert Henderson Language Media Center
University of Pittsburgh
Email: [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


Re: Sometimes "browse tool" (in menu) is not working. Why ?

2006-10-27 Thread J. Landman Gay

[EMAIL PROTECTED] wrote:


I have a stack that I made first with Hypercard, and transformed since few 
years by Revolution.
This stack work perfectly, but sometimes, I cannot choose "Browse Tool" int the Tool 
Menu( and the same if I click in "Browse Tool" in the tools palette, the browse tool is 
selected, but in the tools menu, the browse tool is not selected).
I must restart the application Revolution and all is OK.
Why ?
What is this problem ?

I am under OS X 10.3 on a G4. I have Revolution 2.1.2



I think this bug was fixed later on, you are running a very old version. 
As a workaround, you could try this in the message box:


  choose browse tool

See if that works.

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


Re: can't play audio

2006-10-27 Thread J. Landman Gay

Jim Ault wrote:


As a workaround, can you just run the same Applescript from your stack?

Devin


 And perhaps she could post the Applescript and instructions for setting
this up so that others might know how to do the work around.


Just what I was thinking. If other apps can set it too high, then ours 
can just set it back.


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


Re: [OT] Careful

2006-10-27 Thread J. Landman Gay

Bill Marriott wrote:
What I do want to know is how long it took you to type all those quotation 
marks.


Isn't it obvious?

on mouseup
  put quote into fld 2
  repeat for each word loadedWord in fld 1
put loadedWord & quote & comma & space & quote after fld 2
  end repeat
  put empty into char -1 of fld 2
end mouseup

No real xTalk programmer would actually type all those "manually!" ;)




replace space with quote & comma & space & quote in fld 1
put quote & fld 1 & quote into fld 1



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


Re: Does a day start at 1:00 AM everwhere?

2006-10-27 Thread SimPLsol
Mark,
If you are using OS X you'll find that the day going onto daylight savings 
time has 25 hours worth of seconds; and the day coming off DST has 23 hours 
worth of seconds.
It is safer and easier to use dateItems (add 1 to item 3 of the dateItems).
Paul Looney
___
use-revolution mailing list
use-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 app as Frankensteinian Monster..SOLVED!

2006-10-27 Thread Mark MacKenzie
Well, time to fess up.  I thought I had taken care of all of the simple, 
obvious stuff.  However, I found another handler with the exact same 
coding for closing my application which I had missed and which was 
actually trying to close the application.  All my troubleshooting 
efforts were directed to another handler.


Duhh!

Thanks to all for your time and help.  Nothing is broken or strange in 
the IDE.


Regards

Mark MacKenzie
Past Ink Publishing
www.pastink.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


Sometimes "browse tool" (in menu) is not working. Why ?

2006-10-27 Thread doupsy

Hello,

I have a stack that I made first with Hypercard, and transformed  
since few years by Revolution.
This stack work perfectly, but sometimes, I cannot choose "Browse  
Tool" int the Tool Menu( and the same if I click in "Browse Tool" in  
the tools palette, the browse tool is selected, but in the tools  
menu, the browse tool is not selected).

I must restart the application Revolution and all is OK.
Why ?
What is this problem ?

I am under OS X 10.3 on a G4. I have Revolution 2.1.2

Thanks

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


Careful

2006-10-27 Thread Richmond Mathewson
Lynn Fredricks wrote:

"I can appreciate caution though. Sometimes it's the
ill feeling
of the word's definition and sometime's it's the
intent - if one is a
negative somewhere its best to avoid altogether."

And I am inclined to agree except the last bit: "if
one is a
negative somewhere its best to avoid altogether."

I wonder how many programmers are going to bother to
find out what is considered rude among people in Papua
New Guinea?

Like all things - there have to be some limits - but
not to the point where everybody's creativity is
frozen because they are worried about who (or what?)
they might offend next.

And, between you and me, I have always found "put"
incredibly
offensive - NOT!

sincerely, Richmond Mathewson



I have just read and signed the online petition:

   "Hinge & Bracket"

hosted on the web by PetitionOnline.com, the free online petition
service, at:

   http://www.PetitionOnline.com/HandB/

I personally agree with what this petition says, and I think you might
agree, too.  If you can spare a moment, please take a look, and 
consider signing yourself.

Richmond Mathewson


Send instant messages to your online friends http://uk.messenger.yahoo.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: Careful

2006-10-27 Thread Stephen Barncard

so why are you cens*ring yourself??? :>


Hi,

I'll think you'll find that the word " bocks" simply means 
"nonsense". The Sex Pistols were taken to court on indecency charges 
for the title of their album - "Never Mind the bocks, this is 
the Sex Pistols" and won their case. The judge concluded that it 
wasn't a swear word!


Dave



--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
use-revolution mailing list
use-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: Quicktime Multimedia Authoring - Nearly Dead?

2006-10-27 Thread Luis
And a future 'direction' for Flash and Adobe: 
http://labs.adobe.com/wiki/index.php/Apollo:developerfaq


Cheers,

Luis.


GregSmith wrote:

If you want to see how Flash video is developing into THE interactive
multimedia video format, you've got to take a look at what this guy is
doing:

http://www.gotoandlearn.com http://www.gotoandlearn.com 
http://www.lynda.com http://www.lynda.com   (He sells his Flash video series

here).

 - he's a Stanford grad and treating the subject very seriously.  Flash
Professional 8 hooked up with any kind of video converted to the .flv format
makes an unbeatable pair.  Now, I think Quicktime could have been launched
into this arena with much more strength, but, somebody dropped the ball
about 9 years ago, and nobody has picked it up, since.  I wish it wasn't too
late.  Don't let Google win this fight!

If interactive QuickTime authoring is ever going to make a comeback, it will
have to be able to be friendlier than authoring in Flash, but just as
interactive.

Greg Smith

___
use-revolution mailing list
use-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 a day start at 1:00 AM everwhere?

2006-10-27 Thread Mark Powell
Jim and Ken:

Aargh. I hate it when something I'd hope would be easy turns into a
rathole. 

My problem is that I have two inputs.  One is the user inputting a date.
Another is the creation date in seconds that has previously been
extracted via a 'detailed files' call, which has been concatenated in
the format below.   

C:/RevolutionStacks/SortTest/!?!Sept_009K.jpg!/9040/1157431138

What I wanted to do is to express the input date in seconds and test it
against item -1 of each line in the container (there are potentially >
100,000 such lines in a container). Using dateItems or 'word 1 of
tFileDateTime' as you suggest would require modification to the original
'detailed files' extraction algorithm, which doubtless will have a
ripple effect elsewhere.  So, is there not any reliable way to compare
seconds to seconds?  Or do I have to go the route of approximation.

Also Ken, the DST et. al. wrinkles you describe:  does that affect the
interpretation of a creation date extracted from the file?  Or is the
complication confined to how a particular user's computer calculates a
time query?  For example, if a user's OS displays a creation date for
"foo.txt" as 11/21/05, will Rev not always interpret it as 11/21/05?  Or
can fencepost error arise where Rev misinterprets the static date?

Thanks again

Mark Powell
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark
Powell
Sent: Friday, October 27, 2006 6:53 AM
To: use-revolution@lists.runrev.com
Subject: Does a day start at 1:00 AM everwhere?

I have a user-specified date.  I want to convert it to seconds and
factor in 86400 to establish the range of seconds for that date, so that
I can compare a file's creation date to determine whether that file was
created on that specified day.  The problem is I am not sure what is
used as the starting point for a date's seconds counter.  At 6:42 this
morning, I ran this:

  put the short date into theDate
  convert theDate to seconds
  put ((the seconds - theDate) / 3600)

and got 4.710556, which suggests that a date starts at 1:00 AM and not
midnight.  Is this accurate?  And more importantly, is this the way the
computation would be handled on any client machine anywhere?

Thanks

Mark Powell

___
use-revolution mailing list
use-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: Does a day start at 1:00 AM everwhere?

2006-10-27 Thread Marian Petrides

make that 2010  not 20010 :-)
On Oct 27, 2006, at 10:20 AM, Marian Petrides wrote:

While we are on the topic of dates, I've been thinking about  
creating a "countdown" calendar, clocking the number of days  
remaining between today's date and some future date (March 31,  
20010 specifically).  Any tips on how I can do this?  Do I have to  
convert dates into seconds in order to subtract one from the  
other?  Thanks.


On Oct 27, 2006, at 9:49 AM, Ken Ray wrote:


On 10/27/06 7:52 AM, "Mark Powell" <[EMAIL PROTECTED]> wrote:


I have a user-specified date.  I want to convert it to seconds and
factor in 86400 to establish the range of seconds for that date,  
so that
I can compare a file's creation date to determine whether that  
file was

created on that specified day.  The problem is I am not sure what is
used as the starting point for a date's seconds counter.  At 6:42  
this

morning, I ran this:

  put the short date into theDate
  convert theDate to seconds
  put ((the seconds - theDate) / 3600)

and got 4.710556, which suggests that a date starts at 1:00 AM  
and not
midnight.  Is this accurate?  And more importantly, is this the  
way the

computation would be handled on any client machine anywhere?


Welcome to the wonderful world of dates in Revolution!

;-)

Seriously - Many of us have struggled with date arithmetic in Rev  
as it
relates to other parts of the world. The short answer is "no", it  
is not
always 1:00 AM everywhere when you convert a date to seconds and  
back again.

In fact for me, I get 2:00 AM.

Date conversions give you different results depending on a number of
factors: is Daylight Saving Time (DST) or Summer Hours currently  
being
observed? What hemisphere are you on? Are you looking at a date  
that is
"across" a DST boundary (such as the current date being in March  
and you're
looking at a date in May, which is across the DST "boundary" in  
April).


I wish it were easier, but it's not... in your *specific*  
application,
though, if you're just trying to compare one date to another, you  
can strip
off the time from the file creation date, and then convert the  
user-entered
date and the date from the file creation to seconds and compare -  
they

should be the same:

  put fld "UserDate" into tUserDate
  put fld "FileCreationDateTime" into tFileDateTime
  put word 1 of tFileDateTime into tFileDate
   -- assumes a datetime where the date and time are separate by a  
space

  convert tUserDate to seconds
  convert tFileDate to seconds
  if tUserDate = tFileDate then
answer "Same day"
  else
answer "Different day"
  end if

Will this work for you?

Ken Ray
Sons of Thunder Software, Inc.
Web site: http://www.sonsothunder.com/
Email: [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


___
use-revolution mailing list
use-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: Does a day start at 1:00 AM everwhere?

2006-10-27 Thread Marian Petrides
While we are on the topic of dates, I've been thinking about creating  
a "countdown" calendar, clocking the number of days remaining between  
today's date and some future date (March 31, 20010 specifically).   
Any tips on how I can do this?  Do I have to convert dates into  
seconds in order to subtract one from the other?  Thanks.


On Oct 27, 2006, at 9:49 AM, Ken Ray wrote:


On 10/27/06 7:52 AM, "Mark Powell" <[EMAIL PROTECTED]> wrote:


I have a user-specified date.  I want to convert it to seconds and
factor in 86400 to establish the range of seconds for that date,  
so that
I can compare a file's creation date to determine whether that  
file was

created on that specified day.  The problem is I am not sure what is
used as the starting point for a date's seconds counter.  At 6:42  
this

morning, I ran this:

  put the short date into theDate
  convert theDate to seconds
  put ((the seconds - theDate) / 3600)

and got 4.710556, which suggests that a date starts at 1:00 AM and  
not
midnight.  Is this accurate?  And more importantly, is this the  
way the

computation would be handled on any client machine anywhere?


Welcome to the wonderful world of dates in Revolution!

;-)

Seriously - Many of us have struggled with date arithmetic in Rev  
as it
relates to other parts of the world. The short answer is "no", it  
is not
always 1:00 AM everywhere when you convert a date to seconds and  
back again.

In fact for me, I get 2:00 AM.

Date conversions give you different results depending on a number of
factors: is Daylight Saving Time (DST) or Summer Hours currently being
observed? What hemisphere are you on? Are you looking at a date  
that is
"across" a DST boundary (such as the current date being in March  
and you're
looking at a date in May, which is across the DST "boundary" in  
April).


I wish it were easier, but it's not... in your *specific* application,
though, if you're just trying to compare one date to another, you  
can strip
off the time from the file creation date, and then convert the user- 
entered

date and the date from the file creation to seconds and compare - they
should be the same:

  put fld "UserDate" into tUserDate
  put fld "FileCreationDateTime" into tFileDateTime
  put word 1 of tFileDateTime into tFileDate
   -- assumes a datetime where the date and time are separate by a  
space

  convert tUserDate to seconds
  convert tFileDate to seconds
  if tUserDate = tFileDate then
answer "Same day"
  else
answer "Different day"
  end if

Will this work for you?

Ken Ray
Sons of Thunder Software, Inc.
Web site: http://www.sonsothunder.com/
Email: [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


___
use-revolution mailing list
use-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 a day start at 1:00 AM everwhere?

2006-10-27 Thread Ken Ray
On 10/27/06 7:52 AM, "Mark Powell" <[EMAIL PROTECTED]> wrote:

> I have a user-specified date.  I want to convert it to seconds and
> factor in 86400 to establish the range of seconds for that date, so that
> I can compare a file's creation date to determine whether that file was
> created on that specified day.  The problem is I am not sure what is
> used as the starting point for a date's seconds counter.  At 6:42 this
> morning, I ran this:
> 
>   put the short date into theDate
>   convert theDate to seconds
>   put ((the seconds - theDate) / 3600)
> 
> and got 4.710556, which suggests that a date starts at 1:00 AM and not
> midnight.  Is this accurate?  And more importantly, is this the way the
> computation would be handled on any client machine anywhere?

Welcome to the wonderful world of dates in Revolution!

;-)

Seriously - Many of us have struggled with date arithmetic in Rev as it
relates to other parts of the world. The short answer is "no", it is not
always 1:00 AM everywhere when you convert a date to seconds and back again.
In fact for me, I get 2:00 AM.

Date conversions give you different results depending on a number of
factors: is Daylight Saving Time (DST) or Summer Hours currently being
observed? What hemisphere are you on? Are you looking at a date that is
"across" a DST boundary (such as the current date being in March and you're
looking at a date in May, which is across the DST "boundary" in April).

I wish it were easier, but it's not... in your *specific* application,
though, if you're just trying to compare one date to another, you can strip
off the time from the file creation date, and then convert the user-entered
date and the date from the file creation to seconds and compare - they
should be the same:

  put fld "UserDate" into tUserDate
  put fld "FileCreationDateTime" into tFileDateTime
  put word 1 of tFileDateTime into tFileDate
   -- assumes a datetime where the date and time are separate by a space
  convert tUserDate to seconds
  convert tFileDate to seconds
  if tUserDate = tFileDate then
answer "Same day"
  else
answer "Different day"
  end if

Will this work for you?

Ken Ray
Sons of Thunder Software, Inc.
Web site: http://www.sonsothunder.com/
Email: [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


Re: Does a day start at 1:00 AM everwhere?

2006-10-27 Thread Jim Ault
On 10/27/06 5:52 AM, "Mark Powell" <[EMAIL PROTECTED]> wrote:

> I have a user-specified date.  I want to convert it to seconds and
> factor in 86400 to establish the range of seconds for that date, so that
> I can compare a file's creation date to determine whether that file was
> created on that specified day.  The problem is I am not sure what is
> used as the starting point for a date's seconds counter.  At 6:42 this
> morning, I ran this:
> 
>   put the short date into theDate
>   convert theDate to seconds
>   put ((the seconds - theDate) / 3600)
> 
> and got 4.710556, which suggests that a date starts at 1:00 AM and not
> midnight.  Is this accurate?  And more importantly, is this the way the
> computation would be handled on any client machine anywhere?
> 
Try this.

put the short date into theDate
convert theDate to dateItems
put dateItems

I get 2006,10,27,2,0,0,6
which means 2:00:00 AM on Saturday, Oct 27, 2006


Jim Ault
Las Vegas



___
use-revolution mailing list
use-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: Careful

2006-10-27 Thread Lynn Fredricks
> I'll think you'll find that the word " bocks" simply 
> means "nonsense". The Sex Pistols were taken to court on 
> indecency charges for the title of their album - "Never Mind 
> the bocks, this is the Sex Pistols" and won their case. 
> The judge concluded that it wasn't a swear word!

That was the honorable Texas superior court Judge Bo L. Locks presiding,
wasn't it Dave?:-)

Seriously, I can appreciate caution though. Sometimes it's the ill feeling
of the word's definition and sometime's it's the intent - if one is a
negative somewhere its best to avoid altogether.


Best regards,


Lynn Fredricks
Worldwide Business Operations
Runtime Revolution, Ltd

> Dave
> 
> 
> 
> On 26 Oct 2006, at 16:09, Peter T. Evensen wrote:
> 
> > I know it isn't good, but I don't know what bocks 
> exactly is (or 
> > are)...  That just goes to show you, one man's (country's) 
> swear word 
> > is another man's random syllables.
> >
> > At 12:12 AM 10/26/2006, you wrote:
> >> Better be careful what you put in your scripts:
> >>
> >> 
> >>
> >> --
> >> Jacqueline Landman Gay | [EMAIL PROTECTED]
> >> HyperActive Software   | http://www.hyperactivesw.com
> >
> > Peter T. Evensen
> > http://www.PetersRoadToHealth.com
> > 314-629-5248 or 888-682-4588
> >
> > ___
> > use-revolution mailing list
> > use-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: Standalone app as Frankensteinian Monster

2006-10-27 Thread Ken Ray
On 10/27/06 9:08 AM, "Mark MacKenzie" <[EMAIL PROTECTED]> wrote:

> Hi Ken.  Thanks, however, upon trying this, the d**n thing still won't
> die.  

What is your indicator that it hasn't quit? That it still shows up in the
process list? Also, what platform is this on?

Knowing that might help one of us come up with a solution...

Ken Ray
Sons of Thunder Software, Inc.
Web site: http://www.sonsothunder.com/
Email: [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


Re: can't play audio

2006-10-27 Thread Luis
I haven't offered it up again because I didn't get a reply that it had 
worked ok for Dan Soneson, and besides, there's that old chestnut of 
searching the archives...


Cheers,

Luis.


Mark Swindell wrote:
If this is an issue end-users are going to have with standalones, is 
there any way to check this situation and give feedback from within the 
standalone so that a user will know  how and where to change the 
settings back?  It's one thing for a developer to have to figure this 
out, but an end user will be stuck forever with a broken app.

Thanks,
Mark

On Oct 26, 2006, at 8:10 PM, J. Landman Gay wrote:


Claire Bradin Siskin wrote:
I can no longer play audio with Rev 2.74 or 2.61 on my MacBook Pro. 
My operating system is 10.4.8.  All other applications on my computer 
are playing audio correctly.
So far, we have tried re-installing Rev 2.74, discarding preferences, 
repairing permissions, and  clearing caches.
Any suggestions for restoring the audio play function would be much 
appreciated.

Regards, Claire


The fix is probably the same one Luis posted recently for someone 
else's audio problem. Do this:


1.open Audio MIDI setup (Applications/Utilities/Audio MIDI Setup.app) 
and check the Audio settings.

2. Change the Audio Output setting to 44100.0Hz
3. Quit Audio MIDI Setup.

Some applications reset the sound level to a very high Hz that many 
other apps can't handle.  Those applications that can use these 
unnaturally high levels continue to work, but others don't.


Whether or not you use MIDI doesn't matter. The Audio MIDI Setup app 
is just a way to control the system audio settings. Every time I use 
Audacity I have to reset the audio levels again before Rev will play 
sounds.


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



___
use-revolution mailing list
use-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: can't play audio

2006-10-27 Thread Jim Ault
On 10/27/06 7:00 AM, "Devin Asay" <[EMAIL PROTECTED]> wrote:

> On Oct 27, 2006, at 6:19 AM, Claire Bradin Siskin wrote:
> 
>> Jacqueline Landman Gay  said
>> 
>>>  Whether or not you use MIDI doesn't matter. The Audio MIDI Setup
>>> app is just a way to control the system audio settings. Every
>>> time  I use Audacity I have to reset the audio levels again before
>>> Rev  will play sounds.
>> 
>> She was correct in diagnosing my problem, and in fact I had been
>> using Audacity immediately before the audio in Rev stopped working!
>> Thanks, Jacque! I should have realized this because in my lab we
>> have an Applescript that re-sets the Audio MIDI setup automatically.
>> 
>> Mark Swindell is right that we need a solution for this from within
>> a standalone.
> 
> Claire,
> 
> As a workaround, can you just run the same Applescript from your stack?
> 
> Devin

 And perhaps she could post the Applescript and instructions for setting
this up so that others might know how to do the work around.

Thanks,

Jim Ault
Las Vegas


___
use-revolution mailing list
use-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 app as Frankensteinian Monster

2006-10-27 Thread Mark MacKenzie
Hi Ken.  Thanks, however, upon trying this, the d**n thing still won't 
die.  I think I shall have to strip all (mainly) development functions 
out of the main stack/splash screen and start again with the stand alone.


Let you know how things turn out with this evening's coding.  So close, 
so far, so frustrating.


Kindest regards to you and the list.

Mark MacKenzie
Past Ink Publishing
www.pastink.com

Ken Ray wrote:

On 10/26/06 8:48 PM, "Mark MacKenzie" <[EMAIL PROTECTED]> wrote:
  



snip
Try this:

on closeStackRequest -- confirm whether to close the window
  answer question "Are you sure you want to quit the entire program?"
with "Yes" or "No"
  if it is "Yes"
  then
lock messages-- Added line
quit
  end if
end closeStackRequest

My bet is there's some message firing off during closing that's not getting
handled and so it is interrupting normal quitting operations.

Ken Ray
Sons of Thunder Software, Inc.
Web site: http://www.sonsothunder.com/
Email: [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


Re: can't play audio

2006-10-27 Thread Devin Asay

On Oct 27, 2006, at 6:19 AM, Claire Bradin Siskin wrote:


Jacqueline Landman Gay  said

 Whether or not you use MIDI doesn't matter. The Audio MIDI Setup   
app is just a way to control the system audio settings. Every  
time  I use Audacity I have to reset the audio levels again before  
Rev  will play sounds.


She was correct in diagnosing my problem, and in fact I had been  
using Audacity immediately before the audio in Rev stopped working!  
Thanks, Jacque! I should have realized this because in my lab we  
have an Applescript that re-sets the Audio MIDI setup automatically.


Mark Swindell is right that we need a solution for this from within  
a standalone.


Claire,

As a workaround, can you just run the same Applescript from your stack?

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


Does a day start at 1:00 AM everwhere?

2006-10-27 Thread Mark Powell
I have a user-specified date.  I want to convert it to seconds and
factor in 86400 to establish the range of seconds for that date, so that
I can compare a file's creation date to determine whether that file was
created on that specified day.  The problem is I am not sure what is
used as the starting point for a date's seconds counter.  At 6:42 this
morning, I ran this:

  put the short date into theDate
  convert theDate to seconds
  put ((the seconds - theDate) / 3600)

and got 4.710556, which suggests that a date starts at 1:00 AM and not
midnight.  Is this accurate?  And more importantly, is this the way the
computation would be handled on any client machine anywhere?

Thanks

Mark Powell

___
use-revolution mailing list
use-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: can't play audio

2006-10-27 Thread Claire Bradin Siskin

Jacqueline Landman Gay  said

 Whether or not you use MIDI doesn't matter. The Audio MIDI Setup 
 app is just a way to control the system audio settings. Every time 
 I use Audacity I have to reset the audio levels again before Rev 
 will play sounds.


She was correct in diagnosing my problem, and in fact I had been 
using Audacity immediately before the audio in Rev stopped working! 
Thanks, Jacque! I should have realized this because in my lab we have 
an Applescript that re-sets the Audio MIDI setup automatically.


Mark Swindell is right that we need a solution for this from within a 
standalone.


I'm doing a presentation about Rev at a teacher's conference this 
weekend, and I'll surely mention that a listmember offered a solution 
to my problem in 23 minutes! :-)


--
Claire Bradin Siskin
Director
Robert Henderson Language Media Center
University of Pittsburgh
Email: [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


Re: card rect problem

2006-10-27 Thread Peter Brigham
On Thu, 26 Oct 2006 16:58:56 +0100 Martin Baxter  
<[EMAIL PROTECTED]> wrote:



Re: card rect problem

J. Landman Gay wrote:



Peter Brigham wrote:

I can't figure out what could make the card height different from the
stack height. I can't set the height of the card to fix it.


I can't think of much either, but since you are working on a laptop,
check the windowBoundingRect property. You may have to set that to a
larger size to accomodate a window that goes offscreen.


On MacOS and OSX, if there is a menu, the card height and stack height
will differ by the height of the menu. Could that be the issue?

Martin Baxter


The difference in size between the two is much much larger than any  
menubar, and in any case I have no menubar in this stack. Thanks for  
the response, though.


-- Peter

Peter M. Brigham, MD
[EMAIL PROTECTED]
http://home.comcast.net/~pmbrig/

---
When you do not know what you are doing, do
it neatly.
---

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


Re: card rect problem

2006-10-27 Thread Peter Brigham
On Thu, 26 Oct 2006 10:47:31 -0500 "J. Landman Gay"  
<[EMAIL PROTECTED]> wrote:



Re: card rect problem

Peter Brigham wrote:

I can't figure out what could make the
card height different from the stack height. I can't set the height of
the card to fix it.

I can't think of much either, but since you are working on a laptop,
check the windowBoundingRect property. You may have to set that to a
larger size to accomodate a window that goes offscreen.

--  
Jacqueline Landman Gay | [EMAIL PROTECTED]

HyperActive Software   | http://www.hyperactivesw.com


As near as I can see from the rev docs, this should only affect what  
happens when the stack opens.The docs say:


"Users can drag or resize windows to extend outside the  
windowBoundingRect, and a handler can move or resize a window so that  
it's outside the windowBoundingRect. This property constrains the  
default position of windows when they open or zoom, but does not  
prevent them from being manually resized or repositioned."


But... who knows???

-- Peter

Peter M. Brigham, MD
[EMAIL PROTECTED]
http://home.comcast.net/~pmbrig/

---
Proudly marching to the beat of a different
kettle of fish.
---

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


Re: card rect problem

2006-10-27 Thread Peter Brigham
Thanks for the suggestions and the offer, Jim. I worked around it by  
keeping the card/stack size constant and just resizing the field.  
This results in a window for the user to type in that runs off the  
bottom of the screen, which is not really esthetic, got the job done  
temporarily. I've just finished doing sort of what you suggested,  
making a new input substack and using the old one just for the  
printing, which avoids resizing the stack window. I'll test it out  
today to make sure that solved the problem.


The original question still stands, however -- anyone know how in the  
world a card rect could get to be different from the stack rect? I  
have not used the geometry manager at all with this substack, so that  
seems to be a dead end I'm curious, because it shows me there is  
something deep I don't get about card vs stack vs window geometry.


-- Peter

Peter M. Brigham, MD
[EMAIL PROTECTED]
http://home.comcast.net/~pmbrig/

--
If the universe is expanding, how come I can
never find a parking place?
--


On Wed, 25 Oct 2006 22:26:27 -0700 Jim Ault <[EMAIL PROTECTED]> wrote:


Re: card rect problem

On 10/25/06 9:12 PM, "Peter Brigham" <[EMAIL PROTECTED]:


I have a problem that's driving me crazy. I'm working on OSX 10.4 on
an iBook G4 with Dreamcard 2.6.1, and I run this particular stack
system under the IDE exclusively. It's a stack for printing clinical
notes, but it has lots of bells & whistles. I have a substack for

Does it have to do with stuff I don't understand about setting the
rect of a stack vs the rect of a window? I sure don't seem to get
something important about the window size vs the card size. What
could be making the card rect be different from the window rect? And
why would this be intermittent? I'm getting pretty frantic, since as
it stands I can't even print my clinical notes properly now and it's
seriously interfering with me managing my practice


I feel your frustration.

My quick answer would be to do:
Build a subStack that is the print page size, include one or more fields
sized and formatted correctly, copy the original text to the correct  
field,
hide the others, then print without having to resize any fields or  
cards or

stacks (except the header reveal).

It could be that at some point you used the Rev geometry manager for  
some

objects and it remembers some ghost info.

If you need a better answer from me, you should consider sending me a  
sample

stack(s) without private information and I will try it on my Mac.  My
printing/formatting experience is limited, but it sounds like you need
something very quickly.  I can carve out a bit of time to do this.

I have been xTalking since HCard 1.0

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


JPEG files - how to read and write

2006-10-27 Thread Richmond Mathewson
Check out:

JPEGGER - just uploaded to RevOnline

sincerely, Richmond Mathewson



I have just read and signed the online petition:

   "Hinge & Bracket"

hosted on the web by PetitionOnline.com, the free online petition
service, at:

   http://www.PetitionOnline.com/HandB/

I personally agree with what this petition says, and I think you might
agree, too.  If you can spare a moment, please take a look, and 
consider signing yourself.

Richmond Mathewson


Send instant messages to your online friends http://uk.messenger.yahoo.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: Careful

2006-10-27 Thread Dave

Hi,

I'll think you'll find that the word " bocks" simply means  
"nonsense". The Sex Pistols were taken to court on indecency charges  
for the title of their album - "Never Mind the bocks, this is the  
Sex Pistols" and won their case. The judge concluded that it wasn't a  
swear word!


Dave



On 26 Oct 2006, at 16:09, Peter T. Evensen wrote:

I know it isn't good, but I don't know what bocks exactly is  
(or are)...  That just goes to show you, one man's (country's)  
swear word is another man's random syllables.


At 12:12 AM 10/26/2006, you wrote:

Better be careful what you put in your scripts:



--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com


Peter T. Evensen
http://www.PetersRoadToHealth.com
314-629-5248 or 888-682-4588

___
use-revolution mailing list
use-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] Careful

2006-10-27 Thread Mark Smith
On the other hand, since Dar's intended audience was us on an xTalk  
list, surely he might have written:


Yet I might use words in describing a script from among the words of  
"environment market bid bet ..."


:)

Mark

On 27 Oct 2006, at 06:59, Bill Marriott wrote:

What I do want to know is how long it took you to type all those  
quotation

marks.


Isn't it obvious?

on mouseup
  put quote into fld 2
  repeat for each word loadedWord in fld 1
put loadedWord & quote & comma & space & quote after fld 2
  end repeat
  put empty into char -1 of fld 2
end mouseup

No real xTalk programmer would actually type all those "manually!" ;)

"J. Landman Gay" <[EMAIL PROTECTED]>
wrote in message news:[EMAIL PROTECTED]

Dar Scott wrote:

I fully recognize that some are offended by the use of some words  
and

respect that.  Indeed, I am offended at times myself, especially by
profane crudity or statist talk.  Yet, I might use words in  
describing a

script, such as "environment", "market", "bid", "bet", "trade",
"privileged", "stasis", "govern", "evolve", "destroy", "clone",  
"union",

"reproduce", "fidelity", "license", "free", "constrained", "must",
"bind", "advise", "terminate", "close", "stealth", "reject",  
"mutate",
"save", "master", "daughter", "pure", "strict", "container",  
"box" or
"prune", that might offend some person, but the use of those  
words are

not intended to offend.


...prune? If prune has connotations, I don't think I want to know.




___
use-revolution mailing list
use-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