fmwebschool.com
Top Experts [learn more]Top 4-10
webko

9743 K
bandmandq

2458 K
Genx

1525 K
4. tcmeyers
5. kbata
6. Martie
7. Hammerton
8. rrenfrow
9. bneeman
10. plegler
Welcome, Guest. Please login or register.
June 19, 2013, 02:25:01 AM

Login with username, password and session length
Search:     Advanced search
FMWebschool releases more educational FMStudio webinars - check them out here:
http://www.fmwebschool.com/webinars.php
27507 Posts in 6073 Topics by 1524 Members
Latest Member: fmwebster
* Home Help Search Calendar Login Register
+  fmwebschool.com
|-+  Other Resources
| |-+  Free JavaScript Code Snips
| | |-+  Triggering non compatible scripts via PHP or Javascript
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Triggering non compatible scripts via PHP or Javascript  (Read 6931 times)
maatwerk
Newbie
*
Offline Offline

Posts: 10


« on: July 12, 2006, 02:00:04 PM »

Hi i'am totalu new on this subject. But what i would like to know is it is possible to trigger a script which contain an applescript (so non compatible)... Cry
Logged
maatwerk
Newbie
*
Offline Offline

Posts: 10


« Reply #1 on: July 13, 2006, 01:21:42 PM »

Anyone??? Cry
Logged
FMWebschool
FMWebschool Team
Administrator
Hero Member
*****
Offline Offline

Posts: 1026
Kudos: 1383


Allyson Olm, Chief Developer


WWW
Applications:
« Reply #2 on: July 15, 2006, 07:55:12 AM »

I will see if this is possible, I have not tried triggering Applescript, will let you know.
Logged

In Kindness
FMWebschool Team
http://www.fmwebschool.com
http://www.fxforge.net
800.353.7950
Michael Petrov
Chief Software Developer
Administrator
Hero Member
*****
Offline Offline

Posts: 4286
Kudos: 15522




Applications:
« Reply #3 on: July 15, 2006, 12:17:27 PM »

I will see if this is possible, I have not tried triggering Applescript, will let you know.

Well, triggering an apple script from PHP can be done using a shell script. You place the apple script into a regular shell script and then use the PHP shell_exec or exec command with the shell script path to trigger the script. Java script cannot do that since it runs on the computer of the client and has no access to the server.

The shell script to execute some apple script would look similar to this:
Code:
#!/bin/sh
#

osascript << EOF
   ... place apple script here ...
EOF
Logged

Michael Petrov,
Chief Software Developer
FMWebschool
800.353.7950
michael@fmwebschool.com
Keep up with our development, follow me on Twitter
maatwerk
Newbie
*
Offline Offline

Posts: 10


« Reply #4 on: July 17, 2006, 05:14:52 AM »

Is it also possible to trigger an filemakerscript which contains an applescript?
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!