RE: Lost focus after import snapshot

2009-09-24 Thread Nhan, Tran Thi Thanh
Thanks Jerry Balzano so much,

Actually, there are many tasks performed on list field dbGrid and it
need re-calculated and repaint once I click on a line of another list
field.

I try to put the line set the hilitedLine of field dbGrid  to 1 
into the last and see that I can navigate the hightlite of field
dbGrid by arrow key (up and down key) but I can't click on this.

It's so trange.

Nhan

-Original Message-
From: use-revolution-boun...@lists.runrev.com
[mailto:use-revolution-boun...@lists.runrev.com] On Behalf Of Jerry
Balzano
Sent: Thursday, 24 September 2009 12:10 AM
To: How to use Revolution
Subject: Re: Lost focus after import snapshot

Hi Nhan,

I tried out your example code with a list field, and everything seemed  
to work all right afterwards, i.e. one could still click on individual  
lines of the list field after it had been backgrounded.  If you'd  
like, I'd be glad to send you the simple stack I created privately, so  
you could compare what's going on there vs. in your stack.

Jerry Balzano

On Sep 22, 2009, at 9:39 PM, Nhan, Tran Thi Thanh wrote:

 Hi guys,



 Please kindly help me with this case. Is there anyone meet the same
 issue before? I have a piece code as below



   import snapshot from rectangle tRect of cd 1 of stack tStackname

   get the id of the last image of cd 1 of stack tStackname

   put it into tImageID

   set the backgroundpattern of cd fld dbGrid of cd 1 of stack
 tStackname to tImageID



 The issue is I can't click on each line of fld dbGrid after running
 this code. It seem that fld dbGrid has lost focus



 Please help



 Many thanks and regards,



 Nhan





 ___
 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


OT (slightly): what's the best X-platform icon maker that runs on a Mac?

2009-09-24 Thread Graham Samuel
I used to use Iconographer, but it hasn't been updated since 2003 -  
you can still get it (for free) but I can't think it knows about Vista  
etc. I know this has been discussed before, but what do people use  
currently? I couldn't find anything after 2007 in the archive, and  
that conversation was about Iconographer anyway!


TIA

Graham
___
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: Running a stack from the On-Rev server.

2009-09-24 Thread Alex Tweedly

Jim Bufalini wrote:



There are a few ways, depending on what you wish to do.

You can do something like
put URL (file:new.mp3) into
(ftp://user:passw...@ftp.site.com/mp3s/this.mp3;)



Hmmm. Are you saying issue this command from within an irev script? I don't
think it works from there. Or, to be more precise, I just tried it, and it
didn't work for me. Of course I changed the appropriate parts first.

  
Yes, it worked for me. I'll try again later today, but I know it worked 
about a month ago. (I had over-run my broadband usage limit, and they 
were rate-limiting my ftp session to 0 - i.e. couldn't use ftp at all. I 
could get round this for on-Rev using the file manager in cPanel - but 
nothing equivalent on my other websites/servers. So I used the cPanel 
file manager to upload a small irev script (called putfileviaftp.irev 
:-) which then ftp'ed from on-Rev to the other servers).


As to Rev CGI from on-Rev, you can do this now by just installing Rev CGI to
your on-Rev account, just like you would do it to any other server.

  
Yeah, but I'm being lazy and hoping that on-Rev will make that part of 
the standard intstall :-)


It seems like cron and curl could be used to periodically trigger a URL 
request - which could be to an irev script on your own site, and that 
irev script could then do any file distributions required.


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


ad...@oaklands-jun.wokingham.sch.uk

2009-09-24 Thread Richmond Mathewson

I was at Oaklands from 1967 - 1973, under Mr Beeston;
at that time the school was highly experimental and
ahead of its time. I now use many of the methods and
ideas in my own language school in Bulgaria.

If you would like to either link to, or look at my
website the address is:

http://mathewson.110mb.com/default.html

click on the button SCHOOL

sincerely, John Richmond Mathewson.
___
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 (slightly): what's the best X-platform icon maker that runs on a Mac?

2009-09-24 Thread Mark Schonewille

Hi Graham,

I use two free products, one on the Mac, a different one on Windows.  
For Mac, I use Apple's IconComposer. For Windows, I use IcoFX. IcoFX  
can also create icons for Mac standalones. You could install X11 on  
your Mac and install Wine under X11. IcoFX runs fine under X11 (only  
the interface may look slightly weird).


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com

Submit your software at http://www.quickestpublisher.com

On 24 sep 2009, at 11:00, Graham Samuel wrote:

I used to use Iconographer, but it hasn't been updated since 2003 -  
you can still get it (for free) but I can't think it knows about  
Vista etc. I know this has been discussed before, but what do people  
use currently? I couldn't find anything after 2007 in the archive,  
and that conversation was about Iconographer anyway!


TIA

Graham



___
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 quick note about RR Alpha 4 and older forms of Linux

2009-09-24 Thread Richmond Mathewson

Just to say that RevMedia alpha release for Linux (dp3)
does not work on Ubuntu 5.10, but it does on 8.04.

Where the cut-off is between 5.10 and 8.04
I don't know.

This is really only relevant to people who wish to
deploy RevMedia for teaching purposes on fairly
old, low-spec PCs.

I have yet to see if RR Studio 4 dp-4 can spin off
standalones that will function on Ubuntu 5.10.
___
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


Oaklands Junior School

2009-09-24 Thread Richmond Mathewson

Err  . . . sorry about the earlier posting: stupidly mixed up
the 'To' place with the 'Subject' place in Thunderbird.

Richmond.
___
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


Challenge: to do something like this in a revlet.

2009-09-24 Thread Richmond Mathewson

http://www.hybridworks.jp/
___
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: Challenge: to do something like this in a revlet.

2009-09-24 Thread Ian Wood
Which bit? The one where the ENTIRE site is inside a plugin making it  
effectively invisible to Google and other search engines, impossible  
to give anyone a URL leading to a specific part of the site, no way to  
change the size of the text or select text to copy it? I always groan  
when opening a page to find Click2Flash is covering the whole thing  
with a placeholder image. :-(


Recreating that purely within a revlet would suffer from a lot of the  
same problems apart from being able to select/copy text.


In case my position isn't clear - plugins should NEVER be used as the  
sole method of site navigation.


Nice animations and pixel art, and a really neat layout swap, though.

Ian


On 24 Sep 2009, at 13:01, Richmond Mathewson wrote:


http://www.hybridworks.jp/
___
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: Challenge: to do something like this in a revlet.

2009-09-24 Thread Colin Holgate
Ian, Flash text fields can be set to allow selecting and copying, swfs  
can be published in a search engine friendly way, and it's possible to  
deep link into any part of a Flash application, if that's important  
to do.


The lack of those things in a site isn't a consequence of it being  
done in Flash. 
___

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


Renewing Revolution licence

2009-09-24 Thread Francis Nugent Dixon

Hi from Paris,

I bought rev 3.0 some time ago. I have just received
a mail informing me that my licence will expire in
a few days. What does this mean ? Do I have to pay
for an upgrade to 3.5, or do I get it free (if I
download it within the next few days). Why are there
two different prices for Rev Studio ? I see 165 euros
(see Store Front page) and also 249 euros (see
Comparison Page). Don't understand !!

-Francis


___
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 get a return value from a vbs file?

2009-09-24 Thread Tiemo Hollmann TB
Hello,

following Jim B's advice I want to change the user rights of my program
(-sub) dir to be able to write a file with rev to that dir. Creating the dir
at setup with the correct rights s one thing. Now I want to change the
rights with icacls at an existing dir.

When calling icacls from rev directly in the shell I get a return value from
icacls, but a standard user may not change the priviliges. But as far as I
know, I can't give a parameter runas (Admin) to the shell. So I decided to
create a small vbs file (without actually knowing vbs), where I could run
the vbs file with runas to be able to change the rights of the program sub
dir.

Where I now stuck is, that I don't know how to get back any return value
from the vbs script file back into my rev, e.g the result of calling icacls.
I can't just say return in vbs.

Any hint very welcome (Rev 3.5, Vista)

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: Renewing Revolution licence

2009-09-24 Thread runrev260805
Hi Francis,

as long as your license is valid you are entitled to download the most recent 
version. So hurry up and download 3.5.

And on the comparision page the prices are in US$.

Regards,

Matthias


 Original Message 
Subject: Renewing Revolution licence (24-Sep-2009 15:12)
From:Francis Nugent Dixon effe...@wanadoo.fr
To:  runrev260...@m-r-d.de

 Hi from Paris,
 
 I bought rev 3.0 some time ago. I have just received
 a mail informing me that my licence will expire in
 a few days. What does this mean ? Do I have to pay
 for an upgrade to 3.5, or do I get it free (if I
 download it within the next few days). Why are there
 two different prices for Rev Studio ? I see 165 euros
 (see Store Front page) and also 249 euros (see
 Comparison Page). Don't understand !!
 
 -Francis
 
 
 ___
 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
 
 
 
 
 To: use-revolution@lists.runrev.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: Challenge: to do something like this in a revlet.

2009-09-24 Thread Ian Wood


On 24 Sep 2009, at 14:03, Colin Holgate wrote:

Ian, Flash text fields can be set to allow selecting and copying,  
swfs can be published in a search engine friendly way, and it's  
possible to deep link into any part of a Flash application, if  
that's important to do.


The lack of those things in a site isn't a consequence of it being  
done in Flash


Fair enough, looks like I'm out of date in terms of what *can be but  
usually isn't* done in Flash-driven sites. ;-)


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


Re: Renewing Revolution licence

2009-09-24 Thread Colin Holgate
What you pay for is a year of upgrades. That would include getting up  
to date, but would also include any updates that come out in the next  
year. 
___

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: Renewing Revolution licence

2009-09-24 Thread Robert Brenstein

On 24.09.09 at 15:06 +0200 Francis Nugent Dixon apparently wrote:

Hi from Paris,

I bought rev 3.0 some time ago. I have just received
a mail informing me that my licence will expire in
a few days. What does this mean ? Do I have to pay
for an upgrade to 3.5, or do I get it free (if I
download it within the next few days). Why are there
two different prices for Rev Studio ? I see 165 euros
(see Store Front page) and also 249 euros (see
Comparison Page). Don't understand !!

-Francis


That message is a tad of misleading. What is really expiring is the 
active status of your license.


While the license is active, you can fetch any newer version (you 
don't have to actually use it if you don't want to) and you can get 
an extension of your license cheaper.


Once your license expires, you can't get any version that is released 
after the day of expiration of your license and it costs you more to 
get a new active license (although I think it is still cheaper than a 
new license -- I haven't been keeping up with price changes).


What does NOT expire is your ability to continue using whatever 
version you got for as long as you want under the terms of your 
now-expired licence.


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: Datagrid Drag and Drop

2009-09-24 Thread Josep

Hi Trevor,

Only I get this error when drag from a edited cell, I want drag the entire
row and drop some of the values.. I download the sample and check it...

execution error at line 6 (Chunk: error in object expression), char 22


Salut,
Josep

Trevor DeVore wrote:
 
 On Sep 21, 2009, at 12:52 PM, Josep wrote:
 
 I need use drag and drop between datagrids and others objects, how  
 to begin?
 I need perform operations like exec sql sentences or print.

 Any tip about how begin to handle this?
 
 At RunRevLive I used an updated version of the Data Grid with built-in  
 support for drag reordering and setting the dragImage for drag/drop.
 
 http://tr.im/data_grid
 
 I haven't documented it yet but starting a drag and drop operation  
 with the row being dragged on displayed as the dragImage is really easy:
 
 ##
 ## Data Grid Group Script
 ##
 on dragStart
  ## use current row as dragImage
  put the dgIndex of the dgDataControl of the target into theIndex
  set the dgDragImageIndex of me to theIndex
 
  ## Set dragData to start drag operation
  set the dragData[private] to My Data
 end dragStart
 
 -- 
 Trevor DeVore
 Blue Mango Learning Systems
 ScreenSteps: http://www.screensteps.com
 Application Development with Revolution Course:
 http://revolution.bluemangolearning.com/software/revproappdev/
 ___
 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
 
 
Quoted from: 
http://www.nabble.com/Datagrid-Drag-and-Drop-tp25530401p25560144.html


Trevor DeVore wrote:
 
 On Sep 21, 2009, at 12:52 PM, Josep wrote:
 
 I need use drag and drop between datagrids and others objects, how  
 to begin?
 I need perform operations like exec sql sentences or print.

 Any tip about how begin to handle this?
 
 At RunRevLive I used an updated version of the Data Grid with built-in  
 support for drag reordering and setting the dragImage for drag/drop.
 
 http://tr.im/data_grid
 
 I haven't documented it yet but starting a drag and drop operation  
 with the row being dragged on displayed as the dragImage is really easy:
 
 ##
 ## Data Grid Group Script
 ##
 on dragStart
  ## use current row as dragImage
  put the dgIndex of the dgDataControl of the target into theIndex
  set the dgDragImageIndex of me to theIndex
 
  ## Set dragData to start drag operation
  set the dragData[private] to My Data
 end dragStart
 
 -- 
 Trevor DeVore
 Blue Mango Learning Systems
 ScreenSteps: http://www.screensteps.com
 Application Development with Revolution Course:
 http://revolution.bluemangolearning.com/software/revproappdev/
 ___
 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
 
 

-- 
View this message in context: 
http://www.nabble.com/Datagrid-Drag-and-Drop-tp25530401p25573973.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: Java applets Revlets

2009-09-24 Thread Jerry Balzano

Hi all,

Although this list is usually pretty responsive to questions, I sent  
the email almost 48 hours ago and haven't raised a single reply.  If  
I'm just asking foolish questions, perhaps someone could gently tell  
me why, and suggest what I might do (instead) to address the issue I  
raise.


Thanks,
Jerry B

On Sep 22, 2009, at 2:13 PM, Jerry Balzano wrote:


I hope this isn't too bizarre a request.

I want a Revlet to be able to control which of several (pre-made) Java
applets a user sees.  How would one do this?  Is it possible to embed
a Java applet inside a Revlet?

I was looking through previous messages to see if this question had
been asked previously and I learned (a little) about a stack property
called the revletParams, but I don't know how or if it would apply
here.  For example, would one stick the whole string
applet code=org.nlogo.window.Applet
archive=NetLogoLite.jar
width=460 height=280
  param name=DefaultModel
 value=Tag.nlogo
/applet
inside the revletParams?  (And then what?)

Sorry for the painfully naive nature of these questions, but this is
all untrodden ground for me.

Thanks,
Jerry Balzano
___
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


File Types and Creator Codes

2009-09-24 Thread Ray Horsley
Anybody know how to determine these?  In particular, I need the file  
type and creator for zip files.


Thanks,

Ray Horsley
LinkIt! Software

___
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


Setting the 'Open With'

2009-09-24 Thread Ray Horsley
On kind of a related note, anybody know how to set a file to open with  
a certain application?  This is manually done with the Get Info window  
on the Mac but I need to do this from within a script.


Thanks,

Ray Horsley
LinkIt! Software

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


Re: File Types and Creator Codes

2009-09-24 Thread Ian Wood
You can get them via AppleScript - 'the creator type' and 'the file  
type'. Just be aware that there is a big developer sh*tstorm blowing  
up about file and creator codes being deprecated on Snow Leopard -  
instead it basically just uses file extensions to decide what app to  
open when double-clicking on a file. :-(


http://arstechnica.com/web/news/2009/09/horrifically-bad-software-demos-become-performance-art.ars

Ian

P.S. Here's a script for a droplet:

on open (list_of_aliases)
tell application Finder
set myfile to item 1 of list_of_aliases
		display dialog creator type:   (the creator type of myfile)   
return  file type:   (the file type of myfile)

end tell
end open


On 24 Sep 2009, at 20:41, Ray Horsley wrote:

Anybody know how to determine these?  In particular, I need the file  
type and creator for zip files.


Thanks,

Ray Horsley
LinkIt! Software

___
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: File Types and Creator Codes

2009-09-24 Thread Richard Gaskin

Ray Horsley wrote:
Anybody know how to determine these?  In particular, I need the file  
type and creator for zip files.


In RevNet's Stack's section is a file named 4W File Typer which lets 
you drop files onto it to view and change the type and creator code.


You can get to RevNet from inside Rev:  Develop-Plugins-GoRevNet


Here's the script which obtains the creator code info, using the 
detailed files in which each line returned as a number of 
comma-separated elements and item 11 is the combined creator and type:


on dragDrop
  get line 1 the dragData
  if it is not empty then
put it into fld file
put it into tDir
set the itemdel to /
put last item of it into tFileName
delete last item of tDir
put the directory into tSaveDir
set the directory to tDir
put the detailed files into tFiles
set the directory to tSaveDir
put line lineoffset(urlEncode(tFileName), tFiles) of tFiles into 
tFileData

set the itemdel to comma
get item 11 of tFileData
put char 1 to 4 of it into fld creator
put char 5 to 8 of it into fld type
  end if
end dragDrop



--
 Richard Gaskin
 Fourth World Media Corporation
 Developer of WebMerge: Publish any database on any Web site
 ___
 ambassa...@fourthworld.com   http://www.FourthWorld.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: Challenge: to do something like this in a revlet.

2009-09-24 Thread Richard Gaskin

Colin Holgate wrote:
Ian, Flash text fields can be set to allow selecting and copying, swfs  
can be published in a search engine friendly way, and it's possible to  
deep link into any part of a Flash application, if that's important  
to do.


The lack of those things in a site isn't a consequence of it being  
done in Flash. 


True, the use of 6-point Nanosquint type there isn't required by Flash. 
 I've seen a great many other Flash presentations which can actually be 
read by the unaided eye.  ;)


I would like to know which part of http://www.hybridworks.jp/ caught 
Richmond's attention.  There's a lot there, and inevitably any plugin 
will be compared to the ubiquitous Flash so it may be useful to explore 
strengths and weaknesses of each.


--
 Richard Gaskin
 Fourth World
 Revolution 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: Setting the 'Open With'

2009-09-24 Thread Marty Knapp

You can open a specific document with a specific application like this:

launch /MyDocumentsFolder/TheDocument.doc with /Applications/MyApp.app

using the path of each. and assuming the the application is capable of 
opening it.


Marty Knapp
On kind of a related note, anybody know how to set a file to open with 
a certain application?  This is manually done with the Get Info window 
on the Mac but I need to do this from within a script.


Thanks,

Ray Horsley
LinkIt! Software

___
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


[OT] How do I turn off Always use Live Bookmarks in Firefox?

2009-09-24 Thread Richard Gaskin
Really sorry for the bandwidth use, but asking this question in the busy 
forums at Mozilla hasn't yielded a reply, and my RSS feeds just aren't 
as much fun until I fix this:


How do I turn off Always use Live Bookmarks?

Turning on Always use Live Bookmarks was so easy I did it 
accidentally. Now I'd like to turn it off, but I can find a setting in 
Prefs or anywhere else for this, and no such option is described in Help 
or at the Mozilla knowledge base.


Which config file should I edit, and what should I look for?
Or is there a simpler way?

Feel free to reply off-list if you have a solution.

--
 Richard Gaskin
 Fourth World
 Revolution 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: Challenge: to do something like this in a revlet.

2009-09-24 Thread François Chaplais


Le 24 sept. 09 à 19:00, Richard Gaskin a écrit :


Colin Holgate wrote:
Ian, Flash text fields can be set to allow selecting and copying,  
swfs  can be published in a search engine friendly way, and it's  
possible to  deep link into any part of a Flash application, if  
that's important  to do.
The lack of those things in a site isn't a consequence of it  
being  done in Flash.


True, the use of 6-point Nanosquint type there isn't required by  
Flash.  I've seen a great many other Flash presentations which can  
actually be read by the unaided eye.  ;)


I would like to know which part of http://www.hybridworks.jp/  
caught Richmond's attention.  There's a lot there, and inevitably  
any plugin will be compared to the ubiquitous Flash so it may be  
useful to explore strengths and weaknesses of each.




Here is my humble experience concerning Flash v.s. Rev:
My second son (age 18) is a student in graphic communication. He is  
NOT a programmer. He is naturally aware of Flash and I have bought  
some books about Flash and ActionScript. The result is that he just  
cannot get it. It is too complicated (and, seemingly, too much  
timeline oriented).
On the other hand, I introduced him to basic revtalk programming this  
summer. He was enthusiastic about it.
But, he was not very impressed by the revlet examples on runrev's  
site by comparison to Flash.

The lesson I have drawn is that
a) yes, it is good to see that revlets can produce animations but
b) Flash does this very well (better, actually), and it would be  
interested to have on runrev's site that emphasize the proper  
strengths of revTalk (the display of the scripts in the demos are  
very convincing, BTW).


