Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create keyboard macro?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00579173
Message ID:
00579296
Views:
20
>>>>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 :-)
>
>Or if files are not huge, you can play with string manipulations (filetostr, stuff, strtofile)

STRTOFILE dont work in fp 2.6!
:-)
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform