PDA

View Full Version : [Newbie Q] search results in ams


Some0ne
02-18-2009, 02:05 PM
(Sorry if in wrong section)

Ok a few of newbie questions:
1: I have just got ams and playing about with it, at present im trying to create a simple browser (using default browser app) and wish to know how to set it so search results show within ams rather than opening a new explorer page...I have searched high and low on here but have found nothing (or if I did it was over my head and didnt realise that that was the answer)...lol

Current code:
Web.LoadURL("Web1", Input.GetText("Input1"));
File.Open("http://www.google.com/search?hl=en&q="..Input.GetText("Input1"), SW_SHOWNORMAL);


2: How can I set it so when a button is hit the website it launches also opens from within ams?

3: How to set width and height of application made?

Thank you in advance :)

azmanar
02-18-2009, 02:15 PM
Hi,

I have some browser samples in my site. Download and take a look at the scripts. Will help u get started. Samples are compatible for AMS7.

Desrat
02-19-2009, 03:40 AM
Web.LoadURL("Web1", Input.GetText("Input1"));
Web.LoadURL("Web1", "http://www.google.com/search?hl=en&q="..Input.GetText("Input1"));

Some0ne
02-20-2009, 11:05 PM
Thank you both :)