While I  am at it, will it be possible to call externals from  
revlets? I am drooling over the possibility to have interactive demos  
of applied mathematics over the internet


cheers,
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: Setting the 'Open With'

2009-09-24 Thread Ray Horsley
Thanks Marty.  It's just slightly more complicated than that, though.   
In my case I've got a zip file which a script in my standalone has  
downloaded.  I'd like to decompress it automatically from the same  
script but I don't know where Archive Utility is or what it's named  
on the end users machine.  On my machine it's System/Library/Core  
Services/Archive Utility.app but on a friend's machine I noticed it's  
named BOMArchive Utility instead of Archive Utility.  Any  
suggestions?


Thanks,

Ray Horsley
LinkIt! Software

On Sep 24, 2009, at 10:08 AM, Marty Knapp wrote:

You can open a specific document with a specific application like  
this:


launch /MyDocumentsFolder/TheDocument.doc with /Applications/ 
MyApp.app


using the path of each. and assuming the the application is capable  
of opening it.


Marty Knapp
On kind of a related note, anybody know how to set a file to open  
with a certain application?  This is manually done with the Get  
Info window on the Mac but I need to do this from within a script.


Thanks,

Ray Horsley
LinkIt! Software

___
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: File Types and Creator Codes

2009-09-24 Thread Christian Langers

