Re: Filemaker and Transmit
Re: Filemaker and Transmit
On Jun 13, 2010, at 12:35 PM, David Erb wrote:
I'm in need of a little help here.
I have a filemaker database, that has [among others] three fields.
1) Address 2) username 3) password.
I'd like to put a button in filemaker that pulls the information
from these three fields, and adds it on the fly to an applescript
that in turn feeds that information into Transmit and opens the FTP
site.
I know both applications are sriptable, I'm just not sure how to
get the info from filemaker into the script that Transmit requires.
A
here's part of a script that I use for transmit........ hope it
helps....
========
tell application "Transmit"
set SuppressAppleScriptAlerts to true -- might err on long sessions
-- Create a new session window for the script
make new document at before front document
-- send commands to the frontmost document window
tell current session of document 1
if (connect to "ftp.mysite.com" as user "user" with password
"password" with initial path "/public_html/myfolder") then
if (set their stuff to "/public_html/myfolder") then
(*
Begin synchronizing modified remote files with local files
Can specify the direction and method Transmit uses for
synchronizing.
Direction can be: upload files / download files
Method can be: update / mirror
*)
upload item thestuff
else
display dialog ("An error occured, could not change remote folder
to /public_html/myfolder")
end if
end if
end tell
end tell
Thanks,
Dave
email@hidden
[db-10]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden