Re: Linux - Check for Updates broken

2010-03-27 Thread Peter Alcibiades


Richard Gaskin wrote:
 
 
 I couldn't find an RQCC report for this so I just filed one:
 http://quality.runrev.com/qacenter/show_bug.cgi?id=8707
 
 
Its pretty obvious that the overall Linux situation, including this, has to
be the result of policy, so there is probably no point filing Linux bug
reports.  However, prove me wrong.  When this works, and when the fabled
media player comes out, and printing gets fixed in 4.5, I'll apologize in
ALL CAPS.  Promise.

Peter
-- 
View this message in context: 
http://n4.nabble.com/Linux-Check-for-Updates-broken-tp1690474p1693178.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [ANN] Colorize and link while you type in tRev

2010-03-27 Thread Marcio Alexandroni
Hi Jerry,

Great implementation Jerry, it really helps a lot coding with tRev! And
thanks for accepting the suggestion, I really need to say you are fast, I
wrote you asking if you had plans for this feature about 10 days ago and
it's ready!

Cheers!

Marcio Alexandroni
www.cialogica.com.br
 ( (11) 9989-8316
  marcioalexandroni
-- 



 From: Jerry Daniels jerry.dani...@me.com
 Reply-To: How to use Revolution use-revolution@lists.runrev.com
 Date: Fri, 26 Mar 2010 18:25:44 -0500
 To: How to Use Revolution use-revolution@lists.runrev.com
 Subject: [ANN] Colorize and link while you type in tRev
 
 Script and object editor aficionados,
 
 We have added real time colorization and handler linking to tRev this
 week. Check out the video:
 
 http://reveditor.com/colorize-while-you-type
 
 New colorize preference:
 - Colorize smoothly while you type, delete or backspace
+ also creates handler links while you type
+ quoted strings without ending quote are colored red
+ left parens without matching right parens are colored red
+ after fetching object name for code during transparent
 inspection, string is colorized
 - Pasting into source field now colorizes pasted text
 - Comments colorized after commenting and uncommenting
 - Side effect: no insertion point lag while typing
 
 Enhanced auto-completion:
 - Auto-completion (clairvoyance) now faster, smoother (less screen
 blink)
 - This occurs in real time on keyDown rather than on the rebound
 during keyUp
 - Works with or without Colorize While Typing
 
 Enhanced commenting:
 - If the last line of a selection has no words in it, it will not be
 commented/uncommented
 - This is my favorite enhancement...been waiting for this for years
 
 Fixes:
 - Commenting entire handler no longer removes empty line after handler
 - Quiting tRev with a dirty tab no longer asks twice if it's ok
 - Stacks updating in browser more dependably
 
 Best,
 
 Jerry Daniels
 
 Buy tRev during your 7 day free trial and get 20% off:
 http://reveditor.com/tag/shouldiswitch
 
 ___
 use-revolution mailing list
 use-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: scripting applescript menu-clicking questions

2010-03-27 Thread Bernard Devlin
Thanks Sarah.

I have a bug in my applescript that is hard to work out.  But it
certainly seems in the later versions that one can get e.g. Safari to
do things with no activate command and the action takes place in an
open Safari, without brining it to the front.  I'll have to keep on at
this to see if it is a workable solution.


Bernard

On Fri, Mar 26, 2010 at 12:03 AM, Sarah Reichelt
sarah.reich...@gmail.com wrote:
 I am pretty sure that you can do this without the activate line.

 Scripting menu selections is weird in AppleScript, but here is a good
 article about it:
 http://www.macosxhints.com/article.php?story=20060921045743404

 Don't forget to activate Enable access for assistive devices in the
 Universal Access system pref.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Property profiles

2010-03-27 Thread Mark Schonewille

Hi Sarah,

Just like you, I tried to use profiles, before they were broken for 2  
years. They seem to be fixed now, but profiles are too confusing for me.


Modifiying a property of an object causes the property profiles of  
that object to change to make sure that the object stays unchanged for  
each alternative profile. If you set the textFont of an object to bold  
in one profile, the other property profiles of that object are  
explicitly set to plain. I also remember having problems trying to  
make the changes in the profiles stick. This makes working with  
profiles very cumbersome. You never know what the changes in the other  
profiles will be, when you make a change in one of them.


Usually, I only need to change the font of controls, depending on  
platform. It is easy enough to do this by script. Colour adjustments  
for example, too, are easily made by script. You don't need to include  
a heavy profiles library for that. I expect you'll leave out a few  
bugs by using your own scripts instead of the profiles library. Just  
like the geometry manager, I consider the property profiles library  
one of the components that we'd better not use.


--
Best regards,

Mark Schonewille

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

Economy-x-Talk is always looking for new software development  
projects. Feel free to contact me for a quote.


Op 27 mrt 2010, om 05:50 heeft Sarah Reichelt het volgende geschreven:


Has anyone ever actually used profiles?

I haven't but I thought that I had a good use for them this time, so I
tried to set them up.
When I go to the profiles section of the inspector, I see a Master
profile listed in bold.
I created another 2 two profiles, planning to delete the Master later
 switch between my two,
So far so good, although when I made a profile in the Stack inspector,
I expected to see it appear in the other objects inspectors too, so
it's a bit of a bore if i have to create my profiles for every single
object in my stack.

But then I went to add a property to one of my profiles.It appeared to
work, but when I clicked on another profile, then back on my new one,
the property had gone.
This happened whether I had entered a value or not.

So are profiles broken? Or am I misunderstanding how to set them up?

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


Versions and revWeb

2010-03-27 Thread David Bovill
I'm wandering how the versions work between the Rev IDE and the RunRev
plugin - I am getting a warning that

The application was built for a newer version of the plugin than you have
installed.

The plugin version in 1.0 and i used 4.5 dp2 for the build - in general how
can I tell which plugin version is compatible with which engine build. I'm
going to try building with earlier versions... but which one should I go
back to?

Also, the update button does not work in the dialogue that the browser
throws - is this not implemented yet in 1.0?
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Linux - Check for Updates broken

2010-03-27 Thread Richmond Mathewson

 On 27/03/2010 10:10, Peter Alcibiades wrote:


Richard Gaskin wrote:


I couldn't find an RQCC report for this so I just filed one:
http://quality.runrev.com/qacenter/show_bug.cgi?id=8707




I can think of far more pressing concerns than 'only' the Update-thingy 
(unless,
of course, the effort of checking manually is just too much effort), 
such as . . .


Fonts . . .  :)