Hi,

if you have the Developer Tools installed on Mac Os X then you have two 
wonderfull little tools :


GetFileInfo : look here : 
http://developer.apple.com/mac/library/DOCUMENTATION/Darwin/Reference/ManPages/man1/GetFileInfo.1.html#//apple_ref/doc/man/1/GetFileInfo


and setFile : look here 
:http://developer.apple.com/mac/library/DOCUMENTATION/Darwin/Reference/ManPages/man1/SetFile.1.html#//apple_ref/doc/man/1/SetFile


I use these with the shell() function and I like them...

Greets,

Christian


On 24/09/09 21:41, Ray Horsley wrote:
Anybody know how to determine these?  In particular, I need the file 
type and creator for zip files.


Thanks,

Ray Horsley
LinkIt! Software

___
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: Java applets Revlets

2009-09-24 Thread stephen barncard
You may be the first to try this. Revlets are still an Alpha product.
The silence from the list doesn't necessarily mean 'We are ignoring
you'. It means 'we don't have anything to say about it'. or 'We
haven't tried this yet.

The Runrev team isn't obligated to troll this list; but they
occasionally drop in and comment.

The On-Rev and Revlet features are still greatly under-documented.
Hopefully which specific features that 'do' work and not work will be
noted more clearly in future, online documentation.
-
Stephen Barncard
San Francisco
http://houseofcubes.com/disco.irev



