MACHINE

2007-02-21 Thread Richmond Mathewson
My main machine is as follows:

 Machine Name:  Power Mac G4
  Machine Model:PowerMac3,6
  CPU Type: PowerPC G4  (3.3)
  Number Of CPUs:   2
  CPU Speed:1.25 GHz
  L2 Cache (per CPU):   256 KB
  L3 Cache (per CPU):   2 MB
  Memory:   1 GB
  Bus Speed:167 MHz
  Boot ROM Version: 4.4.8f2

so wonder why when I use "put the machine" into
the RR message box

I get "unknown" . . . ?

in my earlier posting about new ideas from Supercard I
was
impressed by SC 4.6.2's ability to return all sorts of
parameters about a host machine!!!

sincerely, Richmond Mathewson



Save the last dance for me, and don't slip in the dogs mess on 
the way over to take my hand.




___ 
What kind of emailer are you? Find out today - get a free analysis of your 
email personality. Take the quiz at the Yahoo! Mail Championship. 
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk 
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


MACHINE

2007-02-21 Thread Richmond Mathewson
Marielle Lange wrote:

"On a Mac, you can get all these machines info via a
call on the shell.
<http://forums.runrev.com/phpBB2/viewtopic.php?t=455&highlight=shell>

Fold older mac version, use Ken's code:
<http://www.sonsothunder.com/devres/revolution/tips/env001.htm>

For newest OS, the call on the shell is:
system_profiler SPNetworkDataType|grep -e "MAC
Address:"|awk '{print  
$0}'

(replace "MAC Address" with the information you are
after... see:  
<http://wiki.osx86project.org/wiki/index.php/System_Profiler>
for  
possible tag names)."

Thanks Marielle . . . however that is not quite the
point.

It would be rather good if there were bits of code as
presently advertised in the 4.6.2 upgrade to Supercard
present in RR so that (for instance) one could deploy
a stack that would play different standards of
videoClip depending on information retrieved at
startUp about the end-user's computer.

I went and took a look in RR's documentation and found
'machine' and read the following:

"Returns the type of hardware the application is
running on"

so knocked up a stack with a Button and a Field,

the Button contained the following script:

on mouseUp
  put the machine into fld "fGUFF"
end mouseUp

("fGUFF" being the name of my field)

and what happened was that "unknown" was put
into fld "fGUFF", when my computer type is far from
unknown (even if Klaus Major has to remind me that
I know already).

And, "unknown" is not helpful at all.

sincerely, Richmond Mathewson



Save the last dance for me, and don't slip in the dogs mess on 
the way over to take my hand.






___ 
New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at 
the Yahoo! Mail Championships. Plus: play games and win prizes. 
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk 
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


MACHINE

2007-02-21 Thread Richmond Mathewson
"On Windows XP, "put the machine" returns "x86" in Rev
2.8 gm-3."

Well, it could be worse :)

My fantasy is a set of commands whereby the following
facts can be ascertained:

Processor
OS
RAM
bus-speed

and a whole lot more while I'm riding the wave . . .

this would make things considerably easier to tailor
applications to end-users' specific computer
environments.

sincerely, Richmond Mathewson



Save the last dance for me, and don't slip in the dogs mess on 
the way over to take my hand.




___ 
Inbox full of unwanted email? Get leading protection and 1GB storage with All 
New Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.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: MACHINE

2007-02-21 Thread Klaus Major

Hi Richmond,


My main machine is as follows:

 Machine Name:  Power Mac G4
  Machine Model:PowerMac3,6
  CPU Type: PowerPC G4  (3.3)
  Number Of CPUs:   2
  CPU Speed:1.25 GHz
  L2 Cache (per CPU):   256 KB
  L3 Cache (per CPU):   2 MB
  Memory:   1 GB
  Bus Speed:167 MHz
  Boot ROM Version: 4.4.8f2

so wonder why when I use "put the machine" into
the RR message box

I get "unknown" . . . ?


Well, as we can clearly see, you already know your machine, so this  
should not

make you too unhappy :-D

Sorry, could not resist!


in my earlier posting about new ideas from Supercard I
was impressed by SC 4.6.2's ability to return all sorts of
parameters about a host machine!!!

sincerely, Richmond Mathewson


Best from germany

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

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

2007-02-21 Thread Marielle Lange

Hi Richmond,

On a Mac, you can get all these machines info via a call on the shell.
<http://forums.runrev.com/phpBB2/viewtopic.php?t=455&highlight=shell>

Fold older mac version, use Ken's code:
<http://www.sonsothunder.com/devres/revolution/tips/env001.htm>

For newest OS, the call on the shell is:
system_profiler SPNetworkDataType|grep -e "MAC Address:"|awk '{print  
$0}'


(replace "MAC Address" with the information you are after... see:  
<http://wiki.osx86project.org/wiki/index.php/System_Profiler> for  
possible tag names).


Best wishes,
marielle

On 21 Feb 2007, at 12:47, Richmond Mathewson wrote:


My main machine is as follows:

 Machine Name:  Power Mac G4
  Machine Model:PowerMac3,6
  CPU Type: PowerPC G4  (3.3)
  Number Of CPUs:   2
  CPU Speed:1.25 GHz
  L2 Cache (per CPU):   256 KB
  L3 Cache (per CPU):   2 MB
  Memory:   1 GB
  Bus Speed:167 MHz
  Boot ROM Version: 4.4.8f2

so wonder why when I use "put the machine" into
the RR message box

I get "unknown" . . . ?

in my earlier posting about new ideas from Supercard I
was
impressed by SC 4.6.2's ability to return all sorts of
parameters about a host machine!!!

sincerely, Richmond Mathewson



Save the last dance for me, and don't slip in the dogs mess on
the way over to take my hand.




___
What kind of emailer are you? Find out today - get a free analysis  
of your email personality. Take the quiz at the Yahoo! Mail  
Championship.

http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

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



Marielle Lange (PhD),  http://widged.com
Bite-size Applications for Education





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

2007-02-21 Thread Robert Brenstein

It would be rather good if there were bits of code as
presently advertised in the 4.6.2 upgrade to Supercard
present in RR so that (for instance) one could deploy
a stack that would play different standards of
videoClip depending on information retrieved at
startUp about the end-user's computer.

I went and took a look in RR's documentation and found
'machine' and read the following:

"Returns the type of hardware the application is
running on"

so knocked up a stack with a Button and a Field,

the Button contained the following script:

on mouseUp
  put the machine into fld "fGUFF"
end mouseUp

("fGUFF" being the name of my field)

and what happened was that "unknown" was put
into fld "fGUFF", when my computer type is far from
unknown (even if Klaus Major has to remind me that
I know already).

And, "unknown" is not helpful at all.

sincerely, Richmond Mathewson



I think this function has been broken for quite a while, since Rev 
2.2 or even earlier, but it is probably low priority to fix. Of 
course, it would be nice that it works as advertised since it is part 
of the original language.


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

2007-02-21 Thread Bill Marriott
On Windows XP, "put the machine" returns "x86" in Rev 2.8 gm-3.

Probably not what you were looking for, and probably not very useful since 
Intel Macs are also "x86." 



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

2007-02-22 Thread Luis

Hiya,

If you don't strictly need a Transcript solution you can use the 
following shell commands:


OS X: system_profiler
For details on usage: man system_profiler

WinXP: systeminfo
For details on usage: systeminfo -?

Win2K: msinfo32.exe
For details on usage: msinfo32.exe -?
Note that this will bring up a GUI, use the details on usage to pass to 
a file. Works on WinXP as well.
Might not work on some systems unless you specify the full path 
(C:\Program Files\Common Files\Microsoft Shared\MSInfo\msinfo32.exe).


NT4/Win2K/WinXP: winmsd
Also brings up a GUI, but no need to declare the file path. Can't recall 
if this worked with Win98.


They have varying levels of output as well as the option to output to a 
file (check the usage details for specifics).


Just in case: When on the man page on OS X press 'q' to come out of it, 
use the arrow keys/page keys to move up and down the 'page'.


Cheers,

Luis.


Richmond Mathewson wrote:

"On Windows XP, "put the machine" returns "x86" in Rev
2.8 gm-3."

Well, it could be worse :)

My fantasy is a set of commands whereby the following
facts can be ascertained:

Processor
OS
RAM
bus-speed

and a whole lot more while I'm riding the wave . . .

this would make things considerably easier to tailor
applications to end-users' specific computer
environments.

sincerely, Richmond Mathewson



Save the last dance for me, and don't slip in the dogs mess on 
the way over to take my hand.





___ 
Inbox full of unwanted email? Get leading protection and 1GB storage with All New Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.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


Windows machine Q

2002-07-17 Thread pixelbird

Hello Rev List,

Although I'm basically a Mac person and will do most of my
Rev work on a G4, I'm looking for a Windows machine to write
some Rev stuff and test distr. standalones, etc. Someone in
my neighborhood has an AMD K6-2 500mhz, 64mb RAM, 10g HD,
Sound card, 8mb video, 52K modem,  CD-ROM (don't know the
speed), 15" monitor, and has Windows XP Pro and Office.

He's asking $300 U.S. for the system. I checked eBay and
Half.com for pricing and it seems to be in there. It needs
more RAM which I can get locally at 128mb for $38 + tax,
which will give it 192mb total.

..and I can save shipping costs (or a trip to a used PC
store on the mainland).

I don't know PC/Windows-based systems that well. I'm just
asking for opinions. Is it a good deal, and will it serve my
purposes with Rev?

(Much) TIA,
Ken N.






-
   The Computer Place
Info = [EMAIL PROTECTED]
http://www.compplace.com/


___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Machine network names

2005-10-03 Thread J. Landman Gay
I want to know the network name of a remote machine on a network. For a 
local machine, I can get "the address" and the first part of the address 
is the name I'm looking for.  But on a remote, mounted volume "the 
address" doesn't include its machine name. Any ideas? I only need this 
for Mac OS X, but it has to work for all but the earliest versions of OS X.


If I can't easily get the network name, then any unique identifying info 
would do. I considered getting the machine ID using Ken Ray's 
"stsGetSerialNumber" handler, but it only returns the serial numbers of 
local hard drives.


The only requirements are: it has to be a unique identifier, and it has 
to be obtainable both remotely and locally.


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


Machine() reports unknown...

2008-02-09 Thread David Flanders

Hi,

just tested machine() in the message box and it returned "unknown".   
Any help?


tia

David

David Flanders

[EMAIL PROTECTED]


Environment: OSX 10.4.11
Intel core 2 duo 2.33 Ghz
17" PowerBook Pro
RR 2.8.1

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


Re: Windows machine Q

2002-07-18 Thread Troy Rollins


On Wednesday, July 17, 2002, at 11:16  PM, [EMAIL PROTECTED] 
wrote:

> I don't know PC/Windows-based systems that well. I'm just
> asking for opinions. Is it a good deal, and will it serve my
> purposes with Rev?

Sounds like a good enough mid-level test machine for the price. After 
all, Office alone costs more than that.

--
Troy
RPSystems, LTD
www.rpsystems.net

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: Windows machine Q

2002-07-18 Thread Ken Norris (dialup)

on 7/18/02 7:17 AM, Troy Rollins at [EMAIL PROTECTED] wrote:

> Sounds like a good enough mid-level test machine for the price. After
> all, Office alone costs more than that.
--
Thanks Troy. Hard to believe, but it's doubtful I will ever use Office.
Still, one never knows...

I think I'll go ahead and get it. I have several old PCs, but they're too
old to do much of anything, or have bad HDs.

Thanks again,
Ken N.

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



modem as answering machine

2004-10-19 Thread Björnke von Gierke
I would like to try to use revolution to answer the phone (modem) with 
pre-made sound recordings.
Also, I would then like to react to key presses of the phone user, for 
him to navigate a tree of possibilities, resulting in an interactive 
voice response system (IVR).

Has anyone done something like that? Is it even possible in rev?  Any 
tip would be appreciated.

<>()<>()<>()<>()<>()<>()<>()<>()<>()<>()<>
Chat with other RunRev developers:
go stack URL "http://homepage.mac.com/bvg/chatrev1.2.rev";
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Machine network names

2005-10-05 Thread Devin Asay

Jacque,

I'm tardy here, but didn't see any replies.

Could you write a shell script that ssh'ed to the remote machine,  
then check the $HOST variable. Kinda roundabout, I know.


Or how about just getting the number of bytes of data on each disk.  
Not guaranteed to be unique, but the chances of duplicated numbers  
would be miniscule.


Devin

On Oct 3, 2005, at 5:00 PM, J. Landman Gay wrote:

I want to know the network name of a remote machine on a network.  
For a local machine, I can get "the address" and the first part of  
the address is the name I'm looking for.  But on a remote, mounted  
volume "the address" doesn't include its machine name. Any ideas? I  
only need this for Mac OS X, but it has to work for all but the  
earliest versions of OS X.


If I can't easily get the network name, then any unique identifying  
info would do. I considered getting the machine ID using Ken Ray's  
"stsGetSerialNumber" handler, but it only returns the serial  
numbers of local hard drives.


The only requirements are: it has to be a unique identifier, and it  
has to be obtainable both remotely and locally.


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



Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

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


Re: Machine network names

2005-10-05 Thread Andre Garzia

Jacque,

Is this program running on remote machine or local machine wondering  
about a remote connection?


Some way to do this is by using reverse dns lookup. you can use "host  
" on a shell command to resolve it back to the hostname  
but this works only with registered ips. From your email I thing  
you're mounting remote volumes (which might have the same name) and  
trying to give each of them their own unique ID. Well why not  
pregenerate tons of unique IDs and assigning them as temporary files  
on the remote volumes, this way you could just query /RemoteVolume/ 
myUniqueID.txt and see who is who... don't know, this feels like a  
hack. What are you trying to do and what information you have on the  
remote machines?


Cheers
andre



On Oct 3, 2005, at 8:00 PM, J. Landman Gay wrote:

I want to know the network name of a remote machine on a network.  
For a local machine, I can get "the address" and the first part of  
the address is the name I'm looking for.  But on a remote, mounted  
volume "the address" doesn't include its machine name. Any ideas? I  
only need this for Mac OS X, but it has to work for all but the  
earliest versions of OS X.


If I can't easily get the network name, then any unique identifying  
info would do. I considered getting the machine ID using Ken Ray's  
"stsGetSerialNumber" handler, but it only returns the serial  
numbers of local hard drives.


The only requirements are: it has to be a unique identifier, and it  
has to be obtainable both remotely and locally.


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

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



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


Re: Machine network names

2005-10-05 Thread J. Landman Gay

