Saving IR File?

Discussion forum for JP1 software tools currently in use, or being developed, such as IR, KM, RemoteMaster, and other misc apps/tools.

Moderator: Moderators

JackRelahan
Posts: 13
Joined: Tue Aug 05, 2003 2:40 pm
Location: Woodstock, CT.

Saving IR File?

Post by JackRelahan »

I'm just a novice using 5.06 and need a little advice.
When I save a file after editing, the file is saved to my root directory and not to the file location I enter. Is this normal? Am I over looking something?
Thank you for all the great work and devoted time.
Both the IR and TXT files go to the roote directory.
Jack Relahan
Nils_Ekberg
Expert
Posts: 1689
Joined: Sat Aug 02, 2003 2:08 pm
Location: Near Albany, NY

Post by Nils_Ekberg »

I was expecting Paul to answer this one but I just remembered he is out of town for a few days.

Truthfully, I have never seen that happen so I am not sure what the problem is. It always saves where I tell it to. Are you still having this problem or was it a one time occurrence?
Mark Pierson
Expert
Posts: 3018
Joined: Sun Aug 03, 2003 12:13 am
Location: Connecticut, USA
Contact:

Re: Saving IR File?

Post by Mark Pierson »

JackRelahan wrote:Both the IR and TXT files go to the roote directory.
When you save a file for the first time (or use the Save As command), you should get a dialog box where you specify the save to folder. Do you, and are you selecting the proper folder where you want the file saved?
Last edited by Mark Pierson on Fri Jun 18, 2004 5:27 pm, edited 1 time in total.
Mark
JackRelahan
Posts: 13
Joined: Tue Aug 05, 2003 2:40 pm
Location: Woodstock, CT.

Re: Saving IR5.06 files

Post by JackRelahan »

When I save a file I get the dialog box and then specify where to save it
i.e. (jp15.06 Directory). After saving, the directory I specified has not received the files. When I do a file search, I then find them in the c: drive root directory. My OS is Windows XP. If I use older version (IR4.01) for example, it puts the files right where I specify.
Is this any help?
Jack Relahan
e34m5
Posts: 675
Joined: Tue Oct 14, 2003 1:04 pm
Location: Atlanta

Post by e34m5 »

I'm baaack....

However, I do not have that problem. I'm on XP on my home machine and have saved files all over the drive w/o any problems.

Frankly I am at a loss....if anyone else was having this problem I am sure it would have been reported very quickly.

Are you selecting a folder or typing in the whole path along with the name?
Paul
Nils_Ekberg
Expert
Posts: 1689
Joined: Sat Aug 02, 2003 2:08 pm
Location: Near Albany, NY

Post by Nils_Ekberg »

I got thinking about this and remembered a save problem with an earlier 5.06 release. Jack, make sure you download the latest 5.06. In other words, download it again to make sure it is the latest or compare the dates in the one you have and the one in the zip file on jp1.
JackRelahan
Posts: 13
Joined: Tue Aug 05, 2003 2:40 pm
Location: Woodstock, CT.

Post by JackRelahan »

I tried reloading IR5.06 and still getting same results.
After clicking "Save AS" I change directory location. I also change the default file name of JP1-5.IR to something that tells me what remote I'm using. I have and use 3 different RS2116 remotes. There fore I have to change the default name to remember what remote has what programing on it.
I had been using computers for about 20 years and have a pretty good working nowhow with their use. I just love all the thing I have been able to do with my remotes,thanks to all you wonderful people.

Maybe I'am not giving you all the right inputs to what I have expereniced.
Let me try a few more things. I would really hate to add more research work to this wonderful program.

Thanks for your thoughts and inputs todate.
Jack Relahlan
chasman1964
Posts: 31
Joined: Wed May 26, 2004 9:44 pm

Post by chasman1964 »

Hey, Jack.

If you are still having problems, you may want to post the complete path name of the file you are trying to save. There were some changes made to IR 5.06 related to problems I was having with path names, and it is possible (Paul?) that something that worked previously does not now.

I tried duplicating your problem and was not able to, which is too bad, since it seemed that I had the most unusual Windows XP setup as far as running IR was concerned...
Chasman
JackRelahan
Posts: 13
Joined: Tue Aug 05, 2003 2:40 pm
Location: Woodstock, CT.

Post by JackRelahan »

OK - here is what I do.
1. C:\JP1-5.07 is where ir.exe is located.
2. After loading ir.exe I then load file to edit. ie, BedRoom2116.txt.
3. Under General tab I add a remark to the (Notes) section.
4. Then I press (Save As) button.
5. The default location of (C:\) root directory is viewed with the default
file name of JP1-5.IR.
6. I change the default location to C:\JP1-5.07.
7. I change the default file name to BedRoom2116.IR.
8. Click the save button.
9. After doing the above, I can't fine a file called BedRoom2116.IR
anywhere on the hard drive.
10. In the c:\ (Root Directory) are two (2) new files with the
following names:

11. JP1-5.IR which has the edited note that I added to BedRoom2116.IR.
12. JP1-5.TXT w/o edited note. Just a copy of my BedRoom2116.txt
file.

Is there something I'm missing to do? Or do I not understand the
hold consept of these latest changes?
Thank you all again for any thoughts or suggestions.
Jack Relahan
johnsfine
Site Admin
Posts: 4766
Joined: Sun Aug 10, 2003 5:00 pm
Location: Bedford, MA
Contact:

Post by johnsfine »

You've just demonstrated that IR can't deal with directory names that contain a ".".

Now that you've done so, I assume the bug will be easy to find and fix.

Probably the code for dealing with whether the file ends in ".ir" or ".txt" is working from the first "." in the full name rather than correctly checking only the last 3 or 4 characters for exact match of ".ir" or ".txt".

Windows allows "."s multiple times in names, but most of us still use names with no "."'s other than the one before the extension.
e34m5
Posts: 675
Joined: Tue Oct 14, 2003 1:04 pm
Location: Atlanta

Post by e34m5 »

Good catch John.....actually the code uses built in Delphi calls for extracting directories, paths and file names.

That is where the bug is....
Paul
JackRelahan
Posts: 13
Joined: Tue Aug 05, 2003 2:40 pm
Location: Woodstock, CT.

Post by JackRelahan »

BINGO !!!!!

What a team. Just changed the directory name from
JP1-5.07 to JP1-507 and everything works just the way it should.
This sure has been driving me crazy.
Many thanks again.
Jack Relahan
e34m5
Posts: 675
Joined: Tue Oct 14, 2003 1:04 pm
Location: Atlanta

Post by e34m5 »

I found the culprit code...should have an update soon
Paul
JackRelahan
Posts: 13
Joined: Tue Aug 05, 2003 2:40 pm
Location: Woodstock, CT.

Post by JackRelahan »

Just for the record. I tried IR5.08 using a "." in the directory name as before.
Sorry to report that the same problem I was having before is still a problem
on my Windows XP (Home). Trust this information is of some help.

In my case, I will continue to leave the "." out of my directory name.
No problem for me, just hope you fellows continue your interest in these
type of programs for us novices.

Thanks once again
Jack Relahan
JackRelahan
Posts: 13
Joined: Tue Aug 05, 2003 2:40 pm
Location: Woodstock, CT.

Post by JackRelahan »

>Just for the record. I tried IR5.08 using a "." in the directory name as before.
Sorry to report that the same problem I was having before is still a problem
on my Windows XP (Home). Trust this information is of some help. <

Tried the above quote with IR5.09. Same results.
However, as stated before, by removing "." from Directory name
cures the problem for me.

Just reporting this information in case someone else has the same
problem as me.
Jack Relahan
Post Reply