2009/9/24 Jerry Balzano gjbalz...@ucsd.edu:
 Hi all,

 Although this list is usually pretty responsive to questions, I sent the
 email almost 48 hours ago and haven't raised a single reply.  If I'm just
 asking foolish questions, perhaps someone could gently tell me why, and
 suggest what I might do (instead) to address the issue I raise.

 Thanks,
 Jerry B

 On Sep 22, 2009, at 2:13 PM, Jerry Balzano wrote:

 I hope this isn't too bizarre a request.

 I want a Revlet to be able to control which of several (pre-made) Java
 applets a user sees.  How would one do this?  Is it possible to embed
 a Java applet inside a Revlet?

 I was looking through previous messages to see if this question had
 been asked previously and I learned (a little) about a stack property
 called the revletParams, but I don't know how or if it would apply
 here.  For example, would one stick the whole string
 applet code=org.nlogo.window.Applet
        archive=NetLogoLite.jar
        width=460 height=280
  param name=DefaultModel
         value=Tag.nlogo
 /applet
 inside the revletParams?  (And then what?)

 Sorry for the painfully naive nature of these questions, but this is
 all untrodden ground for me.

 Thanks,
 Jerry Balzano
 ___
 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: Challenge: to do something like this in a revlet.

2009-09-24 Thread Colin Holgate


