Re: OS X XP

2006-04-22 Thread Mark Wieder
Dan-

Saturday, April 22, 2006, 7:00:22 PM, you wrote:

> Not really. Lindows was always pure Linux. It was the name that MS objected
> to. Their settlement of the ensuing suit funded Linspire (as Lindows is now
> known).

Maybe I'm misremembering this then. I thought one of the sticky points
was the Lindows had a Windows compatibility layer so that quite a few
Windows programs would run under it.

-- 
-Mark Wieder
 [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: OS X XP

2006-04-22 Thread Dan Shafer
Mark...

Not really. Lindows was always pure Linux. It was the name that MS objected
to. Their settlement of the ensuing suit funded Linspire (as Lindows is now
known).


On 4/22/06, Mark Wieder <[EMAIL PROTECTED]> wrote:
>
> Dan-
>
> Saturday, April 22, 2006, 2:10:13 PM, you wrote:
>
> > Cringley doesn't always get it right but he's very often right even on
> > fairly far-out stuff like this. That woud be quite a coup for Apple for
> > sure.
>
> IIRC, isn't this similar to what lindows did? Before the lawyers
> stepped in, anyway?
>
> --
> -Mark Wieder
> [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
>



--
~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"
>From http://www.shafermediastore.com/tech_main.html
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


ANN: Scripture Solitaire 1.0

2006-04-22 Thread curry

This is a Bible card game made with you-know-what. It's out of beta now,
and here it is finally:

http://curryk.com/sol.html

Best,

Curry
curryk.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 XP

2006-04-22 Thread Mark Wieder
Dan-

Saturday, April 22, 2006, 2:10:13 PM, you wrote:

> Cringley doesn't always get it right but he's very often right even on
> fairly far-out stuff like this. That woud be quite a coup for Apple for
> sure.

IIRC, isn't this similar to what lindows did? Before the lawyers
stepped in, anyway?

-- 
-Mark Wieder
 [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: mixing transcript and Perl

2006-04-22 Thread Jeanne A. E. DeVoto

At 12:25 PM +0300 4/21/2006, Viktoras Didziulis wrote:

Is there a way to do inlines (of Perl) in Transcript ? At the moment I am
more fluent in Perl, and some things just go faster this way :-).


Can you shell out to a Perl interpreter?  Try the "shell" function.
--
jeanne a. e. devoto ~ [EMAIL PROTECTED]
http://www.jaedworks.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: Front Row/Remote

2006-04-22 Thread Mark Wieder
Thomas-

Saturday, April 22, 2006, 2:19:30 PM, you wrote:

> That is Apple's way of handling non scriptable applications via
> system events. Rather powerful. I only wish I could do the same with
> Windows apps.

Me, too.

tell application "Windows"
  behave yourself
end tell

-- 
-Mark Wieder
 [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: OT: Rev's spread to the "dark continents"

2006-04-22 Thread Chipp Walters



Bob Warren wrote:

Also, there are inconsistencies between the way things work in Rev 
Windows and Rev Linux. For example, in Windows, when I imported an 
image, I found that the name assigned to the image box created by Rev 
actually included the HD path name as well as the file name of the 
picture (quite a long resulting name in some cases). In Linux, the same 
thing was a little more rational, employing only the actual imported 
file name (not including the HD path) to name the image box created.


Bob,

I just tried this and didn't get the results you say.

Create a new stack and add a button to it. Set the script of the button to:

on mouseUp pMouseBtnNum
  --> CHOOSE AN IMAGE FILE
  answer file ""
  import paint from file it
  answer the name of last img
  pass mouseUp
end mouseUp

It correctly shows the name of the image as the filename, not the 
filepath. Not sure what you're seeing, but I'm on WinXP.


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


Re: OT: Rev's spread to the "dark continents"

2006-04-22 Thread Bob Warren

Rob Cozens wrote:

>Hi Bob,

I am an advocate of life-long education, and I very much appreciate
your "ignorance-reducing" commentaries on places and issues of which I
lack direct experience.  Thank you.


-
Hi Rob,
You're very welcome.

-
>One question off the main subject:


>> I don't want to program in Windows any more and I am waiting for a
>> hopefully stable 2.7. version of Rev for Linux before I continue my
>> programming.


>What is the difference between programming RunRev on Windows, MacOSs,
and Linux?  Visual rendering may be a little different; but if one
programs exclusively in Revolution (ie: no externals or shell
commands), the stack layout and scripts are identical.

>So why wait?

-
I don't know about Mac, but between Windows and Linux the main 
difference is in the file systems, and obtaining fundamental OS 
information. My first (and last) programs for Linux were a pair of 
file/picture chooser widgets (see 
http://www.howsoft.com/runrev/stacks.htm ).


So for example, I need to know whether a floppy diskette drive exists or 
doesn't exist on the user's computer so that my program can decide 
whether or not to show an icon. In Windows, I just try reading drive 
"A:\", and if it gives an error I know that it doesn't exist. In Linux, 
you cannot do that. First of all you have to confirm the existence of 
the drive through the FSTAB system file, and if it does exist then you 
need to "mount" the drive so that it can be used. So then you go to the 
Rev function "specialFolderPath" to find out where the FSTAB is stored, 
because the location is variable depending on the exact Linux distro you 
are using. And then you find that Rev haven't implemented it in Linux 
yet, so you cannot use it.


Also, there are inconsistencies between the way things work in Rev 
Windows and Rev Linux. For example, in Windows, when I imported an 
image, I found that the name assigned to the image box created by Rev 
actually included the HD path name as well as the file name of the 
picture (quite a long resulting name in some cases). In Linux, the same 
thing was a little more rational, employing only the actual imported 
file name (not including the HD path) to name the image box created.


Regarding the standalone chooser widgets, the last "fly in the ointment" 
(sorry Dan!) in Linux was the fact that Rev clears the clipboard when 
the program quits! I don't know whether this is supposed to be a bug or 
a feature, but the fact is that it is completely non-standard, and half 
ruined the functionality of my widgets. But of course this is related to 
a shell issue, as you pointed out.


The main difference between the Windows and Linux versions of Rev are 
related to the stability of the IDE, certainly under Ubuntu Linux 5.04 
that I was using at the time. It crashes at the drop of a hat  - for no 
apparent reason, gets stuck in a loop because it cannot decide which of 
its windows to put at the front, shows the colour chooser sometimes and 
not others, accepts CTRL+C for copying to the clipboard sometimes and 
not others, etc., etc., etc. In other words, it is damned annoying (if 
not nearly impossible) to use. However, in all fairness I need to point 
out that Kevin promises a more stable situation in the next version.


Even with this mess, I managed to actually produce my widgets in Rev 
Linux, and much more quickly than I imagined. This is indeed a tribute 
to the power and potential of the Transcript (sorry, "Revolution") 
programming language. [Oh how I wish they could have re-named it 
"RevScript" as somebody suggested. Is it really too late to avoid the 
confusions that are bound to arise by calling the language itself 
"Revolution"?]


Another problem is not Rev's, but mine. Since Microsoft assassinated 
VB6, I have become allergic to Windows. I don't want to use it any more, 
even for Rev. Hopefully, within the next 2 years or so I will be able to 
abandon it completely. And as you know I think that Linux would be an 
excellent solution for ordinary users in Brazil, my adopted home, and 
many other economically similar countries. I want Rev to treat it on a 
par with Windows and Macintosh from now on. Hopefully, they have already 
decided to do so.



Best regards,
Bob



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


Re: Front Row/Remote

2006-04-22 Thread Thomas McGrath III

Mark,

That is Apple's way of handling non scriptable applications via  
system events. Rather powerful. I only wish I could do the same with  
Windows apps.


Tom

On Apr 22, 2006, at 4:56 PM, Mark Wieder wrote:


Thomas-

Saturday, April 22, 2006, 10:19:13 AM, you wrote:


if this_key is in rightKeys then
tell application "System Events"
keystroke (ASCII character 29)
end tell


Interesting. I have to say I never thought of sending keystrokes to
the "System Events" app.

--
-Mark Wieder
 [EMAIL PROTECTED]



Thomas J McGrath III
[EMAIL PROTECTED]

Lazy River Software™ - http://www.lazyriversoftware.com

Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html

Meeting Wear™ - http://www.cafepress.com/meetingwear

Semantic Compaction Systems - http://www.minspeak.com

SCIconics, LLC - http://www.sciconics.com/sciindex.html







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

2006-04-22 Thread Dan Shafer
Very interesting, Jacque.

I puilled this quotation out of near the end of the piece:

"Think of the implications. A souped-up OS X kernel with native Windows API
support and the prospect of mixing and matching Windows and Mac applications
would be, for many users, the best of both worlds. There would be no copy of
Windows XP to buy, no large overhead of emulation or compatibility
middleware, no chance for Microsoft to accidentally screw things up,
substantially better security, and no need to even take a chance on Windows
Vista."

Cringley doesn't always get it right but he's very often right even on
fairly far-out stuff like this. That woud be quite a coup for Apple for
sure.


On 4/22/06, J. Landman Gay <[EMAIL PROTECTED]> wrote:
>
> Whoa!
>
> 
>
> The universal OS. :)
>
> --
> 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
>



--
~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"
>From http://www.shafermediastore.com/tech_main.html
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Front Row/Remote

2006-04-22 Thread Mark Wieder
Thomas-

Saturday, April 22, 2006, 10:19:13 AM, you wrote:

> if this_key is in rightKeys then
> tell application "System Events"
> keystroke (ASCII character 29)
> end tell

Interesting. I have to say I never thought of sending keystrokes to
the "System Events" app.

-- 
-Mark Wieder
 [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: Change Screen Resolution

2006-04-22 Thread Sarah Reichelt
> >  FOr OS X, you can use the shell command
> > cscreen to change resolution.
>
> cscreen does not seem to be a default shell command, there is no man
> page,
> and Terminal returns command not found.
>
> The utility to make it work can be found here
> http://www.versiontracker.com/dyn/moreinfo/macosx/19753
>
> But would require some installer magic to ship with any product.
>
> Here's a tutorial on Applescript screen resolution changes using cscreen
> http://www.macosxhints.com/article.php?story=20040908141042786
>

Sorry, I forgot to mention that it was a third-party utility that had
to be downloaded. However it doesn't really need any installation
wizardry. By default, such shell commands are supposed to go into
/usr/bin which is a protected folder that requires authorisation.
However it will work perfectly if hidden in your app bundle provided
you call it using it's complete path.

If you put it into /usr/bin, you can use it with: get shell("cscreen")

If it's in your bundle, (assuming it is in the same folder as all your
stacks) you can use it like this:

put "/Applications/MyAppName/Contents/MacOS/cscreen" into tShellCommand
get shell(tShellCommand)

These examples have no parameters and so just report the current
resolution, but the link above includes examples of using parameters
to change the res.

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


Re: Front Row/Remote

2006-04-22 Thread Ian Wood

On 22 Apr 2006, at 21:37, Thomas McGrath III wrote:


There are actually two different types of remotes for the Mac one  
is the FrontRow and the other is for previous machines with out  
FrontRow.




Going increasingly OT here, but I'm fairly sure that there is only  
one model of remote. If you don't have the correct IR receiver on the  
Mac, the only thing it will do is work with an iPod dock with  
receiver built-in. Previous Macs are out of the picture...


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


Re: Front Row/Remote

2006-04-22 Thread Thomas McGrath III

Chris,

Adding that to frontRow is a no go but using the remote is a mater of  
interpreting the incoming IR commands which FrontRow is set to listen  
for. I know I've seen a few IR type drivers but have not done that yet.


It is my understanding that the 'tell application "System Events" to  
key code 53" launches the frontRow app so if you trap that then you  
need to then launch your own app and trap the other key equivalents  
coming from the IR remote.


There are actually two different types of remotes for the Mac one is  
the FrontRow and the other is for previous machines with out FrontRow.


I would look into the IR side for a solution.

TOm

P.S. I was able to gett FrontRow working and to use it via keyboard  
keys only. Way cool.



Tom

On Apr 22, 2006, at 3:41 PM, Chris Carroll-Davis wrote:


Tom/Ian -

Thanks for the help on this.  What I really want though, is not to  
control Front Row, but to "subvert" it altogether.  I want to steal  
the input from the remote control so that I can do useful things  
with Rev instead.


Specifically, I'd like the menu button on remote to bring a Rev  
window to front that could act as an alternative to the Front Row  
menu.  On it I could put buttons for my slideshow program, an  
internet radio menu etc...


I wish Apple had made the remote control accessible to third-party  
developers (to maybe tie-in to Front Row) e.g. there is a really  
neat Digital TV USB adapter (Miglia TVMini) which would seem an  
obvious extension to the Front Row ethos.  The addition of being  
able to watch TV as well as video/DVD seems sensible.  But there is  
no way of adding this to Front Row. Shame.



Chris



On 22 Apr 2006, at 18:19, Thomas McGrath III wrote:


Chris,

I pulled this out of that script:

on navigate(this_key)
if this_key is in rightKeys then
tell application "System Events"
keystroke (ASCII character 29)
end tell
else if this_key is in leftKeys then
tell application "System Events"
keystroke (ASCII character 28)
end tell
else if this_key is in upKeys then
tell application "System Events"
keystroke (ASCII character 30)
end tell
else if this_key is in downKeys then
tell application "System Events"
keystroke (ASCII character 31)
end tell
end if
end navigate

And it seems after activation you can control FrontRow with  
keystrokes and if you can do that then we can do it i REV.


HTH

Tom


On Apr 22, 2006, at 1:16 PM, Thomas McGrath III wrote:


Chris,

I found an applescript for controlling FrontRow via Applescript at:

http://homepage.mac.com/mikemunson/mobile/Front%20Row% 
20Remote.applescript


It may rely on another app if I read the code right but this is  
doable and also I found some control scripts at Sailing CLicker's  
forums too.


Check it out and see if you can extract from it.

TOm


On Apr 22, 2006, at 12:33 PM, Chris Carroll-Davis wrote:


Tom -

Good suggestion - I rushed off to try.  But unfortunately no  
joy.  Front Row is a very non-standard app and doesn't seem to  
be at all scriptable. Blast.


I am expecting to be beaten by this one!

C



On 22 Apr 2006, at 15:33, Thomas McGrath III wrote:


Chris,

If you approach this from the software side you might have  
better luck. Open up Applescript editor and see about the  
Dictionary for Front Row. I don't have Front Row so I can't  
tell what features are available for third party apps via AS.


Then if there are messages for FR from within AS then you can  
arrange them and control them from within Rev.



HTH - Let us know,

Tom

On Apr 22, 2006, at 10:13 AM, Chris Carroll-Davis wrote:


Hello all -

Anyone have any suggestions on how I might be able to  
intercept input from the Apple remote control?


I have to say I am mightily unimpressed with Front Row.  After  
you get past the initial wow factor of the whizz-bang carousel  
effect, the rest of the interface (i think) is very limited.   
E.g. to select shared music is a couple of presses down, even  
though that is all I *ever* want to do (I have no music stored  
locally on the MiniMac).  Then when I do get to choose a  
track, I am stuck with the track name/artist in enormous white  
lettering. Yuk.


Front Row might be fine to cover general use for most users,  
but I (having access to Rev's abilities) could do much better  
for my own *personal* set up.  E.g. I could (and have) use Rev  
to do custom still/video slideshow or make internet radio  
interface - but I wish I could hijack the remote control!!!


I have tried switching on the message watcher and pressing  
buttons on the remote in the hope that it might trigger  
something (e.g. rawkeydown) but nada.


Any ideas?


Chris


___
use-revolution mailing list

Re: Front Row/Remote

2006-04-22 Thread Chris Carroll-Davis

Tom/Ian -

Thanks for the help on this.  What I really want though, is not to  
control Front Row, but to "subvert" it altogether.  I want to steal  
the input from the remote control so that I can do useful things with  
Rev instead.


Specifically, I'd like the menu button on remote to bring a Rev  
window to front that could act as an alternative to the Front Row  
menu.  On it I could put buttons for my slideshow program, an  
internet radio menu etc...


I wish Apple had made the remote control accessible to third-party  
developers (to maybe tie-in to Front Row) e.g. there is a really neat  
Digital TV USB adapter (Miglia TVMini) which would seem an obvious  
extension to the Front Row ethos.  The addition of being able to  
watch TV as well as video/DVD seems sensible.  But there is no way of  
adding this to Front Row. Shame.



Chris



On 22 Apr 2006, at 18:19, Thomas McGrath III wrote:


Chris,

I pulled this out of that script:

on navigate(this_key)
if this_key is in rightKeys then
tell application "System Events"
keystroke (ASCII character 29)
end tell
else if this_key is in leftKeys then
tell application "System Events"
keystroke (ASCII character 28)
end tell
else if this_key is in upKeys then
tell application "System Events"
keystroke (ASCII character 30)
end tell
else if this_key is in downKeys then
tell application "System Events"
keystroke (ASCII character 31)
end tell
end if
end navigate

And it seems after activation you can control FrontRow with  
keystrokes and if you can do that then we can do it i REV.


HTH

Tom


On Apr 22, 2006, at 1:16 PM, Thomas McGrath III wrote:


Chris,

I found an applescript for controlling FrontRow via Applescript at:

http://homepage.mac.com/mikemunson/mobile/Front%20Row% 
20Remote.applescript


It may rely on another app if I read the code right but this is  
doable and also I found some control scripts at Sailing CLicker's  
forums too.


Check it out and see if you can extract from it.

TOm


On Apr 22, 2006, at 12:33 PM, Chris Carroll-Davis wrote:


Tom -

Good suggestion - I rushed off to try.  But unfortunately no  
joy.  Front Row is a very non-standard app and doesn't seem to be  
at all scriptable. Blast.


I am expecting to be beaten by this one!

C



On 22 Apr 2006, at 15:33, Thomas McGrath III wrote:


Chris,

If you approach this from the software side you might have  
better luck. Open up Applescript editor and see about the  
Dictionary for Front Row. I don't have Front Row so I can't tell  
what features are available for third party apps via AS.


Then if there are messages for FR from within AS then you can  
arrange them and control them from within Rev.



HTH - Let us know,

Tom

On Apr 22, 2006, at 10:13 AM, Chris Carroll-Davis wrote:


Hello all -

Anyone have any suggestions on how I might be able to intercept  
input from the Apple remote control?


I have to say I am mightily unimpressed with Front Row.  After  
you get past the initial wow factor of the whizz-bang carousel  
effect, the rest of the interface (i think) is very limited.   
E.g. to select shared music is a couple of presses down, even  
though that is all I *ever* want to do (I have no music stored  
locally on the MiniMac).  Then when I do get to choose a track,  
I am stuck with the track name/artist in enormous white  
lettering. Yuk.


Front Row might be fine to cover general use for most users,  
but I (having access to Rev's abilities) could do much better  
for my own *personal* set up.  E.g. I could (and have) use Rev  
to do custom still/video slideshow or make internet radio  
interface - but I wish I could hijack the remote control!!!


I have tried switching on the message watcher and pressing  
buttons on the remote in the hope that it might trigger  
something (e.g. rawkeydown) but nada.


Any ideas?


Chris


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

http://lists.runrev.com/mailman/listinfo/use-revolution


Thomas J McGrath III
[EMAIL PROTECTED]

Lazy River Software™ - http://www.lazyriversoftware.com

Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html

Meeting Wear™ - http://www.cafepress.com/meetingwear

Semantic Compaction Systems - http://www.minspeak.com

SCIconics, LLC - http://www.sciconics.com/sciindex.html







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

2006-04-22 Thread J. Landman Gay

Whoa!



The universal OS. :)

--
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: Front Row/Remote

2006-04-22 Thread Ian Wood
You can certainly launch Front Row via AppleScript, it was mentioned  
when the 'hacked' copies were floating around:


tell application "System Events"

tell application "Front Row" to activate
key code 53 using {command down}

end tell

And once FR is up and running it accepts arrow keys, enter and escape.

Chris - I'm not sure there is any easy way of intercepting the  
messages from the remote - it certainly doesn't send rawkeyup or  
rawkeydown messages to the frontmost app. :-(


Ian


On 22 Apr 2006, at 18:10, Thomas McGrath III wrote:

I did find an interesting code snippet for perl for a touch screen  
device which shows that FrontRow can at least be made to activate.  
I am thinking that systemevents might have more control options  
than the built in AS functions.


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


Re: Front Row/Remote

2006-04-22 Thread Thomas McGrath III

Chris,

I pulled this out of that script:

on navigate(this_key)
if this_key is in rightKeys then
tell application "System Events"
keystroke (ASCII character 29)
end tell
else if this_key is in leftKeys then
tell application "System Events"
keystroke (ASCII character 28)
end tell
else if this_key is in upKeys then
tell application "System Events"
keystroke (ASCII character 30)
end tell
else if this_key is in downKeys then
tell application "System Events"
keystroke (ASCII character 31)
end tell
end if
end navigate

And it seems after activation you can control FrontRow with  
keystrokes and if you can do that then we can do it i REV.


HTH

Tom


On Apr 22, 2006, at 1:16 PM, Thomas McGrath III wrote:


Chris,

I found an applescript for controlling FrontRow via Applescript at:

http://homepage.mac.com/mikemunson/mobile/Front%20Row% 
20Remote.applescript


It may rely on another app if I read the code right but this is  
doable and also I found some control scripts at Sailing CLicker's  
forums too.


Check it out and see if you can extract from it.

TOm


On Apr 22, 2006, at 12:33 PM, Chris Carroll-Davis wrote:


Tom -

Good suggestion - I rushed off to try.  But unfortunately no joy.   
Front Row is a very non-standard app and doesn't seem to be at all  
scriptable. Blast.


I am expecting to be beaten by this one!

C



On 22 Apr 2006, at 15:33, Thomas McGrath III wrote:


Chris,

If you approach this from the software side you might have better  
luck. Open up Applescript editor and see about the Dictionary for  
Front Row. I don't have Front Row so I can't tell what features  
are available for third party apps via AS.


Then if there are messages for FR from within AS then you can  
arrange them and control them from within Rev.



HTH - Let us know,

Tom

On Apr 22, 2006, at 10:13 AM, Chris Carroll-Davis wrote:


Hello all -

Anyone have any suggestions on how I might be able to intercept  
input from the Apple remote control?


I have to say I am mightily unimpressed with Front Row.  After  
you get past the initial wow factor of the whizz-bang carousel  
effect, the rest of the interface (i think) is very limited.   
E.g. to select shared music is a couple of presses down, even  
though that is all I *ever* want to do (I have no music stored  
locally on the MiniMac).  Then when I do get to choose a track,  
I am stuck with the track name/artist in enormous white  
lettering. Yuk.


Front Row might be fine to cover general use for most users, but  
I (having access to Rev's abilities) could do much better for my  
own *personal* set up.  E.g. I could (and have) use Rev to do  
custom still/video slideshow or make internet radio interface -  
but I wish I could hijack the remote control!!!


I have tried switching on the message watcher and pressing  
buttons on the remote in the hope that it might trigger  
something (e.g. rawkeydown) but nada.


Any ideas?


Chris


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

http://lists.runrev.com/mailman/listinfo/use-revolution


Thomas J McGrath III
[EMAIL PROTECTED]

Lazy River Software™ - http://www.lazyriversoftware.com

Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html

Meeting Wear™ - http://www.cafepress.com/meetingwear

Semantic Compaction Systems - http://www.minspeak.com

SCIconics, LLC - http://www.sciconics.com/sciindex.html







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


Thomas J McGrath III
[EMAIL PROTECTED]

Lazy River Software™ - http://www.lazyriversoftware.com

Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html

Meeting Wear™ - http://www.cafepress.com/meetingwear

Semantic Compaction Systems - http://www.minspeak.com

SCIconics, LLC - http://www.sciconics.com/sciindex.html







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

http://lists.runrev.com/mailman/listinfo/use-revolution


Thomas J McGrath III
[EMAIL PROTECTED]

Lazy River Software™ - http://www.lazyriversoftware.com

Re: Front Row/Remote

2006-04-22 Thread Thomas McGrath III

Chris,

I found an applescript for controlling FrontRow via Applescript at:

http://homepage.mac.com/mikemunson/mobile/Front%20Row% 
20Remote.applescript


It may rely on another app if I read the code right but this is  
doable and also I found some control scripts at Sailing CLicker's  
forums too.


Check it out and see if you can extract from it.

TOm


On Apr 22, 2006, at 12:33 PM, Chris Carroll-Davis wrote:


Tom -

Good suggestion - I rushed off to try.  But unfortunately no joy.   
Front Row is a very non-standard app and doesn't seem to be at all  
scriptable. Blast.


I am expecting to be beaten by this one!

C



On 22 Apr 2006, at 15:33, Thomas McGrath III wrote:


Chris,

If you approach this from the software side you might have better  
luck. Open up Applescript editor and see about the Dictionary for  
Front Row. I don't have Front Row so I can't tell what features  
are available for third party apps via AS.


Then if there are messages for FR from within AS then you can  
arrange them and control them from within Rev.



HTH - Let us know,

Tom

On Apr 22, 2006, at 10:13 AM, Chris Carroll-Davis wrote:


Hello all -

Anyone have any suggestions on how I might be able to intercept  
input from the Apple remote control?


I have to say I am mightily unimpressed with Front Row.  After  
you get past the initial wow factor of the whizz-bang carousel  
effect, the rest of the interface (i think) is very limited.   
E.g. to select shared music is a couple of presses down, even  
though that is all I *ever* want to do (I have no music stored  
locally on the MiniMac).  Then when I do get to choose a track, I  
am stuck with the track name/artist in enormous white lettering.  
Yuk.


Front Row might be fine to cover general use for most users, but  
I (having access to Rev's abilities) could do much better for my  
own *personal* set up.  E.g. I could (and have) use Rev to do  
custom still/video slideshow or make internet radio interface -  
but I wish I could hijack the remote control!!!


I have tried switching on the message watcher and pressing  
buttons on the remote in the hope that it might trigger something  
(e.g. rawkeydown) but nada.


Any ideas?


Chris


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

http://lists.runrev.com/mailman/listinfo/use-revolution


Thomas J McGrath III
[EMAIL PROTECTED]

Lazy River Software™ - http://www.lazyriversoftware.com

Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html

Meeting Wear™ - http://www.cafepress.com/meetingwear

Semantic Compaction Systems - http://www.minspeak.com

SCIconics, LLC - http://www.sciconics.com/sciindex.html







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


Thomas J McGrath III
[EMAIL PROTECTED]

Lazy River Software™ - http://www.lazyriversoftware.com

Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html

Meeting Wear™ - http://www.cafepress.com/meetingwear

Semantic Compaction Systems - http://www.minspeak.com

SCIconics, LLC - http://www.sciconics.com/sciindex.html







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


Re: Front Row/Remote

2006-04-22 Thread Thomas McGrath III
I did find an interesting code snippet for perl for a touch screen  
device which shows that FrontRow can at least be made to activate. I  
am thinking that systemevents might have more control options than  
the built in AS functions.



sub fr_esc {
   print "FrontRow Escape\n" if ($DEBUG);
   $frontrow->activate;
   $upScroll = 0; $downScroll = 0;
   $systemevents->key_code(53);
}

sub fr_start {
   print "FrontRow Start\n" if ($DEBUG);
   $frontrow->activate;
   $upScroll = 0; $downScroll = 0;
   $systemevents->key_code(53);
   usleep(5);
   $systemevents->key_code(53);
}

On Apr 22, 2006, at 12:33 PM, Chris Carroll-Davis wrote:


Tom -

Good suggestion - I rushed off to try.  But unfortunately no joy.   
Front Row is a very non-standard app and doesn't seem to be at all  
scriptable. Blast.


I am expecting to be beaten by this one!

C



On 22 Apr 2006, at 15:33, Thomas McGrath III wrote:


Chris,

If you approach this from the software side you might have better  
luck. Open up Applescript editor and see about the Dictionary for  
Front Row. I don't have Front Row so I can't tell what features  
are available for third party apps via AS.


Then if there are messages for FR from within AS then you can  
arrange them and control them from within Rev.



HTH - Let us know,

Tom

On Apr 22, 2006, at 10:13 AM, Chris Carroll-Davis wrote:


Hello all -

Anyone have any suggestions on how I might be able to intercept  
input from the Apple remote control?


I have to say I am mightily unimpressed with Front Row.  After  
you get past the initial wow factor of the whizz-bang carousel  
effect, the rest of the interface (i think) is very limited.   
E.g. to select shared music is a couple of presses down, even  
though that is all I *ever* want to do (I have no music stored  
locally on the MiniMac).  Then when I do get to choose a track, I  
am stuck with the track name/artist in enormous white lettering.  
Yuk.


Front Row might be fine to cover general use for most users, but  
I (having access to Rev's abilities) could do much better for my  
own *personal* set up.  E.g. I could (and have) use Rev to do  
custom still/video slideshow or make internet radio interface -  
but I wish I could hijack the remote control!!!


I have tried switching on the message watcher and pressing  
buttons on the remote in the hope that it might trigger something  
(e.g. rawkeydown) but nada.


Any ideas?


Chris


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

http://lists.runrev.com/mailman/listinfo/use-revolution


Thomas J McGrath III
[EMAIL PROTECTED]

Lazy River Software™ - http://www.lazyriversoftware.com

Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html

Meeting Wear™ - http://www.cafepress.com/meetingwear

Semantic Compaction Systems - http://www.minspeak.com

SCIconics, LLC - http://www.sciconics.com/sciindex.html







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


Thomas J McGrath III
[EMAIL PROTECTED]

Lazy River Software™ - http://www.lazyriversoftware.com

Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html

Meeting Wear™ - http://www.cafepress.com/meetingwear

Semantic Compaction Systems - http://www.minspeak.com

SCIconics, LLC - http://www.sciconics.com/sciindex.html







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


Re: Front Row/Remote

2006-04-22 Thread Thomas McGrath III

Hhhmm

I wonder if an apple search will produce results? off to try...

Tom

On Apr 22, 2006, at 12:33 PM, Chris Carroll-Davis wrote:


Tom -

Good suggestion - I rushed off to try.  But unfortunately no joy.   
Front Row is a very non-standard app and doesn't seem to be at all  
scriptable. Blast.


I am expecting to be beaten by this one!

C



On 22 Apr 2006, at 15:33, Thomas McGrath III wrote:


Chris,

If you approach this from the software side you might have better  
luck. Open up Applescript editor and see about the Dictionary for  
Front Row. I don't have Front Row so I can't tell what features  
are available for third party apps via AS.


Then if there are messages for FR from within AS then you can  
arrange them and control them from within Rev.



HTH - Let us know,

Tom

On Apr 22, 2006, at 10:13 AM, Chris Carroll-Davis wrote:


Hello all -

Anyone have any suggestions on how I might be able to intercept  
input from the Apple remote control?


I have to say I am mightily unimpressed with Front Row.  After  
you get past the initial wow factor of the whizz-bang carousel  
effect, the rest of the interface (i think) is very limited.   
E.g. to select shared music is a couple of presses down, even  
though that is all I *ever* want to do (I have no music stored  
locally on the MiniMac).  Then when I do get to choose a track, I  
am stuck with the track name/artist in enormous white lettering.  
Yuk.


Front Row might be fine to cover general use for most users, but  
I (having access to Rev's abilities) could do much better for my  
own *personal* set up.  E.g. I could (and have) use Rev to do  
custom still/video slideshow or make internet radio interface -  
but I wish I could hijack the remote control!!!


I have tried switching on the message watcher and pressing  
buttons on the remote in the hope that it might trigger something  
(e.g. rawkeydown) but nada.


Any ideas?


Chris


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

http://lists.runrev.com/mailman/listinfo/use-revolution


Thomas J McGrath III
[EMAIL PROTECTED]

Lazy River Software™ - http://www.lazyriversoftware.com

Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html

Meeting Wear™ - http://www.cafepress.com/meetingwear

Semantic Compaction Systems - http://www.minspeak.com

SCIconics, LLC - http://www.sciconics.com/sciindex.html







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


Thomas J McGrath III
[EMAIL PROTECTED]

Lazy River Software™ - http://www.lazyriversoftware.com

Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html

Meeting Wear™ - http://www.cafepress.com/meetingwear

Semantic Compaction Systems - http://www.minspeak.com

SCIconics, LLC - http://www.sciconics.com/sciindex.html







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


Re: Front Row/Remote

2006-04-22 Thread Chris Carroll-Davis

Tom -

Good suggestion - I rushed off to try.  But unfortunately no joy.   
Front Row is a very non-standard app and doesn't seem to be at all  
scriptable. Blast.


I am expecting to be beaten by this one!

C



On 22 Apr 2006, at 15:33, Thomas McGrath III wrote:


Chris,

If you approach this from the software side you might have better  
luck. Open up Applescript editor and see about the Dictionary for  
Front Row. I don't have Front Row so I can't tell what features are  
available for third party apps via AS.


Then if there are messages for FR from within AS then you can  
arrange them and control them from within Rev.



HTH - Let us know,

Tom

On Apr 22, 2006, at 10:13 AM, Chris Carroll-Davis wrote:


Hello all -

Anyone have any suggestions on how I might be able to intercept  
input from the Apple remote control?


I have to say I am mightily unimpressed with Front Row.  After you  
get past the initial wow factor of the whizz-bang carousel effect,  
the rest of the interface (i think) is very limited.  E.g. to  
select shared music is a couple of presses down, even though that  
is all I *ever* want to do (I have no music stored locally on the  
MiniMac).  Then when I do get to choose a track, I am stuck with  
the track name/artist in enormous white lettering. Yuk.


Front Row might be fine to cover general use for most users, but I  
(having access to Rev's abilities) could do much better for my own  
*personal* set up.  E.g. I could (and have) use Rev to do custom  
still/video slideshow or make internet radio interface - but I  
wish I could hijack the remote control!!!


I have tried switching on the message watcher and pressing buttons  
on the remote in the hope that it might trigger something (e.g.  
rawkeydown) but nada.


Any ideas?


Chris


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

http://lists.runrev.com/mailman/listinfo/use-revolution


Thomas J McGrath III
[EMAIL PROTECTED]

Lazy River Software™ - http://www.lazyriversoftware.com

Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html

Meeting Wear™ - http://www.cafepress.com/meetingwear

Semantic Compaction Systems - http://www.minspeak.com

SCIconics, LLC - http://www.sciconics.com/sciindex.html







___
use-revolution mailing list
use-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: Copy/Cut/Paste Edit Menu Questions?

2006-04-22 Thread J. Landman Gay

David Burgun wrote:

I should have asked the question differently! What I meant to say  was, 
in a menu handler, how can I tell which field is the current  field, and 
how can I enable/disable Edit Menu Items based on whether  a field is 
selected or not?


You almost had it: the selectedField.

If no field contains the insertion point, the selectedField returns 
empty. Otherwise you get a field reference.


--
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: Change Screen Resolution

2006-04-22 Thread William Griffin


On 04.22.06, at 924AM, Sarah wrote:


 FOr OS X, you can use the shell command
cscreen to change resolution.


cscreen does not seem to be a default shell command, there is no man  
page,

and Terminal returns command not found.

The utility to make it work can be found here
http://www.versiontracker.com/dyn/moreinfo/macosx/19753

But would require some installer magic to ship with any product.

Here's a tutorial on Applescript screen resolution changes using cscreen
http://www.macosxhints.com/article.php?story=20040908141042786


Mr Bill



___
use-revolution mailing list
use-revolution@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: Rev's spread to the "dark continents"

2006-04-22 Thread Rob Cozens

Hi Bob,

I am an advocate of life-long education, and I very much appreciate 
your "ignorance-reducing" commentaries on places and issues of which I 
lack direct experience.  Thank you.


One question off the main subject:

I don't want to program in Windows any more and I am waiting for a 
hopefully stable 2.7. version of Rev for Linux before I continue my 
programming.


What is the difference between programming RunRev on Windows, MacOSs, 
and Linux?  Visual rendering may be a little different; but if one 
programs exclusively in Revolution (ie: no externals or shell 
commands), the stack layout and scripts are identical.


So why wait?

Rob Cozens, Staff Conservator
Mendonoma Marine Life Conservancy

"True economic development is an increased quality of life,
 wherein people prosper not only in financial terms, but also in
 aesthetic and spiritual terms, sustained by natural beauty,
 wildlife, and healthy ecosystems."

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


Re: Front Row/Remote

2006-04-22 Thread Thomas McGrath III

Chris,

If you approach this from the software side you might have better  
luck. Open up Applescript editor and see about the Dictionary for  
Front Row. I don't have Front Row so I can't tell what features are  
available for third party apps via AS.


Then if there are messages for FR from within AS then you can arrange  
them and control them from within Rev.



HTH - Let us know,

Tom

On Apr 22, 2006, at 10:13 AM, Chris Carroll-Davis wrote:


Hello all -

Anyone have any suggestions on how I might be able to intercept  
input from the Apple remote control?


I have to say I am mightily unimpressed with Front Row.  After you  
get past the initial wow factor of the whizz-bang carousel effect,  
the rest of the interface (i think) is very limited.  E.g. to  
select shared music is a couple of presses down, even though that  
is all I *ever* want to do (I have no music stored locally on the  
MiniMac).  Then when I do get to choose a track, I am stuck with  
the track name/artist in enormous white lettering. Yuk.


Front Row might be fine to cover general use for most users, but I  
(having access to Rev's abilities) could do much better for my own  
*personal* set up.  E.g. I could (and have) use Rev to do custom  
still/video slideshow or make internet radio interface - but I wish  
I could hijack the remote control!!!


I have tried switching on the message watcher and pressing buttons  
on the remote in the hope that it might trigger something (e.g.  
rawkeydown) but nada.


Any ideas?


Chris


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

http://lists.runrev.com/mailman/listinfo/use-revolution


Thomas J McGrath III
[EMAIL PROTECTED]

Lazy River Software™ - http://www.lazyriversoftware.com

Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html

Meeting Wear™ - http://www.cafepress.com/meetingwear

Semantic Compaction Systems - http://www.minspeak.com

SCIconics, LLC - http://www.sciconics.com/sciindex.html







___
use-revolution mailing list
use-revolution@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: Rev's spread to the "dark continents"

2006-04-22 Thread Bob Warren

Bob Warren wrote:

>You could have said "roots" instead of "tentacles".

--
Yeah, you're right!
Thanks Bob!

Bob Warren

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


Front Row/Remote

2006-04-22 Thread Chris Carroll-Davis

Hello all -

Anyone have any suggestions on how I might be able to intercept input  
from the Apple remote control?


I have to say I am mightily unimpressed with Front Row.  After you  
get past the initial wow factor of the whizz-bang carousel effect,  
the rest of the interface (i think) is very limited.  E.g. to select  
shared music is a couple of presses down, even though that is all I  
*ever* want to do (I have no music stored locally on the MiniMac).   
Then when I do get to choose a track, I am stuck with the track name/ 
artist in enormous white lettering. Yuk.


Front Row might be fine to cover general use for most users, but I  
(having access to Rev's abilities) could do much better for my own  
*personal* set up.  E.g. I could (and have) use Rev to do custom  
still/video slideshow or make internet radio interface - but I wish I  
could hijack the remote control!!!


I have tried switching on the message watcher and pressing buttons on  
the remote in the hope that it might trigger something (e.g.  
rawkeydown) but nada.


Any ideas?


Chris


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


Re: Copy/Cut/Paste Edit Menu Questions?

2006-04-22 Thread Martin Baxter

David Burgun wrote:


On 21 Apr 2006, at 20:25, Garrett Hylltun wrote:


David Burgun wrote:

Hi,
I've noticed that the copy/cut/paste commands work automatically when 
you use the Command-Key short cuts, e.g. if you have an Text Field 
and you select the text within it, you can copy or paste into that 
field. This seems to work in the IDE and in the Standalone. My first 
question is how/where is this action handled? Can I stop this action 
happening on certain fields?


In the docs, check out

* copyKey message
* cutKey message
* pasteKey message

Example:

on cutKey
  cut
end cutKey



Thanks, I must have missed these somehow.

use the the following (using either IF statements or CASE statements) 
handler in the code for the menu object:


on menuPick varSelected
  if varSelected is "Cut" then
focus field "editfieldnamehere"
cut
  else if varSelected is "Copy" then
focus field "editfieldnamehere"
copy
  else if varSelected is "Paste" then
focus field "editfieldnamehere"
paste
  end if
end menuPick

> from the Edit Menu? And how can you disable/enable the edit menu items
> depending on which control has been selected?



I should have asked the question differently! What I meant to say was, 
in a menu handler, how can I tell which field is the current field, and 
how can I enable/disable Edit Menu Items based on whether a field is 
selected or not? Do I need to put an openField/closeField handler on 
each text field and then enable/disable there?


All the Best
Dave


Dave,

I use the focusedobject in my edit menus to determine whether the 
selected object is one of the objects where I want to allow copy/paste 
etc.. I have a list of allowed objects that I compare it to.


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


Re: Copy/Cut/Paste Edit Menu Questions?

2006-04-22 Thread David Burgun


On 21 Apr 2006, at 20:25, Garrett Hylltun wrote:


David Burgun wrote:

Hi,
I've noticed that the copy/cut/paste commands work automatically  
when you use the Command-Key short cuts, e.g. if you have an Text  
Field and you select the text within it, you can copy or paste  
into that field. This seems to work in the IDE and in the  
Standalone. My first question is how/where is this action handled?  
Can I stop this action happening on certain fields?


In the docs, check out

* copyKey message
* cutKey message
* pasteKey message

Example:

on cutKey
  cut
end cutKey



Thanks, I must have missed these somehow.

use the the following (using either IF statements or CASE  
statements) handler in the code for the menu object:


on menuPick varSelected
  if varSelected is "Cut" then
focus field "editfieldnamehere"
cut
  else if varSelected is "Copy" then
focus field "editfieldnamehere"
copy
  else if varSelected is "Paste" then
focus field "editfieldnamehere"
paste
  end if
end menuPick

> from the Edit Menu? And how can you disable/enable the edit menu  
items

> depending on which control has been selected?



I should have asked the question differently! What I meant to say  
was, in a menu handler, how can I tell which field is the current  
field, and how can I enable/disable Edit Menu Items based on whether  
a field is selected or not? Do I need to put an openField/closeField  
handler on each text field and then enable/disable there?


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


Changes to Rev Search Engine

2006-04-22 Thread Sarah Reichelt
Hi All,

I just changed all my web pages to PHP so if you have any bookmarked
or linked from your site, please change the link for any page from
.html to .php

The links in the Rev search engine will also be broken.

To change them, go to the Rev Docs and click "Search". In the new
search window that appears, click the "Web Database" button. Hold down
the mouse button to get a menu and make sure "Web Database" is the one
with the tick. If not, select it.

Type "sarah" in the search field and you will get a bunch of links,
but the ones starying with "Sarah_" are the ones that are now wrong.

Select the "Sarah_" links one by one and right click on the "Display"
button at the bottom to get a popup menu.  Choose "Delete..." and
delete each of these links.

Right-click on the "Display" button again and choose "Add Web
Reference...". Enter the data for the following four links:
   Sarah_Libs 
   Sarah_Misc 
   Sarah_Plugins 
   Sarah_Tutorials 

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