Devin Asay wrote:
> Jacque,
>
> I'm tardy here, but didn't see any replies.
>
> Could you write a shell script that ssh'ed to the remote machine,
> then check the $HOST variable. Kinda roundabout, I know.
>
> Or how about just getting the number of bytes of data on each disk.
> Not guaranteed to be unique, but the chances of duplicated numbers
> would be miniscule.

And Andre Garzia also wrote:

> Is this program running on remote machine or local machine wondering
> about a remote connection?
>
> Some way to do this is by using reverse dns lookup. you can use "host
> " on a shell command to resolve it back to the hostname
> but this works only with registered ips. From your email I thing
> you're mounting remote volumes (which might have the same name) and
> trying to give each of them their own unique ID. Well why not
> pregenerate tons of unique IDs and assigning them as temporary files
> on the remote volumes, this way you could just query /RemoteVolume/
> myUniqueID.txt and see who is who... don't know, this feels like a
> hack. What are you trying to do and what information you have on the
> remote machines?


You guys are too geeky. :) I figured out way to do it, I think.

What I'm doing: I need to create an encrypted ID that is tied to a 
particular machine, for licensing purposes, which is why I need a 
machine-unique identifier. However, the program also needs to run from a 
server. So, I need to get the identity of the host machine so that I can 
calculate a correct ID.


After some googling, I found that all the machine-specific info on an OS 
X installation is stored in this file:


/Library/Preferences/SystemConfiguration/preferences.plist

The file exists on all versions of OS X I have checked, back to at least 
early Jaguar. It has "read" privileges for everyone. Once I discovered 
that, it was a simple matter to write a handler that just opens the file 
on the server, reads it, and parses out the machine info. No shell 
commands or anything else necessary, just plain Transcript.


What I eventually decided to use for the unique machine ID -- instead of 
its network name -- was the host machine's MAC address. This handler 
gets that info, regardless of whether the program is running locally or 
remotely:


function getmachineID
  -- get the host's MAC address whether running locally or from server:
  put the address into tAddr
  set the itemDel to slash
  if tAddr contains "Volumes/" and CDPath() is not in tAddr then -- 
assume running on server

put "/" & item 2 to 3 of tAddr into tConfigPath
  else -- local copy, or from CD
put empty into tConfigPath
  end if
  put "/Library/Preferences/SystemConfiguration/preferences.plist" 
after tConfigPath

  put "" into tMacAddr
  if there is a file tConfigPath then
put url ("file:"&tConfigPath) into tConfig
put line lineoffset("MACAddress",tConfig)+1 of tConfig into tMacAddr
delete char 1 to offset(">",tMacAddr) of tMacAddr
delete char offset("<",tMacAddr) to -1 of tMacAddr
  end if
  return tMacAddr -- empty if failed
end getmachineID

The CDPath() function just returns a string consisting of the path to 
the install CD (just in case it is in the drive.) This handler seems to 
work so far, but if anyone notices any snafus I haven't considered, it 
would be good to know.


>
> On Oct 3, 2005, at 5:00 PM, J. Landman Gay wrote:
>
>> I want to know the network name of a remote machine on a network.
>> For a local machine, I can get "the address" and the first part of
>> the address is the name I'm looking for.  But on a remote, mounted
>> volume "the address" doesn't include its machine name. Any ideas? I
>> only need this for Mac OS X, but it has to work for all but the
>> earliest versions of OS X.
>>
>> If I can't easily get the network name, then any unique identifying
>>  info would do. I considered getting the machine ID using Ken Ray's
>>  "stsGetSerialNumber" handler, but it only returns the serial
>> numbers of local hard drives.
>>
>> The only requirements are: it has to be a unique identifier, and it
>>  has to be obtainable both remotely and locally.
>>
>> -- 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

--
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: Machine network names

2005-10-05 Thread Sarah Reichelt
> > What I eventually decided to use for the unique machine ID -- instead of
> its network name -- was the host machine's MAC address. This handler
> gets that info, regardless of whether the program is running locally or
> remotely:
>

I don't expect it matters but you can have more than one MAC address
per machine. I have one for Ethernet and a different one for Airport.
The Ethernet one appears first in the preferences.plist, but is that
just because I am connected via enternet at the moment? Could the
order change if the connection method changes?

Just something for you to consider :-)
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: Machine network names

2005-10-06 Thread J. Landman Gay

Sarah Reichelt wrote:
>>>What I eventually decided to use for the unique machine ID -- instead of
>>
>>its network name -- was the host machine's MAC address. This handler
>>gets that info, regardless of whether the program is running locally or
>>remotely:
>>
>
>
> I don't expect it matters but you can have more than one MAC address
> per machine. I have one for Ethernet and a different one for Airport.
> The Ethernet one appears first in the preferences.plist, but is that
> just because I am connected via enternet at the moment? Could the
> order change if the connection method changes?
>
> Just something for you to consider :-)

Thanks. I guess I'll get the "Ethernet" key first before parsing out the 
MAC address from it. Good point.


--
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: Machine() reports unknown...

2008-02-09 Thread Ken Ray
On Sat, 9 Feb 2008 12:38:09 -0500, David Flanders wrote:

> Hi,
> 
> just tested machine() in the message box and it returned "unknown".  
> Any help?

Well, if this is OS X, you can use shell() to get the data (you need to 
parse it a little though). Here's something to get you started:

  put shell("system_profiler SPHardwareDataType") into field 1

HTH,

Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Machine() function not showing Mac?

2005-02-20 Thread graham samuel
Folks, when I put in a handler or in the message box
 put the machine
 or
put machine()
On Windows XP SP2, I get
x86
but on a Mac (Blue and White G3, running 10.3.7), I get
unknown
The platform() function works fine on both machines.
I haven't got access to another Mac at the moment to see if this 
problem exists on other models.

I couldn't find anything in Bugzilla, tho maybe my searching wasn't 
very expert. If someone will confirm it, I will add it to BZ.

Graham

Graham Samuel / The Living Fossil Co. / UK and France
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Record Sound on Windows machine

2002-02-07 Thread Kim L. Smith








I have been trying to record sound using Rev 1.1.1b but have
not been able to get anything except static. I have the latest version of Quicktime installed. Have tried it on
Windows ME and Win XP Pro OS’s. Can you
give me any clues of which codec, etc. that I should use? Also what filetype is produces using this command? Is it a QT movie?
Thanks

 

==

Mr. Kim L. Smith

Humanities Research Center

3060 JKHB

Brigham Young University

Provo, UT 84602

Office: (801) 422-7426

Fax: (801) 422-0304

 

 








Re: modem as answering machine

2004-10-19 Thread Andre Garzia
On Oct 19, 2004, at 10:52 PM, Björnke von Gierke wrote:
I would like to try to use revolution to answer the phone (modem) with 
pre-made sound recordings.
Also, I would then like to react to key presses of the phone user, for 
him to navigate a tree of possibilities, resulting in an interactive 
voice response system (IVR).

Has anyone done something like that? Is it even possible in rev?  Any 
tip would be appreciated.


There are some linux open source projects on this, you could see the 
code At least answering the phone should be easy if you can open 
the modem. I would envision a Retro-is-cool project about a little 
RevBBS software, how I liked those terminals! =) (it was my 
introduction to computing, I marvelled at bbs)

Cheers
andre
--
Andre Alves Garzia  2004
Soap Dog Studios - BRAZIL
http://studio.soapdog.org
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: modem as answering machine

2004-10-19 Thread kee nethery
On the Mac I use a Plink.
http://www.ovolab.com/phlink/
It is applescriptable and very flexible. You can have AppleScripts talk 
to RunRev and have RunRev do the heavy lifting.

Kee Nethery

On Oct 19, 2004, at 5:52 PM, Björnke von Gierke wrote:
I would like to try to use revolution to answer the phone (modem) with 
pre-made sound recordings.
Also, I would then like to react to key presses of the phone user, for 
him to navigate a tree of possibilities, resulting in an interactive 
voice response system (IVR).

Has anyone done something like that? Is it even possible in rev?  Any 
tip would be appreciated.
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: modem as answering machine

2004-10-19 Thread Dar Scott
On Oct 19, 2004, at 10:31 PM, kee nethery wrote:
On the Mac
I thought apple dropped the voice modem.  What am I missing?  -- Dar

Dar Scott Consulting
http://www.swcp.com/dsc/
Programming Services

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: modem as answering machine

2004-10-19 Thread kee nethery
On Oct 19, 2004, at 9:39 PM, Dar Scott wrote:
On Oct 19, 2004, at 10:31 PM, kee nethery wrote:
On the Mac
I thought apple dropped the voice modem.  What am I missing?  -- Dar
Phlink is a hardware product made by ovolab that does voice in, voice 
out, DTMF in and out and is fully applescriptable. The text to speech 
functionality is very useful.

Kee
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: modem as answering machine

2004-10-20 Thread Björnke von Gierke
On Oct 20 2004, at 02:52, Björnke von Gierke wrote:
I would like to try to use revolution to answer the phone (modem) with 
pre-made sound recordings.
Also, I would then like to react to key presses of the phone user, for 
him to navigate a tree of possibilities, resulting in an interactive 
voice response system (IVR).

Has anyone done something like that? Is it even possible in rev?  Any 
tip would be appreciated.
So basically this ain't possible in native runrev?
<>()<>()<>()<>()<>()<>()<>()<>()<>()<>()<>
Chat with other RunRev developers:
go stack URL "http://homepage.mac.com/bvg/chatrev1.2.rev";
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Printing problem on Windows machine

2006-01-11 Thread Timothy Miller

Greetings,

I never imagined I'd stop using my trusty Macintosh. However, I'm 
trying the stacks I use to run my business on a Windows XP machine, 
at least temporarily. Except for minor adjustments of button types, 
text margins and such, it seemed to work fine, until today.


The problem command is not exactly unusual:

revPrintField (the name of bg field "text")

This would normally produce two or three pages of printer output. 
It's worked perfectly on thousands of occasions on my Macintosh.


On the XP machine there is something terribly wrong with the printed 
output. Oddly, the first page prints just dandy. On subsequent pages, 
two or three characters, even more, get printed on top of each other. 
This mostly happens on the right hand side of each line, though that 
is not consistent.


I tried setting the formatforPrinting property of the stack to true. 
No help. I know I'm following the proper procedure (rather 
cumbersome, it seems) for setting that property, because the little 
script I wrote reports the value of the property with an "answer" 
dialog box.


I tried setting the printmargins to a reasonable value -- a value 
that works fine on the Windows machine on another stack, where I 
print a card, not a field. No help. As far as I can tell, the 
printmargins apply only to printing cards, anyway -- not fields.


So, I'm out of ideas. Any suggestions would be appreciated. If this 
issue has been discussed endlessly, a helpful link would probably be 
sufficient.


Cheers,

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


Printing problem on Windows machine

2006-01-11 Thread Timothy Miller

 Hi Sarah,

Oops. This is my second reply. A few seconds ago, Eudora 
automatically snipped part of the quoted message, and I overlooked a 
typo. Here it goes again:


**

The wise and generous person subscribes to the list. I think I'll 
hand your question off to him. He might prefer to post his own script.


I'll quote the brief description he sent to me. I don't think he'd mind:


Begin quote

The way it basically works is to copy each field from the card to a 
printing stack. If a field is larger than a page, then it creates a 
second card in the printing stack and copies the large field to that 
card. It then divides up the text between the two fields in the 
printing stack. It continues this process until enough cards with 
copies of the large field have been created to hold all of the text 
without any of it getting lost.


End quote


If I understand the suggested script, the general approach is to use 
"Print Card" or "Print Stack" instead of printfield. As far as I can 
tell, Print Card works fine on my Windows machine, as long as I get 
the print rect and printmargins right.


Printfield seems to work okay in Windows, as long as the printed 
output is no longer than one page. The printer goes crazy on page two 
and subsequent pages. I suppose this is a known problem. I can't get 
to bugzilla at the moment.


There are probably other workarounds. For instance, it might be 
possible to shuttle lines in and out of the field, so it never 
contains more than one printable page, then use printfield 
repeatedly, then replace the original text when printing is 
completed. I don't know -- haven't tried that.


Any other ideas?

What a pain in the neck! It would be WAY easier to start using my 
Friendly Macintosh again. I had some other reasons to try my stacks 
on my Windows machine, but it might not be worth the trouble, and 
it's probably bad karma.


I hope this was a teensy bit helpful.


Cheers,


Tim


 > A wise and generous soul has sent me a private message, including a

 model script necessary to print fields more than one printed page
 long, on a Windows machine. I'd suppose this has been discussed to
 death, so I'll let it rest.


Hi Tim,

Could you quote the script here so it is available to us all? I don't
need it at the moment, but as another Mac person, I might run into
this problem at some stage, so I would love to be able to find this in
the archives.

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


Identifying a certain Windows machine

2010-03-29 Thread Joe F.
Does anyone know of a way to identify the Windows machine of a certain  
user in a reliable way.


I want my app to download a stack file which will only run on one  
user's machine.
Is there a way to access something like a MAC number or some unique  
identifier on Windows machines.


Bonus question:
Is there a good way to make a stack self-destruct?

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


Keeping a clean XP machine

2008-03-28 Thread Jim Sims

I do most of my development on OS X but also make some Windows apps.

I have an older machine that runs XP and it never goes on the internet,
I use it to test basic development. When living in the city  
(Valletta), to

test internet features for a Windows app I'd simply drop it on a USB
flash drive and go to the local Cyber Cafe. The guy there finds it  
amusing

and lets me use any of his machines after he resets it so it can do what
I need without the usual Cafe restrictions (no cost either).

Now that I spend more time on the small island (Gozo) I cannot do this  
and am

looking at strategies to test apps on the web with minimal pain as
far as PC virus/spyware issues are concerned.

I like the idea of not having to think too much about virus/spyware
plus clients seem to like the idea that my test machine stays off
the web.

My plan right now is to use Acronis to back up my 'virgin' machine to
an external hard drive. Then, after testing just restore the PC using
that backed-up image after wiping the PC clean.

I am interested in finding out what others here think of my strategy.
Too paranoid? Use a different back-up tool?  Just load up with
anti-virus software? What do other people do? What would you suggest?


sims

ClipaSearch Pro
http://www.ClipaTools.com

Across Platforms - Code and Culture
http://www.ezpzapps.com/blog/




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


crash on a single machine

2009-05-28 Thread Tiemo Hollmann TB
Hello,

My new App has a read only valentina db. My App runs fine on some hundreds
of Win machines and also some Macs

There are no updates, no inserts to the db in my app, just plain selects.
The db resides inside the app bundle on the Mac.

Now I have a customer (not verified perhaps two), where my app crashes
immediately (and reproduceble), when doing any select on the db without any
error message, it just quits. After the crash, the app can't be started
anymore, even a restart of the Mac doesn't changes anything. At any attempt
to start the app the user gets the error message "the app was quit
unexpectedly". The user has to deinstall the app and reinstall it to be able
to start the app again. But with the first click on any button, where a
select is send to the db, the app crashes again and is unusable anymore. The
crash log tells something about problems with the db index (has Ruslan
already analyzed). I am not using a separate index file.