Its pretty obvious that the overall Linux situation, including this, has to
be the result of policy,


You may be being a little hard: it might be a good idea to reflect on the
on sins of omission versus sins of commission . . .

or, put it another way; when one's attention is focussed in one particular
area it is easy to overlook or neglect another.


so there is probably no point filing Linux bug
reports.  However, prove me wrong.  When this works, and when the fabled
media player comes out,


If one were really desperate for a media player I am sure that the good 
people

who made Stack-Runner would lob you a recipe to cobble one together for
Linux . . .  :)


and printing gets fixed in 4.5, I'll apologize in
ALL CAPS.  Promise.


Umm; can I joint in the Love-Fest too?


Peter


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


Re: Script for tagging email addresses

2010-03-27 Thread Andre Garzia
You should enquote the href string or you will be unable to parse it with a
XML library later, also your code will not be XHTML compliant.

On Sat, Mar 27, 2010 at 2:57 AM, Jim Ault jimaultw...@yahoo.com wrote:

 First, I think you have a typo...



 E-mail: a href=Mailto:wonder...@orcon.net.nzwonder...@orcon.net.nz
 /a¬

 is missing the closing ''

 E-mail: a href=Mailto:wonder...@orcon.net.nzwonder...@orcon.net.nz
 /a¬

 secondly, the href string does not have to be enclosed in quotes, so

 E-mail: a href=Mailto:wonder...@orcon.net.nzwonder...@orcon.net.nz/a¬
 would work.


 --- start code   
 -- assumes a masterList variable set to all lines
 --  1000 email addresses takes about 6 seconds on an older Mac

   put masterList into emailLinesOnly
   filter emailLinesOnly with *...@*
   set the itemDel to :

   repeat for each line LNN in emailLinesOnly
  put word 1 to -1 of item 2 of LNN  tab  0   cr after newLines
  --  the 0 is a placeholder
   end repeat
   filter newLines without empty
   split newLines using cr and tab
   --dups have now been removed
   --sequence does not matter
   put the keys of newLines into emailAddrList
   filter emailAddrList without empty
   set the itemdel to tab
   repeat for each line LNN in emailAddrList
  replace LNN with (a href=  LNNLNN  /a) in masterList
  --handles duplicate email addresses in one replace step
   end repeat

   put  masterList into msg

 --- end code   

 Jim Ault
 Las Vegas


 On Mar 26, 2010, at 8:40 PM, Sivakatirswami wrote:

  anyone have an efficient script for tagging email address with links?

 let's say I have a chunk of plain text made up of one or more of these:

 And we want to replace them with links


 Mr. Wonder Boy
 108 Webster Avenue
 1004  Mount Zena,
 NEW ZEALAND
 E-mail:  wonder...@orcon.net.nz ¬

 Mr. Wonder Boy
 108 Webster Avenue
 1004  Mount Zena,
 NEW ZEALAND
 E-mail:  wonder...@orcon.net.nz ¬

 becomes:

 Mr. Wonder Boy
 108 Webster Avenue
 1004  Mount Zena,
 NEW ZEALAND
 E-mail: a href=Mailto:wonder...@orcon.net.nzwonder...@orcon.net.nz
 /a¬

 Mr. Wonder Boy
 108 Webster Avenue
 1004  Mount Zena,
 NEW ZEALAND
 E-mail: a href=Mailto:wonder...@orcon.net.nzwonder...@orcon.net.nz
 /a¬

 I was hoping to avoid replacetext and regEx as it will make it slow.

 anyone have this already wired up?

 thanks!

 Sivakatirswami






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




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


