relative Paths & alpha tabulation

What would you like to see in CSPro?
Post Reply
user

relative Paths & alpha tabulation

Post by user »

Will the next version of CSPro (5) be able to understand relative paths (Execpff does not manage rel. paths without tricky coding) and tabulate alpha fields?
These are 2 things that would make CSPro more convenient to use.

1. relative paths
2. alpha (check boxes) tabulation

also, is there an agenda for html entry form and mysql data storage?

3. html form
4. mysql database

thank you
Gregory Martin
Posts: 1791
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: relative Paths & alpha tabulation

Post by Gregory Martin »

Can you give me an example of a case where ExecPFF doesn't work well? Testing it a bit now, I do see that there are some circumstances where the PFF file runs correctly but that the relative paths specified in the PFF file don't get registered properly. (I did this using a CSConcat PFF.) In what circumstance does it not work for you?

SQL-based data storage is definitely going to come at some point, through probably after the Android version of CSEntry is released.

The head of CSPro development, in the long run, has great interest in moving towards Internet-based data entry, so eventually there will also be HTML forms.

Alpha tabulation, for now, can only be done using CSFreq.
iip
Posts: 32
Joined: January 19th, 2012, 11:30 pm

Re: relative Paths & alpha tabulation

Post by iip »

wow, android and html form....I'm glad to hear that, is it going to release on version 5?

Best regards,

-iip-
user

Re: relative Paths & alpha tabulation

Post by user »

I was refering to the problem explained here http://csprousers.org/forum/viewtopic.php?f=4&t=385 where ExecPFF did not work. I suppose this is due to a programming bug.
lls
Posts: 109
Joined: December 6th, 2011, 3:11 pm
Location: Geneva, Switzerland

Re: relative Paths & alpha tabulation

Post by lls »

I made a simple reference guide for my application to help keyers in case of problems.

I did not find a way to avoid absolute path. Is there a way to convert to a relative path?
Here is the code:

elseif $ = 3 then // Open CSPro manual in Explorer

execsystem(maketext("%s/Internet Explorer/iexplore.exe %s",
"C:/Program Files",
"file://C:/Users/XXXXX/Desktop/GDC_Questionnaire/Manual/index.html"));
reenter;
Gregory Martin
Posts: 1791
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: relative Paths & alpha tabulation

Post by Gregory Martin »

user,

Can you test your problem using the new beta release?

http://www.csprousers.org/beta/cspro5beta_20120614.zip

I made some changes to ExecPFF and I now have no problems with passing the function relative paths. Let me know if you still experience an error.
user

Re: relative Paths & alpha tabulation

Post by user »

I don't have anymore the file where I experienced the problem so I can not reproduce it exactly.
But it seems I can set up launching procedures using Execpff with rel. paths now.

Thank you for the many improvements and new features in CSPro5
lls
Posts: 109
Joined: December 6th, 2011, 3:11 pm
Location: Geneva, Switzerland

Re: relative Paths & alpha tabulation

Post by lls »

I am trying to find a way to replace the absolute path following "file://C:" to a relative path.
I could not find a way to do that. Is it possible?



elseif $ = 3 then // Open CSPro manual in Explorer

execsystem(maketext("%s/Internet Explorer/iexplore.exe %s",
"C:/Program Files",
"file://C:/path1/path2/path3/path4/Manual/index.html"));

reenter;
Gregory Martin
Posts: 1791
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: relative Paths & alpha tabulation

Post by Gregory Martin »

I believe that when you do this, the relative path will probably start from the folder where the Internet Explorer executable is, which is probably not what you intend. You could experiment with writing out a DOS batch file that executes Internet Explorer using the relative path and then launching the batch file with execsystem, but I'm not sure that that will work.


Last bumped by Anonymous on November 1st, 2012, 12:22 pm.
Post Reply