fileType creator

2008-12-04 Thread -= JB =-
I am creating a new file using the open file command. I set the fileType after it is opened then I write to the file and close it as seen in the code below. I have tried to use set the fileType and set the stackFileType as shown below but they don't change the creator and file type. Does

Re: fileType creator

2008-12-04 Thread Mark Schonewille
Hi JB, Set the filetype before opening the file. It works fine for me in Rev 3.0. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum Color Converter has been updated

Re: fileType creator

2008-12-04 Thread Scott Morrow
So close! when you open the file it is created. So set the fileType before opening (creating) the file. -- Dictionary: snip The fileType property is used to set the file type and creator of files created by the open file command and of files created/snip -Scott Morrow Elementary

Re: fileType creator

2008-12-04 Thread Ken Ray
On 12/4/08 3:15 PM, -= JB =- [EMAIL PROTECTED] wrote: I am creating a new file using the open file command. I set the fileType after it is opened then I write to the file and close it as seen in the code below. I think you need to set the fileType *before* the open file command

Re: fileType creator

2008-12-04 Thread -= JB =-
not automatically change the file to display the Rev ICON but that is not a serious issue. -=JB=- On Dec 4, 2008, at 2:55 PM, Mark Schonewille wrote: Hi JB, Set the filetype before opening the file. It works fine for me in Rev 3.0. -- Best regards, Mark Schonewille Economy-x-Talk Consulting

Re: fileType creator