Re: Script for tagging email addresses

2010-03-27 Thread Jim Ault

Thanks for the XHTML compliant tip, Andre.  Good to know.

Jim Ault
Las Vegas


On Mar 27, 2010, at 5:43 AM, Andre Garzia wrote:

You should enquote the href string or you will be unable to parse it  
with a

XML library later, also your code will not be XHTML compliant.

On Sat, Mar 27, 2010 at 2:57 AM, Jim Ault jimaultw...@yahoo.com  
wrote:



First, I think you have a typo...




E-mail: a  
href=Mailto:wonder...@orcon.net.nzwonder...@orcon.net.nz

/a¬


is missing the closing ''

E-mail: a  
href=Mailto:wonder...@orcon.net.nzwonder...@orcon.net.nz

/a¬

secondly, the href string does not have to be enclosed in quotes, so

E-mail: a  
href=Mailto:wonder...@orcon.net.nzwonder...@orcon.net.nz/a¬

would work.






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


Custom Control Design Tutorial

2010-03-27 Thread Len Morgan
Has anyone created a tutorial for creating and using a custom control?  
What I'd like to end up with is a custom control that I could copy onto 
a stack similar to Trevor's Data Grid.  As an example, I've been tasked 
with redesigning the GUI for a pipeline control system that comprises 
various tanks, pumps, valves, etc. and I'd like to just create one of 
each and be able to put multiple instances on a page (the system 
currently uses 6 HUGE monitors hung on the wall of the control room).


To the a water tank as an example, it needs the following:

It needs to look like a water tank (cylinder of varying hieght) with 
water in it that goes up and down to reflect the amount of water that 
is actually in the tank.


A number to show the current level (in feet) that is in the tank.
Some parameters like tank height, spill height, minimum level with an 
alarm if the level goes below it.

A visual indication that it is spilling or has gotten too low.

I created a little stack and I can do this graphically and I can set 
variables like currentTankLevel and have it change the number and the 
water level but it's not portable so I guess what I'm asking is if 
there is a tutorial that can tell me how to take this one-off widget 
I've created and turn it into a custom control/widget that I could copy 
on to a stack and then set up to make that instance unique?


I know it will probably need behavior scripts and such, and I'm pretty 
sure all the pieces to do this are laying around in the mail archives 
somewhere but I was hoping that there was some sort of a step by step guide.


Any pointers would be welcome.

len morgan

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


Re: [ANN] Colorize and link while you type in tRev

2010-03-27 Thread Jerry Daniels

Marcio,

Glad you like the feature!

tRev's live text coloring was challenging because it has to include  
links to handlers. I found a way to make it work using a combination  
of arrays and htmltext.