The Mac is a MacBook with 10.4.11 and 1 GB of memory, so it should be enough
of RAM. There is no other (admin) user profile, it is a single user machine,
so all rights are available. "Everything else" is running fine on this
machine, so it can't be a corrupted memory modul. I gave all permission for
everyone to the app and inherited it to all files of the app and at least my
app runs fine on "all" other Macs (at least not this crash).

 

I know, that this is very hard to track down and is obviously valentina
related and it must be something on the end user machine, but perhaps
anybody has encountered something similar and has any idea where else to
look for, I have no ideas left. Btw. the valentina list either had no ideas.

 

I am not the Mac expert. Could it be a worth to look for an update of the OS
X, without switching completely to 10.5? I have never looked, can you
select, which updates you want to load on a Mac?

 

Thanks for any hint

Tiemo

 

 

 

 

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


Re: Machine() function not showing Mac?

2005-02-20 Thread Robert Brenstein
Folks, when I put in a handler or in the message box
 put the machine
 or
put machine()
On Windows XP SP2, I get
x86
but on a Mac (Blue and White G3, running 10.3.7), I get
unknown
The platform() function works fine on both machines.
I haven't got access to another Mac at the moment to see if this 
problem exists on other models.

I couldn't find anything in Bugzilla, tho maybe my searching wasn't 
very expert. If someone will confirm it, I will add it to BZ.

Graham

OS9 on Powerbook G3 engine 2.6.1: Macintosh PowerBook
OS9 on G4 desktop engine 2.5: Power Macintosh
OSX 10.2.8 on B&W G3 engine 2.6.1: unknown
Robert
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Machine() function not showing Mac?

2005-02-20 Thread sims
At 1:36 PM +0100 2/20/05, graham samuel wrote:
Folks, when I put in a handler or in the message box
 put the machine
 or
put machine()
On Windows XP SP2, I get
x86
but on a Mac (Blue and White G3, running 10.3.7), I get
unknown
Hi Graham,
On my nice new 17" Powerbook running 10.3.8  I get "unknown"
ciao
sims
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Machine() function not showing Mac?

2005-02-20 Thread Dar Scott
On Feb 20, 2005, at 5:36 AM, graham samuel wrote:
but on a Mac (Blue and White G3, running 10.3.7), I get
unknown
The platform() function works fine on both machines.
I get "unknown" on 10.3.8 on MMD (dual 1.25GHz G4).
Well, linux hasn't checked in, so I'm just guessing, but it seems 
machine() adds new info only on pre-X macs.

Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Programming Services and Software
**
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Machine() function not showing Mac?

2005-02-20 Thread Malte Brill
Hi,
you can use the shell under OsX:
put shell("machine")
Cheers,
Malte
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Machine() function not showing Mac?

2005-02-22 Thread Frank Leahy
The machine() function is certainly a call into the Mac Toolbox, and if 
that doesn't have an entry for your machine, then it returns "unknown". 
 RunRev can't do any better than that.

-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
On Feb 21, 2005, at 1:04 AM, [EMAIL PROTECTED] 
wrote:

From: Dar Scott <[EMAIL PROTECTED]>
Subject: Re: Machine() function not showing Mac?
To: How to use Revolution 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed
On Feb 20, 2005, at 5:36 AM, graham samuel wrote:
but on a Mac (Blue and White G3, running 10.3.7), I get
unknown
The platform() function works fine on both machines.
I get "unknown" on 10.3.8 on MMD (dual 1.25GHz G4).
Well, linux hasn't checked in, so I'm just guessing, but it seems
machine() adds new info only on pre-X macs.
Dar
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Machine() function not showing Mac?

2005-02-22 Thread Dar Scott
On Feb 22, 2005, at 9:54 AM, Frank Leahy wrote:
The machine() function is certainly a call into the Mac Toolbox, and 
if that doesn't have an entry for your machine, then it returns 
"unknown".  RunRev can't do any better than that.
Yeah, I keep thinking that a Revolution function like machine() is a 
function that meets the spec in the doc, rather than a sugar coating 
for an OS call that might not be available in some environments.

Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Programming Services and Software
**
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Machine() function not showing Mac?

2005-02-22 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Perhaps it should be suggested to use the return value of the "machine" 
shell command, rather than the toolbox call, under OS X?  Anyone care 
enough about this to submit a bugzilla entry?

I for one get "unknown" from the machine() call in Rev, but running 
"machine" from a Terminal window results in "ppc7400", which at least 
means something.

Using "uname -m" yields "Power Macintosh", btw...
On Feb 22, 2005, at 12:23 PM, Dar Scott wrote:
On Feb 22, 2005, at 9:54 AM, Frank Leahy wrote:
The machine() function is certainly a call into the Mac Toolbox, and 
if that doesn't have an entry for your machine, then it returns 
"unknown".  RunRev can't do any better than that.
Yeah, I keep thinking that a Revolution function like machine() is a 
function that meets the spec in the doc, rather than a sugar coating 
for an OS call that might not be available in some environments.

Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Programming Services and Software
**
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

- ---
Frank D. Engel, Jr.  <[EMAIL PROTECTED]>
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCG3737aqtWrR9cZoRAtLYAJ9liWQt4PhcD4yfdC08TlovGYG2mwCgj1yd
N8CCOIoKF6noUnZicdCCBoc=
=F1qv
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Machine() function not showing Mac?

2005-02-22 Thread Robert Brenstein
On Feb 22, 2005, at 9:54 AM, Frank Leahy wrote:
The machine() function is certainly a call into the Mac Toolbox, 
and if that doesn't have an entry for your machine, then it returns 
"unknown".  RunRev can't do any better than that.
Yeah, I keep thinking that a Revolution function like machine() is a 
function that meets the spec in the doc, rather than a sugar coating 
for an OS call that might not be available in some environments.

Dar
But if it is not support on some OS, it should be documented so. I 
just checked that I get 'unknown' with engine 2.4.1 under OS 10.2 as 
well.  It is strange, though, that OSX would not support it. The 
toolbox surely has gestalt functions. May be there is a glitch in the 
OSX engine. Someone (the original poster) should bugzilla this so RR 
people can sort it out and either fix or document.

Robert
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Machine() function not showing Mac?

2005-02-22 Thread graham samuel
On Tue, 22 Feb 2005 16:54:03 +, Frank Leahy <[EMAIL PROTECTED]> 
wrote:

Message: 2
Date:
From: Subject:
To: use-revolution@lists.runrev.com
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed
The machine() function is certainly a call into the Mac Toolbox, and if
that doesn't have an entry for your machine, then it returns "unknown".
  RunRev can't do any better than that.
-- Frank
How come then Malte's trick works:
On 21 Feb 2005, at 16:29, Malte Brill wrote:
Hi Graham,
just in case you missed my post to the list.
If you need a workaround try this:
put shell("machine")
this will put the processor type under OsX
Cheers,
Malte
It definitely works - where does the shell function get the info?
Graham

Graham Samuel / The Living Fossil Co. / UK and France
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Machine() function not showing Mac?

2005-02-25 Thread Ken Ray
On 2/22/05 12:50 PM, "Frank D. Engel, Jr." <[EMAIL PROTECTED]> wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Using "uname -m" yields "Power Macintosh", btw...

Here's a framework that I've started to get the computer name - I only have
OS X implemented, but I'll fill it in with Win32  (and hopefully OS 9) soon:

on mouseUp
  answer stsComputerType()
end mouseUp

function stsComputerType
  local tType
  switch (the platform)
  case "MacOS"
if isOSX() then
  put shell("system_profiler SPHardwareDataType") into tData
  get matchText(tData,"(?s)Machine Model:\W*(.*?)\n",tType)
  if it is true then
return tType
  else
return "Error: Can't locate computer type."
  end if
else
  -- No OS 9 version yet
end if
break
  case "Win32"
-- No Win32 version yet
break
  end switch
end stsComputerType

function isOSX
  set the itemDel to "."
  return (item 1 of the systemVersion >=10)
end isOSX

---

On my Mac, this returns 'PowerMac G4'.

HTH,

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



___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Machine() function not showing Mac?

2005-02-25 Thread Richard Gaskin
Ken Ray wrote:
Here's a framework that I've started to get the computer name - I only have
OS X implemented, but I'll fill it in with Win32  (and hopefully OS 9) soon:
Cool stuff, but how come "machine()" doesn't do that?
--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Record Sound on Windows machine

2002-02-08 Thread Kevin Miller

On 7/2/02 5:07 pm, Kim L. Smith <[EMAIL PROTECTED]> wrote:

> I have been trying to record sound using Rev 1.1.1b but have not been able to
> get anything except static. I have the latest version of Quicktime installed.
> Have tried it on Windows ME and Win XP Pro OS¹s. Can you give me any clues of
> which codec, etc. that I should use? Also what filetype is produces using this
> command? Is it a QT movie? Thanks

It is a QT movie, you can play it with a player object or the play videoClip
command.  (You cannot use the play audioClip command, it is a video file
that is created.)

Kevin

Kevin Miller <[EMAIL PROTECTED]> 
Runtime Revolution Limited - Power to the Developer!
Tel: +44 (0) 870 747 1165.  Fax: +44 (0)1639 830 707.

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: Printing problem on Windows machine

2006-01-11 Thread Timothy Miller

It's me, the OP on this thread.

A wise and generous soul has sent me a private message, including a 
model script necessary to print fields more than one printed page 
long, on a Windows machine. I'd suppose this has been discussed to 
death, so I'll let it rest.


I wonder if this is a sign from the Supreme Geek -- a stern warning 
of greater suffering to come if I continue to spurn my Macintosh.


Thanks to the list for being there when I need you.



Tim


Greetings,

I never imagined I'd stop using my trusty Macintosh. However, I'm 
trying the stacks I use to run my business on a Windows XP machine, 
at least temporarily. Except for minor adjustments of button types, 
text margins and such, it seemed to work fine, until today.


The problem command is not exactly unusual:

revPrintField (the name of bg field "text")

This would normally produce two or three pages of printer output. 
It's worked perfectly on thousands of occasions on my Macintosh.


On the XP machine there is something terribly wrong with the printed 
output. Oddly, the first page prints just dandy. On subsequent 
pages, two or three characters, even more, get printed on top of 
each other. This mostly happens on the right hand side of each line, 
though that is not consistent.


I tried setting the formatforPrinting property of the stack to true. 
No help. I know I'm following the proper procedure (rather 
cumbersome, it seems) for setting that property, because the little 
script I wrote reports the value of the property with an "answer" 
dialog box.


I tried setting the printmargins to a reasonable value -- a value 
that works fine on the Windows machine on another stack, where I 
print a card, not a field. No help. As far as I can tell, the 
printmargins apply only to printing cards, anyway -- not fields.


So, I'm out of ideas. Any suggestions would be appreciated. If this 
issue has been discussed endlessly, a helpful link would probably be 
sufficient.


Cheers,

Tim Miller
___
use-revolution mailing list
use-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: Printing problem on Windows machine

2006-01-11 Thread Sarah Reichelt
 > A wise and generous soul has sent me a private message, including a
> model script necessary to print fields more than one printed page
> long, on a Windows machine. I'd suppose this has been discussed to
> death, so I'll let it rest.

Hi Tim,

Could you quote the script here so it is available to us all? I don't
need it at the moment, but as another Mac person, I might run into
this problem at some stage, so I would love to be able to find this in
the archives.

Thanks,
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: Printing problem on Windows machine

2006-01-11 Thread Sivakatirswami

Ditto that...please quote the script here.

Just because there some super sages on this list doesn't mean that  
"trivial" stuff need not be exposed. It may be just the thing someone  
needs.


My users have printing problems on windows, I use the standard code

on printTranscript
  put the cHeader of me into tPrintTranscript
  replace "|" with ": " in tPrintTranscript
  replace "\" with "" in tPrintTranscript
  put cr & cr after tPrintTranscript
  put fld "Transcript" after tPrintTranscript
  revShowPrintdialog, true,true
   revPrintText tPrintTranscript
end printTranscript


Simple, right? poke a variable with some text and print it. Well, it  
works on the Mac but delivers garbage on Windows...I haven't had time  
to solve this but I really need to.


And if this is useful maybe Dan can add it to his printing Smart Book.

Sivakatirswami



On Jan 11, 2006, at 2:54 PM, Sarah Reichelt wrote:


Hi Tim,

Could you quote the script here so it is available to us all? I don't
need it at the moment, but as another Mac person, I might run into
this problem at some stage, so I would love to be able to find this in
the archives.

Thanks,
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: Printing problem on Windows machine

2006-01-11 Thread Timothy Miller

 Hi Sarah,

The wise and generous person subscribes to the list. I think I'll 
hand your question off to him. He might prefer to post his own script.


I'll quote the brief description he sent to me. I don't think he'd mind:

The way it basically works is to copy each field from the card to a 
printing stack. If a field is larger than a page, then it creates a 
second card in the printing stack and copies the large field to that 
card. It then divides up the text between the two fields in the 
printing stack. It continues this process until enough cards with 
copies of the large field have been created to hold all of the text 
without any of it getting lost.



I'm not sure whether the script uses

Actually, printfield seems to work okay in Windows, as long as the 
printed output is no longer than one page. The printer goes crazy on 
page two and subsequent pages.


If I understand the suggested script, the general approach is to use 
"Print Card" or "Print Stack" instead of printfield. As far as I can 
tell, Print Card works fine on my Windows machine, as long as I get 
the print rect and printmargins right.


There are probably other workarounds. For instance, it might be 
possible to shuttle lines in and out of the field, so it never 
contains more than one printable page, then use printfield 
repeatedly, then replace the original text when printing is 
completed. I don't know -- haven't tried that.


Any other ideas?

What a pain in the neck! It would be WAY easier to start using my 
friendly Macintosh again. I had some other reasons to try my stacks 
on my Windows machine, but it might not be worth the trouble, and 
it's probably bad karma.


I hope this was a teensy bit helpful.


Cheers,


Tim


 > A wise and generous soul has sent me a private message, including a

 model script necessary to print fields more than one printed page
 long, on a Windows machine. I'd suppose this has been discussed to
 death, so I'll let it rest.


Hi Tim,

Could you quote the script here so it is available to us all? I don't
need it at the moment, but as another Mac person, I might run into
this problem at some stage, so I would love to be able to find this in
the archives.

Thanks,
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: Printing problem on Windows machine

2006-01-11 Thread J. Landman Gay

Timothy Miller wrote:

There are probably other workarounds. For instance, it might be possible 
to shuttle lines in and out of the field, so it never contains more than 
one printable page, then use printfield repeatedly, then replace the 
original text when printing is completed.


This is pretty much the standard suggested approach. You fill a field, 
print the card, then scroll the field one field length, print the card 
again, continuing till the text is done. Rev provides a property that 
gives you the different scrolls you need for each page. See the 
"pageHeights" property in the docs, which describes the process.


--
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: Printing problem on Windows machine

2006-01-12 Thread Lynch, Jonathan
Hello, I am the one who sent that script to Timothy...

Sarah, if you look in the script for the print button in Task Mage, the
script is in there (the print task section). It is very much oriented
towards printing a task in Task Mage, and as such is not really written
as a general purpose substitution for print field. It does contain the
elements for creating such a thing, but it would take a bit of
adaptation.

Actually, it contains the elements for printing the contents of all the
fields on a card, including scrolling fields, at one time. 

Take care,

Jonathan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Timothy
Miller
Sent: Wednesday, January 11, 2006 10:19 PM
To: How to use Revolution
Subject: Printing problem on Windows machine

  Hi Sarah,

Oops. This is my second reply. A few seconds ago, Eudora 
automatically snipped part of the quoted message, and I overlooked a 
typo. Here it goes again:

**

The wise and generous person subscribes to the list. I think I'll 
hand your question off to him. He might prefer to post his own script.

I'll quote the brief description he sent to me. I don't think he'd mind:


Begin quote

The way it basically works is to copy each field from the card to a 
printing stack. If a field is larger than a page, then it creates a 
second card in the printing stack and copies the large field to that 
card. It then divides up the text between the two fields in the 
printing stack. It continues this process until enough cards with 
copies of the large field have been created to hold all of the text 
without any of it getting lost.

End quote


If I understand the suggested script, the general approach is to use 
"Print Card" or "Print Stack" instead of printfield. As far as I can 
tell, Print Card works fine on my Windows machine, as long as I get 
the print rect and printmargins right.

Printfield seems to work okay in Windows, as long as the printed 
output is no longer than one page. The printer goes crazy on page two 
and subsequent pages. I suppose this is a known problem. I can't get 
to bugzilla at the moment.

There are probably other workarounds. For instance, it might be 
possible to shuttle lines in and out of the field, so it never 
contains more than one printable page, then use printfield 
repeatedly, then replace the original text when printing is 
completed. I don't know -- haven't tried that.

Any other ideas?

What a pain in the neck! It would be WAY easier to start using my 
Friendly Macintosh again. I had some other reasons to try my stacks 
on my Windows machine, but it might not be worth the trouble, and 
it's probably bad karma.

I hope this was a teensy bit helpful.


Cheers,


Tim

>  > A wise and generous soul has sent me a private message, including a
>>  model script necessary to print fields more than one printed page
>>  long, on a Windows machine. I'd suppose this has been discussed to
>>  death, so I'll let it rest.
>
>Hi Tim,
>
>Could you quote the script here so it is available to us all? I don't
>need it at the moment, but as another Mac person, I might run into
>this problem at some stage, so I would love to be able to find this in
>the archives.
>
>Thanks,
>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

___
use-revolution mailing list
use-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: Printing problem on Windows machine

2006-01-12 Thread Timothy Miller

Hi Swami,

I noticed no one replied directly to you. I'd guess that revPrintText 
has the same underlying problem as revPrintField. Does revPrintText 
work right if the printed output is one page or less? If so, that's a 
clue.


The other messages on this thread have probably given you some ideas 
about how to proceed.



Cheers,


Tim


Ditto that...please quote the script here.

Just because there some super sages on this list doesn't mean that 
"trivial" stuff need not be exposed. It may be just the thing 
someone needs.


My users have printing problems on windows, I use the standard code

on printTranscript
  put the cHeader of me into tPrintTranscript
  replace "|" with ": " in tPrintTranscript
  replace "\" with "" in tPrintTranscript
  put cr & cr after tPrintTranscript
  put fld "Transcript" after tPrintTranscript
  revShowPrintdialog, true,true
   revPrintText tPrintTranscript
end printTranscript


Simple, right? poke a variable with some text and print it. Well, it 
works on the Mac but delivers garbage on Windows...I haven't had 
time to solve this but I really need to.


And if this is useful maybe Dan can add it to his printing Smart Book.

Sivakatirswami



On Jan 11, 2006, at 2:54 PM, Sarah Reichelt wrote:


Hi Tim,

Could you quote the script here so it is available to us all? I don't
need it at the moment, but as another Mac person, I might run into
this problem at some stage, so I would love to be able to find this in
the archives.

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


___
use-revolution mailing list
use-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: Identifying a certain Windows machine

2010-03-29 Thread Monte Goulding


On 30/03/2010, at 2:51 PM, Joe F. wrote:

Does anyone know of a way to identify the Windows machine of a  
certain user in a reliable way.


I want my app to download a stack file which will only run on one  
user's machine.
Is there a way to access something like a MAC number or some unique  
identifier on Windows machines.


Yep:

# GetMACAddress()
#
# Function to return the MAC address
#
# Makes use of ifconfig on OS X and ipconfig on Windows

function getMACAddress
  -- value to return
  local retVal
  switch (the platform)
  case "MacOS"
if the systemVersion < 10 then
  -- MacOS
  set the directory to specialFolderPath("apple")
  put "tell application" && quote & "Apple System Profiler" & \
  quote & cr & "get appletalk address" & cr & "end tell" into  
getMACScript

  put "tell application" && quote & "Apple System Profiler" & \
  quote & cr & "close window" && quote & "Apple System  
Profiler" & quote & \

  cr & "end tell" into quitASPScript
  do getMACScript as AppleScript
  put the result into retVal
  do quitASPScript as AppleScript
  replace "{" with "" in retVal
  replace "}" with "" in retVal
  replace quote with "" in retVal
else
  -- OS X
  put shell("ifconfig en0") into ifConfigs
  if char 1 to 4 of ifConfigs = "zsh:" then
return "Error retrieving interface configuration."
  else
get matchText(ifconfigs,"(?s)ether (.*?) ",retVal) -- These  
are spaces on either side of (.*?)

if it is false then
  return "Error retrieving MAC address."
end if
  end if
end if
break
  case "Win32"
