Jump to content
Sign in to follow this  
mesale0077

code help

Recommended Posts

mesale0077

vbs code

Dim objFileSystem, objOutputFile

Dim strOutputFile

Set objFileSystem = CreateObject("Scripting.fileSystemObject")

Set objOutputFile = objFileSystem.CreateTextFile("C:\example.txt", TRUE)

objOutputFile.WriteLine("12345"& " ("&Now&")")

objOutputFile.Close

and read example.txt

take data in txt ,

or the opposite

example:

written in txt

a b c

-- --- ---

12 34 56

23 42 67

55 78 42

.

.

.

.

.

.

ı want to do procedure

$a=12*5

$b=34/3

$c=56+4

$d=23*tan45

$e=42*sin30

.

.

.

how is it in auto it pro

now thank you

good works

Share this post


Link to post
Share on other sites
system24

Search for the FileOpen, FileRead, FileWrite, and FileClose in the help file.

:P


[center]It's a question of mind over matter, if I don't mind, it doesn't matter.[/center]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.