Best,

Jerry Daniels

Use tRev's buy link during your 7 day free trial to get 20% off:
http://reveditor.com/tag/shouldiswitch

On Mar 27, 2010, at 4:46 AM, Marcio Alexandroni wrote:


Hi Jerry,

Great implementation Jerry, it really helps a lot coding with tRev!  
And
thanks for accepting the suggestion, I really need to say you are  
fast, I
wrote you asking if you had plans for this feature about 10 days ago  
and

it's ready!

Cheers!

Marcio Alexandroni
www.cialogica.com.br
( (11) 9989-8316
 marcioalexandroni
--




From: Jerry Daniels jerry.dani...@me.com
Reply-To: How to use Revolution use-revolution@lists.runrev.com
Date: Fri, 26 Mar 2010 18:25:44 -0500
To: How to Use Revolution use-revolution@lists.runrev.com
Subject: [ANN] Colorize and link while you type in tRev

Script and object editor aficionados,

We have added real time colorization and handler linking to tRev this
week. Check out the video:

   http://reveditor.com/colorize-while-you-type

New colorize preference:
- Colorize smoothly while you type, delete or backspace
  + also creates handler links while you type
  + quoted strings without ending quote are colored red
  + left parens without matching right parens are colored red
  + after fetching object name for code during transparent
inspection, string is colorized
- Pasting into source field now colorizes pasted text
- Comments colorized after commenting and uncommenting
- Side effect: no insertion point lag while typing

Enhanced auto-completion:
- Auto-completion (clairvoyance) now faster, smoother (less screen
blink)
- This occurs in real time on keyDown rather than on the rebound
during keyUp
- Works with or without Colorize While Typing

Enhanced commenting:
- If the last line of a selection has no words in it, it will not be
commented/uncommented
- This is my favorite enhancement...been waiting for this for years

Fixes:
- Commenting entire handler no longer removes empty line after  
handler

- Quiting tRev with a dirty tab no longer asks twice if it's ok
- Stacks updating in browser more dependably

Best,

Jerry Daniels

Buy tRev during your 7 day free trial and get 20% off:
http://reveditor.com/tag/shouldiswitch

___
use-revolution mailing list
use-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: Custom Control Design Tutorial

2010-03-27 Thread Björnke von Gierke
I'm not sure what would make your object not be portable?

the main things to look out for are:

Changing the rectangle or location will of course change some movement 
dependant scripts. you need to look out for that if you do graphical stuff 
(like resizing a water level graphic for your tank). 

Use a group, and set its lockLoc to true. Generally It's easier to handle 
various objects that belong together if they're grouped.

Keep your scripts together.  Group all objects that belong to your custom 
object, and move all toplevel scripts into that group's script. 

Try to keep all custom properties in that group too, so that you have one place 
to go to for setting stuff and calling scripts.

To be able to identify the correct object when there's several on one card, I 
suggest to change the groups name to something unique.

Beyond that, there's really no additional measure to take, unless I 
misinterpreted your question.

On 27 Mar 2010, at 14:32, Len Morgan wrote:

 Has anyone created a tutorial for creating and using a custom control?  What 
 I'd like to end up with is a custom control that I could copy onto a stack 
 similar to Trevor's Data Grid.  As an example, I've been tasked with 
 redesigning the GUI for a pipeline control system that comprises various 
 tanks, pumps, valves, etc. and I'd like to just create one of each and be 
 able to put multiple instances on a page (the system currently uses 6 HUGE 
 monitors hung on the wall of the control room).
 
 To the a water tank as an example, it needs the following:
 
 It needs to look like a water tank (cylinder of varying hieght) with water 
 in it that goes up and down to reflect the amount of water that is actually 
 in the tank.
 
 A number to show the current level (in feet) that is in the tank.
 Some parameters like tank height, spill height, minimum level with an alarm 
 if the level goes below it.
 A visual indication that it is spilling or has gotten too low.
 
 I created a little stack and I can do this graphically and I can set 
 variables like currentTankLevel and have it change the number and the water 
 level but it's not portable so I guess what I'm asking is if there is a 
 tutorial that can tell me how to take this one-off widget I've created and 
 turn it into a custom control/widget that I could copy on to a stack and then 
 set up to make that instance unique?
 
 I know it will probably need behavior scripts and such, and I'm pretty sure 
 all the pieces to do this are laying around in the mail archives somewhere 
 but I was hoping that there was some sort of a step by step guide.
 
 Any pointers would be welcome.
 
 len morgan



-- 

official ChatRev page:
http://bjoernke.com?target=chatrev

Chat with other RunRev developers:
go stack URL http://bjoernke.com/chatrev/chatrev1.3b3.rev;

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


Re: Custom Control Design Tutorial

2010-03-27 Thread Len Morgan
Maybe *I'm* the one that's misinterpreted the question! :-)  I think 
what you're telling me is that I'm over engineering the problem and that 
all I'm really after is a self-contained group that has all of the 
functions I'd need to manipulate the tank which I would then copy (or 
clone?) as many times as I needed to get the required number of tanks.  
I guess in the end, a Data Grid is nothing more than a group.