On Sep 24, 2009, at 1:19 PM, François Chaplais wrote:

My second son (age 18) is a student in graphic communication. He is  
NOT a programmer. He is naturally aware of Flash and I have bought  
some books about Flash and ActionScript. The result is that he just  
cannot get it. It is too complicated (and, seemingly, too much  
timeline oriented).


The majority of Flash programmers don't use the timeline at all. A  
lot of designers who script in Flash may well use the timeline more.


In comparing Flash and Rev, you would want to think about a specific  
task, then it's easy to show how it might be done in one tool versus  
the other. Trying to explain the entire difference in philosophy is a  
bit harder.



___
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: Setting the 'Open With'

2009-09-24 Thread Ian Wood
I'm pretty sure they are both the default names and locations, but for  
different copies of OS X.


Ian

On 24 Sep 2009, at 21:22, Ray Horsley wrote:

I'd like to decompress it automatically from the same script but I  
don't know where Archive Utility is or what it's named on the end  
users machine.  On my machine it's System/Library/Core Services/ 
Archive Utility.app but on a friend's machine I noticed it's named  
BOMArchive Utility instead of Archive Utility.  Any suggestions?


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


Re: Setting the 'Open With'

2009-09-24 Thread stephen barncard
you could use Tar from the shell or Rev's built in zip commands.
-
Stephen Barncard
San Francisco
http://houseofcubes.com/disco.irev



