Re: Shell Command with Sudo

2010-06-13 Thread Peter Alcibiades


Richmond Mathewson-2 wrote:
 
 
 This is all very charming, but I wonder how one would
 effect this from a standalone on an end-user's machine . . .  :)
 
 

You'd have to write an install or first use shell script.  Get the user,
then the root password, then write an extra line to /etc/sudoers.  The
advantage, though it will not matter to many, is that you don't store the
password in the app and don't have to supply it at each use of the commands,
and that you have restricted your privileges to one named user and one
variant of one command.  

Justin's solution is very nice, agreed.  Probably more practical and
certainly easier to do.  But, you do end up storing the password, and what
commands can be executed is not limited, nor is which user limited.  

Or maybe this is wrong?  That is what the effect, I think, would be on
Debian, which ships without sudo built in.  Maybe these distros that ship
with sudo are preconfigured to allow any user to sudo with their own login
password?  In which case they can do sudo su -?  I don't much like that idea
either, that cannot be surely?

-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Shell-Command-with-Sudo-tp2251593p2253279.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: WWDC Keynote: HTML5 wide open for On-Rev revServer

2010-06-13 Thread Peter Alcibiades

http://technology.timesonline.co.uk/tol/news/tech_and_web/personal_tech/article7148846.ece

'Maclean is now working with software developers to circumvent Apple’s
restrictions via a web app that he hopes “will offer everything an Apple app
can, but you can access it with a browser like any internet page. On the
other hand, maybe Apple will start being reasonable”.'

Or maybe they will take it to the logical conclusion, and do web site
censorship?  Maybe this is impossible?  Maybe they will do it anyway?



-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/WWDC-Keynote-HTML5-wide-open-for-On-Rev-revServer-tp2246637p2253298.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: [OT] Installing Linux fonts

2010-06-13 Thread Peter Alcibiades

Can you imagine finding these directions on how to use installed fonts on a
Python mailing list?  Its simply ridiculous.  Rev needs to make the fonts
work on Rev like they do on all other applications. Or stop selling the
thing!

There are in excess of 20k packages in the Debian repositories.  None of
them, none, have problems recognizing installed fonts.  If you are a systems
programmer and writing programs that cannot manage fonts properly in the OS
for which you are writing, its time to stop.  Take up carpentry, or
plumbing.
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/OT-Installing-Linux-fonts-tp2219888p2253303.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: How do you get the name of an open saved file in memory using message box?

2010-06-13 Thread Sarah Reichelt
 The question is how do you get the name of the file that is opened from a
 script to save in a variable. This is what I been unable to do.

How do you open the file? Do you get the user to select a file using
the answer file dialog?
If so, try something like this:

global gOpenDataFile
answer file Select a file to open:
if it is empty then exit to top
put it into gOpenDataFile
put URL (file:  gOpenDataFile) into tFileData
-- process the file data as usual

Now the global variable gOpenDataFile contains the full path to the
data file that was opened.
You can use this later when asking to save:

global gOpenDataFile
ask file Save data file? with gOpenDataFile

And it will offer the same folder and file name as before.
Note that if you select the same file name, the OS will give you a
file exists warning, whereas if you just save directly using the file
name, then it won't.

-- 
Cheers,
Sarah

Rodeo discussion:
http://rodeoapps.com/rodeo-discuss-among-yourselves
___
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: DiagramCreator in beta.

2010-06-13 Thread Sarah Reichelt
On Sun, Jun 13, 2010 at 2:18 PM, Chipp Walters ch...@chipp.com wrote:
 Hey all.

 Been busy creating a fun tool for creating diagrams using plain english
 sentences. The free beta version is available for both Mac and PC.

 http://blog.chipp.com

Chipp, this is awesome! Thanks for sharing it.

-- 
Cheers,
Sarah

Rodeo discussion:
http://rodeoapps.com/rodeo-discuss-among-yourselves
___
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: Datagrid with option menu filled from database

2010-06-13 Thread JosepM

Hi,

I put the option menu data load into the preopenstack, accessing directly to
the datagrid template xx.
I guess that is correct, isn't?


Salut,
Josep 
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Datagrid-with-option-menu-filled-from-database-tp2253060p2253334.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


ANN: Installer Maker plugin for Runtime Revolution

2010-06-13 Thread Mark Schonewille

Dear RunRev users,

As you may have read in a recent RevUp at http://qurl.tk/cf , Economy- 
x-Talk has been working on an Installer Maker plugin for RunRev. This  
plugin helps you to create installers from your standalones. There's  
no longer a need for separate installer building software anymore: you  
can now do it all from within RunRev. The plugin currently creates  
installers for Windows and Mac OS X (regardless of the operating  
system you are currently using).


You can read more about the Installer Maker plugin and obtain a  
license at http://qurl.tk/ce . Documentation and videos will be  
available soon. If you have any questions meanwhile, please send me an  
e-mail.


--
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 projects. Contact me for a  
quote http://economy-x-talk.com/contact.html
Download Clipboard Link http://clipboardlink.economy-x-talk.com and  
share the clipboard of your computer over the local network.


___
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 do you get the name of an open saved file in memory using message box?

2010-06-13 Thread charles61

Hi Sarah,

The situation is the same as the user who has created and saved a document but 
then decides to make a change to the document before creating a new document. 
The dialog is essentially a Save As Dialog where the user is asked whether to 
save the document with the same name or disregard the changes and close the 
document. 

In my current dialog the user is given the standard save untitled.txt option. 
Instead, I would like the user to get a dialog that says Save the file abc or 
disregard the changes. Here abc is the name of the saved file before changes 
were made to the file.

 Hi Sarah,
 
 The situation is the same as the user who has created and saved a document 
 but then decides to make a change to the document before creating a new 
 document. The dialog is a reminder to the user to save the document before 
 closing it with the same name or with a different name. In other words, it is 
 a Save As Dialog that you would see if you were closing a document but have 
 not saved some changes to the document.

Charles Szasz
csz...@mac.com




On Jun 13, 2010, at 6:02 AM, Sarah Reichelt-2 [via Runtime Revolution] wrote:

  The question is how do you get the name of the file that is opened from a 
  script to save in a variable. This is what I been unable to do. 
 
 How do you open the file? Do you get the user to select a file using 
 the answer file dialog? 
 If so, try something like this: 
 
 global gOpenDataFile 
 answer file Select a file to open: 
 if it is empty then exit to top 
 put it into gOpenDataFile 
 put URL (file:  gOpenDataFile) into tFileData 
 -- process the file data as usual 
 
 Now the global variable gOpenDataFile contains the full path to the 
 data file that was opened. 
 You can use this later when asking to save: 
 
 global gOpenDataFile 
 ask file Save data file? with gOpenDataFile 
 
 And it will offer the same folder and file name as before. 
 Note that if you select the same file name, the OS will give you a 
 file exists warning, whereas if you just save directly using the file 
 name, then it won't. 
 
 -- 
 Cheers, 
 Sarah 
 
 Rodeo discussion: 
 http://rodeoapps.com/rodeo-discuss-among-yourselves
 ___ 
 use-revolution mailing list 
 [hidden email] 
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences: 
 http://lists.runrev.com/mailman/listinfo/use-revolution
 
 
 View message @ 
 http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2253331.html
  
 To unsubscribe from Re: How do you get the name of an open saved file in 
 memory using message box?, click here.
 


-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2253404.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


Have you discuss here already that Apple changed SDK to allow cross-tools ?

2010-06-13 Thread Ruslan Zasukhin
Hi All,

On russian news site about iphone I have to read
That Apple have silently add in SDK license 3.3.2point

That App can use something like this
 but only after written permission from apple.


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


Re: Have you discuss here already that Apple changed SDK to allow cross-tools ?

2010-06-13 Thread Colin Holgate
Here's an article about it, that includes the relevant passages:

http://www.appleoutsider.com/2010/06/10/hello-lua

It seems more geared towards Electronic Arts games, where they use Lua to do 
overall game control. It's hard to say whether Rev apps would get away with the 
same conditions, because where as Lua is just controlling a bit of game logic, 
and not doing much to make the entire app function, Rev's scripts would be 
completely in control of what the app is doing. So it might fail the 
Application may use embedded interpreted code in a limited way if such use is 
solely for providing minor features or functionality... part.



___
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 do you get the name of an open saved file in memory using message box?

2010-06-13 Thread Mike Bonner
Ok, so the file is created or opened to start with. If its a
pre-existing file that is opened by using answer file as long as the
user doesn't cancel, the path to the chosen file will be in the it
special variable.
So if you put it into some place to store it, you then have the
filename.  YOU need to keep track of this until the file is closed so
that you can use the information.

If a new file is created and saved, again, as soon as its saved, you
know the filename. Store it as stated above for later use. Use ask
file to prompt the user for the initial save, then put it into a
storage vehicle.

Either way, at this point you as the programmer should be tracking the
file name.
So if you want to have a save as option, again use ask file

ask file Save as with yourstoredfilepath
See 'ask file with' in the dictionary for more information.

While looking at all this, you should also read the entry for
defaultFolder, specialFolderPath and the like as you are most likely
going to need them.


