Rev Studio - How to determine the file location of the currently open Rev file

2010-07-04 Thread Steve King
Hi

This is a very simple question, but driving me nuts! In the application I am
working on I set the default folder to My Documents. When I want to save the
current Rev file (in IDE) as a new filename, SaveAs drops back to the
'default' folder, not the original folder location for the Rev file itself.
I can't see any way of determining where the  Rev file was previously
stored, so I can navigate back to the correct folder and save a new filename
there, there doesn't seem to be a properties option. 

Cheers
Steve

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


Re: Rev Studio - How to determine the file location of the currently open Rev file

2010-07-04 Thread Mark Schonewille

Steve,

// full path
put the effective filename of this stack into myPath

// parent folder
set the itemDel to slash
put item 1 to -2 of the effective filename of this stack into myFolder

You might also want to read in the dictionary about the defaultFolder  
propery.


--
Best regards,

Mark Schonewille

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

Subscribe to the Economy-x-Talk newsletter at http://qurl.tk/cj
Download Clipboard Link http://clipboardlink.economy-x-talk.com and  
share the clipboard of your computer over the local network.


On 4 jul 2010, at 12:14, Steve King wrote:


Hi

This is a very simple question, but driving me nuts! In the  
application I am
working on I set the default folder to My Documents. When I want to  
save the

current Rev file (in IDE) as a new filename, SaveAs drops back to the
'default' folder, not the original folder location for the Rev file  
itself.

I can't see any way of determining where the  Rev file was previously
stored, so I can navigate back to the correct folder and save a new  
filename

there, there doesn't seem to be a properties option.

Cheers
Steve


___
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


Build settings for Mac OSX

2010-07-04 Thread Steve King
Hi

I normally only build windows versions of Rev apps, but I am trying for the
first time to build an OSX version.

Reading the User Manual, there is stuff like plist, file types, creator
signature and file types .. All a bit confusing for a windows user. (I know,
windows is normally a bit confusing for MAC users!)

My application generates two custom text files, .SAC, .SACp. Can someone
help with the settings I should fill in the OSX buile page (studio 4)  

Also, are there any free WINDOWS apps for building MAC Icons that anyone is
aware of?

Cheers
Steve

___
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: Build settings for Mac OSX

2010-07-04 Thread Richmond

On 07/04/2010 01:41 PM, Steve King wrote:

Also, are there any free WINDOWS apps for building MAC Icons that anyone is
aware of?

   
Not that I am aware of; I invested in Axialis (which I run under WINE on 
Linux).


However; if you have a friend with a Mac you can send them a JPG or PNG 
of the
icon and the can make you a set of Mac icons lickety-split with the 
'Icon Composer'
included in the Mac OS Developer tools - just a 2 minute drag and drop 
affair.


Come to think of it . . . send them over here and I should have them 
back to you in under 24
hours (children, cats, marital fights, floods, earthquakes willing). 
Sned them off-list as Zipped

attachments.
___
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: Build settings for Mac OSX

2010-07-04 Thread David C.
 Also, are there any free WINDOWS apps for building MAC Icons that anyone is
 aware of?

Hey Steve,
I haven't actually had the need to build any icons for Mac as of yet,
but according to the help file, IcoFX software (free!) is supposed to
do the job. I can say that it works well for the Windows side for
sure.

Here's the link: http://icofx.ro

...it would be nice to know how it turns out for ya.

Best regards,
David C.
___
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] revIgniter v1.3.4b released

2010-07-04 Thread Ralf Bitter

This version addresses issues related to database queries.


Info and download at: http://revigniter.com/


Ralf


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


Re: Script Reporter v1.1 crashes

2010-07-04 Thread william humphrey
Andrew

How is your work on this project going? Did you decide to re-do it all
with SQLyoga and Framework? Are you using Valentina as the database?


 My program was nearing completion and suddenly I couldn't track down a
 localhost DB connection my application was trying to make that didn't exist
 anymore (from before I started using SQL Yoga).

___
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: Subject: Build settings for Mac OSX

2010-07-04 Thread Warren Samples
use-revolution-requ...@lists.runrev.com wrote on Sun, 4 Jul 2010
12:00:04 -0500:

Also, are there any free WINDOWS apps for building MAC Icons that anyone is
aware of?

Cheers
Steve

See if this does what you want:

http://iconverticons.com/

Cheers,

Warren


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


Re: Rev Studio - How to determine the file location of the

2010-07-04 Thread Steve King
Hi Mark