2009/9/24 Ray Horsley r...@linkit.com:
 Thanks Marty.  It's just slightly more complicated than that, though.  In my
 case I've got a zip file which a script in my standalone has downloaded.
  I'd like to decompress it automatically from the same script but I don't
 know where Archive Utility is or what it's named on the end users machine.
  On my machine it's System/Library/Core Services/Archive Utility.app but on
 a friend's machine I noticed it's named BOMArchive Utility instead of
 Archive Utility.  Any suggestions?

 Thanks,

 Ray Horsley
 LinkIt! Software

 On Sep 24, 2009, at 10:08 AM, Marty Knapp wrote:

 You can open a specific document with a specific application like this:

 launch /MyDocumentsFolder/TheDocument.doc with /Applications/MyApp.app

 using the path of each. and assuming the the application is capable of
 opening it.

 Marty Knapp

 On kind of a related note, anybody know how to set a file to open with a
 certain application?  This is manually done with the Get Info window on the
 Mac but I need to do this from within a script.

 Thanks,

 Ray Horsley
 LinkIt! Software

 ___
 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

___
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: Challenge: to do something like this in a revlet.

2009-09-24 Thread Richmond Mathewson

Richard Gaskin wrote:

Colin Holgate wrote:
Ian, Flash text fields can be set to allow selecting and copying, 
swfs  can be published in a search engine friendly way, and it's 
possible to  deep link into any part of a Flash application, if 
that's important  to do.


The lack of those things in a site isn't a consequence of it being  
done in Flash. 


True, the use of 6-point Nanosquint type there isn't required by 
Flash.  I've seen a great many other Flash presentations which can 
actually be read by the unaided eye.  ;)


I would like to know which part of http://www.hybridworks.jp/ caught 
Richmond's attention.  There's a lot there, and inevitably any plugin 
will be compared to the ubiquitous Flash so it may be useful to 
explore strengths and weaknesses of each.


