MACSCRPT Archives

March 2011

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
jeff donovan <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Mon, 21 Mar 2011 22:53:22 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (41 lines)
On Mar 21, 2011, at 10:41 PM, Mark Lively wrote:

> On Mar 21, 2011, at 9:09 PM, jeff donovan wrote:
> 
>> Greetings
>> 
>> I have a little script/button in filemaker that calls to a web site, how can i pull data from the_current_record : field_one , field_two and auto fill into my browser window ? right now I have to manually copy and paste from filemaker. 
>> 
>> here is my script call,.. very simple.
>> 
>> Button --> " open URL [No Dialog; Table::webpagePath]
>> 
>> webpagepath = https://www.example.com/web/src/my.php
>> 
>> I was thinking maybe I could use " autofill "  function of the browser, or a get cell data1 repeat get cell data 2 copy and paste each , but that seems so dirty. anyone know a better way ?
>> 
>> tnx
>> -j
> 
> If you need to submit a form you can do something like
> 
> data1 = "123"
> date2 = "Red"
> webpagepath = "https://www.example.com/web/src/my.php?count="&data1&"&color="&data2
> 

i tried substituting 
https://www.example.com/web/src/my.php?count="&text1&"&color="&text2

it brought up the page but the two fields on the web site did not show the characters in the first two fields.

here is the html Im trying to input into

<tr><td bgcolor="#ffffff" align="left"> 
<table bgcolor="#ffffff" align="center" border="0" width="100%"><tr><td align="right" width="30%">Name1:</td>
<td align="left" width="70%"><input type="text" name="my_name" value="" onfocus="alreadyFocused=true;" /> 
</td>
</tr>
<tr><td align="right" width="30%">NAME2:</td>
<td align="left" width="70%"><input type="name2" name="secretkey" onfocus="alreadyFocused=true;" />
</td>

ATOM RSS1 RSS2