On Sun, Jun 13, 2010 at 7:01 AM, charles61 csz...@mac.com wrote:

 Hi Sarah,

 The situation is the same as the user who has created and saved a document 
 but then decides to make a change to the document before creating a new 
 document. The dialog is essentially a Save As Dialog where the user is asked 
 whether to save the document with the same name or disregard the changes and 
 close the document.

 In my current dialog the user is given the standard save untitled.txt 
 option. Instead, I would like the user to get a dialog that says Save the 
 file abc or disregard the changes. Here abc is the name of the saved file 
 before changes were made to the file.

 Hi Sarah,

 The situation is the same as the user who has created and saved a document 
 but then decides to make a change to the document before creating a new 
 document. The dialog is a reminder to the user to save the document before 
 closing it with the same name or with a different name. In other words, it 
 is a Save As Dialog that you would see if you were closing a document but 
 have not saved some changes to the document.

 Charles Szasz
 csz...@mac.com




 On Jun 13, 2010, at 6:02 AM, Sarah Reichelt-2 [via Runtime Revolution] wrote:

  The question is how do you get the name of the file that is opened from a
  script to save in a variable. This is what I been unable to do.

 How do you open the file? Do you get the user to select a file using
 the answer file dialog?
 If so, try something like this:

 global gOpenDataFile
 answer file Select a file to open:
 if it is empty then exit to top
 put it into gOpenDataFile
 put URL (file:  gOpenDataFile) into tFileData
 -- process the file data as usual

 Now the global variable gOpenDataFile contains the full path to the
 data file that was opened.
 You can use this later when asking to save:

 global gOpenDataFile
 ask file Save data file? with gOpenDataFile

 And it will offer the same folder and file name as before.
 Note that if you select the same file name, the OS will give you a
 file exists warning, whereas if you just save directly using the file
 name, then it won't.

 --
 Cheers,
 Sarah

 Rodeo discussion:
 http://rodeoapps.com/rodeo-discuss-among-yourselves
 ___
 use-revolution mailing list
 [hidden email]
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution


 View message @ 
 http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2253331.html
 To unsubscribe from Re: How do you get the name of an open saved file in 
 memory using message box?, click here.



 --
 View this message in context: 
 http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2253404.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


Cannot change cursor ID

2010-06-13 Thread Simon Lord
Running on OS X and will default to Shao's external if I can't sort this out...

I have a non-animated gif with transparency sized to 16x16 as per the
documentation and I can get the cursor to use this image as a cursor.

set the cursor to 1021

Using the image name (as per the docs) simply spits out an error.
Using the ID does nothing.  Searching the archives seems to point out
I'm not the first to have problems but I have yet to come across a
posting that had a solution.

I could always set the cursor to none and just have an image follow
the mouse but would like to avoid that scenario if possible.
___
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: Cannot change cursor ID

2010-06-13 Thread Mark Wieder
Simon-

Sunday, June 13, 2010, 9:00:32 AM, you wrote:

 set the cursor to 1021

set the lockcursor

-- 
-Mark Wieder
 mwie...@ahsoftware.net

___
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: Cannot change cursor ID

2010-06-13 Thread Simon Lord
Man oh man.  The minute I read that post it came flooding back in a
flash.  I forgot a lot more than I had realized.

Thanks Mark.


On Sun, Jun 13, 2010 at 12:17 PM, Mark Wieder mwie...@ahsoftware.net wrote:
 Simon-

 Sunday, June 13, 2010, 9:00:32 AM, you wrote:

 set the cursor to 1021

 set the lockcursor

 --
 -Mark Wieder
  mwie...@ahsoftware.net

 ___
 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: So you CAN build an OS X app from another system...

2010-06-13 Thread Mark Wieder
Richard-

Saturday, June 12, 2010, 2:37:05 PM, you wrote:

 Zipping does work from Windows, which is what I'm doing now (with a note
 to the user that they have to unzip it; a drag, but I can't find a way
 around that.

Got it.

On an xp box I created an OSX standalone and zipped it.
I put the zip file into a custom property of a stack.
I copied the stack onto a flash drive and moved it to a mac.
I ran the following function on the mac.

Ditto preserves the executable bit, unzip does not.

on mouseUp pMouseBtnNo
local tDestination
local tFileName
local tTempFile

answer folder Where do you want to place the mac application?
if it is not empty then
put it into tDestination
put tempname() into tFileName
put binfile:  tFileName into tTempFile
put the uInstallFile of this stack into url tTempFile

get shell(ditto -xk  tFileName  tDestination)
delete file tFileName
end if
end mouseUp

-- 
-Mark Wieder
 mwie...@ahsoftware.net

___
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: So you CAN build an OS X app from another system...

2010-06-13 Thread Richard Gaskin

Mark Wieder wrote:


Saturday, June 12, 2010, 2:37:05 PM, you wrote:


Zipping does work from Windows, which is what I'm doing now (with a note
to the user that they have to unzip it; a drag, but I can't find a way
around that.


Got it.

On an xp box I created an OSX standalone and zipped it.
I put the zip file into a custom property of a stack.
I copied the stack onto a flash drive and moved it to a mac.
I ran the following function on the mac.

Ditto preserves the executable bit, unzip does not.

on mouseUp pMouseBtnNo
local tDestination
local tFileName
local tTempFile

answer folder Where do you want to place the mac application?
if it is not empty then
put it into tDestination
put tempname() into tFileName
put binfile:  tFileName into tTempFile
put the uInstallFile of this stack into url tTempFile

get shell(ditto -xk  tFileName  tDestination)
delete file tFileName
end if
end mouseUp


Thanks.

I thought ditto was only available to Win users running the Enterprise 
versions with the Unix shell extras.  Does XP home support it?


--
 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: ANN: Installer Maker plugin for Runtime Revolution

2010-06-13 Thread Pierre Sahores
Congratulations for this, Mark !

Question 1 : How to purchase it ? You says that the webstore is not available 
yet (under construction ?) even if it seems to be one targeted below the 
product presentation.
Question 2 : Do you expect to add a licensing system processor to your 
installer's plugin so we could use at once to pack the standalone and its final 
user's licensing credentials.

Thanks for your explainations.

Best Regards,

Pierre


Le 13 juin 2010 à 14:47, Mark Schonewille a écrit :

 Dear RunRev users,
 
 As you may have read in a recent RevUp at http://qurl.tk/cf , Economy-x-Talk 
 has been working on an Installer Maker plugin for RunRev. This plugin helps 
 you to create installers from your standalones. There's no longer a need for 
 separate installer building software anymore: you can now do it all from 
 within RunRev. The plugin currently creates installers for Windows and Mac OS 
 X (regardless of the operating system you are currently using).
 
 You can read more about the Installer Maker plugin and obtain a license at 
 http://qurl.tk/ce . Documentation and videos will be available soon. If you 
 have any questions meanwhile, please send me an e-mail.
 
 --
 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 projects. Contact me for a quote 
 http://economy-x-talk.com/contact.html
 Download Clipboard Link http://clipboardlink.economy-x-talk.com and share the 
 clipboard of your computer over the local network.
 
 ___
 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
 

--
Pierre Sahores
mobile : (33) 6 03 95 77 70

www.wrds.com
www.sahores-conseil.com






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


Re: [OT] Installing Linux fonts

2010-06-13 Thread Richmond

On 06/13/2010 01:09 AM, G. Wolfgang Gaich wrote:

Hello Richmond,

I tested to use all installed fonts on Ubuntu 10.04 with rev. No problem.

With

set the textfont of fld /field/ to /fontname/

I can use all available fonts.

Only the function fontnames() does not return all the fonts.

But you can get a list of fontnames with

put shell(fc-list) into tTempFontsList
set the itemdel to :
repeat for each line tL in tTempFontsList
   set the itemdel to :
   put item 1 of tL into tL2
   set the itemdel to ,
   put item 1 of tL2  cr after tFontsList
end repeat
delete char -1 of tFontsList


If you want to install a user font then copy it into 
/home/user/.fonts/truetype/

and in console type:

  sudo fc-cache

Now you can use that font with rev.

hth

Wolfgang




Wow! Thanks so much.

Hey; Alcibiades . . . take note of this one . . .  :)
___
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] Installing Linux fonts

2010-06-13 Thread Richmond

On 06/13/2010 12:18 PM, Peter Alcibiades wrote:

Can you imagine finding these directions on how to use installed fonts on a
Python mailing list?  Its simply ridiculous.  Rev needs to make the fonts
work on Rev like they do on all other applications. Or stop selling the
thing!

There are in excess of 20k packages in the Debian repositories.  None of
them, none, have problems recognizing installed fonts.  If you are a systems
programmer and writing programs that cannot manage fonts properly in the OS
for which you are writing, its time to stop.  Take up carpentry, or
plumbing.
   


Um . . . I have a feeling writing vitriolic stuff like this may have a 
negative

effect (I speak from experience).

Now; Runrev have been trying to be 'all things to all men' and because of
that have fallen short with Linux fonts . . . well Wolfgang's method 
will suffice

until things get sorted out by RunRev.

Oh, by-ther-way, I don't know why carpentry or plumbing should be seen as
somehow inferior to computer programming: having successfully botched
loads of woodwork projects and done some fairly awful plumbing in my time
I will always respect Carpenters and Plumbers. At least with RunRev 
programming
there is no risk of burst pipes; just spent about 3 weekends replacing 
toilets, sink
U-bends and so on in our country cottage as they all bust during the 
freeze last winter