Ugh, I had a horrible day here: never mind, now I can settle down a bit 
. . .:)


The way the thing reorganised its sections was rather jazzy.

The animation, and the sound connected together WITHOUT reliance on 
Quicktime.


The download links embedde within the thing.

I have been looking at that website on-and-off for about 3 years and 
have always thought
that there must be a way to do all that in RunRev; and with the 
web-plugin it is getting

nearer, but I am not sure we are all the way there yet.

--

The tiny fonts do annoy me no end; especially as the only way I can read 
them is set my

monitor resolution down to 640 by 480 which then screws up the colour.

-

I posted this because I thought it might be fun to try and duplicate the 
site as much as
possible in RunRev as a sort of mental exercise. Unfortunately as I am 
up to here
with my Sanskrit Thing I don't have the time, which is a great shame 
as I do

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


Re: File Types and Creator Codes

2009-09-24 Thread Ray Horsley
Very interesting Richard!  Thanks.  I'm finding many files, especially  
applications, come up empty for the creator and type using either of  
these methods.  I imagine applications don't have a creator and type  
but I thought a zip file would.  Maybe I'm wrong.


Thanks,

Ray Horsley
LinkIt! Software

On Sep 24, 2009, at 9:56 AM, Richard Gaskin wrote:


Ray Horsley wrote:
Anybody know how to determine these?  In particular, I need the  
file  type and creator for zip files.


In RevNet's Stack's section is a file named 4W File Typer which  
lets you drop files onto it to view and change the type and creator  
code.


You can get to RevNet from inside Rev:  Develop-Plugins-GoRevNet


Here's the script which obtains the creator code info, using the  
detailed files in which each line returned as a number of comma- 
separated elements and item 11 is the combined creator and type:


on dragDrop
 get line 1 the dragData
 if it is not empty then
   put it into fld file
   put it into tDir
   set the itemdel to /
   put last item of it into tFileName
   delete last item of tDir
   put the directory into tSaveDir
   set the directory to tDir
   put the detailed files into tFiles
   set the directory to tSaveDir
   put line lineoffset(urlEncode(tFileName), tFiles) of tFiles into  
tFileData

   set the itemdel to comma
   get item 11 of tFileData
   put char 1 to 4 of it into fld creator
   put char 5 to 8 of it into fld type
 end if
end dragDrop



--
Richard Gaskin
Fourth World Media Corporation
Developer of WebMerge: Publish any database on any Web site
___
ambassa...@fourthworld.com   http://www.FourthWorld.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: Setting the 'Open With'

2009-09-24 Thread Ray Horsley
Very interesting Stephen!  I've never used these commands before.   
They might just do the trick for me.


Thanks,

Ray Horsley
LinkIt! Software

On Sep 24, 2009, at 10:41 AM, stephen barncard wrote:


you could use Tar from the shell or Rev's built in zip commands.
-
Stephen Barncard
San Francisco
http://houseofcubes.com/disco.irev



2009/9/24 Ray Horsley r...@linkit.com:
Thanks Marty.  It's just slightly more complicated than that,  
though.  In my
case I've got a zip file which a script in my standalone has  
downloaded.
 I'd like to decompress it automatically from the same script but I  
don't
know where Archive Utility is or what it's named on the end users  
machine.
 On my machine it's System/Library/Core Services/Archive  
Utility.app but on
a friend's machine I noticed it's named BOMArchive Utility  
instead of

Archive Utility.  Any suggestions?

Thanks,

Ray Horsley
LinkIt! Software

On Sep 24, 2009, at 10:08 AM, Marty Knapp wrote:

You can open a specific document with a specific application like  
this:


launch /MyDocumentsFolder/TheDocument.doc with /Applications/ 
MyApp.app


using the path of each. and assuming the the application is  
capable of

opening it.

Marty Knapp


On kind of a related note, anybody know how to set a file to open  
with a
certain application?  This is manually done with the Get Info  
window on the

Mac but I need to do this from within a script.

Thanks,

Ray Horsley
LinkIt! Software

___
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


___
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