Icons - making and moving them
Hi All, I'm stuck! I've made an icon in Iconographer but I don't know how to move it into the stack I'm working on or into an icon library in Revolution 1.1.1. The discussions I've read on the list so far do not seem to reveal the secret. The documentation says very little about icons. I've saved the icon from Iconographer to the stack. I've tried moving it to the resources in the stack and to a copy of Revolution with ResEdit with no success. I know I'm missing something simple. Thanks in advance, Cheers Neil ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Icons - making and moving them
On Dienstag, April 1, 2003, at 08:55 Uhr, Neil Phillips wrote: I'm stuck! I've made an icon in Iconographer but I don't know how to move it into the stack I'm working on or into an icon library in Revolution 1.1.1. The discussions I've read on the list so far do not seem to reveal the secret. The documentation says very little about icons. Hallo Neil, imho thats wasting of engergy and time, because this should be solved with 2.0 If you can wait, wait for 2.0 Or try the prebeta to build the distribution Or do it with ResEdit (if you are familar with it) on win ther is a similar tool, dont know the name at the moment... hope that helps regards Wolfgang M. Bereuter Learn easy with trainingsmaps© -- The most devastating weapon of mass destruction in the world is texan testosterone und steirische gehirnerwEICHEung -- (Wolfgang M. Bereuter 03) ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
help with XP printing user accounts
Ugh, my beautiful printing routine doesn't work on Win XP for my client. It works great if the app is run as an administrator user, but not if run by a limited account user. The app must run by a limited user environment because of their IT rules (big federal agency). The XP user creation task in XP says programs designed prior to Windows XP or Windows 2000 might not work properly with limited accounts. For best results, choose programs bearing the Designed for Windows XP logo, or, to run older programs choose the computer administrator account type. What a vague warning message! Any XP-erts out there? Help! Alex Rice, Software Developer Architectural Research Consultants, Inc. [EMAIL PROTECTED] [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: RR and FileMaker
The recent discussion on interfacing FileMaker and Rev has aroused my curiosity. I have occasion, especially at election time, to work with FileMaker. Since I have never been able to decipher the arcane scripting language in FileMaker, my alternative has been to export the FileMaker file as a text file, make my changes using Transcript in RR and then import the altered text file back into FileMaker. Can I assume that this is not a really dumb way to work with FileMaker? No, I would not assume that. What exactly are you trying to do? ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: help with XP printing user accounts
At 8:50 am -0700 2/4/03, Alex Rice wrote: Ugh, my beautiful printing routine doesn't work on Win XP for my client. It works great if the app is run as an administrator user, but not if run by a limited account user. The app must run by a limited user environment because of their IT rules (big federal agency). Does your printing routine write out any files, and if so, does it write them to the Program files directory or some other out of bounds location. If so, that will be a problem. If you need to write files, they should be saved somewhere in the user's area of the Application and Settings folder (typically create a folder for your app in the user's Application Data folder). Alternatively, have the users install the app inside their area of the Applications Settings folder. Cheers Dave ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Rev stand-alone hangs on Win 98/Me
Has anyone experienced this before? I'm running a small demo app from a CD-ROM. I'm using external graphics and sound files, but the app hangs even before trying to load any of those from the CD. It's very strange. Runs fine under Windows XP, but not on 98/Me. I don't think it's any code that's causing the problem. There's just not much code there to cause a problem. I'm using a blue backdrop, which displays almost immediately. Then the app hangs for about 15-20 seconds before finally displaying my first card. After that it runs just fine. Does anyone have any ideas why this might be happening? Thanks, Chris Sheffield Read Naturally __ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: help with XP printing user accounts
On Wednesday, April 2, 2003, at 09:34 AM, Dave Cragg wrote: Does your printing routine write out any files, and if so, does it write them to the Program files directory or some other out of bounds location. If so, that will be a problem. If you need to write files, they should be saved somewhere in the user's area of the Application and Settings folder (typically create a folder for your app in the user's Application Data folder). Alternatively, have the users install the app inside their area of the Applications Settings folder. Dave, thanks yes my printing routing writes some temp files. I think this might be the problem. I'm debugging over the phone so I can't tell for sure. At first I didn't think this was the issue because the sysadmin said the permissions were such that the app could write files into Program Files folder, and the app was behaving as if it was writing temp files OK, for other functions. That it hung on printing was kind of a surprise. But right now I'm assuming that the writing to Program Files\AppName as a limited user account was the cause of the problem. Do you mean Documents and Settings, not Application and Settings? Does script this look sane to you? put specialFolderPath(kCSIDL_APPDATA) into tAppDataPath if tAppDataPath = empty then Err Unknown path to \Documents and Settings\user\Application Data end if put format(%s/MyApp, tAppDataPath) into tPath if there is not a folder tPath then -- create it create folder tPath if the result empty then Err the result end if Alex Rice, Software Developer Architectural Research Consultants, Inc. [EMAIL PROTECTED] [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Rev stand-alone hangs on Win 98/Me
Recently, Chris Sheffield wrote: Has anyone experienced this before? I'm running a small demo app from a CD-ROM. I'm using external graphics and sound files, but the app hangs even before trying to load any of those from the CD. It's very strange. Runs fine under Windows XP, but not on 98/Me. I don't think it's any code that's causing the problem. There's just not much code there to cause a problem. I'm using a blue backdrop, which displays almost immediately. Then the app hangs for about 15-20 seconds before finally displaying my first card. After that it runs just fine. Does anyone have any ideas why this might be happening? If you're relying on QuickTime to playback your media, there may be an initialization thing going on. On Windows, the first time QT functionality is called in your stack can sometimes result in a delay before anything happens. For myself, I've never seen a delay as long as you describe. But if you are using QT, you might want to try a test where you explicitly set the dontUseQT to true before running your stack to see if there is any difference in performance. Again, I don't know if this is the problem, or even if the Rev/MC folks can do anything about this, but it would sure be nice to get rid of this annoyance. Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design Email: [EMAIL PROTECTED] Web: www.tactilemedia.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Mask outline?
Hey! How do I make my images behave the same way bitmaps with the 'mask' ink do in SuperCard? That is, making the surrounding white area transparent. Thanks! Tomas Franzén Lighthead Software http://www.ligfhtheadsw.com/ ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Button vs. Message box scripts AND things rotational
Jim Hurley [EMAIL PROTECTED] Subject: Re: Button vs. Message box scripts Suppose I wanted to alter revRotatePoly (or use it as a base for a new routine) so that the center of rotation was a point of my choosing rather then the graphic's loc. -- Well, I don't think that'd be a native thing, but here is a couple alternatives I can think of: 1) Stretch the box that the graphic is in so that the image area is offset from the actual loc by some dimension that will work for you. 2) Use the Animation Manager. Select it and open the Animation Manager, click 'New', and set it to frame 1. Then rotate it manually (by message or whatever), and move it over so that it appears to have moved around a different axis, and apply that to whatever frame you like and test the animation to see if it's the effect you want. Adjust it until it's right, then put a [ revPlayAnimation MyCrank (or whatever) ] handler in your button. HTH, Ken N. Ken, Thanks for the suggestions. Actually it is possible, with minor variations to use a routine published in the digest a few issues ago to write a rotation routine that will rotate any polygon (or line) about any pivot point. This is a variation on a routine written by Derek Huby: On mouseUP --Rotate a polygon myPoly about a button Pivot by 45 degrees rotatePoly myPoly,the loc of button Pivot, 45 end mouseUP On rotatePoly theGraphic, thePivot, theAngle put the points of graphic theGraphic into tPoints put item 1 of thePivot into xPivot put item 2 of thePivot into yPivot put empty into newPointList repeat for each line tLine in tPoints --Set points relative to pivot put (item 1 of tLine)- xPivot , (item 2 of tLine)- yPivot return after tRelPoints end repeat put sin(theAngle* pi/180) into S put cos(theAngle * pi/180) into C put empty into rotptlist repeat for each line tLine in tRelPoints put round(C*(item 1 of tLine)+ S*(item 2 of tLine) + xPivot) after rotPtlist put , after rotptlist put round(-S*(item 1 of tLine) + C*(item 2 of tLine)+ yPivot)after rotPtlist put return after rotPtList end repeat set the points of graphic theGraphic to rotPtlist end rotatePoly And a good tip from [EMAIL PROTECTED] To avoid distortions through repeated rotations one might store the original points set in a custom property of the graphic. You would also store the net angle of rotation as a property. So you start from scratch with each new rotation and avoid any accumulated distortion through round off errors. Alejandro: I wasn't able to access the utilities you suggest form web site you mentioned. Problems with my version of Stuffit. I'll work on it. But thanks for the tip. BTY I have found a matrix inversion routine in the archives. Works well and fast. 60 milliseconds to invert a 4x4. Of course the speed decreases rapidly with size. Undocumented archania: Also, in examining the RR version of revRotatePoly I finally figured out what get revPoints (graphic) means. It takes a list of items and converts them to a single item, presumably for speed. That is a graphic pionts set obtained from get the points of graphic 1,2 3,4 5,6 Looks like this when derived from get revPoints(myGraphic) 1,2,3,4,5,6 And the points are subsequently summed over k where k takes on the values 2*k-1 and 2*k, that is the odd and even entries in the item set. The odd number are item 1's and the even are item 2's. This would be valuable for all the speed demons out there. Jim ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Color My Word--Open Color Palette
sez [EMAIL PROTECTED] Let's say you have an unlocked text field that you want to allow a user to format. Place some buttons next to it labeled Bold, Italic Plain, etc. You can also provide popups for font and font size. Your users simply selects any text that they want to operate on and click the buttons or popups. The basic code to operate on the selected text looks like this: on mouseup -- italicize the selected text if the selection is not empty the put the selectedchunk into sc -- see if the text already has some style info put the textstyle of sc into currentStyle if currentStyle is empty then put plain into currentstyle -- add italics to any existing style put currentStylecommaitalic into newStyle set the textStyle of sc to newStyle end if end mouseup This will work fine, even if the text field is not locked. Some comments... One: If the selected text has no style assigned to it, the textstyle won't be empty -- it'll be plain. Two: If the selected text has a mixture of styles -- for instance, if three words are selected, and precisely one of the three words is boldfaced -- the results may not be what you wanted. Try this out: Put whatever you like in a standard text field; apply boldface to word 2 (and *only* word 2) of that text; try this code... put the textstyle of word 1 to 3 of field testbed into Fred put ,italic after Fred set the textstyle of word 1 to 3 of field testbed to Fred ...and watch as the boldfacing on word 2 evaporates. Note that the resulting behavior is exactly what you get when you apply a text style from the STYLE submenu of the TEXT menu. Perhaps it might be worth someone's while to write a style-applying handler that does not display this behavior? Three: If the selected text is all the same style, this will work just fine regardless of whether that style is plain or bold,underline or what: put italic into item (1 + the number of items in TheStyle) of TheStyle Fortunately, the MC engine is smart enough that if you set some text to the style plain,italic, it comes out as italic, so you don't need to worry about it. Four: In a word processor, if all of the selected text is italics, selecting italics should *remove* that style from the selected text. This code doesn't do that. Again -- perhaps someone might want to write a style-applying handler that does things differently? Fonts and font sizes are a little different but not very hard. Let me know if you want more details. The mixed styles thing applies here, too, but you probably *want* fonts and sizes to behave this way. Hope this helps... ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: use-revolution digest, Vol 1 #1258 - 14 msgs
If what you want is to create a solution integrating FileMaker and Revolution it might be OK. But if you are just using Revolution because you dont know how to use FileMaker you are probably wasting a lot of time. Please describe what you are trying to achieve. Best regards Carsten The recent discussion on interfacing FileMaker and Rev has aroused my curiosity. I have occasion, especially at election time, to work with FileMaker. Since I have never been able to decipher the arcane scripting language in FileMaker, my alternative has been to export the FileMaker file as a text file, make my changes using Transcript in RR and then import the altered text file back into FileMaker. Can I assume that this is not a really dumb way to work with FileMaker? ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Color My Word--Open Color Palette
[EMAIL PROTECTED] writes: [snip] Two: If the selected text has a mixture of styles -- for instance, if three words are selected, and precisely one of the three words is boldfaced -- the results may not be what you wanted. === Mixed styles is documented in the MetaTalk ref: If you get the textStyle of a chunk that contains multiple styles, the string mixed is returned. So, add a routine for mixed that parses the chunk to a lower level (perhaps down to character level) and saves the style info, applies the user's new style selection, then determines which, if any, of the saved style info should be reapplied. Maybe the user's new selection could just be added to the style list for each saved item? miscdas ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Mask outline?
Recently, Tomas Franzén wrote: How do I make my images behave the same way bitmaps with the 'mask' ink do in SuperCard? That is, making the surrounding white area transparent. Depends what you need to do. If you're delivering to Mac systems only, transparent will work fine. If you need to deliver cross platform, it would probably be better to use a GIF image with a built in mask, thereby avoiding use of inks all together. If you need to antialias the image to the background (seamless blend between the image and your stack), you can use a PNG image with an 8 bit mask. If you need to be able to change the background of the image at will, import a GIF or PNG image, place a draw graphic behind the image and set the backColor or the graphic as needed. Many options... Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design - E: [EMAIL PROTECTED] W: http://www.tactilemedia.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Rev stand-alone hangs on Win 98/Me
I tried that and it didn't fix the problem. It still takes forever for my window to display when running from a CD. If I copy the files to the hard drive and run it from there it runs great. The weird thing is that my executable is only about 1.7 MB. It should not take 15-20 seconds for something of that size to load. We've experienced this problem on three different computers: two running Windows 98 and one running Me. Just for kicks I tried creating a very simple stand-alone with nothing but an answer dialog that pops up in both the openStack and openCard handlers. The .exe is about 1.5 MB. I burned it to a disk and ran it from there. It still took about 7 or 8 seconds for the window to display and the first dialog to appear. This should not be happening. There was no other content in this stack at all. If anyone else has any other suggestions, they would be most appreciated. BTW, I'm using Rev 1.1.1. Thanks, Chris Sheffield --- Scott Rossi [EMAIL PROTECTED] wrote: Recently, Chris Sheffield wrote: Has anyone experienced this before? I'm running a small demo app from a CD-ROM. I'm using external graphics and sound files, but the app hangs even before trying to load any of those from the CD. It's very strange. Runs fine under Windows XP, but not on 98/Me. I don't think it's any code that's causing the problem. There's just not much code there to cause a problem. I'm using a blue backdrop, which displays almost immediately. Then the app hangs for about 15-20 seconds before finally displaying my first card. After that it runs just fine. Does anyone have any ideas why this might be happening? If you're relying on QuickTime to playback your media, there may be an initialization thing going on. On Windows, the first time QT functionality is called in your stack can sometimes result in a delay before anything happens. For myself, I've never seen a delay as long as you describe. But if you are using QT, you might want to try a test where you explicitly set the dontUseQT to true before running your stack to see if there is any difference in performance. Again, I don't know if this is the problem, or even if the Rev/MC folks can do anything about this, but it would sure be nice to get rid of this annoyance. Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design Email: [EMAIL PROTECTED] Web: www.tactilemedia.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution __ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Rev stand-alone hangs on Win 98/Me
On 4/2/03 2:59 PM, Chris Sheffield wrote: I tried that and it didn't fix the problem. It still takes forever for my window to display when running from a CD. If I copy the files to the hard drive and run it from there it runs great. When you burned the CD, did you put the app at the root level? Windows has problems with that sometimes. What happens if you place the app inside a folder on the CD? -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Rev stand-alone hangs on Win 98/Me
That fixed it! You're a genius! I never would have thought to try something like that. How did you know to do that? Thank you, Chris Sheffield Read Naturally --- J. Landman Gay [EMAIL PROTECTED] wrote: On 4/2/03 2:59 PM, Chris Sheffield wrote: I tried that and it didn't fix the problem. It still takes forever for my window to display when running from a CD. If I copy the files to the hard drive and run it from there it runs great. When you burned the CD, did you put the app at the root level? Windows has problems with that sometimes. What happens if you place the app inside a folder on the CD? -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution __ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Stacks in memory
I understand that RR loads the entire stack into RAM when it is opened. This is not practical if I have many cards. Will this also be the case with 2.0, or should I look toward using MySQL, etc.? Thanks __ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
save stack
Before saving a stack I need to know if there are chages made after the last version saved to disk. How can I control this in Revolution. I know there is a way to control if the present stack is the same as the version saved to disk but I can not remenber the name of this control and I can not find it in the documentation. Thaks ciao Paolo ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Button vs. Message box scripts;
Message: 1 Date: Tue, 01 Apr 2003 10:25:58 -0800 Subject: Re: Button vs. Message box scripts; From: Scott Rossi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Recently, Jim Hurley wrote: Regarding revRotatePoly: My version probably does violence to the language by using text as a parameter sent to a handler that expects only a graphic. There are also some polygon rotation scripts in the Tangram stack available via our stack player. Paste the following in your message box: go stack url http://www.tactilemedia.com/panel.mc; Alternatively, you can see here: http://www.tactilemedia.com/download Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design - Scott, Thank you so much for Tangram stack. I love the way the centroid of the polygon lags behind the mouse, as if it were being dragged through a viscous medium. Also the use of polar coordinates is a very nice touch. Jim P.S. I get a message stack corrupted when I try you message box suggestion. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Button vs. Message box scripts;
Recently, Jim Hurley wrote: I get a message stack corrupted when I try you message box suggestion. That's odd. Are you using Rev or MC? Access seems to work fine here in MC Mac/Win; I didn't test in Rev so this might be the problem. Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design - E: [EMAIL PROTECTED] W: http://www.tactilemedia.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
[OT] Show hidden file on OS X
Hi All Just wondering if there is a way to get the finder to show all the hidden files on OS X. Cheers Monte Goulding B.App.Sc. (Hons.) Executive Director Sweat Technologies email: [EMAIL PROTECTED] website: www.sweattechnologies.com mobile (International): +61 421 138 274 (Australia): 0421 138 274 ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: RR and FileMaker
The recent discussion on interfacing FileMaker and Rev has aroused my curiosity. I have occasion, especially at election time, to work with FileMaker. Since I have never been able to decipher the arcane scripting language in FileMaker, my alternative has been to export the FileMaker file as a text file, make my changes using Transcript in RR and then import the altered text file back into FileMaker. Can I assume that this is not a really dumb way to work with FileMaker? No, I would not assume that. What exactly are you trying to do? Bruce, Here is an example. Say I have a field which has something like the following: stuff, stuff, AP# 103-837-47, more stuff, more stuff Were AP# might be a county parcel number. The 837 might be a county tax zone. And I might want to extract that 837 and make it a separate field. In Transcript I just write: on CreateNewField put field 1 into tRecords repeat for each line tLine in tRecords set the itemdelimiter to comma put item 3 of tLine into temp Set itemdelimiter to - put comma item 2 of tLine after tLine put tLine return after results end repeat put results into field 1 end CreateNewField Now I'm sure this can be done as well within FileMaker, but I have a deep seated aversion to the scripting language in FileMaker. As I said, I first have to save the file as text, do my Transcript thing, and then import it back into FileMaker. Tedious but, for me, better than working in FileMaker. Jim ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Standalone asking for QuickTime Effects
I have a Windows standalone which prompts the Win2K users to upgrade their QuickTime Effects. Earlier versions of this program did not ask for this and the only thing I can think is that I added a tiff image to the program but I may have also added a jpeg but I can't imagine that being the problem. Any ideas? Bill Vlahos IT Manager, AeroVironment, Inc. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Color My Word--Open Color Palette
On Mittwoch, Apr 2, 2003, at 20:16 Europe/Zurich, [EMAIL PROTECTED] wrote: ... Perhaps it might be worth someone's while to write a style-applying handler that does not display this behavior? ... Well I have a very old script which does exactly that. It was one of the first scripts that I ever wrote to use it (not only to learn the language). I remember splitting it up to work around the script limit, and also remember to set the traversalOn of the button to false. This example is with italic, there is only one occurrence of italic that needs to be changed. It is probably extremely bad done and/or slow (I remember finding it fast enough for my task), but it might be a starting point for you to improve upon (start with the repeat loops, repeat for each chunktype... is much faster then repeat with..., and some exit repeat are in order). Oh and look out for wrapped lines! comments added now. on mouseUp put text into myField --this is the name of the field your styled text is in put italic into myStyle --change here for other styles if the textstyle of the selection contains myStyle then --faster way, style not mixed put the textstyle of the selection into myCurrentStyle delete item itemoffset(myStyle, myCurrentStyle) myCurrentStyle set the textstyle of the selection to myCurrentStyle else --slower way repeat with myChar = the second word of the selectedChunk to the fourth word of the selectedChunk if the textstyle of char mychar of field text contains myStyle then --italic is present add one to styleCount end if end repeat if styleCount (the number of chars in the selection) / 2 then --remove style/add style switch styleChar myStyle, myField, remove else styleChar myStyle, myField, add end if end if end mouseUp on styleChar myStyle, myField, myMode --now the complexity increases, this is quiet streamlined for the 10 line limit --the clue here generally is that single chars do NOT return mixed in their style --i am too tired too comment all of this, ask if there are problems lock screen repeat with myChar = the second word of the selectedChunk to the fourth word of the selectedChunk put the textStyle of char myChar of card field myField into myCurrentStyle put myChar into mySecChar repeat while the textStyle of char mySecChar+1 of field myField = myCurrentStyle and mysecchar the number of chars in the selection --skipping all chars with the same style to change them all at once add one to mySecChar end repeat if myStyle is in myCurrentStyle and myMode = remove then delete item itemoffset(myStyle,myCurrentStyle) myCurrentStyle set the textstyle of char myChar to mySecChar of field myField to myCurrentStyle else if myStyle is not in myCurrentStyle and myMode = add then if the textstyle of char myChar to mySecChar of field myField empty then set the textstyle of char myChar to mySecChar of field myField to the textstyle of char myChar to mySecChar of field myField , myStyle --adding style else set the textstyle of char mychar to mySecChar of field myField to myStyle --style was plain end if end if put mySecChar into myChar end repeat end StyleChar ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Shao Sean's POP3 Library
Hi folks, I've been hunting around for Shao Sean's POP3 library mentioned previously on this list to no avail. I did find his home page with his SMTP library and a note not to e-mail him directly, so I thought I'd try this list. Does anybody have an old copy they can share with me (assuming such sharing doesn't go against Shao's wishes)? Thanks! Jim ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Standalone asking for QuickTime Effects
confirmed... just happened to me also... created stack in OSX... no movies, no player objects... put it on a windows machine it asked the same question. Fortunately the DELL machine running win2K did it instantly and carried on.. On Wednesday, April 2, 2003, at 03:10 PM, Bill Vlahos wrote: From: Bill Vlahos [EMAIL PROTECTED] Date: Wed Apr 2, 2003 3:10:15 PM Pacific/Honolulu To: [EMAIL PROTECTED] Subject: Standalone asking for QuickTime Effects Reply-To: [EMAIL PROTECTED] I have a Windows standalone which prompts the Win2K users to upgrade their QuickTime Effects. Earlier versions of this program did not ask for this and the only thing I can think is that I added a tiff image to the program but I may have also added a jpeg but I can't imagine that being the problem. Any ideas? Bill Vlahos IT Manager, AeroVironment, Inc. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Standalone asking for QuickTime Effects
On Wednesday, April 2, 2003, at 08:25 PM, Sannyasin Sivakatirswami wrote: confirmed... just happened to me also... created stack in OSX... no movies, no player objects... put it on a windows machine it asked the same question. Fortunately the DELL machine running win2K did it instantly and carried on.. Weird! What happens if you guys set the dontUseQt and dontUseQteffects properties to false? Alex Rice, Software Developer Architectural Research Consultants, Inc. [EMAIL PROTECTED] [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Icons - making and moving them
** Date: Wed, 2 Apr 2003 04:55:59 +1000 From: Neil Phillips [EMAIL PROTECTED] Subject: Icons - making and moving them Hi All, I'm stuck! I've made an icon in Iconographer but I don't know how to move it into the stack I'm working on or into an icon library in Revolution 1.1.1. The discussions I've read on the list so far do not seem to reveal the secret. The documentation says very little about icons. I've saved the icon from Iconographer to the stack. I've tried moving it to the resources in the stack and to a copy of Revolution with ResEdit with no success. I know I'm missing something simple. -- Paste it into the Image Library (Development menu)? Ken N. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: help with XP printing user accounts
At 10:07 am -0700 2/4/03, Alex Rice wrote: On Wednesday, April 2, 2003, at 09:34 AM, Dave Cragg wrote: Does your printing routine write out any files, and if so, does it write them to the Program files directory or some other out of bounds location. If so, that will be a problem. If you need to write files, they should be saved somewhere in the user's area of the Application and Settings folder (typically create a folder for your app in the user's Application Data folder). Alternatively, have the users install the app inside their area of the Applications Settings folder. Dave, thanks yes my printing routing writes some temp files. I think this might be the problem. I'm debugging over the phone so I can't tell for sure. At first I didn't think this was the issue because the sysadmin said the permissions were such that the app could write files into Program Files folder, and the app was behaving as if it was writing temp files OK, for other functions. That it hung on printing was kind of a surprise. But right now I'm assuming that the writing to Program Files\AppName as a limited user account was the cause of the problem. Do you mean Documents and Settings, not Application and Settings? Sorry, my mistake. Does script this look sane to you? put specialFolderPath(kCSIDL_APPDATA) into tAppDataPath if tAppDataPath = empty then Err Unknown path to \Documents and Settings\user\Application Data end if Does it have to run on platforms other than XP? I forget offhand if all older Windows versions have an Application data folder. But what I've done if specialFolderPath returns empty is to just use the application folder. This assumes that the user can write to Program Files, but I think it's a fairly safe assumption in such cases. put format(%s/MyApp, tAppDataPath) into tPath if there is not a folder tPath then -- create it create folder tPath if the result empty then Err the result end if I think that specialFolderPath will return empty if the folder doesn't exist, so this part may be unnecessary. But don't take my word for it. Cheers Dave ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution