Dividing Line in Button

2010-08-11 Thread Dan Friedman
Greetings... You can add a dividing line in a option menu (a button who's menuMode is set to option) on the Mac by simply putting a - into a line in the button's text. How do you get a dividing line on Windows? All I get is the dash. Thanks in advance,

New Stack crash

2010-06-22 Thread Dan Friedman
Greetings! I have the following script in a button: on mouseUp put 0 into i repeat 3 add 1 to i put (testStack_ i) into sName new stack sName delete stack sName end repeat end mouseUp Two questions: (1) Why would this start to slow down? It starts off quite fast,

Deleted Files

2010-06-02 Thread Dan Friedman
Hey... I am writing compressed XML data to file on a server using the put command. Every now and then, I get a report from a user that when they go to read the data, they are getting an error. When I look on the server, the file is gone! Not empty, not zero K... just gone - nonexistent!

Re: Deleted Files

2010-06-02 Thread Dan Friedman
Corruption. I can think of another way: File was not saved where you thought it was saved. Yet another way: User or app appears to have saved the file but in reality, didn't. Bob On Jun 2, 2010, at 9:02 AM, Dan Friedman wrote: Hey... I am writing compressed XML data to file

Re: Deleted Files

2010-06-02 Thread Dan Friedman
Bob, I am using the put because I am writing to a ftp web server. So I need to pass a username and password. How would I rename the file on a remote server? Also, how would you suggest I go about this? I could end up in a endless error check... rename the original file write the data if

FTPeS

2010-03-24 Thread Dan Friedman
The server I am using that currently MANY, MANY, MANY of my users are writing to via ftp (in my standalone), changed this morning to FTPeS. I am now getting: error 421 Sorry, cleartext sessions are not accepted on this server. Can rev support FTPeS?? I am about to get a few thousand

Confusing Errors

2010-03-16 Thread Dan Friedman
Greetings, My standalone is is throwing some errors that I can't seem to figure out. The errors are being thrown because I included the Bug Reports option when I generated the standalone. Here is the error:

Confusing Errors

2010-03-16 Thread Dan Friedman
Mark (and others), Thanks for the info. Here's some more... The stack is not password protected. I did use normal quotes (it wouldn't compile if I hadn't), the debugger presents quotes as single-quotes in it's errors. And, currentTarget is a valid pointer to a field. The stack wouldn't

error message format

2010-03-11 Thread Dan Friedman
Ola... I am reading a stack from a website in a standalone application. 99.99% of my clients are fine. However, every now and then, they report this error (which is the result): socket timeout ###.###.###.##:80|6924 Now, I get everything ([IP]:[port]) except, what does the 6924

Button Icon Placement

2010-02-23 Thread Dan Friedman
Hello... Is there a way to have an icon on a button and have the label centered, but not under the button? I know if you set the textStyle to left or right, then the icon is centered. But, if you set the textStyle to centered, then the text lies below the icon. My goal is to use a custom

revWeb User Guide?

2010-01-31 Thread Dan Friedman
Greeting! Is there a revWeb user guide? I can't seem to find one in the Docs or online. I have experimented with it and there are some things you can't do (or I am doing wrong) in revWeb that you can in a standalone. It would be nice to have some documentation, or at least a list of things

Put Put

2009-12-07 Thread Dan Friedman
Hiya... Isn't the put command blocking? I find that if I call a 'put' to write to a server twice in fast succession, the second 'put' is handled BEFORE the first one is complete. For example: I made a new stack with this script: on doSave put

Unknown error

2009-11-30 Thread Dan Friedman
Greetings! I have a standalone that opens stacks that are posted on a website. Most of the time it works great! But, sometimes I get an error like this: error 624,664,1 490,662,1 253,661,1 Anyone have a clue as to what this means? Thank you in advance,

Re: [Ticket#2009112510001138] Re: Technical support query: revLibURL Error

2009-11-28 Thread Dan Friedman
is taking to long. So, my question is what EXACTLY is going on during this wait? Is it waiting for a response while attempting to connect? Is it waiting for a response after writing data? Thank you! Dan Friedman CEO, ClearVision Technologies, Inc. Voice: 909/484-2052 Fax: 866/620-4796

Error: wait aborted

2009-11-24 Thread Dan Friedman
Greetings! Many of my users are reporting that my application is throwing this error (I have the debug options on when I created the standalone): Type: wait: aborted Object: button 'revLibURL' of group 'revLibraries' of card 'card id 1002' of stack

Move and Resize

2009-07-20 Thread Dan Friedman
Hello... How do you move and object and resize it at the same time? I want to do this with multiple objects at the same time. For example, I want to move an image from point A to point B while increasing the size along the way. I know the move command will take care of the move, but

WorkGroup Manager

2009-06-03 Thread Dan Friedman
this is not an issue with any other application they have. Is there a issue with Rev apps and WorkGroup Manager? Is there a bug in WorkGroup Manager? I did a Google search and can't find anything on this issue. Anyone have any thoughts/advice? Thank you! Dan Friedman CEO, ClearVision Technologies

WorkGroup Manager

2009-06-03 Thread Dan Friedman
Devin, Got any ideas what could cause this? -Dan I don't think it would be a Workgroup Manager problem. It doesn't do anything special; it would be just like doing a chmod from the command line. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young

Do I use encrypt?

2009-02-23 Thread Dan Friedman
Greetings! Currently, my application writes data to a server using the put command: put someData into url (ftp://uName:pw...@123.45.6.78/folder/file.txt;) A client is requesting that I not use clear text for the username/password. To do this, do I use the encrypt command? If so, how is

Re: Do I use encrypt?

2009-02-23 Thread Dan Friedman
, 2009 at 6:42 PM, Dan Friedman dan at clearvisiontech.comwrote: Greetings! Currently, my application writes data to a server using the put command: put someData into url (ftp://uName:pw...@123.45.6.78/folder/file.txt;) A client is requesting that I not use clear text

Rev Crash on HP Printer

2008-11-20 Thread Dan Friedman
Greetings. If I type answer printer in the message box with the default printer set to a HP LaserJet 1022n, Revolution 3.0 crashes. Rev 2.5.1 does not. Anyone experience this or know of a workaround? Thank you in advance, Dan ___ use-revolution

OS 10.5 character issue

2008-11-03 Thread Dan Friedman
Greetings, My [rev] application uses custom fonts. We use the ellipsis character as a check mark. This has been working fine for many years. However, with MAC OS version 10.5, the character is being displayed as an actual ellipsis Š, not a check mark. However, if I enter a check mark

OS 10.5 character issue

2008-11-03 Thread Dan Friedman
Mark, Thanks for the response. Here's what I did (on 10.5): repeat with i = 1 to 256 put i tab numToChar(i) into line i of tempData end repeat put tempData into field 1 --set to my custom font The check came on line 195 The ellipse came on line 201 I then ran the SAME routine on a 10.4 Mac:

OS 10.5 character issue

2008-11-03 Thread Dan Friedman
Robert, Sorry, I should have quoted the entire thread. This is custom font where the ellipsis is replaced with a check. So, the absence of the ellipsis is correct. The issue is that on 10.5, the character is showing up in the wrong place! -Dan The check came on line 195 The ellipse came

Is this a memory issue?

2008-10-01 Thread Dan Friedman
Greetings! I have an standalone application that I am importing data into. The data is being imported into an array. The data is just text - formatted as XML. Each record being imported is pretty small - about 20 lines containing [on average] about 365 characters. The application processes the

Standalone Settings ­ Bug Reports

2008-06-08 Thread Dan Friedman
Greeting! Does anyone know how to use the Bug Reports section of the Standalone Application Settings window? I am testing a new application and I have the Include Error Reporting Dialog option checked in my standalone, but all it's displaying is Execution Error. Is there a way to get more

SocketTimeoutInterval

2008-06-03 Thread Dan Friedman
Question Does the socketTimeoutInterval effect the Get or Put commands when reading/writing to an ftp/http url? If not, is there a way to adjust the timeout length of these commands? Thanks. ___ use-revolution mailing list

Strange URL Behavior

2008-06-02 Thread Dan Friedman
Anyone got any ideas on this... Within one of my rather long routines, I am doing a simple get of a text file off my website. When I run this routine, rev (2.9.0) seems to hang on this line of code. It's not locked up... And I can command-period to get out of it. It also acts this way in a

Data Storage

2008-04-04 Thread Dan Friedman
Greetings! If I'm using Revolution standalones on a series of clients, and I want to store semi-large to large amounts of data on a server and allow multiple users access to this data simultaneously, is my ONLY choice MySQL - on a server that allows remote SQL data access? Are there any other

Re: Data Storage

2008-04-04 Thread Dan Friedman
I read that Valentina is a single user database. From page 251 of the Revolution user guide: Valentina is a fast, efficient single-user database engine for Mac OS X, and Windows systems. I went to Valentina's web site, but yicks! I can't make heads or tails out of any of it! -Dan

Rev on Web?

2008-04-03 Thread Dan Friedman
You can make a Rev standalone and run it from the internet on Windows, no problem! Is there a way to do this on a Mac? Thanks, Dan ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Re: Rev on Web?

2008-04-03 Thread Dan Friedman
Devin, No, no... Not a stack, an application! Basically, we're replicating a web app with no install. On Windows, I can put http://www.mydomain.com/myapp.exe; in a web browser and run it (ya have to click run). Can you do something similar for the Mac - where no install is needed, or player.

Using the do command

2007-12-12 Thread Dan Friedman
Greetings! My goal is to get information/data from iTunes. (i.e. the current song, the next song, current song's album artwork, etc.) On the Mac, this is a snap with the do tScript as appleScript command. However, on Windows (Rev version 2.9) I am having trouble The VB Script I am using

Opening a PFD - What am I doing wrong??

2007-10-22 Thread Dan Friedman
Ken, I was using Windows Vista and it was failing. So, after reading your response, I tried the launch document with Windows XP - and it worked. Frustrated and tired, I shut everything off and called it a night. This morning, with a fresh cup of coffee, I sat down in front of my computer to

Opening a PFD - What am I doing wrong??

2007-10-21 Thread Dan Friedman
Does anyone know why this doesn¹t work? I can¹t seem to get a PDF to open (in Acrobat) on Windows. Rev is doing it successfully in their docs (they have a revGoPFD command that I can¹t trace into. They are calling it from mouseUp in the script of card ³User Guide² of stack

AppleScript on Windows?

2007-09-02 Thread Dan Friedman
Greetings! This isn't really a revolution question, but... It's easy to get the album art from iTunes on a Mac with AppleScript. Anyone know how to get the album art from iTunes on a Windows computer? Thank you in advance, -Dan ___ use-revolution

Unicode Wrapping

2007-08-24 Thread Dan Friedman
Hello - I have some Unicode text (Vietnamese) in a field. The characters are displaying and printing correctly. The textFont is set to ,Unicode. However, when Revolution wraps this text, it is splitting the words in half. An English equivalent would be:

Referencing a stack that is not open

2007-07-13 Thread Dan Friedman
Hello! Can anyone tell me what exactly happens when you ask for information about a stackfile that is not open? For example, say on your desktop you have a stackfile named testStack.rev and you call this: put the customKeys of stack /Users/Jimbo/Desktop/testStack.rev Rev WILL report the

Rev with Office 2007

2007-06-05 Thread Dan Friedman
Anyone experienced anything like this... I have a client that claims ever since he upgraded to Office 2007 (on his WindowsXP computer), my application (a Revolution Standalone) crash when you issue a answer file, answer folder or ask file command. Perhaps Office 2007 has modified the OS's dialog

Printing Crash

2007-03-29 Thread Dan Friedman
Greetings... CRASH! Anyone have any thoughts?? I have one field on a stack. I have set the textFont of the field to ,Unicode. I have pasted some Vietnamese text into this field. The text looks perfect on screen. I choose Print, and CRASH! Any thoughts? Mac OS 10.4.9 Rev 2.7.4 (and 2.8.0)

Installing a Standalone on Windows

2007-03-26 Thread Dan Friedman
Greetings! Has anyone found a good solution for installing full applications on Windows? My app has multiple file types, file extensions and icons. I have fonts to install as well and adding the application to the Start menu and file associations. In the past I have used InstallShield. Ug...

Comparing Strings

2006-11-14 Thread Dan Friedman
How is this possible? Put this in the message box: put 078e-16703 = 084E-11702 Revolution (2.6.1) returns true. Any advise? Thank you in advance, Dan ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to

Comparing Strings

2006-11-14 Thread Dan Friedman
In case your interested, here is the work-around I came up with for the problem: --- put equalStrings(078e-16703,084E-11702) function equalStrings string1,string2 if length(string1) = length(string2) then if string1 is in string2 then return

Re: Send Menupick?

2006-01-23 Thread Dan Friedman
Sivakatirswami, Try this... send menuPick Working Guide to btn Help Hope that helps. -Dan I would like to have a script in one menu button on one card (A), take the user to another card (b) and trigger a menu choice on a button on Card B This seemed to be obvious enough: -- pull

RE: what to do after a Get URL?

2005-08-18 Thread Dan Friedman
Jon, When you use the statement: get url ftp://a.b.c/d.txt; The url is placed into the local variable it. Therefore you can access the contents by simply getting it (put it into tUrlData). Or, just put the url into your own variable. For example: put url ftp://a.b.c/d.txt; into urlData.

Re: Endless ranting and rude insults

2005-06-29 Thread Dan Friedman
function endlessRanting revUserAction switch revUserAction case Whining put 20 into minutesWasted put 0 into amountLearned put 0 into numFriendsMade break case Ranting put 10 into minutesWasted put 0 into amountLearned put 0 into numFriendsMade break case

Piracy

2005-06-13 Thread Dan Friedman
Greetings! Has anyone come up with a decent way to deal with piracy? I'm getting ready to release a commercial application and wondered if there is anyway to stop someone from just giving it to a friend. [I would like my application to function off-line. So, doing a look-up via the web is

Windows ICOs

2005-06-09 Thread Dan Friedman
Hi all! Anyone got a handle on making an icon file (ico) for use when making a standalone in Rev 2.5? It would seem easiest to simply edit the genericapp.ico in the Sample Icons folder. But, what application do you use to edit it? Thank you in advance, Dan

Windows ICOs

2005-06-09 Thread Dan Friedman
Hi all! Anyone got a handle on making an icon file (ico) for use when making a standalone in Rev 2.5? It would seem easiest to simply edit the genericapp.ico in the Sample Icons folder. But, what application do you use to edit it? Thank you in advance, -Dan

Re: Unicode

2005-05-06 Thread Dan Friedman
Thomas, I don't know what your project is, but thought you might want/need to know that Rev does NOT print unicode text. I have spoken with Jacqueline and she tells me they are working on it. Hope this doesn't ruin your day... -Dan ___

Is this true? Rev doesn't print Unicode?

2005-04-27 Thread Dan Friedman
Hello... Does Revolution not print unicode text? I recently upgraded Rev to version 2.5.1 and spent 2 weeks updating my application to support Unicode. I went to test the printout and nothing printed!! Does anyone know if there is a way to print Unicode? Or, is this a bug? If so, anyone

Continued Help with Unicode Text

2005-03-29 Thread Dan Friedman
Hello again... I've been fiddling with this for days now. If you remember, my goal was to save unicode text in a single line - while preserving returns. This is the only way I could get it to work. Obviously, this creates a larger file on disk. Do you see any problems with this method that

Help with Unicode Text

2005-03-28 Thread Dan Friedman
Hi folks... Anyone know how to replace a return char in a unicode string? If you do this: put field 2 into jData --field 2 contains Japanese text replace cr with cr in jData put jData into url (file:/Users/user1/Desktop/jappTest.txt) Then, do this: put url

Is this possible...

2005-03-22 Thread Dan Friedman
Got a question... Is it possible to update the Rev engine in a standalone without doing a reinstall. Let me explain: I have a stack that I have made into a standalone. The standalone, when launched, opens other stacks that contain the workings of my application. Now, whenever I make changes to

Re: Random #'s

2005-01-27 Thread Dan Friedman
Dwayne, I'm sure there's a better way to do it, but how about this... function makeRandomNumberList maxNumber put 0 into i repeat put random(10) into thisNum if thisNum is among the items of fNumbers then next repeat end if add 1 to i put thisNum into item i of

Re: Cross-platform fonts...what is everyone else doing? -and- More font woes

2004-07-30 Thread Dan Friedman
Greetings... A couple of years ago, I dealt with all this cross-platform font stuff. I got so tired of trying to work it out that I finally came up with a solution that has worked perfectly ever since. What did I do you ask? Well, it wasn't cheep, but I hired a fontographer to build two font

Re: Installers

2004-07-30 Thread Dan Friedman
Dan, I don't actually use rev as my installer. I wouldn't trust Rev (or my coding) to touch someone's system... to many things could go wrong (especially on Windoz!) To install on OS 7/8/9, I use StuffIt InstallerMaker from Aladdin Systems, Inc. For OSX, I use Apple's PackageMaker. For

Re: anyone here implemented an answerList function?

2004-07-23 Thread Dan Friedman
Andre, Yeah... I made one. It's in the User Contributions section. Look for askList -Dan Date: Fri, 23 Jul 2004 00:57:08 -0300 From: Andre Garzia [EMAIL PROTECTED] Subject: anyone here implemented an answerList function? To: How to use Revolution [EMAIL PROTECTED] Message-ID: [EMAIL

Re: Demo Show Stopper - Save File Dialog

2004-04-26 Thread Dan Friedman
Dave, I have this very same problem. Here's what I do... When I get the Do you want to save this Stack? dialog, I simply click Save and move on. It may be a little annoying, but in my opinion, it's not worth spending over 12 hours on. Revolution is an amazing product! I certainly hope you

Re: Demo Show Stopper - Save File Dialog

2004-04-26 Thread Dan Friedman
Dave, Your absolutely right - without question, RR should fix this issue. I guess I'm more lenient about small issues like this. I get upset about the big issues. Several years ago there was a bug in the toolTip property. If you had a toolTip assigned to ANY object, the standalone would crash

Re: Re: Some Basic Misunderstandings/Problems with RunRev - aka Help!

2004-04-14 Thread Dan Friedman
Dave, 1 ( 2). How do I get the Quit and Preferences Menu Items to work correctly on MacOS Classic and X? Thanks a lot, I'll give this a try. But is there no document that describes how to do this? Also why is the readme file wrong?? It is documented. I found it by searching for quit in

Re: Some Basic Misunderstandings/Problems with RunRev - aka Help!

2004-04-13 Thread Dan Friedman
Dave, I'm not a Revolution pro, but hope this helps... 1 ( 2). How do I get the Quit and Preferences Menu Items to work correctly on MacOS Classic and X? It took me a while to figure this one out... but, here's what works for me. Put this in the stack script of your main stack (of course

Password Field

2004-04-12 Thread Dan Friedman
Good morning! Does anyone have a routine for typing in a field and displaying bullets - but preserving the text? As if it was a password field. I am making a user login window with Username and Password fields. Don't you think the password field should display bullets (or asterisks)? I could

RE: Password Field

2004-04-12 Thread Dan Friedman
Yves, Thanks! That works great. Don't you just love this list?!!! Good morning! Does anyone have a routine for typing in a field and displaying bullets - but preserving the text? As if it was a password field. I am making a user login window with Username and Password fields.

Re: Keeping a field scroll at the bottom as lines come in

2004-01-25 Thread Dan Friedman
Rob, Let me also welcome you to Revolution! When I add text to list fields, I usually want to hilite the new line of text. So, here's what I do: on addALineOfText someText, fieldName put the number of lines in field fieldName into nLine put someText into line nLine+1 of field fieldName

Re: [OT/ANN] Now I'm a father

2004-01-02 Thread Dan Friedman
Malte, When my son was born, my father-in-law said It best... The new boss is in town! :) Congratulations on the addition to the Brill family! -Dan ___ use-revolution mailing list [EMAIL PROTECTED]

Re: use-revolution Digest, Vol 3, Issue 76

2003-12-20 Thread Dan Friedman
Richard, I wouldn't have much use for it... I already have a CODE/DLL/Bundle that I use in Rev for spell checking. -Dan Date: Thu, 18 Dec 2003 11:31:04 -0800 From: Richard Gaskin [EMAIL PROTECTED] Subject: Apple spelling checker? To: Rev Discussion List [EMAIL PROTECTED] Message-ID:

Re: Simple question--what handler am I in?

2003-12-10 Thread Dan Friedman
Mark, I keep the Show Handler List (found in the View menu) option on. It displays a list of the script's handlers and keeps the active handler highlighted. Hope that helps, Dan In a script window, is there any way to automatically know what handler you are in the middle of (i.e. without

Re: Ouch! Can't open that file...

2003-11-26 Thread Dan Friedman
Tim, Thanks for the head's up! If all you want to do is check the existence of a file, ever think of using If there is a file tFilePath then instead of open file tFilePath for read? This way you don't have to worry about changes in the engine. Just a thought... -Dan Hello listers! I

Re: Two questions

2003-11-10 Thread Dan Friedman
I just put in my User Guide: If you change your screen's resolution, you will need to restart the application. -- problem solved. Of course, 99.9% of my users (like most everyone's users) didn't know you could change the resolution!! Just a thought, -Dan Jacqueline, OK, but the end

Re: Two questions

2003-11-10 Thread Dan Friedman
Tom, Here's a thought... If the user is going to change resolutions while your program is running, then unless they change the resolution from the menubar, they will have to leave the application. You could create a checkForResChange() function in a resume message. Just a thought... -Dan

Moving Buttons...

2003-11-04 Thread Dan Friedman
How would you do this... On a card, you have a bunch of buttons that are grouped together (group ButtonGroup). You want to let the user move the buttons around - but you want to prevent any of the buttons from overlaping. I have this in the card script to handle the movement: on mouseMove if

RE: Search and Replace

2003-10-18 Thread Dan Friedman
Ken, As usual, you always come to the aid of others. Thanks! This seems to work great! -Dan Here's a replacement function - it's a little messy (because I have to wrap 'whatText' in spaces at the beginning and strip them at the end), but it works:

Search and Replace

2003-10-17 Thread Dan Friedman
Hello all! I'm having a problem with a function that Ken Ray helped me with. I tried to fix it myself, but I don't really understand the matchChunk function. The goal is to pass searchAndReplaceMaleToFemale() whatText and return a female version of whatText. But it's not quite working

Re: path names to CD across platforms

2003-09-05 Thread Dan Friedman
Byron, Try this... (This assumes that you pass a movie path without the drive name/letter, and the CD (for the Mac) is named myCDROM)... put getMoviePath(datafiles/movies/movie001.mov) into mPath function getMoviePath fileName if the platform = MacOS then if there is a file

Re: OS X - documentation of drawer command

2003-09-03 Thread Dan Friedman
I did find a work-around... Just set the size of the stack to be the drawer before you open it: Set the height of stack drawerStack to (the height of stack Main - 50) Drawer stack drawerStack at left of stack Main At 10:00 AM +1000 9/3/2003, David Vaughan wrote: However, what if you want to

Re: How many people use Single-Handler Mode in Script Editor?

2003-09-01 Thread Dan Friedman
I do not use it and never thought it was a valuable feature. -Dan ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution

Dynamic Web Page (Not really a RR question)

2003-08-18 Thread Dan Friedman
Is there a way to have a web page either: (1) save it's self, so it's user editable fields can be read later?; or (2) have the web page read a text file and populate it's fields. Then save the user editable fields back to the text file? If either of these options is possible, how would you go

Re: Portable fonts and usage recommendations needed

2003-08-17 Thread Dan Friedman
I had the same problems! I got so tired of messing with it that I finally hired an outside source to create matching Mac and Windows fonts (serif, and san-serif). They look and behave EXACTLY the same on both platforms. It wasn't cheep, but my cross-platform font problems have gone away! -Dan

RE: Save as Image

2003-08-14 Thread Dan Friedman
Ken, Yes, it worked perfect!! Also, just for fun, I tried setting the target stack to invisible, and it worked too!! Thank you Ken! Message: 11 From: Ken Ray [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Save as Image Date: Wed, 6 Aug 2003 11:05:55 -0500 Organization: Sons of

Save as Image

2003-08-05 Thread Dan Friedman
Has anyone discovered a way to save a stack (or portion of a stack) as an image while the stack is either offscreen or invisible? If so, I'd sure love to hear how ya did it! Thanks, Dan ___ use-revolution mailing list [EMAIL PROTECTED]

Re: Repeat for each assistance.

2003-08-03 Thread Dan Friedman
Andy, Just insert your own counter: on checkItemCount put 0 into tCounter repeat for each line gameLine in fld gamelist add 1 to tCounter if the number of items in gameLine 5 then answer (something) set the hilitedLines of field gameList to tCounter exit

Re: MAC OS X standalone and externals

2003-07-10 Thread Dan Friedman
Ron, I had the same type of problem with one of my OSX externals. I don't know if this will help, but here's what I did: First, I had the external re-compiled as a bundle (from the code that was used to make the original CODE resource and DLL). So, it was now named Spell.bundle. I placed

CODE resource and OSX

2003-06-23 Thread Dan Friedman
Greetings... I use a 'CODE' resource in my standalone ('DLL' for windows). PPC and Windows works fine. But, what do I do for OSX? There is no place in the standalone builder to add a resource file. Being a OSX novice, I could use some assistance/guidance. Thanks! -Dan

Re: Newbie

2003-06-21 Thread Dan Friedman
Ubaldo, In the script of stack A put: On openStack open stack file path to stack B End openStack It's that easy. You could also put it in a startUp message, or in the openCard script of card 1 of stack A. Hope that helps. -Dan Sorry for this very basic question and if this has already

Unicode Text

2003-06-19 Thread Dan Friedman
Has anyone figured out how to read and write unicode text? I opened the unicodeFldRoutines.rev stack and tried to save field jpTargetFld to a text file and read it back in... But I can't seem to get it to work. Has anyone been able to do this? Or have ya got any ideas? Thanks in advance! -Dan

DiskSize

2003-06-17 Thread Dan Friedman
Greetings... The Goal: To determine if the user is opening a file from a floppy disk. Proposed Solution: The only thing I can think to do this is to use the capacity of the disk. If it's less than 2MB, I can assume it's a floppy. Do you agree? Now, there is no diskSize function that I know

Rev Docs

2003-06-12 Thread Dan Friedman
Dear RR and fellow Revolutionaries, I just wanted to take a moment to say Thank You to Jeanne and the entire RR crew for your continued work on the RR Documentation. 97 out of 100 times, I can find the answer to my questions from the documentation. Unlike many programs you get today, the RR

1.1.1 Buttons in 2.0

2003-06-06 Thread Dan Friedman
I opened a stack created in 1.1.1 in 2.0. All the buttons that were set as Standard appear as if they were 1.1.1's Rectangle buttons. And the Rectangle buttons don't have the same appearance as a new rectangle button. If I delete the original button and create a new one it's fine. Can any tell

RE: Send an eMail attachment?

2003-03-24 Thread Dan Friedman
Ken, I found Shao Sean's libSMTP library on the user contributions list... This is what I'm looking for! My only problem is that it takes 28 seconds to send an eMail with a 5307 byte text file attachment. From Outlook (with the same attachment and message), it took about 2 seconds. I wrote an

DLLs

2003-03-23 Thread Dan Friedman
Hello, Can anyone see what I'm doing wrong... I have a dll that I want to call. The script that communicates with the DLL is the main stack. I have set the destroyWindow of the stack to true and I have set the externals of the stack to myDLL.dll (I can't use a hard coded path because I don't

Re: Send an eMail attachment?

2003-03-22 Thread Dan Friedman
Jack, Thanks... But this doesn't solve the problem. *I* want to include the attachment in the eMail. I know that I could have the user add the attachment, but since I know what file needs to be sent, I would like to, at runtime, set that parameter. Thanks, Dan Here's a button script that

Re: save as dialog

2003-03-21 Thread Dan Friedman
Paolo Mazza, Try: On mouseUp ask file Save File As: End mouseUp How can I get a dialog similar to the save as dialog where user can choose a folder and write the name of a file. Using answer folder I can not insert the name of a file. Ciao Paolo Mazza

Getting a chunk of stylized text?

2003-02-21 Thread Dan Friedman
Fellow Revolutionaries, Let's say field A contains more text than can fit in it. The text in field A contains multiple fonts, styles and sizes. How can I get the stylized text that is not being displayed? (and remove it from field A and put it into field B) I tried messing with the

RevPrintField

2003-02-04 Thread Dan Friedman
Fellow Revolutionaries... Anyone experienced any problems with revPrintField on windows? When I run this in a RR standalone on my Mac, it works fine: On mouseUp revShowPrintDialog true,true revPrintField the name of field aField End mouseUp However, on Windows, it does nothing. And, the

RE: RTF vs HTML

2003-01-05 Thread Dan Friedman
Vikram, In the following you mentioned clipboarddata[rtf]. I don't see any thing about clipboarddata in the docs. What is this? What does it do? Where can I get details on what it is? Thanks! Dan I can't talk of the benefits of exporting rtf as files, but if you are copy-pasting from

Re: Different Document Types

2003-01-04 Thread Dan Friedman
Igor, On the Mac, use resEdit to create a res file with a BNDL resource. In the BNDL, create an entry for each of your document types (you will need to create the icons too - ic18, ic14, ics8, ics4, ics#, ICN#). You will also have to create the FREF resource (but I think resEdit will create

Re: Saving the clipboard

2002-12-11 Thread Dan Friedman
Richard, You could also use copy obj to dest option or the clone command to replicate objects without disturbing the clipboard. Thank you so much for the suggestion! It worked beautifully! - Dan ___ use-revolution mailing list [EMAIL PROTECTED]

Re: Saving the clipboard

2002-12-11 Thread Dan Friedman
Whoops... I spoke to soon. I have a stack with 6 cards -- Stack groupTemp. On each card is a group. The group on each card is named the same objGroup So, I do: Go card X of stack groupTemp Copy group objGroup of card X of stack groupTemp to card 1 of stack myStack Now, if we are on card 1 of

Saving the clipboard

2002-12-10 Thread Dan Friedman
Hello! My standalone contains several stacks files. During the course of activity in my standalone, I copy objects from one stack to another. I want to preserve the clipboard text during the copy/paste of objects. Here are the calls I am using to save the clipboard text: on aLongRoutine --a

  1   2   >