because I had put them in so badly the first time . . .  :)

And the lesson of my story is: if you are as bad a plumber as Richmond; 
take up

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


Re: ANN: Installer Maker plugin for Runtime Revolution

2010-06-13 Thread Mark Schonewille

Thanks, Pierre!

I'm still working on the website and it will take a while until  
everything works the way it should. I have just uploaded a new version  
of the Installer Maker site, which hopefully takes away the confusion  
caused by the previous version. You can simply click on the Buy Now  
button to buy a license through PayPal (optionally using your credit  
card).


I'm open to any feature requests. Surely, I can add a simple licensing  
and registration system, but such systems often have to satisfy  
special requirements, which make customisation necessary. If you have  
any ideas about such a system, contact me off-list and I'd be happy to  
discuss it with you.


--
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 projects. Contact me for a  
quote http://economy-x-talk.com/contact.html
Download Clipboard Link http://clipboardlink.economy-x-talk.com and  
share the clipboard of your computer over the local network.


On 13 jun 2010, at 21:23, Pierre Sahores wrote:


Congratulations for this, Mark !

Question 1 : How to purchase it ? You says that the webstore is not  
available yet (under construction ?) even if it seems to be one  
targeted below the product presentation.
Question 2 : Do you expect to add a licensing system processor to  
your installer's plugin so we could use at once to pack the  
standalone and its final user's licensing credentials.


Thanks for your explainations.

Best Regards,

Pierre


___
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


Linux application icon

2010-06-13 Thread Bill Vlahos
The Rev IDE gives the ability to create the icon for Mac and Windows 
applications but not LInux. How do I do this for a Linux application?