This actually brings up another question though: There are some cases of 
tanks in the current system that display the feet of water in the tank 
next to the tank, and some where the number is shown IN the tank.  If we 
temporarily ignore how I'd let the user move around the component parts 
of a tank (assuming I'd let them), what are the locations of the 
components in the group (i.e., oval and rectangle for water graphic, 
text box for numeric level, etc) telling me?  Are they the physical 
locations on the screen at that instant or are they (or can they be) 
relative to the location of the group as a whole?


len morgan

On 3/27/2010 9:18 AM, Björnke von Gierke wrote:

I'm not sure what would make your object not be portable?

the main things to look out for are:

Changing the rectangle or location will of course change some movement 
dependant scripts. you need to look out for that if you do graphical stuff 
(like resizing a water level graphic for your tank).

Use a group, and set its lockLoc to true. Generally It's easier to handle 
various objects that belong together if they're grouped.

Keep your scripts together.  Group all objects that belong to your custom object, and 
move all toplevel scripts into that group's script.

Try to keep all custom properties in that group too, so that you have one place 
to go to for setting stuff and calling scripts.

To be able to identify the correct object when there's several on one card, I 
suggest to change the groups name to something unique.

Beyond that, there's really no additional measure to take, unless I 
misinterpreted your question.

On 27 Mar 2010, at 14:32, Len Morgan wrote:

   

Has anyone created a tutorial for creating and using a custom control?  What I'd like to 
end up with is a custom control that I could copy onto a stack similar to Trevor's Data 
Grid.  As an example, I've been tasked with redesigning the GUI for a pipeline control 
system that comprises various tanks, pumps, valves, etc. and I'd like to just create one 
of each and be able to put multiple instances on a page (the system currently 
uses 6 HUGE monitors hung on the wall of the control room).

To the a water tank as an example, it needs the following:

It needs to look like a water tank (cylinder of varying hieght) with water in 
it that goes up and down to reflect the amount of water that is actually in the tank.

A number to show the current level (in feet) that is in the tank.
Some parameters like tank height, spill height, minimum level with an alarm if 
the level goes below it.
A visual indication that it is spilling or has gotten too low.

I created a little stack and I can do this graphically and I can set variables like currentTankLevel and have 
it change the number and the water level but it's not portable so I guess what I'm 
asking is if there is a tutorial that can tell me how to take this one-off widget I've created and turn it 
into a custom control/widget that I could copy on to a stack and then set up to make that 
instance unique?

I know it will probably need behavior scripts and such, and I'm pretty sure all 
the pieces to do this are laying around in the mail archives somewhere but I 
was hoping that there was some sort of a step by step guide.

Any pointers would be welcome.

len morgan
 



   


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


Fwd: Re: Linux - Check for Updates broken

2010-03-27 Thread Richmond Mathewson

 Hey, here we go again; replying to my own posting . . . :)


so there is probably no point filing Linux bug
reports.  However, prove me wrong.  When this works, and when the fabled
media player comes out,


If one were really desperate for a media player I am sure that the good 
people

who made Stack-Runner would lob you a recipe to cobble one together for
Linux . . .  :)

Just downloaded the Linux version of StackRunner and it worked a charm; so
any grumbling about a lack of a Media player is redundant! The only
'grunt' is that it doesn't sport a slinky icon - which is negligible.