I'm not sure I explained myself too well, but looks like this will work
either in the message box or in the stack itself I guess. What I meant was
knowing where the original stack file came from on my drive when I came to
save it again (outside the app). When using SaveAs, Rev displays the
Defaultfolder as set by the app not the original folder the file came from.
For example, if I open a file from EXCEL, then do a SaveAs I get the same
folder again. In Rev, if running the Stack changes the defaultFolder, then
SaveAs points to this folder as well. It wasn't clear to me in the docs that
the IDE folder pointers were also modified when testing an app in the IDE

This should do fine though, 
Cheers

Mark Schonewille wrote:
// full path
put the effective filename of this stack into myPath

// parent folder
set the itemDel to slash
put item 1 to -2 of the effective filename of this stack into myFolder

You might also want to read in the dictionary about the defaultFolder  
propery. 

Message: 14
Date: Sun, 4 Jul 2010 11:14:14 +0100
From: Steve King st.kin...@ntlworld.com
Subject: Rev Studio - How to determine the file location of the
currently   open Rev file
To: use-revolution@lists.runrev.com
Message-ID: ee75ced5e535401584cc837a573a5...@home
Content-Type: text/plain;   charset=us-ascii

Hi

This is a very simple question, but driving me nuts! In the application I am
working on I set the default folder to My Documents. When I want to save the
current Rev file (in IDE) as a new filename, SaveAs drops back to the
'default' folder, not the original folder location for the Rev file itself.
I can't see any way of determining where the  Rev file was previously
stored, so I can navigate back to the correct folder and save a new filename
there, there doesn't seem to be a properties option. 

Cheers
Steve
000---

___
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 export snapshot with a file dialogue box

2010-07-04 Thread Steve King
Hi Jacqueline

Excellent - so simple. I never realised just snapping a card would ignore
the dialogue box. I will change the code.

Definitely happens though - I have jpgs with the ask dialogue in the middle
of the card!

Cheers
Steve

Jacqueline Landman Gay wrote:

Steve King wrote:
 Hi
 
 I am exporting a screen image of a card to file. 
 
 I allow the user to select a filename then save the image using the script
 below. I have had to add a 400mS wait in for the save dialogue to vanish
 before the snapshot is taken. This works OK, but is there a better way to
do
 it that guarantees that the save dialogue will be gone first?

I can't figure out why that's happening, since file dialogs halt the 
script until they are closed.

You could avoid the whole issue by not using the screen coordinates 
(which capture everything) and instead use the card as the reference. 
That will capture only the card's bitmap and will ignore any other 
windows that are open.

  export snapshot from this card to file UserFileName as JPEG
000

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


Re: Rev Studio - How to determine the file location of the

2010-07-04 Thread Mark Wieder
Steve-

Sunday, July 4, 2010, 11:22:21 AM, you wrote:

 I'm not sure I explained myself too well, but looks like this will work

Your original explanation was fine. If you set the defaultFolder after
you load the file then the Save As dialog will put you in the proper
place.

-- 
-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: Pointlist from move command?

2010-07-04 Thread Geoff Canyon Rev
I wouldn't recommend the polling solution, but if you want to go with
that, add without waiting and you'll be able to get the moving
object's position as it moves.

On Wed, Jun 30, 2010 at 2:48 AM, Michael Kristensen
michael-kristen...@dsa-net.dk wrote:
 Hi and thanks for replies

 I dunno: if you have an object moving round a polygon (or along a
 pathway for that matter),
 surely all you have to do is poll the object's position every 2 ticks
 and pop the results into the lines
 of a field?

 I did try that but it seams that the move command is not threaded and can
 not handle other commands while executing.



 Hi Mic,
 if you mean that instead of the corner points of a polygon you want all
 the
 intermediate points also then this came up on the forum a while ago and I
 uploaded a little stack to the forum that does this.
 See:

 http://forums.runrev.com/phpBB2/viewtopic.php?f=9t=5191p=23366hilit=points+of+polygon#p23366
 look for the attachement
 calculate points of polygon.rev.zip

 (I did not have any real use for all the points but once I had a graphic I
 pulled out some points and animated them when one moves the graphic,
 since
 it looked like a bug that is what I called it :) )
 as revlet:
 http://berndniggemann.on-rev.com/bug/


 Thanks Bernd

 That was just what I needed.

 Yet there is a but...

 I put this script in the left polygon and I made it none-opaque:

 on mouseUp
   beep
   put the mouseLoc into x

   repeat with i = 1 to number of lines of fld fAllPoints
      if x = line i of fld fAllPoints then
         put x
         exit repeat
      else
         put M   the mouseLoc
      end if
   end repeat

 end mouseUp


 The beep gives me audio feedback that I clicked the graphic

 In the majority of times the Loc came out with an M in front of it meaning
 that the mouseLoc was not on the pointList

 So what Rev considers ON the graphic is different from your pointlist.

 Tried to replace TRUNC with ROUND in your script, with same result

 Mic


 ___
 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