2008-12-04 Thread -= JB =-
Thanks for the info and taking the time to reply. That is what I like about the Rev list, so many nice people willing to help out. -=JB=- On Dec 4, 2008, at 3:38 PM, Scott Morrow wrote: So close! when you open the file it is created. So set the fileType before opening (creating

Re: fileType creator

2008-12-04 Thread -= JB =-
. -=JB=- On Dec 4, 2008, at 4:10 PM, Ken Ray wrote: On 12/4/08 3:15 PM, -= JB =- [EMAIL PROTECTED] wrote: I am creating a new file using the open file command. I set the fileType after it is opened then I write to the file and close it as seen in the code below. I think you need to set

setting a fileType on Win with setRegistry

2006-04-17 Thread Terry Judd
According to the documentation 'setRegistry(HKEY_CLASSES_ROOT\.abc\, def)' should allow you to double-click a file with a '.abc' extension and have it open with application 'def'. Seems straightforward but I just can't get this to work for my Windows application. I'm not that familiar with

Re: setting a fileType on Win with setRegistry

2006-04-17 Thread Sarah Reichelt
On 4/18/06, Terry Judd [EMAIL PROTECTED] wrote: According to the documentation 'setRegistry(HKEY_CLASSES_ROOT\.abc\, def)' should allow you to double-click a file with a '.abc' extension and have it open with application 'def'. Seems straightforward but I just can't get this to work for my

Re: setting a fileType on Win with setRegistry

2006-04-17 Thread Ken Ray
On 4/17/06 6:08 PM, Terry Judd [EMAIL PROTECTED] wrote: On a related note. Is there any way to get rid of the list of 'recommended' programs that appears in the 'open with' menu when you right-click a file. I inadvertently added a couple of programs to this list for my application when I was

Re: setting a fileType on Win with setRegistry

2006-04-17 Thread Terry Judd
Thanks to Ken and Sarah for their help on the following. As always, much appreciated. Terry... According to the documentation 'setRegistry(HKEY_CLASSES_ROOT\.abc\, def)' should allow you to double-click a file with a '.abc' extension and have it open with application 'def'. Seems

FileType

2005-10-13 Thread Yves COPPE
Hi list With mac OSX 10.4.2, the screen capture has changed of fileformat Before, in the previous mac OS X(Panther) it was a .pdf file Now it's a .png file Can you tell me what's the typefile of the image file created with a screen capture ? Thank you Greetings. Yves COPPE [EMAIL

Re: FileType

2005-10-13 Thread Eric Chatonet
Hi Yves, With Capture (shipped with Mac OS Tiger): Type: PNGf Creator: prvw (preview/aperçu) Le 13 oct. 05 à 12:31, Yves COPPE a écrit : Hi list With mac OSX 10.4.2, the screen capture has changed of fileformat Before, in the previous mac OS X(Panther) it was a .pdf file Now it's a .png

Re: FileType

2005-10-13 Thread Peter Reid
If you download and use the free utility called TinkerTool (currently v3.61): http://www.bresink.com/osx/TinkerTool.html you can change the screen capture format to any of PNG, PDF, TIFF, PICT, JPEG-JFIF, JPEG-2000, BMP, GIF, PSD, SGi, TGA! So you can have almost any flavour of graphic

Re: FileType

2005-10-13 Thread Yves COPPE
Le 13-oct.-05 à 15:40, Peter Reid a écrit : If you download and use the free utility called TinkerTool (currently v3.61): http://www.bresink.com/osx/TinkerTool.html you can change the screen capture format to any of PNG, PDF, TIFF, PICT, JPEG-JFIF, JPEG-2000, BMP, GIF, PSD, SGi, TGA!

MacOS filetype question and or tip

2005-08-20 Thread MisterX
I think someone earlier was saying we couldn't change filetypes on the mac... The revdocs say this for filetype in the comments The fileType property is used to set the file type and creator of files created by the open file command and of files created putting data into a file, binfile

FileType in Mac OSX

2004-11-02 Thread Yves COPPE
Hi list and French users, for Mac OSX, which are the filetype of textEdit and Apercu (I don't know the name of the soft in English, sorry !) so I can use in script : set the fileType to Thanks. Greetings. Yves COPPE [EMAIL PROTECTED] ___ use-revolution

Re: FileType in Mac OSX

2004-11-02 Thread Andre Garzia
and the like, but it should hold true. cheers andre On Nov 2, 2004, at 4:07 PM, Yves COPPE wrote: Hi list and French users, for Mac OSX, which are the filetype of textEdit and Apercu (I don't know the name of the soft in English, sorry !) so I can use in script : set the fileType to Thanks. Greetings

Re: FileType in Mac OSX

2004-11-02 Thread Klaus Major
Bon soir Yves, Hi list and French users, for Mac OSX, which are the filetype of textEdit and Apercu (I don't know the name of the soft in English, sorry !) is this a OSX application, that came with OS X? Anyway, check the detailed files of a folder which contains an Apercu document... Then look

Re: FileType in Mac OSX

2004-11-02 Thread Thierry Arbellot
On Tuesday, Nov 2, 2004, at 19:07 Europe/Paris, Yves COPPE wrote: Hi list and French users, Hi Yves, Apercu (I don't know the name of the soft in English, sorry !) Preview in English Thierry. ___ use-revolution mailing list [EMAIL PROTECTED]

Re: FileType in Mac OSX

2004-11-02 Thread Yves COPPE
Le 2 nov. 04, à 19:49, Thierry Arbellot a écrit : On Tuesday, Nov 2, 2004, at 19:07 Europe/Paris, Yves COPPE wrote: Hi list and French users, Hi Yves, Apercu (I don't know the name of the soft in English, sorry !) Preview in English Thierry, Klaus and Andre : thanks to everybody... Greetings.

Re: FileType in Mac OSX

2004-11-02 Thread Klaus Major
will have to add the correct filetype and your are done, Yves :-) Like: set the filetype to prvwJPEG Know what i mean? Thierry. Best Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list [EMAIL PROTECTED] http

Re: FileType in Mac OSX

2004-11-02 Thread Yves COPPE
Le 2 nov. 04, à 19:57, Klaus Major a écrit : Preview in English Ah, i see :-) Hmm, my french IS lousy! And this is the creatorcode of Preview: prvw Now you will have to add the correct filetype and your are done, Yves :-) Like: set the filetype to prvwJPEG Know what i mean? Yeap Greetings. Yves

fileType problems

2004-05-25 Thread Frank Leahy
Hi, I'm setting the fileType to FJL3PREF for my preferences files, but I've noticed that this value is being used on *all* files I create, not just my preferences files. I thought this value would be handler specific, i.e. it would be set to empty after the handler finished. Unfortunately I'm

Re: fileType problems

2004-05-25 Thread Richard Gaskin
Frank Leahy wrote: I'm setting the fileType to FJL3PREF for my preferences files, but I've noticed that this value is being used on *all* files I create, not just my preferences files. I thought this value would be handler specific, i.e. it would be set to empty after the handler finished

Re: filetype broken??

2004-04-20 Thread Meitnik
hi, Is setting the filetype before opening a file broken? My custom creator/type is not being writen to disk. Anyone else? Any work arounds??? Andrew ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use

Re: filetype question

2004-01-27 Thread Yves COPPE
Le 27 janv. 04, à 04:59, Sarah Reichelt a écrit : If the file has an extension, like .mov or .mpg and you set it's filetype to empty, OS X will just use whatever default program matches the file extension and give it the appropriate icon. Apart from that, I have found using the long files

Re: filetype question

2004-01-26 Thread Sarah Reichelt
If the file has an extension, like .mov or .mpg and you set it's filetype to empty, OS X will just use whatever default program matches the file extension and give it the appropriate icon. Apart from that, I have found using the long files to get the file type rather variable, sometimes

ftping and filetype property

2003-09-16 Thread Rob Gould
, and then pull them back down again using the put URL "ftp://" command, all the files lose their filetypes. Is this because the Mac resource-fork gets lost during the transfer? I know that I can get around this problem by having Rev look at the extension of the file and set the filetype back aga

Re: ftping and filetype property

2003-09-16 Thread Rob Cozens
has anyone created a master list of file-types in a Rev script and parsed what their 8-character creator/type strings are? Eg. if extension = jpg then set the filetype to prvwjpeg if extension = ppt then set the filetype to . if extension = doc then set the filetype to . if extension

Re: ftping and filetype property

2003-09-16 Thread Richard Gaskin
Here's a function that might help: function fwMacFileType pPath local tSaveDir, tShortFileName, tFileList, tLine, tType -- put the directory into tSaveDir set the itemdel to / put the last item of pPath into tShortFileName delete last item of pPath set the directory to pPath

Re: ftping and filetype property

2003-09-16 Thread Rob Cozens
I'm having trouble finding the Rev command to retrieve the filetype of a file on the hard-drive, before uploading to the server via FTP. Did you have to use Applescript to retrieve this info? Hi Rob, There is no command I'm aware of to retrieve the fileType of a specific file; however the type

Filetype creator type

2002-01-23 Thread Tim
Hi, I'm trying to change the file's creator type by using the filetype property, but I've noticed that it can do so ONLY when you create a file with Open File command. As a workaround is it possible to get the contents of a given file, delete the file, create a new file with Open File command