Jump to content

Recommended Posts

Posted (edited)

Hi all this is Caramen :(

i am realy beginner then i try modify some script ~~

i got a script and i whant this code do something but dunno how

i explain

i got in a setting ini file

A= xxxxxxx

B= xxxx

C=xx

i whant my script do :

whrite :"{enter} /w *xcaramenx A {enter}"

whrite :"{enter} /w *xcaramenx B {enter}"

whrite :"{enter} /w *xcaramenx C {enter}"

etc ...

:think: ty all :)

Edited by caramen

My video tutorials : ( In construction )  || My Discord : https://discord.gg/S9AnwHw

How to Ask Help ||  UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote

Spoiler

 Water's UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Posted

Ok, let's say your INI file looks like this

[Messages]
a=message1
b=message2
c=message3

then use

$ini = "PATH TO INI FILE.INI"
Send("{ENTER}/w *xcameramenx " & IniRead($ini, "messages", "a", "NONE SPECIFIED") & "{ENTER}")
Send("{ENTER}/w *xcameramenx " & IniRead($ini, "messages", "b", "NONE SPECIFIED") & "{ENTER}")
Send("{ENTER}/w *xcameramenx " & IniRead($ini, "messages", "c", "NONE SPECIFIED") & "{ENTER}")

PS: it's write not whrite :think:

~cdkid

AutoIt Console written in C#. Write au3 code right at the console :D_FileWriteToLineWrite to a specific line in a file.My UDF Libraries: MySQL UDF Library version 1.6 MySQL Database UDF's for AutoItI have stopped updating the MySQL thread above, all future updates will be on my SVN. The svn location is:kan2.sytes.net/publicsvn/mysqlnote: This will still be available, but due to my new job, and school hours, am no longer developing this udf.My business: www.hirethebrain.com Hire The Brain HireTheBrain.com Computer Consulting, Design, Assembly and RepairOh no! I've commited Scriptocide!
Posted

Ok, let's say your INI file looks like this

[Messages]
a=message1
b=message2
c=message3

then use

$ini = "PATH TO INI FILE.INI"
Send("{ENTER}/w *xcameramenx " & IniRead($ini, "messages", "a", "NONE SPECIFIED") & "{ENTER}")
Send("{ENTER}/w *xcameramenx " & IniRead($ini, "messages", "b", "NONE SPECIFIED") & "{ENTER}")
Send("{ENTER}/w *xcameramenx " & IniRead($ini, "messages", "c", "NONE SPECIFIED") & "{ENTER}")

PS: it's write not whrite :think:

~cdkid

no work sorry

in ini file A or B or C can be changed value i forgot to say it maybe coze that ...

My video tutorials : ( In construction )  || My Discord : https://discord.gg/S9AnwHw

How to Ask Help ||  UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote

Spoiler

 Water's UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Posted

Re i a find a worjing code :

Send("{ENTER}")

Send("/w *xcaramenx ")

Sleep (250)

Send ($A)

Sleep (250)

Send ($:think:

Sleep (250)

Send ('{ENTER}')

But i got other problem now i think it s the easyer line 2 no work

Send("/w *xcaramenx ")

why after push enter Autoit dont wrHite :( : "/w *xcaramenx "

help me plzzz :)

My video tutorials : ( In construction )  || My Discord : https://discord.gg/S9AnwHw

How to Ask Help ||  UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote

Spoiler

 Water's UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Posted

again me it was just coze no deley xD

ok finish code is :

Send("{ENTER}")

Sleep (250)

Send("/w *xcaramenx ")

Sleep (250)

Send ($A)

Sleep (250)

Send ($:think:

Sleep (250)

Send ('{ENTER}')

ty for helping :(

My video tutorials : ( In construction )  || My Discord : https://discord.gg/S9AnwHw

How to Ask Help ||  UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote

Spoiler

 Water's UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Posted

So is your problem solved or what? I really didn't get whats the problem you were having...

[font="Fixedsys"][size="3"][u][font="Franklin Gothic Medium"] [/font][/u][/size][/font]

Posted

So is your problem solved or what? I really didn't get whats the problem you were having...

problem solved xD ty :think:

My video tutorials : ( In construction )  || My Discord : https://discord.gg/S9AnwHw

How to Ask Help ||  UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote

Spoiler

 Water's UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...