See, you lovely people at RunRev; not always negative - I have just 
saved you

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


Re: Custom Control Design Tutorial

2010-03-27 Thread Scott Rossi
Recently, Len Morgan wrote:

 This actually brings up another question though: There are some cases of
 tanks in the current system that display the feet of water in the tank
 next to the tank, and some where the number is shown IN the tank.  If we
 temporarily ignore how I'd let the user move around the component parts
 of a tank (assuming I'd let them), what are the locations of the
 components in the group (i.e., oval and rectangle for water graphic,
 text box for numeric level, etc) telling me?  Are they the physical
 locations on the screen at that instant or are they (or can they be)
 relative to the location of the group as a whole?

If I understand your question, locations are always relative to the card.
But you can use the dimensions/locations of elements in the group as
reference points.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design


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


dragging a stack around

2010-03-27 Thread Mark Swindell
How would one drag an entire window/stack around (for example, if the title bar 
becomes obstructed)?  If I hold my mouse down over an empty piece of real 
estate I'd like to be able to drag the whole window from there, just as if I 
were dragging from the title bar.

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


Re: dragging a stack around

2010-03-27 Thread Colin Holgate
There may be a neater way to do it, but this works (as a stack script):

global startclickloc

on mousedown
   put the loc of this stack into startloc
   put the clickloc into startclickloc
   send checkloc to this card in 5
end mousedown

on checkloc
   if the mouse is up then exit checkloc
   put item 1 of the loc of this stack - item 1 of startclickloc + the mouseh,  
item 2 of the loc of this stack - item 2 of startclickloc + the mousev into 
newloc
   set the loc of this stack to newloc
   send checkloc to this card in 5   
end checkloc

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


Re: dragging a stack around

2010-03-27 Thread Marty Knapp

Here's a script from Scott Rossi's WindowLab example stack:
(put it in the stack scripts)

local allowDrag

on mouseDown
  put mouseH()  ,  mouseV() into allowDrag
end mouseDown

on mouseMove x,y
 if allowDrag is empty then exit mouseMove
 set topLeft of this stack to globalLoc(x-item 1 of allowDrag  ,  
y-item 2 of allowDrag)

end mouseMove

on mouseUp
 put empty into allowDrag
end mouseUp

on mouseRelease
 mouseUp
end mouseRelease


-Marty Knapp

How would one drag an entire window/stack around (for example, if the title bar 
becomes obstructed)?  If I hold my mouse down over an empty piece of real 
estate I'd like to be able to drag the whole window from there, just as if I 
were dragging from the title bar.

Thanks
Mark___
use-revolution mailing list
use-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: dragging a stack around

2010-03-27 Thread Scott Rossi
Recently, Marty Knapp wrote:

 Here's a script from Scott Rossi's WindowLab example stack:

The above was an old script -- one other handler (mouseEnter) should be
added, just in case the routine ever gets stuck.  I place the following in
the script of the first card (watch line wrap):

local allowDrag

on mouseEnter
  put  into allowDrag
end mouseEnter

on mouseDown
  put mouseLoc() into allowDrag
end mouseDown

on mouseMove X,Y
  if allowDrag =  then exit mouseMove
  set topLeft of this stack to globalLoc(X - item 1 of allowDrag  ,  Y -
item 2 of allowDrag)
end mouseMove

on mouseUp
  put  into allowDrag
end mouseUp

on mouseRelease
  mouseUp
end mouseRelease



Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design


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


Re: Custom Control Design Tutorial

2010-03-27 Thread Len Morgan
That's what I was afraid of, but then, I should only have to figure it 
out once.


len


On 3/27/2010 12:42 PM, Scott Rossi wrote:

Recently, Len Morgan wrote:

   

This actually brings up another question though: There are some cases of
tanks in the current system that display the feet of water in the tank
next to the tank, and some where the number is shown IN the tank.  If we
temporarily ignore how I'd let the user move around the component parts
of a tank (assuming I'd let them), what are the locations of the
components in the group (i.e., oval and rectangle for water graphic,
text box for numeric level, etc) telling me?  Are they the physical
locations on the screen at that instant or are they (or can they be)
relative to the location of the group as a whole?
 

If I understand your question, locations are always relative to the card.
But you can use the dimensions/locations of elements in the group as
reference points.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design


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


   


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


Re: dragging a stack around

2010-03-27 Thread Colin Holgate
Both scripts do essentially the same thing, though I like my one more! One 
interesting thing, I did first try typing on mouseMove, but that doesn't get 
colorized, making me think it didn't exist as an event. But then again, 
mouseDown doesn't get colorized either.


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


Re: Script for tagging email addresses

2010-03-27 Thread Web Admin Himalayan Academy

Aloha, Jim:

Brilliant, thank you.

Yes, Andre is right, one wants definitely wants href values otherwise it 
can bite you later.


repeat for each line LNN in emailAddrList
  put format (a href=\ LNN \  LNN  /a) into LNNLinked
  replace LNN with LNNLinked in masterList

works...




IOn 3/26/10 7:57 PM, Jim Ault wrote:

--- start code   
-- assumes a masterList variable set to all lines
--  1000 email addresses takes about 6 seconds on an older Mac

   put masterList into emailLinesOnly
   filter emailLinesOnly with *...@*
   set the itemDel to :

   repeat for each line LNN in emailLinesOnly
  put word 1 to -1 of item 2 of LNN  tab  0  cr after newLines
  --  the 0 is a placeholder
   end repeat
   filter newLines without empty
   split newLines using cr and tab
   --dups have now been removed
   --sequence does not matter
   put the keys of newLines into emailAddrList
   filter emailAddrList without empty
   set the itemdel to tab
   repeat for each line LNN in emailAddrList
  replace LNN with (a href=  LNNLNN  /a) in 
masterList

  --handles duplicate email addresses in one replace step
   end repeat

   put  masterList into msg

--- end code   

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: Fwd: Re: Linux - Check for Updates broken

2010-03-27 Thread Peter Alcibiades

The issue is, either deliver, or remove the placeholder saying its coming
shortly.  Don't leave it there for years when there's no sign of any
intention to deliver it.  Far more important than whether the thing is
delivered or not.  Its sending a message, but its sending it in a completely
cack-handed way, one that damages the company's reputation far more than
simply saying, we don't intend doing this or that because we are not doing
these things for Linux.  We don't want to.  For whatever reason.  Maybe
quite legitimate, who knows?

You can get away with that.  What you can't get away with is the pretence
you are going to do it, followed by not doing it.  Its just a stupid way to
behave.

I spent this afternoon trying to get the thing to print in Linux, realizing
once again that its time to dig out the Awk book if I want to get it done
this month   Same thing, just tell me you are not going to do it.  Or do
it.  Whichever.
-- 
View this message in context: 
http://n4.nabble.com/Fwd-Re-Linux-Check-for-Updates-broken-tp1693492p1693813.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


how to run.bat file in rev

2010-03-27 Thread Shani
hay,

all rev expert,

Q1) how to run.bat file in runrev revolution.

Q3) how to run this as run it from command prompt but i want to run it from
Runrev.C:\jadejava jade.Boot
buyer:BookBuyerAgent(The-Lord-of-the-rings)
http://www.cs.uu.nl/docs/vakken/mas/JADEProgramming-Tutorial-for-beginners.pdf


Q2) Rev Talk have how many built in function for socket programming



If anyone has any help for me that would be great.
Regards,
shani
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RevServer to JAVA client

2010-03-27 Thread Shani
hay all,

is this program is correct for Rev Server.
is it communicate with java.

what i change in rev
or java

Revserver coding
#
on revServer c
   ##Opening socket with Java Cleint on port 6800
   open socket(java Client  :  (6800)) with message Server Started
   ## for reading the message from Socket just show that connectivity is
establish
   read from socket (Client) with the message  client says connected with
me from server  and it is Read from Client
 ##write to socket show that it can write on client
write field I am Rev Server  to socket
close socket (java Client  :  (6800)) with message connection close
end revServer
##

JAVA client

import java.io.DataOutputStream;
import java.io.IOException;
import java.net.Socket;

public class Cleint {
public static void main (String[] args) throws IOException {
Socket client= new Socket(localhost,6800);
System.out.println(Connected to server);
DataOutputStream out = new DataOutputStream(client.getOutputStream());
out.writeUTF (AllowServer);


}

}

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