Bill Vlahos
_
InfoWallet (http://www.infowallet.com) is about keeping your important life 
information with you, accessible, and secure.

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


Re: ANN: Installer Maker plugin for Runtime Revolution

2010-06-13 Thread Glen Bojsza
Is there a time frame for when you will have  Linux support?

I currently am using Fedora 10, 11 1nd 13 also the latest Ubuntu.

thanks

On Sun, Jun 13, 2010 at 5:47 AM, Mark Schonewille 
m.schonewi...@economy-x-talk.com wrote:

 Dear RunRev users,

 As you may have read in a recent RevUp at http://qurl.tk/cf ,
 Economy-x-Talk has been working on an Installer Maker plugin for RunRev.
 This plugin helps you to create installers from your standalones. There's no
 longer a need for separate installer building software anymore: you can now
 do it all from within RunRev. The plugin currently creates installers for
 Windows and Mac OS X (regardless of the operating system you are currently
 using).

 You can read more about the Installer Maker plugin and obtain a license at
 http://qurl.tk/ce . Documentation and videos will be available soon. If
 you have any questions meanwhile, please send me an e-mail.

 --
 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 projects. Contact me for a quote
 http://economy-x-talk.com/contact.html
 Download Clipboard Link http://clipboardlink.economy-x-talk.com and share
 the clipboard of your computer over the local network.


 ___
 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: Linux application icon

2010-06-13 Thread Damien Girard

Hi Bill,

On linux, applications does not bundle the icons like Windows or MacOS.

You have to use xdg-utils tools to create desktop icons on the GNOME Desktop
environment.
http://portland.freedesktop.org/wiki/

Regards,

Damien Girard
NativeSoft, France.

-Message d'origine-
De : use-revolution-boun...@lists.runrev.com
[mailto:use-revolution-boun...@lists.runrev.com] De la part de Bill Vlahos
Envoyé : dimanche 13 juin 2010 21:47
À : How to use Revolution
Objet : Linux application icon


The Rev IDE gives the ability to create the icon for Mac and Windows
applications but not LInux. How do I do this for a Linux application?

Bill Vlahos
_
InfoWallet (http://www.infowallet.com) is about keeping your important life
information with you, accessible, and secure.

___
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: Linux application icon

2010-06-13 Thread Richmond

On 06/13/2010 10:46 PM, Bill Vlahos wrote:

The Rev IDE gives the ability to create the icon for Mac and Windows 
applications but not LInux. How do I do this for a Linux application?

Bill Vlahos
_
InfoWallet (http://www.infowallet.com) is about keeping your important life 
information with you, accessible, and secure.

___
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
   


A bit of a humphy thing.

You need to make a PNG image of your icon.

As far as I am aware (probably Peter Alcibiades can help you here) the
end-user will then have to assign the PNG as the icon to the standalone
via the Properties palette in the Window manager. Of course there is always
the risk that they will assign a different image as an icon - but you cannot
really have freedom with restrictions, and Linux systems do allow an 
incredible

amount oif customisation and mucking about.

Out of interest; if you assign an icon to a standalone under KDE it does not
usually stick should you then change to another Window manager such as
GNOME or XFCE (obviously if you transfer to some sort of minimalist 
W-Manager
that does not feature icons the question doesn't arise).  Mind you, I 
suppose that

most folks stick with one W-manager (I use GNOME on most of my machines with
Ubuntu - but Mint Linux with XFCE is rather attractive).

I have found no other way to do things; a right bu**er as it means that 
when the

end-user cracks open the archive you distribute your standalone + PNG image
in, they have to assign the icon; and, obviously, not all end-users will 
either

know how to do that or be bothered to do it.
___
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: Have you discuss here already that Apple changed SDK to allow cross-tools ?

2010-06-13 Thread Robert Mann

And I really wonder how can UNITY game developpment platform go through... it
seems that UNITY controls the apps... (I understood written in javascript)
and that next revision will allow allow to adress all iphone native SDK
libraries too. Good for them, but I do feel it is rather unfair for runrev!! 
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Have-you-discuss-here-already-that-Apple-changed-SDK-to-allow-cross-tools-tp2253457p2253736.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


Using a plugin

2010-06-13 Thread Emmett Gray
I've R'dTFM but I still don't know how to do this. I'm using 
RevMedia, if that matters. I've downloaded Rinaldi's auto-save plugin 
and want to use it in a particular stack. Where should I put it/load 
it (so that it will be always available with that stack if it moves 
to another machine)? How do I invoke it so that it's invisible? If 
it's invisible, how do I set the interval?

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


Re: Linux application icon

2010-06-13 Thread Richmond

On 06/13/2010 11:12 PM, Damien Girard wrote:

Hi Bill,

On linux, applications does not bundle the icons like Windows or MacOS.

You have to use xdg-utils tools to create desktop icons on the GNOME Desktop
environment.
http://portland.freedesktop.org/wiki/

   

 Reading that made me feel both stupid and headachey!

Command-line apps do that to me.

The caveat is about 2 thirds of the way down the page:

And now your product has a menu on any XDG compliant desktop!

so; as you really don't know what sort of Window Manager and/or Desktop
manager your end-user favours this doesn't help much, except that, at least,
a subset of your end-users will end up with a predetermined icon. So, pop
a PNG image of the icon in your distribution archive for the awkward
ones . . .  :)

The next bit made my toes curl a bit:

Changes in xdg-utils 1.0.1:

* Several shell syntax issues causing failures on Ubuntu 6.10 

despite the page supposedly having been updated this year, as Ubuntu
users are running at 10.04 I wonder how much further than 6.10 the
thing has been tested on.

This would also suggest that the thing has ONLY been tested on Ubuntu; which
while being the most popular desktop distro out there, is not the only 
one by a very

long chalk indeed: who knows it may totally scr*w up on some other distro.

Being pessimistic; but better that than having egg all over my face when 
somebody
writes me a mildly abusive e-mail about my product showing up on their 
personal

Linux designed with 'Linux fron scratch' without a special icon.
___
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


Long URL in a field

2010-06-13 Thread Emmett Gray
In the HC version of a stack I've converted, I have a notes text 
field. The field has a vertical scroll bar, but not a horizontal one 
(and that's what I want). In HC, a long URL will wrap so you can see 
the whole thing on multiple lines. In Rev, it doesn't wrap so you 
can't see it all (although you can still select it by dragging to the 
right). Can this behavior be changed to be like in HC (i.e. force a 
line with no spaces to wrap)?

___
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: Using a plugin

2010-06-13 Thread J. Landman Gay

Emmett Gray wrote:
I've R'dTFM but I still don't know how to do this. I'm using RevMedia, 
if that matters. I've downloaded Rinaldi's auto-save plugin and want to 
use it in a particular stack. Where should I put it/load it (so that it 
will be always available with that stack if it moves to another 
machine)? How do I invoke it so that it's invisible? If it's invisible, 
how do I set the interval?


It's been shipping as a standard Rev plugin for ages, so it should 
already be installed. You should be able to find it in the 
Development/Plugins menu.


It isn't attached to a stack, it's attached to the IDE. If you want to 
use it in a stack, you'll need to make it a substack of your own 
mainstack. In that case the visibility can be set by your own scripts, 
and toggled by a button or menu item you create (use set the visible of 
stack whatever to true/false.) The plugin wasn't really meant to be 
that sort of tool though, it's an IDE addition.


--
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: Using a plugin

2010-06-13 Thread Richard Gaskin

J. Landman Gay wrote:

Emmett Gray wrote:

I've R'dTFM but I still don't know how to do this. I'm using RevMedia,
if that matters. I've downloaded Rinaldi's auto-save plugin and want to
use it in a particular stack. Where should I put it/load it (so that it
will be always available with that stack if it moves to another
machine)? How do I invoke it so that it's invisible? If it's invisible,
how do I set the interval?


It's been shipping as a standard Rev plugin for ages, so it should
already be installed. You should be able to find it in the
Development/Plugins menu.


I don't believe RevMedia has a Plugins menu.

--
 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: Using a plugin

2010-06-13 Thread J. Landman Gay

Richard Gaskin wrote:

J. Landman Gay wrote:

Emmett Gray wrote:

I've R'dTFM but I still don't know how to do this. I'm using RevMedia,
if that matters. I've downloaded Rinaldi's auto-save plugin and want to
use it in a particular stack. Where should I put it/load it (so that it
will be always available with that stack if it moves to another
machine)? How do I invoke it so that it's invisible? If it's invisible,
how do I set the interval?


It's been shipping as a standard Rev plugin for ages, so it should
already be installed. You should be able to find it in the
Development/Plugins menu.


I don't believe RevMedia has a Plugins menu.


Oops. Right. Sorry about that.

I don't think that changes my attach-to-stack advice, at least, I hope not.

--
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: Have you discuss here already that Apple changed SDK to allow cross-tools ?

2010-06-13 Thread David Bovill
There is no lock-in with Unity - or so it seems to me. As I understand it it
outputs source code to Xcode, which you can tweak and enhance as you wish.
If that is the case then Apple need not fear platform lock-in - and so they
could agree to license it - though no decision has been made yet as far as I
know. I'm not sure Unity outputs source code - I have only gathered this is
the case from other posts - but if it did then according to the lock-in
logic Apple would have nothing to fear.

This requires a different business logic to RunRev - for Unity the value
would then be in the IDE and the community and not the source code of the
engine.

On 13 June 2010 21:26, Robert Mann r...@free.fr wrote:


 And I really wonder how can UNITY game developpment platform go through...
 it
 seems that UNITY controls the apps... (I understood written in javascript)
 and that next revision will allow allow to adress all iphone native SDK
 libraries too. Good for them, but I do feel it is rather unfair for
 runrev!!

___
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: Long URL in a field

2010-06-13 Thread Sarah Reichelt
On Mon, Jun 14, 2010 at 6:33 AM, Emmett Gray fi...@handheldfilm.com wrote:
 In the HC version of a stack I've converted, I have a notes text field.
 The field has a vertical scroll bar, but not a horizontal one (and that's
 what I want). In HC, a long URL will wrap so you can see the whole thing on
 multiple lines. In Rev, it doesn't wrap so you can't see it all (although
 you can still select it by dragging to the right). Can this behavior be
 changed to be like in HC (i.e. force a line with no spaces to wrap)?

No, wrapping on Rev only works with white space.
So I wrote a routine to space out a long URL to fit a specific field:

command formatFolderPath pFieldName
 repeat while the formattedWidth of fld pFieldName = the width of
fld pFieldName
  -- find the last slash  replace with slash  cr
  put the text of fld pFieldName into tFolder
  repeat with x = the number of chars in tFolder down to 1
   if char x of tFolder = slash and char x+1 of tFolder  cr then
put cr after char x of tFolder
put tFolder into fld pFieldName
exit repeat
   end if
  end repeat
 end repeat
end formatFolderPath

Then when using the file path, you just need to make sure you replace
cr with empty and you get back to the original.
There are obvious improvements that could be made, but for a quick
fix, it works OK.

-- 
Cheers,
Sarah

Rodeo discussion:
http://rodeoapps.com/rodeo-discuss-among-yourselves
___
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: So you CAN build an OS X app from another system...

2010-06-13 Thread Mark Wieder
Richard-

Sunday, June 13, 2010, 12:15:06 PM, you wrote:

 I thought ditto was only available to Win users running the Enterprise
 versions with the Unix shell extras.  Does XP home support it?

Don't know.
Or care, really.
That script is for a button on the installer and runs on OSX.
It's the part that takes the zipped binary out of the custom prop,
uncompresses it, and makes an executable binary app.

-- 
-Mark Wieder
 mwie...@ahsoftware.net

___
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: So you CAN build an OS X app from another system...

2010-06-13 Thread Richard Gaskin

Mark Wieder wrote:


Richard-

Sunday, June 13, 2010, 12:15:06 PM, you wrote:


I thought ditto was only available to Win users running the Enterprise
versions with the Unix shell extras.  Does XP home support it?


Don't know.
Or care, really.
That script is for a button on the installer and runs on OSX.
It's the part that takes the zipped binary out of the custom prop,
uncompresses it, and makes an executable binary app.


Thanks. For the Mac side I've been using chmod for that.

The trick was finding a way to install a Mac-runnable app from Windows, 
something that continues to elude me.


Oh well, the zip-file-plus-read-me has sufficed well enough...

--
 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: Long URL in a field

2010-06-13 Thread Jeff Massung
Just to throw out another idea...

For my RSS app I wrote a routine that would truncate a link with ... when
it would extend beyond the length of a field and set the linkText of the
chunk to the full URL so it'd still work.

Jeff M.

On Sun, Jun 13, 2010 at 6:51 PM, Sarah Reichelt sarah.reich...@gmail.comwrote:

 On Mon, Jun 14, 2010 at 6:33 AM, Emmett Gray fi...@handheldfilm.com
 wrote:
  In the HC version of a stack I've converted, I have a notes text field.
  The field has a vertical scroll bar, but not a horizontal one (and that's
  what I want). In HC, a long URL will wrap so you can see the whole thing
 on
  multiple lines. In Rev, it doesn't wrap so you can't see it all (although
  you can still select it by dragging to the right). Can this behavior be
  changed to be like in HC (i.e. force a line with no spaces to wrap)?

 No, wrapping on Rev only works with white space.
 So I wrote a routine to space out a long URL to fit a specific field:

 command formatFolderPath pFieldName
 repeat while the formattedWidth of fld pFieldName = the width of
 fld pFieldName
  -- find the last slash  replace with slash  cr
  put the text of fld pFieldName into tFolder
  repeat with x = the number of chars in tFolder down to 1
   if char x of tFolder = slash and char x+1 of tFolder  cr
 then
put cr after char x of tFolder
put tFolder into fld pFieldName
exit repeat
   end if
  end repeat
 end repeat
 end formatFolderPath

 Then when using the file path, you just need to make sure you replace
 cr with empty and you get back to the original.
 There are obvious improvements that could be made, but for a quick
 fix, it works OK.

 --
 Cheers,
 Sarah

 Rodeo discussion:
 http://rodeoapps.com/rodeo-discuss-among-yourselves
 ___
 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: Long URL in a field

2010-06-13 Thread J. Landman Gay

Emmett Gray wrote:
In the HC version of a stack I've converted, I have a notes text 
field. The field has a vertical scroll bar, but not a horizontal one 
(and that's what I want). In HC, a long URL will wrap so you can see the 
whole thing on multiple lines. In Rev, it doesn't wrap so you can't see 
it all (although you can still select it by dragging to the right). Can 
this behavior be changed to be like in HC (i.e. force a line with no 
spaces to wrap)?


As Sarah said, Rev won't wrap these lines. If your field has no tab 
stops in it, you can use a cheat. Set the tabstops of the field to 1. 
Then use this in your handler:


  replace slash with slashtab in fld 1

Visually it looks almost right, you have to really squint to see those 
1-character tabs. This way the engine will wrap the line automatically. 
If you only want to wrap a single line in the field, just use something 
like:


  replace slash with slashtab in line x of fld 1

If you need to use the URL for something, be sure to replace tab with 
empty in the field contents before using it for anything:


  get line x of fld 1
  replace tab with empty in it
  launch url it -- or whatever

If you need real, hard-coded carriage returns or you can't set the 
tabstops to 1, this handler works on longer URLs that need to wrap over 
more than 2 lines. (Sarah's works fine on 2-line wraps.)


on wrapField pFld -- pass name or number
  set the itemdel to slash
  put the width of fld pFld - (the leftmargin of fld pFld) - (the \
 rightmargin of fld pFld) into tWidth
  put 1 into x
  repeat until the formattedwidth of fld pFld = tWidth
if the formattedwidth of item 1 to x of fld pFld  tWidth then
  put item 1 to x-1 of fld pFld  slash  cr after tText
  delete item 1 to x-1 of fld pFld
  put 1 into x
else
  add 1 to x
end if
  end repeat
  put tText  fld pFld into fld pFld
end wrapField


--
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: Long URL in a field

2010-06-13 Thread J. Landman Gay

J. Landman Gay wrote:

If you need real, hard-coded carriage returns or you can't set the 
tabstops to 1, this handler works on longer URLs that need to wrap over 
more than 2 lines.


Well, I gave you an old handler for that -- and I just found a note to 
myself that it was deprecated. Here's a better way to add hard carriage 
returns, it's all built-in:


on wrapField pFld
  replace slash with slashspace in fld pFld
  put the formattedText of fld pFld into fld pFld
  replace space with empty in fld pFld
end wrapField

I should have double-checked before writing.

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