Jump to content

Recommended Posts

Posted

Hi I am Max from Italy I am a very beginner of Autoit.

I want to code a program with the following feature.

A user inputs in a input box a dissertation argument (for example psychology)

The data is stored in a variable ($subject) and is appended in the following address format of a google query:

intitle:dissertation + filetype:pdf + $subject

I coded the first lines

#include <IE.au3>

$argument = InputBox("Search a Dissertation", "Insert subject", "Dissertation Subject", "", -1, -1, 0, 0)

$oIE = _IECreate ("http://www.google.it/search?hl=en&q=intitle%3Adissertation+filetype%3Apdf+&meta=")

How can I append the $subject content directly to the address format with the Autoit script?

Any help will be very appreciated

Thanks

Max

Posted (edited)

You mean concatenation?

Try it like this: "String" & $variable

example

$var="/translate"

"www.google.com" & $var = www.google.com/translate

-edit-

Sorry Paulie. Didn't see that...

Edited by Nahuel

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
×
×
  • Create New...