-- All Windows
put (there is a file (specialFolderPath("system") & "/ 
IPCONFIG.EXE")) into winExists
put (there is a file (specialFolderPath("system") & "/SYSTEM32/ 
IPCONFIG.EXE")) into sys32Exists

if winExists or sys32Exists then
  set the hideConsoleWindows to true
  put shell("ipconfig /all") into temp
  get matchText(temp,"Physical Address[\. ]*: ([A-Z0-9-]*)",retVal)
else
  return "Error retrieving MAC address."
end if
break
  end switch
  return retVal
end getMACAddress



Bonus question:
Is there a good way to make a stack self-destruct?


Just don't let the user save the file if you only want it run just  
after the download.

use:
go stack url http://www.myserver.com/test.rev

Cheers

Monte
___
use-revolution mailing list
use-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: Identifying a certain Windows machine

2010-03-29 Thread Peter Alcibiades

Don't bother.  

All they have to do is install in a VM, or even in Wine.  Then if they move
the VM, or the Wine folder, the machine ID stays the same.  So you don't
achieve anything, all you do is annoy your less sophisticated customers, who
will find someone who knows how to defeat it.  But it gets worse.

The problem is, they will feel they have a legitimate need to be able to
move their install from one physical machine to another.  They will feel
that a restriction to one particular machine, as opposed to one
installation, is not fair.  However, what you have then encouraged them to
do, installing on a VM, gives them the ability to install as many copies as
they want, wherever they want.  Its counterproductive.

Then, you'll start to think, maybe there is a way I can detect and ban VMs. 
And Wine.  Yes, maybe.  How will they see that?  Will inability to run under
Wine or in a VM seem to the customer like a value added feature?
-- 
View this message in context: 
http://n4.nabble.com/Identifying-a-certain-Windows-machine-tp1742751p1744691.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: Identifying a certain Windows machine

2010-03-30 Thread Joe F.

Wow- that is some answer. Thank you Monte.

I was actually expecting something like "getSystemID" to be built into  
Revtalk, but...


You inspired me to make myself a script library.

Thanks,
Joe F.

On Mar 30, 2010, at 12:07 AM, Monte Goulding wrote:



On 30/03/2010, at 2:51 PM, Joe F. wrote:

Does anyone know of a way to identify the Windows machine of a  
certain user in a reliable way.


I want my app to download a stack file which will only run on one  
user's machine.
Is there a way to access something like a MAC number or some unique  
identifier on Windows machines.


Yep:

# GetMACAddress()
#
# Function to return the MAC address
#
# Makes use of ifconfig on OS X and ipconfig on Windows

function getMACAddress
 -- value to return
 local retVal
 switch (the platform)
 case "MacOS"
   if the systemVersion < 10 then
 -- MacOS
 set the directory to specialFolderPath("apple")
 put "tell application" && quote & "Apple System Profiler" & \
 quote & cr & "get appletalk address" & cr & "end tell" into  
getMACScript

 put "tell application" && quote & "Apple System Profiler" & \
 quote & cr & "close window" && quote & "Apple System  
Profiler" & quote & \

 cr & "end tell" into quitASPScript
 do getMACScript as AppleScript
 put the result into retVal
 do quitASPScript as AppleScript
 replace "{" with "" in retVal
 replace "}" with "" in retVal
 replace quote with "" in retVal
   else
 -- OS X
 put shell("ifconfig en0") into ifConfigs
 if char 1 to 4 of ifConfigs = "zsh:" then
   return "Error retrieving interface configuration."
 else
   get matchText(ifconfigs,"(?s)ether (.*?) ",retVal) -- These  
are spaces on either side of (.*?)

   if it is false then
 return "Error retrieving MAC address."
   end if
 end if
   end if
   break
 case "Win32"
   -- All Windows
   put (there is a file (specialFolderPath("system") & "/ 
IPCONFIG.EXE")) into winExists
   put (there is a file (specialFolderPath("system") & "/SYSTEM32/ 
IPCONFIG.EXE")) into sys32Exists

   if winExists or sys32Exists then
 set the hideConsoleWindows to true
 put shell("ipconfig /all") into temp
 get matchText(temp,"Physical Address[\. ]*: ([A-Z0-9-]*)",retVal)
   else
 return "Error retrieving MAC address."
   end if
   break
 end switch
 return retVal
end getMACAddress



Bonus question:
Is there a good way to make a stack self-destruct?


Just don't let the user save the file if you only want it run just  
after the download.

use:
go stack url http://www.myserver.com/test.rev

Cheers

Monte
___
use-revolution mailing list
use-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: Identifying a certain Windows machine

2010-03-30 Thread Joe F.

Hmm- that's an interesting angle- thanks for the input.

My immediate purpose is for a single user, private app. If anyone else  
gets access to it they could only have malicious use for it, so I'd  
want it to just destroy itself if possible.


On Mar 30, 2010, at 12:26 AM, Peter Alcibiades wrote:



Don't bother.

All they have to do is install in a VM, or even in Wine.  Then if  
they move
the VM, or the Wine folder, the machine ID stays the same.  So you  
don't
achieve anything, all you do is annoy your less sophisticated  
customers, who

will find someone who knows how to defeat it.  But it gets worse.

The problem is, they will feel they have a legitimate need to be  
able to
move their install from one physical machine to another.  They will  
feel

that a restriction to one particular machine, as opposed to one
installation, is not fair.  However, what you have then encouraged  
them to
do, installing on a VM, gives them the ability to install as many  
copies as

they want, wherever they want.  Its counterproductive.

Then, you'll start to think, maybe there is a way I can detect and  
ban VMs.
And Wine.  Yes, maybe.  How will they see that?  Will inability to  
run under

Wine or in a VM seem to the customer like a value added feature?
--
View this message in context: 
http://n4.nabble.com/Identifying-a-certain-Windows-machine-tp1742751p1744691.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


___
use-revolution mailing list
use-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: Identifying a certain Windows machine

2010-03-30 Thread Alex Tweedly

Joe F. wrote:

Wow- that is some answer. Thank you Monte.

I was actually expecting something like "getSystemID" to be built into 
Revtalk, but...


You inspired me to make myself a script library.
Note this approach works 99% of the time, but can go wrong (or at least 
be very confusing) if the user has installed any devices which have an 
in-built MAC address (e.g. a USB Wifi card, perhaps to get better reach 
than the in-built wifi gets, he says from experience :-).  This may be 
the MAC address reported first, giving an "ID" which can later change.


It might be better to do a filter on ""Physical address" and then regard 
each of the physical addresses as valid IDs (disregarding the 
00-00-00-00-00-00 ones for virtual adapters).


And as Peter said, a smart user can find a way around it anyway, a smart 
and malicious user will definitely get around it.


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


Re: Identifying a certain Windows machine

2010-03-30 Thread Joe F.

Thanks for covering that 1% Alex.
Added a notes field to my script library.

Joe F.

On Mar 30, 2010, at 10:02 AM, Alex Tweedly wrote:


Joe F. wrote:

Wow- that is some answer. Thank you Monte.

I was actually expecting something like "getSystemID" to be built  
into Revtalk, but...


You inspired me to make myself a script library.
Note this approach works 99% of the time, but can go wrong (or at  
least be very confusing) if the user has installed any devices which  
have an in-built MAC address (e.g. a USB Wifi card, perhaps to get  
better reach than the in-built wifi gets, he says from  
experience :-).  This may be the MAC address reported first, giving  
an "ID" which can later change.


It might be better to do a filter on ""Physical address" and then  
regard each of the physical addresses as valid IDs (disregarding the  
00-00-00-00-00-00 ones for virtual adapters).


And as Peter said, a smart user can find a way around it anyway, a  
smart and malicious user will definitely get around it.


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

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


___
use-revolution mailing list
use-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: Identifying a certain Windows machine

2010-03-30 Thread Peter Alcibiades

This version of the problem is interestingly different from the usual two
ways in which it presents.  I've seen it from the perspective of a user
wanting not to be tied to one physical machine, and also from the
perspective of a vendor wishing to use tying to one particular machine to
inhibit piracy.  However, the case of a user, who wants to be sure that
no-one else can install the software he is using, by having it tied to one
physical machine, is interestingly different. 

One does wonder what exactly this software would be doing  But no, don't
tell us!  I really, really do not want to know!

Peter
-- 
View this message in context: 
http://n4.nabble.com/Identifying-a-certain-Windows-machine-tp1742751p1745692.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: Identifying a certain Windows machine

2010-03-30 Thread Marcio Alexandroni
In my opinion, it depends on the kind of software. As developers, we tend to
have more than one machine, at least a notebook and a desktop where we write
software, but we never use both at the same time. In this case, tying the
software to a hardware ID is not suitable.

For production software that users work in a network, the control can be
done in the database server, where you could log connected users and deny or
warn users that they need to purchase extra licenses.

For server softwares that are complex, expensive and attend to many
concurrent connections, this kind of software suits for a monthly activation
over the internet or a dongle. This it's possible to avoid two activations
of the same license in a month.

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



> From: Peter Alcibiades 
> Reply-To: How to use Revolution 
> Date: Tue, 30 Mar 2010 11:12:41 -0800 (PST)
> To: 
> Subject: Re: Identifying a certain Windows machine
> 
> 
> This version of the problem is interestingly different from the usual two
> ways in which it presents.  I've seen it from the perspective of a user
> wanting not to be tied to one physical machine, and also from the
> perspective of a vendor wishing to use tying to one particular machine to
> inhibit piracy.  However, the case of a user, who wants to be sure that
> no-one else can install the software he is using, by having it tied to one
> physical machine, is interestingly different.
> 
> One does wonder what exactly this software would be doing  But no, don't
> tell us!  I really, really do not want to know!
> 
> Peter
> -- 
> View this message in context:
> http://n4.nabble.com/Identifying-a-certain-Windows-machine-tp1742751p1745692.h
> tml
> 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


___
use-revolution mailing list
use-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: Identifying a certain Windows machine

2010-03-30 Thread J. Landman Gay

Alex Tweedly wrote:

Joe F. wrote:

Wow- that is some answer. Thank you Monte.

I was actually expecting something like "getSystemID" to be built into 
Revtalk, but...


You inspired me to make myself a script library.
Note this approach works 99% of the time, but can go wrong (or at least 
be very confusing) if the user has installed any devices which have an 
in-built MAC address (e.g. a USB Wifi card, perhaps to get better reach 
than the in-built wifi gets, he says from experience :-).  This may be 
the MAC address reported first, giving an "ID" which can later change.


Monte's script looks at interface en0. Does your Wifi card register on 
that one?


--
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: Identifying a certain Windows machine

2010-03-31 Thread Alex Tweedly

J. Landman Gay wrote:

Alex Tweedly wrote:

Joe F. wrote:

Wow- that is some answer. Thank you Monte.

I was actually expecting something like "getSystemID" to be built 
into Revtalk, but...


You inspired me to make myself a script library.
Note this approach works 99% of the time, but can go wrong (or at 
least be very confusing) if the user has installed any devices which 
have an in-built MAC address (e.g. a USB Wifi card, perhaps to get 
better reach than the in-built wifi gets, he says from experience 
:-).  This may be the MAC address reported first, giving an "ID" 
which can later change.


Monte's script looks at interface en0. Does your Wifi card register on 
that one?


On OS X it looks at en0, but on Windows it does a search for "Physical 
address", so it uses the first one it happens to find (which is not 
always the LAN cards).


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


Re: Identifying a certain Windows machine

2010-03-31 Thread J. Landman Gay

Alex Tweedly wrote:

J. Landman Gay wrote:
Monte's script looks at interface en0. Does your Wifi card register on 
that one?


On OS X it looks at en0, but on Windows it does a search for "Physical 
address", so it uses the first one it happens to find (which is not 
always the LAN cards).


Oh. Windows, right. Sorry, I forget about you guys sometimes. :)

--
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: Keeping a clean XP machine

2008-03-29 Thread Chipp Walters
Jim,

I use WinXP everyday on 3 different computers, plus my daughter has one as
does my wife. I've installed the free AVG and have can't remember the last
time I had a virus, or my daughter, or my wife.

The last time I had any major problems was when a RevDeleteFolder command
got passed an empty var and it started trashing my entire C drive...OUCH!
Ctrl-period couldn't stop it. Finally, I just pulled the plug on the
machine, went outside and yelled a bit at the stars ;-)

Our family pretty much knows not to download any .exe's and for the most
part GMail identifies any problematic emails for us. To me, it seems a bit
paranoid to go through what you do. Especially if you understand the basics
of how not to get in trouble browsing on the internet (don't download
anything you're absolutely not sure of).

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: Keeping a clean XP machine

2008-03-29 Thread Peter Alcibiades

Agreed that an up to date XP, running as limited user, with a decent firewall
and AV is pretty secure.  But you could also duplicate the cafe function
with less
trouble by going to Virtual Box or similar and reset after each use.  

Nothing is going to get out from VB into the base system if its running on a
different 
OS.  Debian or PCLinux would be my choice of distro on older hardware.

Interesting to hear someone mention Acronis.  Yes.  Never lets you down.
-- 
View this message in context: 
http://www.nabble.com/Keeping-a-clean-XP-machine-tp16367114p16368191.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: Keeping a clean XP machine

2008-03-29 Thread Steven Axtell

Jim,

I have been using Windows for several years now (was a Mac user in the 
past-work pulled me to Windows)-have recenlty bought a Mac mini to test the 
Mac side of my programs.  I use the latest Norton Internet Security software 
(I don't see any bogging down of the system that others have mentioned about 
earlier Norton Internet Security software).  In addition to that, I 
occasionally run a-squared Free and Spyware Terminator (the free program in 
this group of programs) to catch things that Norton might has missed.  Per 
the Maximum PC magazine, no one virus/spyware software is going to catch 
everything.  Also, I use CCleaner (per Maximum PC) to clean up unneccessary 
files that accumulate (although it doesn't look specifically for 
viruses/spyware, it does help keep the computer running fast).  Doing this, 
I have had no problems.


Steve Axtell 



___
use-revolution mailing list
use-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: Keeping a clean XP machine

2008-03-29 Thread Mark Wieder
Jim-

I keep a clean VMWare XP install image for purposes like this. When I
need to test something in a clean environment I make a copy of the
virgin image, mount it, and install whatever onto it. If anything goes
south I can just delete the image and start again. No need to endanger
my work environment.

-- 
-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: Keeping a clean XP machine

2008-03-29 Thread Bill Marriott
Jim,

> What would you suggest?

There is a completely free and extremely easy solution for you to have a 
testbed XP system that is always going to be clean:

1) Download Virtual PC 2007

http://tinyurl.com/2jr7a7

aka

http://www.microsoft.com/windows/products/winfamily/virtualpc/default.mspx

2) Download the "Internet Explorer Application Compatibility VPC Image"

http://tinyurl.com/yz6qxt

aka

http://www.microsoft.com/downloads/details.aspx?FamilyID=21eabb90-958f-4b64-b5f1-73d0a413c8ef&DisplayLang=en

Virtual PC is software that will create a "computer within a computer." You 
can run Windows XP and even some Linux distributions within it. Not only 
that, but you can set an option such that changes to the system are not 
recorded to disk. You never have to re-load an image. Just quit Virtual PC 
and the next time you run it, the system is in factory condition again.

The IEACVPC Image is a *pre-activated* copy of Windows along with Internet 
Explorer. You can choose between Windows XP SP2 with IE6/IE7/IE8 or Windows 
Vista with IE7/IE8. The software is intended to make it easier for people to 
test out web pages under the various configurations, but it works extremely 
well for testing out other software.

Using these images enables you to run various configurations of Windows 
instantly, without the time-consuming process of backing up and restoring 
drives. Just choose which OS you want from a menu. If your machine is 
powerful enough, you can even run multiple virtual computers at once. Again, 
there is no cost for either of them.

You don't say whether you are using an Intel-based Mac, but if you are, you 
have the option of using either VMWare Fusion or Parallels as a "clean" 
testbed, and you can specify that these virtual machines do not have access 
to the Internet. I have not tried to run Virtual PC within VMWare yet, but 
that would be a delightfully geeky/fun project to try some day.

This software is so useful, I highly recommend it for anyone who builds 
software for distribution on Windows.



___
use-revolution mailing list
use-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: Keeping a clean XP machine

2008-03-29 Thread Jim Sims
Thank you all for the suggestions. Quite interesting to read how many  
approaches

everyone is using.

Just for the record, I've downloaded Acronis True Image which provides  
back up
utilities, disk cleaning/wiping utilities, and an image utility. Seems  
rather fast

and does not slow down the Windows machine at all. Cost me $49.

The Try&Decide utility feature allows you to create a temporary copy  
of your hard
disk. Using this copy, you can perform changes on the system that  
otherwise might not
be advisable, such as installing new software, downloading files from  
the Internet, or
opening e-mail attachments. If, during these operations, the system  
crashes or is infected
by a virus, you can delete the temporary duplicate and restore your  
system to a known, healthy
condition. A simple reboot will restore your original hard disk and  
any changes, including

the virus or other unwanted changes, will be gone.

Thanks again,

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: crash on a single machine

2009-05-28 Thread Ruslan Zasukhin
On 5/28/09 4:39 PM, "Tiemo Hollmann TB"  wrote:

Hi Tiemo,

* IS this a SINGLE your user who have 10.4.11?
or exists other?

* so from CD the application and DB is copied to HDD?
with Vstudio user can try open db and REINDEX it.
also Diagnose. You can explain easy 2 steps todo,
If needed free serials for Vstudio you can get on our site
after login 


> My new App has a read only valentina db. My App runs fine on some hundreds
> of Win machines and also some Macs
> 
> There are no updates, no inserts to the db in my app, just plain selects.
> The db resides inside the app bundle on the Mac.
> 
> Now I have a customer (not verified perhaps two), where my app crashes
> immediately (and reproduceble), when doing any select on the db without any
> error message, it just quits. After the crash, the app can't be started
> anymore, even a restart of the Mac doesn't changes anything. At any attempt
> to start the app the user gets the error message "the app was quit
> unexpectedly". The user has to deinstall the app and reinstall it to be able
> to start the app again. But with the first click on any button, where a
> select is send to the db, the app crashes again and is unusable anymore. The
> crash log tells something about problems with the db index (has Ruslan
> already analyzed). I am not using a separate index file.
> 
> The Mac is a MacBook with 10.4.11 and 1 GB of memory, so it should be enough
> of RAM. There is no other (admin) user profile, it is a single user machine,
> so all rights are available. "Everything else" is running fine on this
> machine, so it can't be a corrupted memory modul. I gave all permission for
> everyone to the app and inherited it to all files of the app and at least my
> app runs fine on "all" other Macs (at least not this crash).
> 
>  
> 
> I know, that this is very hard to track down and is obviously valentina
> related and it must be something on the end user machine, but perhaps
> anybody has encountered something similar and has any idea where else to
> look for, I have no ideas left. Btw. the valentina list either had no ideas.
> 
>  
> 
> I am not the Mac expert. Could it be a worth to look for an update of the OS
> X, without switching completely to 10.5? I have never looked, can you
> select, which updates you want to load on a Mac?

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]


___
use-revolution mailing list
use-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: crash on a single machine

2009-05-28 Thread Tiemo Hollmann TB
Thank you Ruslan,
I'll go for that
Tiemo

> -Ursprüngliche Nachricht-
> Von: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
> boun...@lists.runrev.com] Im Auftrag von Ruslan Zasukhin
> Gesendet: Donnerstag, 28. Mai 2009 16:46
> An: use-revolution; valent...@lists.macserve.net
> Betreff: Re: crash on a single machine
> 
> On 5/28/09 4:39 PM, "Tiemo Hollmann TB"  wrote:
> 
> Hi Tiemo,
> 
> * IS this a SINGLE your user who have 10.4.11?
> or exists other?
> 
> * so from CD the application and DB is copied to HDD?
> with Vstudio user can try open db and REINDEX it.
> also Diagnose. You can explain easy 2 steps todo,
> If needed free serials for Vstudio you can get on our site
> after login
> 
> 
> > My new App has a read only valentina db. My App runs fine on some
> hundreds
> > of Win machines and also some Macs
> >
> > There are no updates, no inserts to the db in my app, just plain
> selects.
> > The db resides inside the app bundle on the Mac.
> >
> > Now I have a customer (not verified perhaps two), where my app crashes
> > immediately (and reproduceble), when doing any select on the db without
> any
> > error message, it just quits. After the crash, the app can't be started
> > anymore, even a restart of the Mac doesn't changes anything. At any
> attempt
> > to start the app the user gets the error message "the app was quit
> > unexpectedly". The user has to deinstall the app and reinstall it to be
> able
> > to start the app again. But with the first click on any button, where a
> > select is send to the db, the app crashes again and is unusable anymore.
> The
> > crash log tells something about problems with the db index (has Ruslan
> > already analyzed). I am not using a separate index file.
> >
> > The Mac is a MacBook with 10.4.11 and 1 GB of memory, so it should be
> enough
> > of RAM. There is no other (admin) user profile, it is a single user
> machine,
> > so all rights are available. "Everything else" is running fine on this
> > machine, so it can't be a corrupted memory modul. I gave all permission
> for
> > everyone to the app and inherited it to all files of the app and at
> least my
> > app runs fine on "all" other Macs (at least not this crash).
> >
> >
> >
> > I know, that this is very hard to track down and is obviously valentina
> > related and it must be something on the end user machine, but perhaps
> > anybody has encountered something similar and has any idea where else to
> > look for, I have no ideas left. Btw. the valentina list either had no
> ideas.
> >
> >
> >
> > I am not the Mac expert. Could it be a worth to look for an update of
> the OS
> > X, without switching completely to 10.5? I have never looked, can you
> > select, which updates you want to load on a Mac?
> 
> --
> Best regards,
> 
> Ruslan Zasukhin
> VP Engineering and New Technology
> Paradigma Software, Inc
> 
> Valentina - Joining Worlds of Information
> http://www.paradigmasoft.com
> 
> [I feel the need: the need for speed]
> 
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

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


Mac OS-X standalone from Windows machine

2006-03-21 Thread Levi Kendall
Hi All,
  I'm having a bit of a problem making a standalone application for OS-X
from a Windows machine.  Actually making it is not the problem really,
running it is.  The save to standalone works fine and I end up with what I
am assuming is the executeable in a structure that looks as such:

My Application.app \ Contents \ MacOS \ My Application

  What seems to be the problem is the file at the end "My Application" does
not get the execute flag set on it when being transfered to the OS-X
filesystem.  My current method of transport was simply to zip the entire
directory and then unzip the file on the Mac.  This would leave the
directory structure as is, which I'm assuming is necessary.  However the
problem is the "My Application" executeable needs to have CHMOD run on it in
order to properly execute because of the execute flag missing on the OS-X
filesystem.

  Does anyone have any solution to work around this?  Is it necessary to
have some kind of "installer" program to properly set this up on the OS-X
end?  Or is there another way to handle it?  If at all possible, I would
like to be able to handle this from the Windows machine, rather than
actually needing an OS-X box.

-Levi Kendall
___
use-revolution mailing list
use-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 change the resoultion of machine

2006-04-21 Thread MITTAL Pradeep Kumar
Hello,
 
Is there any way so that one can change the resolution of the machine to
800 * 600 by using some rev function ?
And then after reset the resolution to the previous settings.
 
And the same thing, I would like to do for sounds. Is there any way to
control the volume ?
 
Thanks for your help.
 
Best Regards
Pradeep
 
___
use-revolution mailing list
use-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: locking software to one specific machine?

2010-03-04 Thread Peter Alcibiades
Completely OT question.  Do any of you do this?  The method is that the 
machine on first run produces a machine ID, and you then issue a license 
key which is tied to that ID.  The software can only be run on that 
specific machine.

If so, or even if not, what is the usual and recommended package/method to 
use?

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


Connecting to PostGreSQL on same machine: Mac OSX

2004-12-10 Thread Sivakatirswami
Alright... I've successfully installed PostGreSQL on my mac... in the  
terminal it's up and running, I've created a database and just now did

select * from taskroster
and got my two test rows returned... but..
in the Mac's activity monitor... i don't see a process named "Postgres"
just the tcsh shell I have open to talk to Postgres...
And also, in rev, this fails:
 put  
revOpenDatabase("Postgresql","localhost","katir_test","postgres","myPass 
Word")

could not connect to server: Connection refused
Is the server running on host "localhost" and accepting
TCP/IP connections on port 5432?
my computer name on the lan is "katir.hindu.org"  but
 put  
revOpenDatabase("Postgresql","katir.hindu.org","katir_test","postgres"," 
myPassWord")

does not work either..
I'm sure this must be simple...
TIA
Sannyasin Sivakatirswami
Himalayan Academy Publications
at Kauai's Hindu Monastery
[EMAIL PROTECTED]
www.HimalayanAcademy.com,
www.HinduismToday.com
www.Gurudeva.org
www.Hindu.org
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Comunication COM1: and a CNC milling machine (timeout?)

2003-09-17 Thread Malte Brill
Hi List,

my dad asked me if I could build an app. that stores the Programs of his CNC
milling machine on his Windows PC. I promised him to try it.

The Machine is connected with the computer on com1 and seems to be sending
plain text.

So I walked through the Dictionary and set up the following:

I set the serialControlString to:

baud=300 parity=E data=7 stop=1

(Looking at the old DOS program he has, thats what the machine needs)


I created a button:

on mouseUp
  put empty into fld "fehler"
  open file "COM1:" for read
  put "opened"&cr into fld "log"
  read from file "COM1:" until end
  put "reading done"&cr after fld "log"
  put the result into fld "Fehler"
  put it into fld "Ausgabe"
  close file "COM1:"
  put "closed"&cr after fld "log"
end mouseUp

When I hit the button, it instantly reports EOF in fld "fehler".
How do I tell Revolution to wait until the data is sent by the CNC milling
machine? Can I set a timeout somehow to wait let´s say for about 2 minutes?

Any help is greatly apreciated!

Regards,

Malte

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


copying folder from http server to local machine

2006-01-12 Thread JAMKAR Kapil
Hi all

 

I am new to revolution and I am trying to write an application that will
be copied from an http server. I have a data folder associated with the
application. I need to copy this data folder to the client. 

 

How can I do that? 

 

Can I use  revCopyFolder for this purpose? 

 

I tried it using put URL but it did not work for me :-(

 

Can anybody help me out?

 

Thanks.

Kapil Jamkar

 

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


Re: Mac OS-X standalone from Windows machine

2006-03-21 Thread J. Landman Gay

Levi Kendall wrote:

Hi All,
  I'm having a bit of a problem making a standalone application for OS-X
from a Windows machine.  Actually making it is not the problem really,
running it is.  The save to standalone works fine and I end up with what I
am assuming is the executeable in a structure that looks as such:

My Application.app \ Contents \ MacOS \ My Application

  What seems to be the problem is the file at the end "My Application" does
not get the execute flag set on it when being transfered to the OS-X
filesystem.  My current method of transport was simply to zip the entire
directory and then unzip the file on the Mac.  This would leave the
directory structure as is, which I'm assuming is necessary.  However the
problem is the "My Application" executeable needs to have CHMOD run on it in
order to properly execute because of the execute flag missing on the OS-X
filesystem.

  Does anyone have any solution to work around this?  Is it necessary to
have some kind of "installer" program to properly set this up on the OS-X
end?  Or is there another way to handle it?  If at all possible, I would
like to be able to handle this from the Windows machine, rather than
actually needing an OS-X box.


I'd like to know the answer to this too. Has anyone else experienced this?

--
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: Mac OS-X standalone from Windows machine

2006-03-21 Thread Richard Gaskin

J. Landman Gay wrote:

Levi Kendall wrote:

  I'm having a bit of a problem making a standalone application for OS-X
from a Windows machine.  Actually making it is not the problem really,
running it is.  The save to standalone works fine and I end up with what I
am assuming is the executeable in a structure that looks as such:

My Application.app \ Contents \ MacOS \ My Application

  What seems to be the problem is the file at the end "My Application" does
not get the execute flag set on it when being transfered to the OS-X
filesystem.  My current method of transport was simply to zip the entire
directory and then unzip the file on the Mac.  This would leave the
directory structure as is, which I'm assuming is necessary.  However the
problem is the "My Application" executeable needs to have CHMOD run on it in
order to properly execute because of the execute flag missing on the OS-X
filesystem.

  Does anyone have any solution to work around this?  Is it necessary to
have some kind of "installer" program to properly set this up on the OS-X
end?  Or is there another way to handle it?  If at all possible, I would
like to be able to handle this from the Windows machine, rather than
actually needing an OS-X box.


I'd like to know the answer to this too. Has anyone else experienced this?


As far as I can tell, chmod affects elements in the Unix file system 
that simply aren't present in Windows, much as the old Mac apps needed a 
resource fork that was possible only on Apple's HFS.


So as far as I can tell, Levi's original guess that chmod was needed is 
consistent with what I've had to do to get the executable within the 
bundle to have its permissions set correctly:


   get shell("chmod ugo+x" && quote & tDestFile & quote)

If there's some other way to write the file on a non-Unix system and be 
copy it to OS X with the executable permissions in place I'd love to 
learn about it.


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to change the resoultion of machine

2006-04-21 Thread Scott Rossi
Recently, MITTAL Pradeep Kumar wrote:

> Is there any way to control the volume ?

See the playLoudness entry in the docs.

Setting the global playLoudness sets the volume level of the entire system;
setting the playLoudness of an audioClip or player sets the volume of that
object independently of the system.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

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


Re: How to change the resoultion of machine

2006-04-21 Thread Sarah Reichelt
> Is there any way so that one can change the resolution of the machine to
> 800 * 600 by using some rev function ?
> And then after reset the resolution to the previous settings.
>
> And the same thing, I would like to do for sounds. Is there any way to
> control the volume ?


What operating system are you using? For Macs, you can set the system
volume using AppleScript. In Mac OS 9 or earlier, you can also set the
screen res using AppleScript although I think it requires Jon's
Commands scripting addition. FOr OS X, you can use the shell command
cscreen to change resolution.

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


How to change the resolution of the machine

2006-04-24 Thread MITTAL Pradeep Kumar
 
FOR MAC and OS X there is cscreen and other utilities but I want to
change the resolution on windows pc. And for that I need a very light
weight command utility which does not require any installation.

Is there any utility or some other mechansim to achieve this on PC?

___
use-revolution mailing list
use-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: locking software to one specific machine?

2010-03-04 Thread Mark Schonewille

Hi Peter,

I use a MAC address for this, sometimes a drive serial number or  
computer serial number. This can only work if the configuration of the  
computer isn't going to change. In one project, I take the MAC address  
and check the license plus MAC address in a database. In another  
project, I use the IP address to confine a license to a particular  
organisation. It is also possible to hardcode information in the  
software, if this is a unique project for one single customer.


The problem with these approaches is often that they take lots of  
support hours and cause your customers a lot of frustrations. You  
might want to think again before implementing such a system.


It isn't OT, once you start implementing it with RunRev :-) It is  
doable.


--
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 4 mrt 2010, om 15:03 heeft Peter Alcibiades het volgende geschreven:

Completely OT question.  Do any of you do this?  The method is that  
the
machine on first run produces a machine ID, and you then issue a  
license

key which is tied to that ID.  The software can only be run on that
specific machine.

If so, or even if not, what is the usual and recommended package/ 
method to

use?

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: OT: locking software to one specific machine?

2010-03-04 Thread Richard Gaskin

Peter Alcibiades wrote:

Completely OT question.  Do any of you do this?  The method is that the
machine on first run produces a machine ID, and you then issue a license
key which is tied to that ID.  The software can only be run on that
specific machine.


I don't bother, instead just using the more common method of 
machine-independent reg codes.  Like I tell my customers, "We don't 
punish you for your good fortune of owning more than one computer." :)


In the modern world many people own more than one computer, and by 
choosing to have per-person licenses rather than per-machine licenses we 
keep our support costs down by not having to deal with angry people when 
they upgrade their computer or change their NIC.


I'm sure this allows a certain amount of piracy among our customers, but 
the cost-benefit ratio of both methods favors flexibility for the 
customer with our products.


In certain markets this may not always hold true.  For example, games 
and music software are the two most pirated categories (which is 
especially ironic for music, given that musicians make their living from 
intellectual property).


So like any security consideration, you'll have to consider the relative 
ROI for your product.


But it may be helpful to keep in mind that security is overhead, while 
features are investment.  So here, using minimal security lets us focus 
on adding features which encourage sales among honest people, the only 
people who ever pay for software anyway.


All software can be hacked, most within three days of release. Game 
companies who spend millions on security do so with the hope of 
postponing the inevitable c...@ck by just 60 days.  Fortunately, few 
honest people take on the risk of downloading c...@cked copies from random 
sites in the PRC or Russia (home to some 90% of c...@ck sites), many of 
which are loaded with keyloggers and other zombieware.


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


Re: OT: locking software to one specific machine?

2010-03-04 Thread François Chaplais

Le 4 mars 2010 à 15:25, Mark Schonewille a écrit :

> Hi Peter,
> 
> I use a MAC address for this, sometimes a drive serial number or computer 
> serial number. This can only work if the configuration of the computer isn't 
> going to change. In one project, I take the MAC address and check the license 
> plus MAC address in a database. In another project, I use the IP address to 
> confine a license to a particular organisation. It is also possible to 
> hardcode information in the software, if this is a unique project for one 
> single customer.
> 
> The problem with these approaches is often that they take lots of support 
> hours and cause your customers a lot of frustrations. You might want to think 
> again before implementing such a system.
> 
> It isn't OT, once you start implementing it with RunRev :-) It is doable.
> 
> --
> 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.
> 
My first macbook pro had its NVIDIA chipset broken. The MBP wouldn't boot. The 
motherboard was replace and voila, I had lost the license on some of my 
software because it was tied to the MAC address (and I could not uninstall the 
software on the now defunct motherboard). Moreover, I upgraded afterwards to a 
new MBP, and the transition was painful for the same software.

Tying software to a specific hardware configuration is BAD marketing practice. 
The customer is your friend, not your enemy. S/N tied to a name or e-mail are 
quite common in software registration and they do not penalize the customer.

Think of piracy as a form of advertisement. IMHO, when a user of a pirated copy 
(S/N here) finds your software useful, and if if the price is right for him, he 
will buy the regular version to have the upgrades, customer support, etc If 
this is not the case, he may not ever have bought your software anyway.

Best,
François

___
use-revolution mailing list
use-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: locking software to one specific machine?

2010-03-04 Thread Bob Sneidar
I WHOLEHEARTEDLY AGREE! Often I migrate software to a different machine, as in 
the case when I got a new Macbook Pro and handed down mine to someone else. 
That's two computers that your software would have been broken on. 

I think it has been proven beyond dispute that if someone wants your software 
hacked, they will hack it. They will decompile it then link around it if they 
have to, or they will figure out your algorithm and duplicate it. But rest 
assured you cannot lock everyone out. 

So do what Microsoft does. Charge the good men extra for the vices of the 
wicked. :-)

Bob


On Mar 4, 2010, at 7:37 AM, François Chaplais wrote:

> 
> Le 4 mars 2010 à 15:25, Mark Schonewille a écrit :
> 
>> Hi Peter,
>> 
>> I use a MAC address for this, sometimes a drive serial number or computer 
>> serial number. This can only work if the configuration of the computer isn't 
>> going to change. In one project, I take the MAC address and check the 
>> license plus MAC address in a database. In another project, I use the IP 
>> address to confine a license to a particular organisation. It is also 
>> possible to hardcode information in the software, if this is a unique 
>> project for one single customer.
>> 
>> The problem with these approaches is often that they take lots of support 
>> hours and cause your customers a lot of frustrations. You might want to 
>> think again before implementing such a system.
>> 
>> It isn't OT, once you start implementing it with RunRev :-) It is doable.
>> 
>> --
>> 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.
>> 
> My first macbook pro had its NVIDIA chipset broken. The MBP wouldn't boot. 
> The motherboard was replace and voila, I had lost the license on some of my 
> software because it was tied to the MAC address (and I could not uninstall 
> the software on the now defunct motherboard). Moreover, I upgraded afterwards 
> to a new MBP, and the transition was painful for the same software.
> 
> Tying software to a specific hardware configuration is BAD marketing 
> practice. The customer is your friend, not your enemy. S/N tied to a name or 
> e-mail are quite common in software registration and they do not penalize the 
> customer.
> 
> Think of piracy as a form of advertisement. IMHO, when a user of a pirated 
> copy (S/N here) finds your software useful, and if if the price is right for 
> him, he will buy the regular version to have the upgrades, customer support, 
> etc If this is not the case, he may not ever have bought your software 
> anyway.
> 
> Best,
>   François
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

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


Re: OT: locking software to one specific machine?

2010-03-04 Thread Bob Sneidar
I should also mention that if you swap hard drives in two Macbook Pros, the 
serial number of the machine will FOLLOW THE MACHINES! It's odd I know, but 
true nonetheless. And as previously mentioned, if you have a motherboard 
replaced, Apple will give you a refurbished one that has the serial number 
removed from the PRAM.

Bob


On Mar 4, 2010, at 6:03 AM, Peter Alcibiades wrote:

> Completely OT question.  Do any of you do this?  The method is that the 
> machine on first run produces a machine ID, and you then issue a license 
> key which is tied to that ID.  The software can only be run on that 
> specific machine.
> 
> If so, or even if not, what is the usual and recommended package/method to 
> use?
> 
> 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

___
use-revolution mailing list
use-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: OT: locking software to one specific machine?

2010-03-04 Thread Tiemo Hollmann TB
Hello,

we have made some difference experiences and so I have to disagree to
Richard and Francois.

We are publishing software in a very small specific market, so no music, no
games. In the first years our software was - in your intention - completely
free of copy protection, later we implemented a copy protection on some
programs, which were running off the CD.

We made the experience, that nobody ever thanked us the ease of use and lack
of licensing. Just the opposite. Just because our target market is so small
and lots of people know each other, our software was copied, given away
without control. Not only once we got support calls in the kind "hi, we just
made a copy of your software at ..., but we have some troubles installing
it..."

After more than ten years of living with the total lack of conscience at
most people out there "what? Everbody copies software!" we decided to
implement a heavy licensing system to our newest product which ties our
product to the single machine without any doubts.

Yes, we get furious calls, how we can be so cruel not to let the user
install it on all of his (and the rest of the world) machines. Yes, it is
much more support as having just a licence-number without any verifying,
beside entering the right name and email and a fixed number.

But yes, the cost-benefit ratio is very satisfying for us. Not for the
pirates of the past. The pirates of the past were no Russian hackers or
hacker kids. They were people like you and me, who just didn't mind and
didn't care about what copying of software means. I think especially of one
target group "teachers" (sorry Richmond, nothing personal) teachers are the
heroes of copying everything in my mind. Btw. Richmond, where is your pin on
the map http://qurl.tk/4O ? And yes, after month of heavy support and dozens
of smaller and bigger enhancements in our system (which was designed from
the scratch), now the support comes down to a "normal" amount.

The need and whish of the customer to install your software on more than one
machine can also be handled by your pricing system. That are our
experiences.

P.S.
If you are looking for an individual engineered system, there is a very
experienced company: http://economy-x-talk.com/

Tiemo




> -Ursprüngliche Nachricht-
> Von: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
> boun...@lists.runrev.com] Im Auftrag von Richard Gaskin
> Gesendet: Donnerstag, 4. März 2010 15:48
> An: How to use Revolution
> Betreff: Re: OT: locking software to one specific machine?
> 
> Peter Alcibiades wrote:
> > Completely OT question.  Do any of you do this?  The method is that
> the
> > machine on first run produces a machine ID, and you then issue a
> license
> > key which is tied to that ID.  The software can only be run on that
> > specific machine.
> 
> I don't bother, instead just using the more common method of
> machine-independent reg codes.  Like I tell my customers, "We don't
> punish you for your good fortune of owning more than one computer." :)
> 
> In the modern world many people own more than one computer, and by
> choosing to have per-person licenses rather than per-machine licenses
> we
> keep our support costs down by not having to deal with angry people
> when
> they upgrade their computer or change their NIC.
> 
> I'm sure this allows a certain amount of piracy among our customers,
> but
> the cost-benefit ratio of both methods favors flexibility for the
> customer with our products.
> 
> In certain markets this may not always hold true.  For example, games
> and music software are the two most pirated categories (which is
> especially ironic for music, given that musicians make their living
> from
> intellectual property).
> 
> So like any security consideration, you'll have to consider the
> relative
> ROI for your product.
> 
> But it may be helpful to keep in mind that security is overhead, while
> features are investment.  So here, using minimal security lets us focus
> on adding features which encourage sales among honest people, the only
> people who ever pay for software anyway.
> 
> All software can be hacked, most within three days of release. Game
> companies who spend millions on security do so with the hope of
> postponing the inevitable c...@ck by just 60 days.  Fortunately, few
> honest people take on the risk of downloading c...@cked copies from
> random
> sites in the PRC or Russia (home to some 90% of c...@ck sites), many of
> which are loaded with keyloggers and other zombieware.
> 
> --
>   Richard Gaskin
>   Fourth World
>   Rev training and consulting: http://www.fourthworld.com
>   Webzine for Rev developers: http://www.revjournal.com
>   revJournal blog: http://revjou

Re: OT: locking software to one specific machine?

2010-03-04 Thread Luis

:(

Is that like flogging innocent folk in the streets to put criminals  
off that potential punishment?


No Cheers,

Luis.


On 4 Mar 2010, at 16:35, Bob Sneidar wrote:



So do what Microsoft does. Charge the good men extra for the vices  
of the wicked. :-)


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: OT: locking software to one specific machine?

2010-03-04 Thread Bob Sneidar
Sorry Luis. It was meant tongue in cheek. And it's more like charging the 
butcher double for a loaf of bread because the blacksmith won't pay me for a 
bag of rice. 

Bob


On Mar 4, 2010, at 8:46 AM, Luis wrote:

> :(
> 
> Is that like flogging innocent folk in the streets to put criminals off that 
> potential punishment?
> 
> No Cheers,
> 
> Luis.
> 
> 
> On 4 Mar 2010, at 16:35, Bob Sneidar wrote:
> 
>> 
>> So do what Microsoft does. Charge the good men extra for the vices of the 
>> wicked. :-)
>> 
>> 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

___
use-revolution mailing list
use-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: locking software to one specific machine?

2010-03-04 Thread Luis

No harm done.

Cheers,

Luis.


On 4 Mar 2010, at 16:49, Bob Sneidar wrote:

Sorry Luis. It was meant tongue in cheek. And it's more like  
charging the butcher double for a loaf of bread because the  
blacksmith won't pay me for a bag of rice.


Bob


On Mar 4, 2010, at 8:46 AM, Luis wrote:


:(

Is that like flogging innocent folk in the streets to put  
criminals off that potential punishment?


No Cheers,

Luis.


On 4 Mar 2010, at 16:35, Bob Sneidar wrote:



So do what Microsoft does. Charge the good men extra for the  
vices of the wicked. :-)


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


___
use-revolution mailing list
use-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: Connecting to PostGreSQL on same machine: Mac OSX

2004-12-11 Thread Pierre Sahores
Hello Katir,
Le 11 déc. 04, à 05:51, Sivakatirswami a écrit :
Alright... I've successfully installed PostGreSQL on my mac... in the  
terminal it's up and running, I've created a database and just now did

select * from taskroster
and got my two test rows returned... but..
in the Mac's activity monitor... i don't see a process named "Postgres"
Need to be visible there (3 lines of postgres processes), else the  
server is not running.

Did you use the best Mac OS X suited installer available all around at  
. Else, it's the  
best to do. Marc Liyanage explains all what need to be done to install  
and set up PostgreSQL on our Macs, where the Apple's official page is  
mainly "approximative"...

just the tcsh shell I have open to talk to Postgres...
And also, in rev, this fails:
 put  
revOpenDatabase("Postgresql","localhost","katir_test","postgres","myPas 
sWord")

could not connect to server: Connection refused
Is the server running on host "localhost" and accepting
TCP/IP connections on port 5432?
About the TCP/IP connections, they are set by default for the localhost  
only (and it enought to feet the app server needs..). You can if needed  
tune this in modifying the needed line in the "postgresql.conf" file.
my computer name on the lan is "katir.hindu.org"  but
if you expect to run the connection inside a Rev application's  
server..., use this instead of your revOpenDatabase command :

 if PGLinkOpen is a number then get revdb_disconnect("projetsdac")
put  
revOpenDatabase("Postgresql","katir.hindu.org","katir_test","postgres"," 
myPassWord") into PGLinkOpen
It's best to send it once only in app server mode (when it start) and  
for each new request in CGI mode. Use PGLinkOpen as a global value.

 put  
revOpenDatabase("Postgresql","katir.hindu.org","katir_test","postgres", 
"myPassWord")

does not work either..
Let us know how it goes...
Best, Pierre
I'm sure this must be simple...
TIA
Sannyasin Sivakatirswami
Himalayan Academy Publications
at Kauai's Hindu Monastery
[EMAIL PROTECTED]
www.HimalayanAcademy.com,
www.HinduismToday.com
www.Gurudeva.org
www.Hindu.org
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

--
Bien cordialement, Pierre Sahores
100, rue de Paris
F - 77140 Nemours
[EMAIL PROTECTED]
[EMAIL PROTECTED]
GSM:   +33 6 03 95 77 70
Pro:  +33 1 64 45 05 33
Fax:  +33 1 64 45 05 33

WEB/EAI services & ACID DB over IP
"Mutualiser les deltas de productivité"
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Connecting to PostGreSQL on same machine: Mac OSX

2004-12-11 Thread Frank D. Engel, Jr.
On Dec 11, 2004, at 4:05 AM, Pierre Sahores wrote:
Hello Katir,
Le 11 déc. 04, à 05:51, Sivakatirswami a écrit :
Alright... I've successfully installed PostGreSQL on my mac... in the  
terminal it's up and running, I've created a database and just now  
did

select * from taskroster
and got my two test rows returned... but..
in the Mac's activity monitor... i don't see a process named  
"Postgres"
Need to be visible there (3 lines of postgres processes), else the  
server is not running.

Did you use the best Mac OS X suited installer available all around at  
. Else, it's the  
best to do. Marc Liyanage explains all what need to be done to install  
and set up PostgreSQL on our Macs, where the Apple's official page is  
mainly "approximative"...
You shoud note that the server is not one of the "My Processes" in the  
activity monitor.  Show "Other User Processes" or "All Processes" and a  
process name of "postgres" should be listed three times.

I find it highly unlikely that the server is not running if you were  
able to execute a query; being able to communicate with the server is  
generally an indication that it is running ;-)



just the tcsh shell I have open to talk to Postgres...
And also, in rev, this fails:
 put  
revOpenDatabase("Postgresql","localhost","katir_test","postgres","myPa 
ssWord")

could not connect to server: Connection refused
Is the server running on host "localhost" and accepting
TCP/IP connections on port 5432?
About the TCP/IP connections, they are set by default for the  
localhost only (and it enought to feet the app server needs..). You  
can if needed tune this in modifying the needed line in the  
"postgresql.conf" file.
No, this is *not* the default for the current release versions of  
PostgreSQL.  By default, TCP/IP connections (the only kind you can make  
to PostgreSQL through Rev) are disabled.  You need to make changes in  
two files in the data directory of PostgreSQL:

You need to enable TCP/IP connections in postgresql.conf, and you need  
to configure your authentication settings in pg_hba.conf.

This is not described on the page listed below, but is mentioned in the  
PostgreSQL documentation; for details see:

http://www.postgresql.org/docs/7.3/static/client-authentication.html

my computer name on the lan is "katir.hindu.org"  but
if you expect to run the connection inside a Rev application's  
server..., use this instead of your revOpenDatabase command :

 if PGLinkOpen is a number then get revdb_disconnect("projetsdac")
put  
revOpenDatabase("Postgresql","katir.hindu.org","katir_test","postgres", 
"myPassWord") into PGLinkOpen
It's best to send it once only in app server mode (when it start) and  
for each new request in CGI mode. Use PGLinkOpen as a global value.
Personally, I like to use a custom property for this:
set the database of this stack to revOpenDatabase(...)
if the database of this stack is not a number then
  answer error "Failed to connect to the database." & the lineDelimiter  
& the lineDelimiter & the database of this stack titled "Connection  
Failure"
  quit
end if


 put  
revOpenDatabase("Postgresql","katir.hindu.org","katir_test","postgres" 
,"myPassWord")

does not work either..
Let us know how it goes...
Best, Pierre
I'm sure this must be simple...
TIA
Sannyasin Sivakatirswami
Himalayan Academy Publications
at Kauai's Hindu Monastery
[EMAIL PROTECTED]
www.HimalayanAcademy.com,
www.HinduismToday.com
www.Gurudeva.org
www.Hindu.org
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

--
Bien cordialement, Pierre Sahores
100, rue de Paris
F - 77140 Nemours
[EMAIL PROTECTED]
[EMAIL PROTECTED]
GSM:   +33 6 03 95 77 70
Pro:  +33 1 64 45 05 33
Fax:  +33 1 64 45 05 33

WEB/EAI services & ACID DB over IP
"Mutualiser les deltas de productivité"
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

---
Frank D. Engel, Jr.  <[EMAIL PROTECTED]>
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten  
Son, that whosoever believeth in him should not perish, but have  
everlasting life.
$


___
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Connecting to PostGreSQL on same machine: Mac OSX

2004-12-11 Thread Andre Garzia
go to your terminal, type:
ps -auxc | grep "post"
it will list postgre if it is running. My postgre process is called 
postmaster I think not postgreSQL... anyway the above shell command 
will catch postgre, postmaster, whatever contains post

On Dec 11, 2004, at 2:38 PM, Frank D. Engel, Jr. wrote:
You shoud note that the server is not one of the "My Processes" in the 
activity monitor.  Show "Other User Processes" or "All Processes" and 
a process name of "postgres" should be listed three times.

I find it highly unlikely that the server is not running if you were 
able to execute a query; being able to communicate with the server is 
generally an indication that it is running ;-)
--
Andre Alves Garzia  2004
Soap Dog Studios - BRAZIL
http://studio.soapdog.org
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Connecting to PostGreSQL on same machine: Mac OSX

2004-12-11 Thread Sivakatirswami
Sannyasin Sivakatirswami
Himalayan Academy Publications
at Kauai's Hindu Monastery
[EMAIL PROTECTED]
www.HimalayanAcademy.com,
www.HinduismToday.com
www.Gurudeva.org
www.Hindu.org
On Dec 11, 2004, at 6:38 AM, Frank D. Engel, Jr. wrote:
You shoud note that the server is not one of the "My Processes" in the  
activity monitor.  Show "Other User Processes" or "All Processes" and  
a process name of "postgres" should be listed three times.
;-) "such a novice am i"
OK great, yes: "Other User Processes" show three  and Andre's console  
test:

Last login: Fri Dec 10 18:24:45 on ttyp1
Welcome to Darwin!
[katir:~] katir% ps -auxc |grep "post"
postgres  5559   0.0  0.138040980 std- SFri03PM   0:00.07  
postmaster
postgres  5562   0.0  0.035308184 std- SFri03PM   0:00.00  
postgres:
postgres  5563   0.0  0.034320272 std- SFri03PM   0:00.01  
postgres:
[katir:~] katir%

shows we are indeed up and running, as we suspected since all things  
are working from the cmd line.


I find it highly unlikely that the server is not running if you were  
able to execute a query; being able to communicate with the server is  
generally an indication that it is running ;-)



just the tcsh shell I have open to talk to Postgres...
And also, in rev, this fails:
 put  
revOpenDatabase("Postgresql","localhost","katir_test","postgres","myP 
assWord")

could not connect to server: Connection refused
Is the server running on host "localhost" and accepting
TCP/IP connections on port 5432?
About the TCP/IP connections, they are set by default for the  
localhost only (and it enought to feet the app server needs..). You  
can if needed tune this in modifying the needed line in the  
"postgresql.conf" file.
No, this is *not* the default for the current release versions of  
PostgreSQL.  By default, TCP/IP connections (the only kind you can  
make to PostgreSQL through Rev) are disabled.  You need to make  
changes in two files in the data directory of PostgreSQL:

You need to enable TCP/IP connections in postgresql.conf, and you need  
to configure your authentication settings in pg_hba.conf.

This is not described on the page listed below, but is mentioned in  
the PostgreSQL documentation; for details see:

http://www.postgresql.org/docs/7.3/static/client-authentication.html
Thanks... I'll check it out and let you all know what happens.
Aloha,
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Connecting to PostGreSQL on same machine: Mac OSX

2004-12-12 Thread Hershel Fisch
On Friday, December 10, 2004, at 11:51 PM, Sivakatirswami wrote:
Alright... I've successfully installed PostGreSQL on my mac... in the  
terminal it's up and running, I've created a database and just now did

select * from taskroster
and got my two test rows returned... but..
in the Mac's activity monitor... i don't see a process named "Postgres"
just the tcsh shell I have open to talk to Postgres...
And also, in rev, this fails:
 put  
revOpenDatabase("Postgresql","localhost","katir_test","postgres","myPas 
sWord")

could not connect to server: Connection refused
Is the server running on host "localhost" and accepting
TCP/IP connections on port 5432?
Hi , in order to run thru a tcp/ip connection it has to be enabled  
first , to do so eithre you enable the tcp/ip or you start it
with an -I flag.
su - postgres
password
postgres% "/usr/local/bin/postmaster -D /usr/local/pgsql/data –I" (  
this is the -I flag you enter)
Hershel Fisch


my computer name on the lan is "katir.hindu.org"  but
 put  
revOpenDatabase("Postgresql","katir.hindu.org","katir_test","postgres", 
"myPassWord")

does not work either..
I'm sure this must be simple...
TIA
Sannyasin Sivakatirswami
Himalayan Academy Publications
at Kauai's Hindu Monastery
[EMAIL PROTECTED]
www.HimalayanAcademy.com,
www.HinduismToday.com
www.Gurudeva.org
www.Hindu.org
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Connecting to PostGreSQL on same machine: Mac OSX

2004-12-13 Thread Pierre Sahores
Hello Katir,
If you run in troubles with the Postgres for Mac OS X installation 
process, take time to reinstall from scratch in using the Mark 
Liyanage's Postgres.DMG and How-to that you can find at 
.

Best Regards,
Pierre
Le 13 déc. 04, à 01:45, Sivakatirswami a écrit :
;-( things are getting worse instead of better. Now I seemed to have 
shot myself in the foot and cannot even get the postmaster/server to 
start up at all...let alone connect with rev... OK, following all the 
advice as bes as I can and also the postgres docshere's where i 
stand:

===
OK first of all Pierre was correct, after initdb on installtion, the 
pg_hba file was in fact automatically installed with two client 
authenticate records as follows:

pg_hba.conf
# TYPE  DATABASEUSERIP-ADDRESSIP-MASK   
METHOD

local   all all 
trust
# IPv4-style local connections:
hostall all 127.0.0.1 255.255.255.255   
trust

# I infer from this that "localhost" should work automatically, 
assuming we can start the server and tcp/ip connections are allowed...

So I then edited postmaster.conf and uncommented only three lines, 
tcpip, max_connections and port

# - Connection Settings -
tcpip_socket = true
max_connections = 50
# note: increasing max_connections costs about 500 bytes of 
shared
# memory per connection slot, in addition to costs from 
shared_buffers
# and max_locks_per_transaction.
#superuser_reserved_connections = 2
port = 5432
#unix_socket_directory = ''
#unix_socket_group = ''
#unix_socket_permissions = 0777 # octal
#virtual_host = ''  # what interface to listen on; 
defaults to any
#rendezvous_name = ''   # defaults to the computer name

# - Security & Authentication -
#authentication_timeout = 60# 1-600, in seconds
#ssl = false
#password_encryption = true
#krb_server_keyfile = ''
#db_user_namespace = false lines
(and more lines, all commented out)

OK, that seems to fulfill everyone's guidance... but:
katir:/usr/local/pgsql/data postgres$ pg_ctl -D /usr/local/pgsql/data 
-i -l logfile start
katir:/usr/local/pgsql/data postgres$

katir:/usr/local/pgsql/bin postgres$ ./psql katir_test
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
katir:/usr/local/pgsql/bin postgres$
So, no I cannot even start up the server at all.
??
Sivakatirswami

On Dec 12, 2004, at 9:08 AM, Hershel Fisch wrote:
Hi , in order to run thru a tcp/ip connection it has to be enabled 
first , to do so eithre you enable the tcp/ip or you start it
with an -I flag.
su - postgres
password
postgres% "/usr/local/bin/postmaster -D /usr/local/pgsql/data –I" ( 
this is the -I flag you enter)
Hershel Fisch
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

--
Bien cordialement, Pierre Sahores
100, rue de Paris
F - 77140 Nemours
[EMAIL PROTECTED]
[EMAIL PROTECTED]
GSM:   +33 6 03 95 77 70
Pro:  +33 1 64 45 05 33
Fax:  +33 1 64 45 05 33

WEB/EAI services & ACID DB over IP
"Mutualiser les deltas de productivité"
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Connecting to PostGreSQL on same machine: Mac OSX

2004-12-13 Thread Frank D. Engel, Jr.
On Dec 12, 2004, at 7:45 PM, Sivakatirswami wrote:
;-( things are getting worse instead of better. Now I seemed to have 
shot myself in the foot and cannot even get the postmaster/server to 
start up at all...let alone connect with rev... OK, following all the 
advice as bes as I can and also the postgres docshere's where i 
stand:

===
OK first of all Pierre was correct, after initdb on installtion, the 
pg_hba file was in fact automatically installed with two client 
authenticate records as follows:

pg_hba.conf
# TYPE  DATABASEUSERIP-ADDRESSIP-MASK   
METHOD

local   all all 
trust
# IPv4-style local connections:
hostall all 127.0.0.1 255.255.255.255   
trust

# I infer from this that "localhost" should work automatically, 
assuming we can start the server and tcp/ip connections are allowed...

So I then edited postmaster.conf and uncommented only three lines, 
tcpip, max_connections and port
These should all take on defaults, only the tcpip_socket value is 
wrong.  That is the only one you should need to uncomment, then set it 
to true.

Uncommenting the other lines certainly should not hurt, though...
# - Connection Settings -
tcpip_socket = true
max_connections = 50
# note: increasing max_connections costs about 500 bytes of 
shared
# memory per connection slot, in addition to costs from 
shared_buffers
# and max_locks_per_transaction.
#superuser_reserved_connections = 2
port = 5432
#unix_socket_directory = ''
#unix_socket_group = ''
#unix_socket_permissions = 0777 # octal
#virtual_host = ''  # what interface to listen on; 
defaults to any
#rendezvous_name = ''   # defaults to the computer name

# - Security & Authentication -
#authentication_timeout = 60# 1-600, in seconds
#ssl = false
#password_encryption = true
#krb_server_keyfile = ''
#db_user_namespace = false lines
(and more lines, all commented out)

OK, that seems to fulfill everyone's guidance... but:
katir:/usr/local/pgsql/data postgres$ pg_ctl -D /usr/local/pgsql/data 
-i -l logfile start
This should have been "restart", not "start".  Also, you should not 
need to specify "-i" since the tcpip_socket=true option was given in 
postgresql.conf.


katir:/usr/local/pgsql/data postgres$
katir:/usr/local/pgsql/bin postgres$ ./psql katir_test
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
katir:/usr/local/pgsql/bin postgres$
This is trying to connect to PostgreSQL through a UNIX domain socket 
rather than TCP/IP.  This should still be working, but if not, try a 
command like this:

psql -h  -U  dbname

So, no I cannot even start up the server at all.
Did you check the activity monitor again to see if it was running or 
not?  The above given error message is a connectivity problem, any does 
not necessarily mean that the server is not running.

??
Sivakatirswami

On Dec 12, 2004, at 9:08 AM, Hershel Fisch wrote:
Hi , in order to run thru a tcp/ip connection it has to be enabled 
first , to do so eithre you enable the tcp/ip or you start it
with an -I flag.
su - postgres
password
postgres% "/usr/local/bin/postmaster -D /usr/local/pgsql/data –I" ( 
this is the -I flag you enter)
Hershel Fisch
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

---
Frank D. Engel, Jr.  <[EMAIL PROTECTED]>
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$


___
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Connecting to PostGreSQL on same machine: Mac OSX

2004-12-13 Thread Sivakatirswami
More on this...
I can start the dbase in the foreground..
katir:~ postgres$ /usr/local/pgsql/bin/postmaster -D 
/usr/local/pgsql/data
LOG:  database system was shut down at 2004-12-13 08:56:00 HST
LOG:  checkpoint record is at 0/9E0780
LOG:  redo record is at 0/9E0780; undo record is at 0/0; shutdown TRUE
LOG:  next transaction ID: 551; next OID: 17153
LOG:  database system is ready

I see three postgres processes now in the activity monitor... but I 
can't find a way to issue commands to it from the cmd line.. there is 
no prompt after the last line above.


but

katir:~ postgres$ /usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data 
-l logfile restart
doesn't work.. see below.

On Dec 13, 2004, at 8:45 AM, Sivakatirswami wrote:
Frank, thanks for your patient responses
Still no go..
katir:~ postgres$ /usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data 
-l logfile restart

nothing happens, activity monitor doesn't show any start postgres 
processes started.

So, I'm stumped at this moment.
Is there some other log that will tell give us any useful feed back on 
what is happening.

Pierre:  Yes, I suppose I could  do a complete re-install, but, since 
two days ago I *was* able to start the server and all that I did in 
the interim was to "touch" the pg_hba.conf and postgresql.conf files, 
I *really* would like to fix this "manually" so that I get a grip on 
the issues and not simply "quit" and start over again.  though, if 
there is no definitive diagnostic then I may have not choice...

In the meantime I'm logging into our new server in Connecticutt where 
Postgres is running just fine and going through the tutorials via 
ssh...  creating test data bases and doing my "homework." (I'll have 
more to ask you about the rev ap server you installed after I get a 
little deeper into it...)

So, not having it running on my own machine is not a show stopper, 
just a nuisance.. normally I would be doing this kind of  R & D during 
hours when I am off line... now I have to do it during on-line hours= 
"eats my day job time." i.e. the time when I should be working on web 
design, content and team coordination etc.

Pierre, perhaps you could email me off list your own pg_hba.conf and 
postgresql.conf files that you are using on your OSX machine, I would 
install those and see if it works

Thanks!
Sivakatirswami
Himalayan Academy Publications
at Kauai's Hindu Monastery
[EMAIL PROTECTED]
www.HimalayanAcademy.com,
www.HinduismToday.com
www.Gurudeva.org
www.Hindu.org
On Dec 13, 2004, at 7:18 AM, Frank D. Engel, Jr. wrote:
This is trying to connect to PostgreSQL through a UNIX domain socket 
rather than TCP/IP.  This should still be working, but if not, try a 
command like this:

psql -h  -U  dbname

So, no I cannot even start up the server at all.
Did you check the activity monitor again to see if it was running or 
not?  The above given error message is a connectivity problem, any 
does not necessarily mean that the server is not running.
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Connecting to PostGreSQL on same machine: Mac OSX

2004-12-13 Thread Sivakatirswami
Frank, thanks for your patient responses
Still no go..
katir:~ postgres$ /usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data 
-l logfile restart

nothing happens, activity monitor doesn't show any start postgres 
processes started.

So, I'm stumped at this moment.
Is there some other log that will tell give us any useful feed back on 
what is happening.

Pierre:  Yes, I suppose I could  do a complete re-install, but, since 
two days ago I *was* able to start the server and all that I did in the 
interim was to "touch" the pg_hba.conf and postgresql.conf files, I 
*really* would like to fix this "manually" so that I get a grip on the 
issues and not simply "quit" and start over again.  though, if there is 
no definitive diagnostic then I may have not choice...

In the meantime I'm logging into our new server in Connecticutt where 
Postgres is running just fine and going through the tutorials via 
ssh...  creating test data bases and doing my "homework." (I'll have 
more to ask you about the rev ap server you installed after I get a 
little deeper into it...)

So, not having it running on my own machine is not a show stopper, just 
a nuisance.. normally I would be doing this kind of  R & D during hours 
when I am off line... now I have to do it during on-line hours= "eats 
my day job time." i.e. the time when I should be working on web design, 
content and team coordination etc.

Pierre, perhaps you could email me off list your own pg_hba.conf and 
postgresql.conf files that you are using on your OSX machine, I would 
install those and see if it works

Thanks!
Sivakatirswami
Himalayan Academy Publications
at Kauai's Hindu Monastery
[EMAIL PROTECTED]
www.HimalayanAcademy.com,
www.HinduismToday.com
www.Gurudeva.org
www.Hindu.org
On Dec 13, 2004, at 7:18 AM, Frank D. Engel, Jr. wrote:
This is trying to connect to PostgreSQL through a UNIX domain socket 
rather than TCP/IP.  This should still be working, but if not, try a 
command like this:

psql -h  -U  dbname

So, no I cannot even start up the server at all.
Did you check the activity monitor again to see if it was running or 
not?  The above given error message is a connectivity problem, any 
does not necessarily mean that the server is not running.
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Connecting to PostGreSQL on same machine: Mac OSX

2004-12-13 Thread Sivakatirswami
 data bases and doing my "homework." (I'll 
have more to ask you about the rev ap server you installed after I 
get a little deeper into it...)

So, not having it running on my own machine is not a show stopper, 
just a nuisance.. normally I would be doing this kind of  R & D 
during hours when I am off line... now I have to do it during 
on-line hours= "eats my day job time." i.e. the time when I should 
be working on web design, content and team coordination etc.

Pierre, perhaps you could email me off list your own pg_hba.conf and 
postgresql.conf files that you are using on your OSX machine, I 
would install those and see if it works

Thanks!
Sivakatirswami
Himalayan Academy Publications
at Kauai's Hindu Monastery
[EMAIL PROTECTED]
www.HimalayanAcademy.com,
www.HinduismToday.com
www.Gurudeva.org
www.Hindu.org
On Dec 13, 2004, at 7:18 AM, Frank D. Engel, Jr. wrote:
This is trying to connect to PostgreSQL through a UNIX domain 
socket rather than TCP/IP.  This should still be working, but if 
not, try a command like this:

psql -h  -U  dbname

So, no I cannot even start up the server at all.
Did you check the activity monitor again to see if it was running 
or not?  The above given error message is a connectivity problem, 
any does not necessarily mean that the server is not running.
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

---
Frank D. Engel, Jr.  <[EMAIL PROTECTED]>
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$


___
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


  1   2   >