Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 8262 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I needed to run a script on a database on another computer.

So I enabled WebCompanion on the remote computer. Then created a script on the host computer which has one action "Perform Applescript". This script uses Applescript's "URL Access Scripting". Here is the script contained within the "Perform Applescript" step:

code:


set the urlfile to "System:Users:garry:Documents:printlabel.txt"

tell application "URL Access Scripting"

download "http://10.0.1.6/FMPro?-db=barprint.fp5&-format=printlabel.html&-script=print_label&-findall" to file urlfile replacing yes with progress

end tell

This runs the script on the remote computer which prints barcode lables. Better ways probably exist, however it works fine.

Garry

Posted

Havn't done this personally, but you can send AppleEvents over AppleTalk. Since you can run FM scripts via AppleScript, so just try that...

[ April 15, 2002, 10:07 AM: Message edited by: eric f ]

This topic is 8262 days old. Please don't post here. Open a new topic instead.

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...

Important Information

By using this site, you agree to our Terms of Use.