Re: Creating a folder using get specialFolderPath

2010-08-09 Thread Mark Schonewille
Hi, It is not entirely clear to me what you want. Why exactly did you choose to glue specialFolderPath("home") and specialFolderPath("asup") together? Have you actually checked what the two return? Also, you might need to check that folders actually exist. If they don&#

Re: Creating a folder using get specialFolderPath

2010-08-09 Thread Mark Wieder
charles61- Monday, August 9, 2010, 9:08:08 AM, you wrote: > I have the following handler that creates a text file (list) on the user's > application support folder on OS X: > if the platform = "MacOS" then > get specialFolderPath("home") &

Creating a folder using get specialFolderPath

2010-08-09 Thread charles61
I have the following handler that creates a text file (list) on the user's application support folder on OS X: if the platform = "MacOS" then get specialFolderPath("home") & specialFolderPath("asup") &"/" & "list"

Re: specialFolderPath question

2010-06-28 Thread charles61
gt; > > > on mouseUp > > put the hilitedLine of field "Student Plans" into the_selection > > > > if the_selection is 1 > > then > > answer file "Open Student Plans file:" with > > specialFolderPath("documents&q

Re: specialFolderPath question

2010-06-28 Thread Klaus on-rev
selection_2. I thought that the path in the script > would always take the user to that path > > on mouseUp > put the hilitedLine of field "Student Plans" into the_selection > > if the_selection is 1 > then > answer file "Open Student Plans file:&qu

Re: specialFolderPath question

2010-06-28 Thread charles61
> http://runtime-revolution.278305.n4.nabble.com/specialFolderPath-question-tp2270986p2271082.html > > To unsubscribe from specialFolderPath question, click here. > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/specialFolderPath-question-tp22709

Re: specialFolderPath question

2010-06-28 Thread Shao Sean
Did you try setting the defaultFolder before doing the "answer file" command? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev

specialFolderPath question

2010-06-28 Thread charles61
script would always take the user to that path on mouseUp put the hilitedLine of field "Student Plans" into the_selection if the_selection is 1 then answer file "Open Student Plans file:" with specialFolderPath("documents") & "/Plans_Stude

Re: Specialfolderpath (26) and roaming

2010-04-19 Thread J. Landman Gay
ron barber wrote: Hi, At one point I thought this discussion was decided in favor of using specialfolderpath(35) rather than (26). If I remember, it had something to do with the way Win 7 handled installations. Is it better to use (26) or (35)? It depends on what you want. Folder (26) points

Re: Specialfolderpath (26) and roaming

2010-04-19 Thread David Glasgow
tand >> how that would work in practice, because presumably each machine >> could have a different variant of appdata/roaming.. > > No, it should save to the local drive. SpecialFolderPath points to the local > system. > >> Apart form not quite getting what is going on

Re: Specialfolderpath (26) and roaming

2010-04-19 Thread ron barber
Hi, At one point I thought this discussion was decided in favor of using specialfolderpath(35) rather than (26). If I remember, it had something to do with the way Win 7 handled installations. Is it better to use (26) or (35)? Thanks Ron On Apr 19, 2010, at 10:29 AM, J. Landman Gay wrote

Re: Specialfolderpath (26) and roaming

2010-04-18 Thread J. Landman Gay
David Glasgow wrote: Hello folks, My platform specific saving data script now works fine thanks for the advice so far. However, I was thrown a bit because Specialfolderpath (26) on my Vista machine points to a folder /appdata/roaming But it's inside your user folder. Pre-Vist

Specialfolderpath (26) and roaming

2010-04-18 Thread David Glasgow
Hello folks, My platform specific saving data script now works fine thanks for the advice so far. However, I was thrown a bit because Specialfolderpath (26) on my Vista machine points to a folder /appdata/roaming As far as I can make out, if a user is logged into a server, this

Re: specialFolderPath

2010-04-15 Thread charles61
Klaus, Your script worked great! Thanks so much! -- View this message in context: http://n4.nabble.com/specialFolderPath-tp1839006p1934458.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use

Re: specialFolderPath

2010-04-15 Thread Klaus on-rev
Hi Charles, > Klaus, > > Thanks! I have a question: How would I create a folder entitled "MyFolder" in > the user's document folder using the following script?: > ask file "My file as: " with specialFolderPath("docs") & slash ... put spec

Re: specialFolderPath

2010-04-15 Thread charles61
Klaus, Thanks! I have a question: How would I create a folder entitled "MyFolder" in the user's document folder using the following script?: sk file "My file as: " with specialFolderPath("docs") & slash Charles Szasz csz...@mac.com On Apr 15, 2010

Re: specialFolderPath

2010-04-15 Thread Klaus on-rev
Hi Charles, > Klaus, > > Oops, am sorry for the mistake! Thou shalt be forgiven! Don't worry, this happens to me all the time ;-) Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-revolution mailing list use-revolutio

Re: specialFolderPath

2010-04-15 Thread charles61
Klaus, Oops, am sorry for the mistake! -- View this message in context: http://n4.nabble.com/specialFolderPath-tp1839006p1909382.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution

Re: specialFolderPath

2010-04-15 Thread Klaus on-rev
Hi Charles, > Kaus, > > Thanks! And congratulations on your new daughter! my name is Klaus and I am still not Malte :-D Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.run

Re: specialFolderPath

2010-04-15 Thread charles61
Kaus, Thanks! And congratulations on your new daughter! -- View this message in context: http://n4.nabble.com/specialFolderPath-tp1839006p1899213.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list

RE: specialfolderpath("preferences") on windows

2010-04-15 Thread David Glasgow
On 15 Apr 2010, at 5:23 am, Paul D. DeRocco wrote: > No, it's not supported in Windows. Entering > > put specialFolderPath("Preferences") > > in the message box returns nothing in Windows. So your file would have gone > into the root if you added a

RE: specialfolderpath("preferences") on windows

2010-04-14 Thread Paul D. DeRocco
> From: David Glasgow > > I wrote script to save a text file to > specialFolderPath("Preferences") and then reference it on > subsequent startups. I had planned to write an alternative bit > of script for Windows using specialFolderPath(26), but hadn't > quite

specialfolderpath("preferences") on windows

2010-04-14 Thread David Glasgow
Hello folks, I wrote script to save a text file to specialFolderPath("Preferences") and then reference it on subsequent startups. I had planned to write an alternative bit of script for Windows using specialFolderPath(26), but hadn't quite got round to it. I am using Rev Stud

Re: specialFolderPath

2010-04-14 Thread J. Landman Gay
Devin Asay wrote: On Apr 14, 2010, at 11:12 AM, J. Landman Gay wrote: Klaus on-rev wrote: Rev uses always the SLASH / as a path delimiter internaylly on ALL platforms! You only need to use the backslash if you use a pathname inside of a SHELL command on windows. Which brings up an interface

Re: specialFolderPath

2010-04-14 Thread Devin Asay
On Apr 14, 2010, at 11:12 AM, J. Landman Gay wrote: > Klaus on-rev wrote: > >> Rev uses always the SLASH / as a path delimiter internaylly on ALL platforms! >> You only need to use the backslash if you use a pathname inside of a SHELL >> command on windows. > > Which brings up an interface que

Re: specialFolderPath

2010-04-14 Thread J. Landman Gay
Klaus on-rev wrote: Rev uses always the SLASH / as a path delimiter internaylly on ALL platforms! You only need to use the backslash if you use a pathname inside of a SHELL command on windows. Which brings up an interface question. My app lets users choose a folder and then displays the fold

Re: specialFolderPath

2010-04-14 Thread Klaus on-rev
Hi Charles, > Thanks Devin and Mark, > > Your suggestions solved my problem. But I do have one question: if I do use > slash will this also work on Windows? Do I need to specify a back slash for > Windows? Rev uses always the SLASH / as a path delimiter internaylly on ALL platforms! You only nee

Re: specialFolderPath

2010-04-13 Thread charles61
Thanks Devin and Mark, Your suggestions solved my problem. But I do have one question: if I do use slash will this also work on Windows? Do I need to specify a back slash for Windows? -- View this message in context: http://n4.nabble.com/specialFolderPath-tp1839006p1839120.html Sent from the

Re: specialFolderPath

2010-04-13 Thread Mark Schonewille
Hi Charles, Add a slash: ask file "My file as: " with specialFolderPath("docs") & slash -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Share the cl

Re: specialFolderPath

2010-04-13 Thread Devin Asay
Charles, On Apr 13, 2010, at 3:02 PM, charles61 wrote: > > I just started using specialFolderPath to save documents made with my app. I > tried the following for the Mac: > > ask file "My file as: " with specialFolderPath("docs") > > which opens up th

specialFolderPath

2010-04-13 Thread charles61
I just started using specialFolderPath to save documents made with my app. I tried the following for the Mac: ask file "My file as: " with specialFolderPath("docs") which opens up the file dialog box showing Save My File as: Documents instead of opening the Documents fold

Can specialfolderpath(26) be blocked for write access?

2009-12-03 Thread Richard Miller
I have one user in which my revlet is attempting to create a folder within specialfolderpath(26) [the AppData location], but it does not get created. I've tried it numerous times. It just won't go through. This is on a Vista machine. Under what conditions can this possibly happen?

Re: specialFolderPath() on Linux?

2009-10-05 Thread Phil Davis
Thanks gentlemen! That's what I needed. Phil Peter Alcibiades wrote: Ian Wood-3 wrote: I thought Linux didn't have a specific location for preferences in that way? No, it does not. They are per user. Put them in /home/user/.myapp the dot to keep invisible. Have a look at

Re: specialFolderPath() on Linux?

2009-10-05 Thread Peter Alcibiades
View this message in context: http://www.nabble.com/specialFolderPath%28%29-on-Linux--tp25745878p25746902.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit t

Re: specialFolderPath() on Linux?

2009-10-05 Thread Ian Wood
I thought Linux didn't have a specific location for preferences in that way? Ian On 5 Oct 2009, at 07:48, Phil Davis wrote: I'm looking for a Linux equivalent to Mac's specialFolderPath("preferences"). ___ use-re

specialFolderPath() on Linux?

2009-10-04 Thread Phil Davis
The docs say these specialFolderPath() keywords are valid for Unix: Home: The current user's home directory (e.g. "/home/fred") Desktop: The current user's desktop (e.g. "/home/fred/Desktop") Temporary: For storage of temporary files (typically &

Windows specialFolderPath

2009-09-30 Thread Lars Brehmer
Quick question about specialFolderPaths in Windows; specialFolderPath 35 (XP) C:/Documents and Settings/All Users/ Application Data specialFolderPath 35 (Vista) C:/ProgramData Is sfp 35 in Windows 7 the same as in Vista? And this is probably as dumd as it sounds, but systemVersion 6

specialFolderPath("Documents")

2008-12-14 Thread Sivakatirswami
Our Hinduism Today Digital Edition/PDF manager uses specialFolderPath("Documents") this is resolving to the same folder as SF#28 also currently known as CSIDL_PERSONAL = 0x0005 File system directory that serves as a common repository for documents. A typical path is C:\Doc

Re: specialfolderpath(), WAS: App restart after update

2008-06-18 Thread Klaus Major
Hi Dave, On 18 Jun 2008, at 08:24, Klaus Major wrote: Hi all ... With Rev 2.9 you can now get the temp folder on all three platforms with: get specialFolderPath("temporary") I tried them and two of them simply did not work/ returned empty on OS X 10.5.3, Rev 2.9!? special

Re: specialfolderpath(), WAS: App restart after update

2008-06-18 Thread Dave Cragg
On 18 Jun 2008, at 08:24, Klaus Major wrote: Hi all ... With Rev 2.9 you can now get the temp folder on all three platforms with: get specialFolderPath("temporary") I tried them and two of them simply did not work/ returned empty on OS X 10.5.3, Rev 2.9!? specialfolder

specialfolderpath(), WAS: App restart after update

2008-06-18 Thread Klaus Major
Hi all ... With Rev 2.9 you can now get the temp folder on all three platforms with: get specialFolderPath("temporary") I tried them and two of them simply did not work/ returned empty on OS X 10.5.3, Rev 2.9!? specialfolderpath("home") specialfolderpath("te

How do I express specialFolderPath(28)in DOS syntax

2008-01-22 Thread Mark E. Powell
For compatibility with non-English operating systems (who can have DOS-breaking diacriticals in path names), I need to write a BAT file that points to the equivalent of specialFolderPath(28). For example, in the same way that cd %TEMP% changes to the temporary directory, I need a DOS command

Re: specialFolderPath rendered in HTML...localization and encoding problems

2007-10-23 Thread Sarah Reichelt
On 10/24/07, Mark E. Powell <[EMAIL PROTECTED]> wrote: > I write gifs to specialFolderPath(26) and create HTML reports that use those > gifs. On English OS and browser, no problem: the HTML respects the path and > shows the gifs. However when testing on non-English sys

specialFolderPath rendered in HTML...localization and encoding problems

2007-10-23 Thread Mark E. Powell
I write gifs to specialFolderPath(26) and create HTML reports that use those gifs. On English OS and browser, no problem: the HTML respects the path and shows the gifs. However when testing on non-English systems (Czech for example), the pathing fails because part of the literal path written

Firefox equivalents for specialfolderpath(6) et. al.

2007-07-24 Thread Mark Powell
Ken Ray has a dynamite resource that cross references Microsoft CSIDL constants to specialFolderPath equivalents. http://www.sonsothunder.com/devres/revolution/tips/file010.htm A few of these are folders where IE stores favorites, cookies, history, cached files, etc. My question is, is there

Re: Firefox equivalents for specialfolderpath(6) et. al.

2007-07-23 Thread Ken Ray
On Mon, 23 Jul 2007 14:29:14 +, Mark E. Powell wrote: > Ken Ray has a dynamite resource that cross references Microsoft CSIDL > constants to specialFolderPath equivalents. > > http://www.sonsothunder.com/devres/revolution/tips/file010.htm > > A few of these are folde

Firefox equivalents for specialfolderpath(6) et. al.

2007-07-23 Thread Mark E. Powell
Ken Ray has a dynamite resource that cross references Microsoft CSIDL constants to specialFolderPath equivalents. http://www.sonsothunder.com/devres/revolution/tips/file010.htm A few of these are folders where IE stores favorites, cookies, history, cached files, etc. My question is, is there

Re: SpecialFolderPath(26) on Vista

2007-07-10 Thread Signe . Sanne
Thank you, Ken Signe Marie > SpecialFolderPath(26) is perfectly fine to write to on Vista - This is > the user-specific "Application Data" folder, so since it's > user-specific, it is completely writeable. I've used this already on a > Vista project with both Ad

Re: SpecialFolderPath(26) on Vista

2007-07-10 Thread Ken Ray
On Tue, 10 Jul 2007 13:39:52 +0200, Signe Marie Sanne wrote: > Has anybody any experience with writing files to this folder on > Vista? Will it still be open, or do I have to write the files to > another folder? What about c:/temp? SpecialFolderPath(26) is perfectly fine to write to

SpecialFolderPath(26) on Vista

2007-07-10 Thread Signe Marie Sanne
Has anybody any experience with writing files to this folder on Vista? Will it still be open, or do I have to write the files to another folder? What about c:/temp? Signe Marie Sanne ___ use-revolution mailing list use-revolution@lists.runrev.com Pl

WAS Re: List Moderation, recent threads and New Forum, NOW specialFolderPath in Ubuntu Linux

2006-04-11 Thread Bob Warren
Richard Gaskin wrote: Just to clarify, does specialFolderPath return the proper value under Ubuntu? Which constants work with it? The docs don't mention Linux at all, while they do list the constants available for Classic, OS X, and Windows. So from the docs it's not cle

Re: SpecialFolderPath

2005-02-03 Thread Frank Leahy
ggers and Other Photo Power Users See us on the web at http://www.webphotospro.com/ On Feb 2, 2005, at 10:36 PM, [EMAIL PROTECTED] wrote: From: Paul Salyers <[EMAIL PROTECTED]> Subject: Re: SpecialFolderPath To: How to use Revolution Message-ID: <[EMAIL PROTECTED]> Content-Type: te

Re: SpecialFolderPath

2005-02-03 Thread Signe Marie Sanne
7;m not quite sure if you know how to make a shortcut icon(on PC)...if that may solve your problem: on makeShortcut global gLongNameFile put specialFolderPath("desktop")& "/DysEngMP.lnk" into snarvei --Here the word "DysEngMP" should be replaced --with th

Re: SpecialFolderPath

2005-02-02 Thread Paul Salyers
At 01:05 PM 1/21/2005, you wrote: the specialFolderPath of folderIdentifier specialFolderPath(folderIdentifier) specialFolderPath("Preferences") set the defaultFolder to specialFolderPath("documents") put specialFolderPath("asup") into appSupportFolder -- special

Re: SpecialFolderPath

2005-01-21 Thread Ken Ray
> For Windows systems, you can also specify a CSIDL number that identifies > a special folder. You can find a list of available CDISL values on the > Microsoft web site at > s/csidl.asp>. Even easier is to use my tip

RE: SpecialFolderPath

2005-01-21 Thread Lynch, Jonathan
t; --send savesettings to this stack create alias (specialfolderpath("start") & "/" & "CDC News Autoload.lnk") to file (thisfilespath) create alias (specialfolderpath("desktop") & "/" & "CDC News Autoload.ln

Re: SpecialFolderPath

2005-01-21 Thread Richard Gaskin
Paul Salyers wrote: the specialFolderPath of folderIdentifier specialFolderPath(folderIdentifier) specialFolderPath("Preferences") set the defaultFolder to specialFolderPath("documents") put specialFolderPath("asup") into appSupportFolder -- special constant I need

SpecialFolderPath

2005-01-21 Thread Paul Salyers
the specialFolderPath of folderIdentifier specialFolderPath(folderIdentifier) specialFolderPath("Preferences") set the defaultFolder to specialFolderPath("documents") put specialFolderPath("asup") into appSupportFolder -- special constant I need help one last time

Re: SpecialFolderPath in standalone

2004-12-24 Thread Mark Smith
Frank, that's useful advice. Will save me some head scratching until they fix it. Mark Smith ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution

Re: SpecialFolderPath in standalone

2004-12-23 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You can manually copy the external into the 'externals' dir in the same loc as the standalone (windows/UNIX) or in the Contents/MacOS folder inside the bundle for OS X. On Dec 23, 2004, at 4:51 PM, Mark Smith wrote: Following on, I remembered seeing

Re: SpecialFolderPath in standalone

2004-12-23 Thread Mark Smith
Following on, I remembered seeing something on the list about Rev 2.5 not building correctly, so I built the standalone with Rev 2.2. Hey presto! All works. This seems to suggest that 2.5 is not attaching libraries properly, (or at all). Has this been bugzilla'd? Thanks for the suggestions, Mar

Re: SpecialFolderPath in standalone

2004-12-23 Thread Mark Smith
Thanks Richard and Mark. Further investigation following your suggestions shows that the problem is not what I thought. In fact the special folder path stuff works fine, it's the XML stuff that builds the prefs that's screwing up. Since it works fine in the IDE , and I'm including the XML librar

Re: SpecialFolderPath in standalone

2004-12-23 Thread Mark Brownell
On Thursday, December 23, 2004, at 12:00 PM, Mark Smith wrote: on savePrefs put "file:" & specialFolderPath("Preferences") & "/MyPrefs" into fName put thePrefs into URL fName end savePrefs This works fine in theIDE, but not at all in the standalone. The f

Re: SpecialFolderPath in standalone

2004-12-23 Thread Richard Gaskin
Mark Smith wrote: > I can't find anything related to this in the archives, so maybe some > kind soul can help me out here. > > I want to write some prefs to a prefs file in the users library folder > (this is OS X) Try this and see what you get: on savePrefs put "f

SpecialFolderPath in standalone

2004-12-23 Thread Mark Smith
I can't find anything related to this in the archives, so maybe some kind soul can help me out here. I want to write some prefs to a prefs file in the users library folder (this is OS X) I do this: on savePrefs put "file:" & specialFolderPath("Preferences") & &

Re: specialFolderPath("documents")

2004-05-11 Thread paolo
Thank to everybody for answering my question. It looks like the easiest way to get the path of the documents folder is put specialfolderpath("docs") As Klaus Major wrote "There is, but abbreviated :-)" Still, I do not understand way there is some "undocumented &q

Re: specialFolderPath("documents")

2004-05-11 Thread Jan Schenkel
--- paolo <[EMAIL PROTECTED]> wrote: > How can I get the FolderPath of folder "documents" > on MAC OS X ? > > Why there is not a - specialFolderPath("documents") > - for MAC OS X? > > ciao Paolo > Hi Paolo, >From the Transxcript Dicti

Re: specialFolderPath("documents")

2004-05-11 Thread Ian Summerfield
The folder is always called "Documents" so this should work: on mouseup put the specialFolderPath of Desktop into documentsPath set itemDelimiter to "/" put "Documents" into last item of documentsPath set itemDelimiter to comma put documentsPath end mouseup

Re: specialFolderPath("documents")

2004-05-11 Thread Klaus Major
ne will work for you: put specialfolderpath("docs") ## just too easy, isn't it ;-) Why there is not a - specialFolderPath("documents") - for MAC OS X? There is, but abbreviated :-) ciao Paolo Arrivederci... Regards Klaus Major [EMAIL PROTECTED] www.major-k.de ___

specialFolderPath("documents")

2004-05-11 Thread paolo
How can I get the FolderPath of folder "documents" on MAC OS X ? Why there is not a - specialFolderPath("documents") - for MAC OS X? ciao Paolo ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/

re: specialFolderPath - Where to store Preferences Crossplattform

2003-12-03 Thread Malte Brill
Thanks a lot! I will be using Klaus function. Now I go and write a highscorehandler. Regards, Malte ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution

Re: specialFolderPath("Temporary") on OS X

2003-10-03 Thread Thierry Arbellot
Hi Alex, I had a similar problem on one of my iMac, that didn't have the temporary folder, and specialFolderPath("Temporary") returned empty. Worst, if I created this folder, it was removed when the system is restarted. The solution was to add in the script the command "put

Re: specialFolderPath("Temporary") on OS X

2003-10-03 Thread Alex Rice
On Friday, October 3, 2003, at 11:35 AM, Scott Rossi wrote: Not sure why you see this but what happens if you do: put the tempName Good idea- I'll try that next reboot. Alex Rice <[EMAIL PROTECTED]> | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make ma

Re: specialFolderPath("Temporary") on OS X

2003-10-03 Thread Scott Rossi
Recently, "Alex Rice" wrote: > specialFolderPath("Temporary") works on Mac OS X, most of the time. It > returns a path like /tmp/xxx/temporary items/ where xxx is the UID. > However, on my OS X box, it has recently started cleaning out /tmp on > reboot,

specialFolderPath("Temporary") on OS X

2003-10-03 Thread Alex Rice
specialFolderPath("Temporary") works on Mac OS X, most of the time. It returns a path like /tmp/xxx/temporary items/ where xxx is the UID. However, on my OS X box, it has recently started cleaning out /tmp on reboot, and after that specialFolderPath("Temporary") returns emp

Re: specialFolderPath function (Mac OS X)

2002-12-21 Thread Richard Gaskin
Dave Cragg wrote: > get specialFolderPath("asup") returns "/Library/Application Support" > > After further poking around, I found these codes can be found > (amongst other stuff) in the "folders.h" file which resides deep in > the Library folder (tr

Re: specialFolderPath function (Mac OS X)

2002-12-21 Thread Ken Ray
turday, December 21, 2002 4:00 PM Subject: specialFolderPath function (Mac OS X) > Hi > > I just made a small discovery concerning the specialFolderPath > function on Mac OS X. (Apologies if this is common knowledge.) > > There was some discussion in the past on this list abou

specialFolderPath function (Mac OS X)

2002-12-21 Thread Dave Cragg
Hi I just made a small discovery concerning the specialFolderPath function on Mac OS X. (Apologies if this is common knowledge.) There was some discussion in the past on this list about extending the specialFolderPath function on Windows with numerical codes. (Ken Ray very kindly documented

Re: get specialFolderpath(26)

2002-10-17 Thread Rob Cozens
when I'm designing a database library to be used & distributed by others, I have to provide a path to any db stack opened by the calling stack. So far it seems specialFolderPath is the only way to accomplish this, and that means files must be forced into particular (though ge

Re: get specialFolderpath(26)

2002-10-17 Thread Rob Cozens
So far it seems specialFolderPath is the only way to accomplish this After further research, specialFolderPath is not supported on Unix platforms; so there appears to be no solution that works across all three platforms. Comments anyone? -- Rob Cozens CCW, Serendipity Software Company http

Re: get specialFolderpath(26)

2002-10-17 Thread Rob Cozens
k opened by the calling stack. So far it seems specialFolderPath is the only way to accomplish this, and that means files must be forced into particular (though generically addressed) locations on every platform... and that means an installer is needed on every platform and by every devel

Re: get specialFolderpath(26)

2002-10-16 Thread Dave Cragg
At 8:04 am -0700 16/10/02, Rob Cozens wrote: There is a potential problem here if you need to write data to this folder and your app is installed in the Program Files folder. Thanks for the heads up, Dave. Can you give me more details or point me to a URL that explains this? The url I had no

Re: get specialFolderpath(26)

2002-10-16 Thread Ken Ray
To: <[EMAIL PROTECTED]> Sent: Wednesday, October 16, 2002 9:59 AM Subject: Re: get specialFolderpath(26) > >>And this shows, for example, that Windows NT does not support code 26, > > Hi All, > > Can anyone tell me where code 26 is documented? As I noted > yester

Re: get specialFolderpath(26)

2002-10-16 Thread Rob Cozens
>There is a potential problem here if you need to write data to this >folder and your app is installed in the Program Files folder. Thanks for the heads up, Dave. Can you give me more details or point me to a URL that explains this? How does one configure an app for Windows installation so th

Re: get specialFolderpath(26)

2002-10-16 Thread Rob Cozens
>>And this shows, for example, that Windows NT does not support code 26, Hi All, Can anyone tell me where code 26 is documented? As I noted yesterday, the Rev Dictionary talks about Desktop, System, Start, Documents, Fonts, & Temporary, not code 26 or 35. -- Rob Cozens CCW, Serendipity Soft

Re: get specialFolderpath(26)

2002-10-16 Thread sims
Thanks to all who replied! "if they toss it your program won't run" -- The idea is to have a location to place such a file so if they do toss the entire folder (program and all) and unzip a freshly downloaded version, the replacement will not run as they have exceeded their trial limit. 26 is l

Re: get specialFolderpath(26)

2002-10-15 Thread miscdas
Yep, got it: c:\windows\system\shlwapi.dll 16\08\99 I rechecked put specialFolderPath(35) and verified folder not found miscdas [snip] Ken Ray writes: > Really? According to my source, specialFolderPath(35) should be supported as > a result of IE 5's installation; it was

Re: get specialFolderpath(26)

2002-10-15 Thread Richard Gaskin
sims wrote: >> . That's >>> why those Application Data folders are provided. >> >> There's also the Windows registry to consider... > > > I need to track how many times an action is performed so that > when a set limit is arrived at, the application can do something. > > > If the number time

Re: get specialFolderpath(26)

2002-10-15 Thread sims
>. That's > > why those Application Data folders are provided. > >There's also the Windows registry to consider... I need to track how many times an action is performed so that when a set limit is arrived at, the application can do something. If the number times an action is performed is reco

Re: get specialFolderpath(26)

2002-10-15 Thread Ken Ray
Really? According to my source, specialFolderPath(35) should be supported as a result of IE 5's installation; it was reported by Microsoft to be part of the the 'shlwapi.dll' installed w/IE5. Can you check and see if you have that DLL? Ken Ray Sons of Thunder Software Email: [

Re: get specialFolderpath(26)

2002-10-15 Thread Scott Rossi
> There is a potential problem here if you need to write data to this > folder and your app is installed in the Program Files folder. Under > XP (and Win 2000 ??), a "plain user" doesn't have sufficient rights > to write to the Program Files directory. Of course, such a user can't > install the ap

Re: get specialFolderpath(26)

2002-10-15 Thread Dave Cragg
At 10:41 am -0700 15/10/02, Rob Cozens wrote: >>I am looking for a suitable folder for use with Windows, one which >>would be on all systems. > >How about the folder containing your Revolution app? There is a potential problem here if you need to write data to this folder and your app is install

Re: get specialFolderpath(26)

2002-10-15 Thread miscdas
[EMAIL PROTECTED] writes: > I'm running MetaCard 2.4.3, Win98, IE5 > > put specialFolderPath(26) > > Correctly returned the path to my Applications Data folder. > > However, > put specialFolderPath(26) Oops! this should be 35, not 26 > &g

Re: get specialFolderpath(26)

2002-10-15 Thread Ken Ray
> I'm running MetaCard 2.4.3, Win98 > > put specialFolderPath(26) > > Correctly returned the path to my Applications Data folder. > > However, >put specialFolderPath(26) > > returns > > folder not found Did you run a different OS for the secon

Re: get specialFolderpath(26)

2002-10-15 Thread miscdas
I'm running MetaCard 2.4.3, Win98 put specialFolderPath(26) Correctly returned the path to my Applications Data folder. However, put specialFolderPath(26) returns folder not found miscdas = [snip] sims writes: > Can anyone tell me if the function: &

Re: get specialFolderpath(26)

2002-10-15 Thread Ken Ray
y suggestions other than specialFolderpath(26) ? If you get specialFolderPath("preferences") on a Mac, it will give you the folder location (the Preferences folder in the System folder for OS 9 and the Preferences folder in the user's Library folder on OS X). "Preferences&quo

Re: get specialFolderpath(26)

2002-10-15 Thread Rob Cozens
er)? Suppose your Mac app is installed on one hard drive and later moved to another drive or partition, or the name of the drive or one of the folders in the path is changed. Yes, specialFolderpath can still find your Preferences file; but if your user buys a new computer and loads your app fr

Re: get specialFolderpath(26)

2002-10-15 Thread sims
>Thank you Ken (for this and the *numerous* answers you supply!), I have a Mac app which writes a file to the Mac preference folder. I am looking for a suitable folder for use with Windows, one which would be on all systems. Any suggestions other than specialFolderpath(26) ? atb sims &

Re: get specialFolderpath(26)

2002-10-15 Thread Ken Ray
The support for different versions of Windows OS'es (along with different versions of IEs) are described along with a complete list of these specialFolderPath codes at my site: http://www.sonsothunder.com/devres/revolution/revolution.htm?_win003 And this shows, for example, that Windo

Re: get specialFolderpath(26)

2002-10-15 Thread Jan Schenkel
--- sims <[EMAIL PROTECTED]> wrote: > Can anyone tell me if the function: > > get specialFolderpath(26) -- user's Application > Data folder > > works on all versions of Windows? I can use it here > with my Mac > running VirtualPC Windows 98 but

  1   2   >