Re: Bullet Application Script?

2010-07-29 Thread Chipp Walters
Yes, you seem to be on your own :-) I did create a bunch of code to generate
the HTML for bullet points based on tabs, but I think it's different than
what you're talking about.

BTW, do you know if you can set the alphaimage of a new image to an existing
RGB image without having to do the math (which I already have).

hahaha-- turned your question into one of my own. I guess I've been spending
too much time in CA lately ?

On Fri, Jul 30, 2010 at 12:18 AM, Scott Rossi wrote:

> Does anyone have a routine for applying bullets to a block of text?
>
> I writing a script that can apply and remove bullet characters from a block
> of text and it occurred to me that maybe I'm reinventing the wheel here and
> somebody has already built something like this.
>
> Thanks in advance to anyone who is willing to share.
>
> Best 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
>



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


Bullet Application Script?

2010-07-29 Thread Scott Rossi
Does anyone have a routine for applying bullets to a block of text?

I writing a script that can apply and remove bullet characters from a block
of text and it occurred to me that maybe I'm reinventing the wheel here and
somebody has already built something like this.

Thanks in advance to anyone who is willing to share.

Best 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: File lists

2010-07-29 Thread Bob Cole
I was intrigued by the File Lists discussion so I spent some time on playing 
with AppleScript.
I uploaded a stack to RevOnLine that demonstrates how to use AppleScript to 
access lots of information about a file.
Take a look for:  "AppleScript File Info"
Hope this may be useful,
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: Restore Windows Start Button?

2010-07-29 Thread Neal Campbell
Try googling it. I think there are utilities that can restore the lost Start
Orb. Try www.thewindowsclub.com, I think they have one.

Neal Campbell
Abroham Neal Software
www.abrohamnealsoftware.com
(540) 645 5394 NEW PHONE NUMBER

Amateur Radio: K3NC
Blog: http://www.abrohamnealsoftware.com/blog/
DXBase bug reports: email to ca...@dxbase.fogbugz.com
Abroham Neal forums: http:/www.abrohamnealsoftware.com/community/





On Thu, Jul 29, 2010 at 6:55 PM, Mike Bonner  wrote:

> Probably not the answer you're looking for, but I believe "the
> fullscreen" doesn't hide the taskbar, it just lays the stack over the
> top of everything corner to corner.  I've done similar in the past to
> switch a browser stack in and out of pseudo fullscreen mode.  Have an
> empty stack that gets fullscreened, then put the browserstack on top
> of it, as well as any other stacks.
>
> Since revbrowser apparently can't switch window id on the fly, and
> fullscreening changes the windowid, this gets around the problem.
> fullscreen the empty stack, pop the main stack back up and set its
> rect to whatever you want it to be.  The main windows can also be
> pallettes so they're always on top of the stack you are going to
> fullscreen.  (And I think setting the raisewindows to true works on
> windows in addition to osx right?)
>
> Kinda a pain in the tookus to get it all working together nicely, but
> last time I did it, it ended up working pretty well.
>
> On Thu, Jul 29, 2010 at 4:30 PM, Scott Rossi 
> wrote:
> > Recently, Bob Sneidar wrote:
> >
> >>  There is another option: Round up the developers of Vista and
> >> publicly flog them with wet brooms soaked in tuna fish oil.
> >>
> >> Does anyone seriously think that Microsoft uses their own software? I
> will bet
> >> good money that the developers at Microsoft do not *actually* use their
> own
> >> operating system. If they did, they would not put up with a tenth of the
> weird
> >> bugs we deal with every day.
> >>
> >> If anyone knows for certain that I am wrong I sure would like to know.
> >> 
> >
> > I'm not convinced this is solely a Vista problem.  It's more likely a Rev
> +
> > Vista problem since weren't able to reproduce the problem with, for
> example,
> > PowerPoint which can also hide the taskbar.  And in my tests, the Start
> > button remains intact on XP.
> >
> > 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
>
___
use-revolution mailing list
use-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: Restore Windows Start Button?

2010-07-29 Thread Mike Bonner
Probably not the answer you're looking for, but I believe "the
fullscreen" doesn't hide the taskbar, it just lays the stack over the
top of everything corner to corner.  I've done similar in the past to
switch a browser stack in and out of pseudo fullscreen mode.  Have an
empty stack that gets fullscreened, then put the browserstack on top
of it, as well as any other stacks.

Since revbrowser apparently can't switch window id on the fly, and
fullscreening changes the windowid, this gets around the problem.
fullscreen the empty stack, pop the main stack back up and set its
rect to whatever you want it to be.  The main windows can also be
pallettes so they're always on top of the stack you are going to
fullscreen.  (And I think setting the raisewindows to true works on
windows in addition to osx right?)

Kinda a pain in the tookus to get it all working together nicely, but
last time I did it, it ended up working pretty well.

On Thu, Jul 29, 2010 at 4:30 PM, Scott Rossi  wrote:
> Recently, Bob Sneidar wrote:
>
>>  There is another option: Round up the developers of Vista and
>> publicly flog them with wet brooms soaked in tuna fish oil.
>>
>> Does anyone seriously think that Microsoft uses their own software? I will 
>> bet
>> good money that the developers at Microsoft do not *actually* use their own
>> operating system. If they did, they would not put up with a tenth of the 
>> weird
>> bugs we deal with every day.
>>
>> If anyone knows for certain that I am wrong I sure would like to know.
>> 
>
> I'm not convinced this is solely a Vista problem.  It's more likely a Rev +
> Vista problem since weren't able to reproduce the problem with, for example,
> PowerPoint which can also hide the taskbar.  And in my tests, the Start
> button remains intact on XP.
>
> 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: Restore Windows Start Button?

2010-07-29 Thread Bob Sneidar
Aye, but it only happens in Vista and not in Windows XP. So obviously they are 
doing something different. I'd be curious to see if it happens in Windows 7 as 
well, and with different graphics cards etc. Unfortunately I have neither 
Windows 7 nor Vista at this point. The whole device driver signing thing scared 
me away. 

Bob


On Jul 29, 2010, at 3:30 PM, Scott Rossi wrote:

> Recently, Bob Sneidar wrote:
> 
>>  There is another option: Round up the developers of Vista and
>> publicly flog them with wet brooms soaked in tuna fish oil.
>> 
>> Does anyone seriously think that Microsoft uses their own software? I will 
>> bet
>> good money that the developers at Microsoft do not *actually* use their own
>> operating system. If they did, they would not put up with a tenth of the 
>> weird
>> bugs we deal with every day.
>> 
>> If anyone knows for certain that I am wrong I sure would like to know.
>> 
> 
> I'm not convinced this is solely a Vista problem.  It's more likely a Rev +
> Vista problem since weren't able to reproduce the problem with, for example,
> PowerPoint which can also hide the taskbar.  And in my tests, the Start
> button remains intact on XP.
> 
> 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: Restore Windows Start Button?

2010-07-29 Thread Scott Rossi
Recently, Bob Sneidar wrote:

>  There is another option: Round up the developers of Vista and
> publicly flog them with wet brooms soaked in tuna fish oil.
> 
> Does anyone seriously think that Microsoft uses their own software? I will bet
> good money that the developers at Microsoft do not *actually* use their own
> operating system. If they did, they would not put up with a tenth of the weird
> bugs we deal with every day.
> 
> If anyone knows for certain that I am wrong I sure would like to know.
> 

I'm not convinced this is solely a Vista problem.  It's more likely a Rev +
Vista problem since weren't able to reproduce the problem with, for example,
PowerPoint which can also hide the taskbar.  And in my tests, the Start
button remains intact on XP.

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: Restore Windows Start Button?

2010-07-29 Thread Scott Rossi
Recently, Andre Garzia wrote:

>> Anyone have another suggestion to restore the Start button?
> 
> Make a almost transparent tiny stack with no decorations, float it over the
> start button, it should force windows GUI subsystem to repaint that thing
> right? (not tested)

Thanks for the suggestion but stacks positioned around taskbar don't appear
to force any refresh (even tried a systemWindow stack).

Guess I'll use brute force mouse repositioning. I have the interval set at
10 millisecs and it seems pretty unnoticeable.  Lame, but FWIW:

command restoreVistaStartButton
   put screenRect() into tRect
   put item 1 of tRect + 20,item 4 of tRect - 20 into tLoc
   put the screenMouseLoc into origLoc
   set the screenMouseLoc to tLoc
   wait 10 millisecs with messages
   set the screenMouseLoc to origLoc
end restoreVistaStartButton

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: Restore Windows Start Button?

2010-07-29 Thread Bob Sneidar
 There is another option: Round up the developers of Vista and 
publicly flog them with wet brooms soaked in tuna fish oil. 

Does anyone seriously think that Microsoft uses their own software? I will bet 
good money that the developers at Microsoft do not *actually* use their own 
operating system. If they did, they would not put up with a tenth of the weird 
bugs we deal with every day. 

If anyone knows for certain that I am wrong I sure would like to know. 


Bob


On Jul 29, 2010, at 2:38 PM, Scott Rossi wrote:

> I had a client recently point out that upon restoring the Vista taskbar
> after a Rev slideshow, the Start button is invisible.  Mousing over the
> region where the button is supposed to be brings it back, but this is
> nonetheless bad behavior.  Try this (msg box):
> hide taskbar
> show taskbar
> 
> The Start button should now be invisible (XP seems unaffected).
> 
> The only workaround I can think of is physically moving the mouse to the
> bottom left of the screen and then moving it back to the starting position
> but this is quite clumsy.
> 
> Anyone have another suggestion to restore the Start button?
> 
> Thanks & 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: Restore Windows Start Button?

2010-07-29 Thread Andre Garzia
Scott,

Make a almost transparent tiny stack with no decorations, float it over the
start button, it should force windows GUI subsystem to repaint that thing
right? (not tested)

Andre

On Thu, Jul 29, 2010 at 6:38 PM, Scott Rossi  wrote:

> I had a client recently point out that upon restoring the Vista taskbar
> after a Rev slideshow, the Start button is invisible.  Mousing over the
> region where the button is supposed to be brings it back, but this is
> nonetheless bad behavior.  Try this (msg box):
>  hide taskbar
>  show taskbar
>
> The Start button should now be invisible (XP seems unaffected).
>
> The only workaround I can think of is physically moving the mouse to the
> bottom left of the screen and then moving it back to the starting position
> but this is quite clumsy.
>
> Anyone have another suggestion to restore the Start button?
>
> Thanks & 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
>



-- 
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: [RevServer + Rev on Linux] Checking if you have the needed libraries

2010-07-29 Thread Andre Garzia
Peter,

my tip will not solve all rev problems, not even the majority but it will
make rev run when it is not running, most users have trouble starting the
software, specially server related software, this will help them. As for the
other linux problems they will be sorted on time...

Andre

On Thu, Jul 29, 2010 at 6:19 PM, Peter Alcibiades <
palcibiades-fi...@yahoo.co.uk> wrote:

>
> OK, I'm corrected.  But still, is there any evidence that cut and paste
> problems in the editor, inability to handle fonts properly, issues with
> printing, mutliple desktop issues, any evidence any of them are due to
> library or dependency compatibility issues?
>
> Maybe they are - in that case lets have a list.  The problem at the moment
> is that in the desktop version of Rev for Linux (I accept that the server
> issues are different) you can follow Andre's instructions, satisfy yourself
> you have no dependency problems, and then still not be able to print or use
> fonts properly.
>
> I am delinquent on hacking away at Slackware.  Life and age.  My goodness,
> how we slow down as we age.  Get ready for it folks, it will not be fun.
> --
> View this message in context:
> http://runtime-revolution.278305.n4.nabble.com/RevServer-Rev-on-Linux-Checking-if-you-have-the-needed-libraries-tp2305194p2307229.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
>



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


Restore Windows Start Button?

2010-07-29 Thread Scott Rossi
I had a client recently point out that upon restoring the Vista taskbar
after a Rev slideshow, the Start button is invisible.  Mousing over the
region where the button is supposed to be brings it back, but this is
nonetheless bad behavior.  Try this (msg box):
 hide taskbar
 show taskbar

The Start button should now be invisible (XP seems unaffected).

The only workaround I can think of is physically moving the mouse to the
bottom left of the screen and then moving it back to the starting position
but this is quite clumsy.

Anyone have another suggestion to restore the Start button?

Thanks & 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: [RevServer + Rev on Linux] Checking if you have the needed libraries

2010-07-29 Thread Peter Alcibiades

OK, I'm corrected.  But still, is there any evidence that cut and paste
problems in the editor, inability to handle fonts properly, issues with
printing, mutliple desktop issues, any evidence any of them are due to
library or dependency compatibility issues?  

Maybe they are - in that case lets have a list.  The problem at the moment
is that in the desktop version of Rev for Linux (I accept that the server
issues are different) you can follow Andre's instructions, satisfy yourself
you have no dependency problems, and then still not be able to print or use
fonts properly.

I am delinquent on hacking away at Slackware.  Life and age.  My goodness,
how we slow down as we age.  Get ready for it folks, it will not be fun.
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/RevServer-Rev-on-Linux-Checking-if-you-have-the-needed-libraries-tp2305194p2307229.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: Rev Create XML Tree

2010-07-29 Thread Ben Rubinstein

On 28/07/2010 18:49, J. Landman Gay wrote:

On 7/28/10 11:33 AM, Mark Wieder wrote:


...and for my two cents' worth, it's hard to think of using the terms
"xml" and "performance" in the same thought...



Yeah. And it's hard to work with in all kinds of ways. I can't figure
out why it's become the de facto standard for so many things. Surely
there's a better way.


I think the three of us must be old!  I used to sniff at XML too: not only the 
performance implications of parsing it, but also the appalling verbosity as a 
format.


But, pardoning me for pointing out (and apologies in advance if it's just me) 
we're... ol^H^H experienced; we've grown up when every byte and cpu cycle was 
precious and it was worth hours or days to save a few.  Now we're conserving 
the wrong things: because CPUs are incredibly fast, and RAM is vast, and 
drives are huge, and the cloud is inexhaustible... and the resource that is 
really scarce now is developer time.  XML saves a great deal of that, and the 
cost in performance and compactness is a small price to pay.


The advent of smartphones made me think for the first time in years that at 
last my rusty old reactions, that my young colleagues sneer at, had a value 
again - but it turns out that even these tiny things have such performance and 
capacity that I'm wrong, yet again.


yrs aye,

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


Re: getting the selected language

2010-07-29 Thread Jim Sims

On Jul 29, 2010, at 8:38 PM, Scott Rossi wrote:
> 
> Jim, you can try the "language specs" stack on my site that retrieves
> language info for Mac/Win systems:
> 
> 
> 
> I haven't tested on Win7, but assuming Win7 is a lot like Vista it should
> work.

Nice, thanks. Thanks for testing on Win7 Damien.


sims





___
use-revolution mailing list
use-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: getting the selected language

2010-07-29 Thread Damien Girard

It works on Win7 Scott.

But my code works also for Win NT 4.0, Win 95-98 and Linux :D (did not tried
your on Win98, seriously who still use it ?? lol)

Regards,

Damien

-Message d'origine-
De : use-revolution-boun...@lists.runrev.com
[mailto:use-revolution-boun...@lists.runrev.com] De la part de Scott Rossi
Envoyé : jeudi 29 juillet 2010 20:39
À : Revolution Mail List
Objet : Re: getting the selected language


Recently, jim sims wrote:

> To get the selected language in OS X it seems that the following works
well:
> 
> put replaceText(shell("defaults read NSGlobalDomain
> AppleLanguages"),"(\s|\(|\))","") into theLanguagesList
> 
> 
> How does one get the same information on a Windows machine?


Jim, you can try the "language specs" stack on my site that retrieves
language info for Mac/Win systems:



I haven't tested on Win7, but assuming Win7 is a lot like Vista it should
work.

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: getting the selected language

2010-07-29 Thread Scott Rossi
Recently, jim sims wrote:

> To get the selected language in OS X it seems that the following works well:
> 
> put replaceText(shell("defaults read NSGlobalDomain
> AppleLanguages"),"(\s|\(|\))","") into theLanguagesList
> 
> 
> How does one get the same information on a Windows machine?


Jim, you can try the "language specs" stack on my site that retrieves
language info for Mac/Win systems:



I haven't tested on Win7, but assuming Win7 is a lot like Vista it should
work.

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: getting the selected language

2010-07-29 Thread Jim Sims

On Jul 29, 2010, at 8:16 PM, Damien Girard wrote:
> In NativeSpeak 1.x, I wrote (with the help of Trevor) that function:
> 
> function dptGetLang
>  -- Returns the language



Thanks Damien (also Mr. Slug), but is it really that hard to get it in Windows?

Jeeez. wow.


sims





___
use-revolution mailing list
use-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: getting the selected language

2010-07-29 Thread Damien Girard

Hi,

In NativeSpeak 1.x, I wrote (with the help of Trevor) that function:

function dptGetLang
  -- Returns the language of the session of the user.
  -- This function will read the operation system configuration and will
return the current language used by the user.
  local theItemNo,theLangCode,theLangStrings
  local theVersion,theWinLangCodes
  local theUserLang = "en"
  
  if the platform is "MacOS" then
put replacetext(shell("defaults read NSGlobalDomain
AppleLanguages"),"(\s|\(|\)|" & quote & ")","") into theLangStrings
put char 1 to 2 of theLangStrings into theUserLang
  else if the platform is "Win32" then
-- http://windowssdk.msdn.microsoft.com/en-us/library/aa365069.aspx
-- http://windowssdk.msdn.microsoft.com/en-us/library/ms776286.aspx
--
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/intl/mui_Ge
tUILanguageInfo.asp
-- http://support.microsoft.com/kb/181604

## FIRST CHECK FOR MUI INSTALLS
if queryregistry("HKEY_LOCAL_MACHINE\MUI\Enable") is 1 then
  put queryregistry("HKEY_CURRENT_USER\MUI\CurLang") into theLangCode
end if

if theLangCode is empty then
  put word 2 of the systemversion into theVersion
  
  if word 1 of the systemversion is "Windows" then# 95/98/ME
put queryregistry("HKEY_CURRENT_USER\Control
Panel\desktop\ResourceLocale") into theLangCode
  else if theVersion >= 4 and theVersion < 5 then# NT
put queryregistry("HKEY_USERS\.DEFAULT\Control
Panel\International\Locale") into theLangCode
## THIS COULD FAIL IN WHICH CASE YOU HAVE TO CHECK THE RESOURCES OF
SOME INSTALLED DLL.
## VERY SILLY.edit script the
  else# XP/Vista
put queryregistry("HKEY_CURRENT_USER\Control
Panel\International\Locale") into theLangCode
  end if
end if

put word 1 to -1 of theLangCode into theLangCode ## Vista bug in version
up to 2.9 rc-2: trailing white space

put baseconvert(theLangCode,16,10) into theLangCode

## THE ORDER OF THIS LIST MATCHES THE ORDER OF theLangCodes
put
"za,al,fr,et,dz,bh,eg,iq,jo,kw,lb,ly,ma,om,qa,sa,sy,tn,ae,ye,am,in,az,az,ru,
es,by,ba,ba,fr,bg,es,hk,mo,sg,fr,ba,hr,cz,dk,af,mv,be,nl,au,be,ca,in,ie,ie,j
m,my,nz,ph,sg,za,tt,gb,us,zw,ee,fo,ph,fi,be,ca,fr,lu,mc,ch,nl,es,ge,at,de,li
,lu,ch,gr,gl,in,ng,il,in,hu,is,ng,id,ca,ca,ie,it,ch,jp,in,kz,kh,gt,rw,in,kr,
kg,la,lv,lt,de,lu,mk,bn,my,in,mt,nz,cl,in,ca,mn,cn,np,no,no,fr,in,af,ir,pl,b
r,pt,pt,in,bo,ec,pe,ro,ch,ru,fi,no,se,fi,no,se,fi,no,se,in,ba,ba,cs,cs,za,za
,lk,sk,si,ar,bo,cl,co,cr,do,ec,sv,gt,hn,mx,ni,pa,py,pe,pr,es,uy,ve,ke,fi,se,
se,sy,tj,dz,in,ru,in,th,cn,tr,tm,cn,ua,de,pk,uz,uz,vn,gb,sn,za,ru,cn,ng,za"
into theLangStrings
put
"1078,1052,1156,1118,5121,15361,3073,2049,11265,13313,12289,4097,6145,8193,1
6385,1025,10241,7169,14337,9217,1067,1101,2092,1068,1133,1069,1059,8218,5146
,1150,1026,1027,3076,5124,4100,1155,4122,1050,1029,1030,1164,1125,2067,1043,
3081,10249,4105,16393,6153,6153,8201,17417,5129,13321,18441,7177,11273,2057,
1033,12297,1061,1080,1124,1035,2060,3084,1036,5132,6156,4108,1122,1110,1079,
3079,1031,5127,4103,2055,1032,1135,1095,1128,1037,1081,1038,1039,1136,1057,2
141,1117,2108,1040,2064,1041,1099,1087,1107,1158,1159,,1042,1088,1108,10
62,1063,2094,1134,1071,2110,1086,1100,1082,1153,1146,1102,1148,1104,2128,112
1,1044,2068,1154,1096,1123,1065,1045,1046,2070,2070,1094,1131,2155,3179,1048
,1047,1049,9275,4155,5179,3131,1083,2107,8251,6203,7227,1103,26,6170,3098,20
74,1132,1074,1115,1051,1060,11274,16394,13322,9226,5130,7178,12298,17418,410
6,18442,2058,19466,6154,15370,10250,20490,3082,14346,8202,1089,2077,1053,105
3,1114,1064,2143,1097,1092,1098,1054,1105,1055,1090,1152,1058,1070,1056,2115
,1091,1066,1106,1160,1076,1157,1144,1130,1077" into theWinLangCodes -->
INTEGER VALUES OF HEX VALUES FROM
--
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/intl/nls_61
df.asp

set wholematches to true
put itemoffset(theLangCode, theWinLangCodes) into theItemNo
if theItemNo > 0 then
  put item theItemNo of theLangStrings into theUserLang
end if
  else
## LINUX
return char 1 to 2 of $LANG -- Easy Unix.
  end if
  
  return theUserLang 
end dptGetLang


Best,

Damien Girard
NativeSoft, France.


-Message d'origine-
De : use-revolution-boun...@lists.runrev.com
[mailto:use-revolution-boun...@lists.runrev.com] De la part de jim sims
Envoyé : jeudi 29 juillet 2010 19:10
À : How to use Revolution
Objet : getting the selected language



To get the selected language in OS X it seems that the following works well:

put replaceText(shell("defaults read NSGlobalDomain
AppleLanguages"),"(\s|\(|\))","") into theLanguagesList


How does one get the same information on a Windows machine?

sims





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

Re: getting the selected language

2010-07-29 Thread zryip theSlug
On Thu, Jul 29, 2010 at 7:10 PM, jim sims  wrote:
>
> To get the selected language in OS X it seems that the following works well:
>
> put replaceText(shell("defaults read NSGlobalDomain 
> AppleLanguages"),"(\s|\(|\))","") into theLanguagesList
>
>
> How does one get the same information on a Windows machine?

Jim,

On Windows, try:

put shell("systeminfo")

Somewhere in the return lines you will find the selected language.

However not working with all the Windows versions


Regards,
-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


getting the selected language

2010-07-29 Thread jim sims

To get the selected language in OS X it seems that the following works well:

put replaceText(shell("defaults read NSGlobalDomain 
AppleLanguages"),"(\s|\(|\))","") into theLanguagesList


How does one get the same information on a Windows machine?

sims





___
use-revolution mailing list
use-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: [RevServer + Rev on Linux] Checking if you have the needed libraries

2010-07-29 Thread J. Landman Gay

On 7/29/10 1:36 AM, Peter Alcibiades wrote:


If, and I think its a big if, if there were definite problems that have been
reported that can be tied to particular libraries being missing, that would
great, it would lead to instant solutions.  But I don't know of any.  Maybe
others do?


Yes. I can't run revserver on my hosted account because there is a 
library dependency that my ISP hasn't provided. Mark Waddingham has told 
me that he needs to recompile without that dependency -- Rev doesn't 
really need it, it was just included as part of a standard compile. 
Sorry, I can't remember which library it was, but until the dependency 
is removed I can't run my copy of revserver. I'm hoping the next release 
will fix it.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [RevServer + Rev on Linux] Checking if you have the needed libraries

2010-07-29 Thread Richard Gaskin

Andre Garzia wrote:


there are indeed problems that are tied to missing libraries. I think this
is true at least for Rev IDE if I remember correctly from past experiences,
rev will startup with some missing libs and will remove the feature used
from that library. For example text antialiasing with pango, if pango is not
present IDE will load without antialiasing, I also think that if you're
missing mplayer it will still load but play no video.

I can't say this is definitely true these days but I think rev ide
gracefully degrades some of its features in the absense of some libraries
but I don't quite remember if this is the intended behaviour never
implemented or if this is true right now.


Useful info.

It's true that not all of Rev's Linux problems are specific to missing 
libraries, any more than all of its much-more-numerous issues on Mac and 
Windows are related to component dependencies.


But those issues unrelated to such things may be more difficult to track 
down and fix, and may not entirely be problems with Rev.


For example, as I noted here earlier we can see from discussions on the 
RB list that folks there are also having trouble with print orientation, 
and I read the Ubuntu forums often enough to know that issues with the 
Gnome clipboard annoy a great many people who've never used Rev at all.


All of these issues should of course be pursued, and as I noted here the 
printPaperOrientation is being investigated.


Those of us with a sincere interest in improving the Rev experience on 
Linux can help by doing the sort of diagnostics Andre has been 
contributing, and also spending time with other Linux communities, esp. 
their bug databases, to better understand the scope of issues we face.


I've done similar things with Mac OS before, having dug up an API Scott 
Raney needed for a fix on that platform, and I certainly don't mind 
doing the same for the Linux engine.


As we gather the info that would be helpful in finding solutions, we can 
post this to the relevant entries in the RQCC.  Doing so helps us 
catalog useful info in a DB that we can refer the team to for faster 
resolution.


I believe in the power of crowdsourcing, and I know RunRev does too as 
we may see increasingly in the coming months.  Even if we have a small 
crowd here, there's much we can contribute to the process of making a 
better working environment for ourselves.


Thank you for your efforts, Andre.  You continue to be a wealth of 
information for us all.


--
 Richard Gaskin
 Fourth World
 Rev training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
 revJournal blog: http://revjournal.com/blog.irv
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


OT: Interactive reverse graph plot

2010-07-29 Thread FlexibleLearning
Excel. If you already have it.

/H


On 7/28/10 11:42 AM, "Alex Adams"  wrote:

> Sorry to sound obtuse, but I have been looking for what seems like it
should
> be a simple tool or a program that contains the features to:
>
> Draw a graph line manually and have it generate/change the corresponding
> plot point data.  Does that make since?  I9m creating some growth
> projections in a proforma and I know what the curve looks like that I
want,
> but generating the data to create the curve is very time consuming.  I
want
> to be able to make adjustments by dragging points directly on the graph
and
> have the supporting point data updated.
>
> I9m not asking for suggestions on how to make such a tool.  I want to find
a
> tool that does this today so that I can work through these spreadsheets
more
> naturally.
>
> Any suggestions?

___
use-revolution mailing list
use-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: [RevServer + Rev on Linux] Checking if you have the needed libraries

2010-07-29 Thread Andre Garzia
Peter,

there are indeed problems that are tied to missing libraries. I think this
is true at least for Rev IDE if I remember correctly from past experiences,
rev will startup with some missing libs and will remove the feature used
from that library. For example text antialiasing with pango, if pango is not
present IDE will load without antialiasing, I also think that if you're
missing mplayer it will still load but play no video.

I can't say this is definitely true these days but I think rev ide
gracefully degrades some of its features in the absense of some libraries
but I don't quite remember if this is the intended behaviour never
implemented or if this is true right now.

I will try more about it later.

Andre

On Thu, Jul 29, 2010 at 3:36 AM, Peter Alcibiades <
palcibiades-fi...@yahoo.co.uk> wrote:

>
> I'm not knocking it, this is indeed absolutely the right way to track down
> and fix dependencies.  But it would be a mistake to think this is the
> source
> or the main source of the Rev on Linux problems.  You can pass the test,
> have all the dependencies, which I always have had, and you will still have
> the problems.   Yes, by all means give the info to people who have Linux
> issues and don't know about ldd.  But with the caveat that if you are using
> any modern mainstream distro, missing dependencies are not likely to be the
> source of the problems.
>
> If, and I think its a big if, if there were definite problems that have
> been
> reported that can be tied to particular libraries being missing, that would
> great, it would lead to instant solutions.  But I don't know of any.  Maybe
> others do?
> --
> View this message in context:
> http://runtime-revolution.278305.n4.nabble.com/RevServer-Rev-on-Linux-Checking-if-you-have-the-needed-libraries-tp2305194p2306026.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
>



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


AW: Is it Rev, is it Valentina, is it MacOS? Need help! - SOLVED

2010-07-29 Thread Tiemo Hollmann TB
Hello,

Just wanted to let you know, that it was indeed a bug in Valentina with
IOEncoding and it is as Version 4.8b1 fixed
Why it has worked before (without this fix) nobody can explain...
So everybody using non latin chars can use Valentina again.

Tiemo

> 
> 
> Hi all,
> 
> Ruslan and Ivan from the Valentina List also tested and confirmed the
> bug,
> but also can't explain what is going on.
> Here is my last dialog from the Valentina list.
> Perhaps anybody can see any relation to any other experience?
> 

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