Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create keyboard macro?
Message
 
À
08/11/2001 12:58:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00579173
Message ID:
00579233
Vues:
32
This message has been marked as a message which has helped to the initial question of the thread.
>>Pete,
>>Just curious, is there any reason why you want to do this in "interactive" mode. Couldn't you manipulate the text file using low-level functions?
>
>Daniel,
> Didn't know playing a keyboard macro was interactive. I'd like the whole thing to run untouched by human or any other hands. I thought that a macro was the way to go by saving it to a *.kby file and calling it with a PLAY MACRO(). I'm not fussy about how it's done. With the way I type and my dyslexia I don't want to do any more typing than I or anyone else have to. DYSLEXICS UNTIE!!
>
>Pete

Daniel was right.

You just have to open the file with low level functions.
Copy the contain of the file in a variable.
Seek the value to replace in the string.
Replace it in the string.
Write back the file with low level functions.

Look at FOPEN(),FSEEK(),F...() in the help.

HTH :-)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform