Search found 7 matches
- Thu Mar 06, 2014 7:39 pm
- Forum: Scripting
- Topic: JS Switch Script to Webserver
- Replies: 10
- Views: 4971
JS Switch Script to Webserver
@freddyp if i would put a mamp server on our mac so switch could talk to it via "execute command" would i be able to send objects between the two or would it be xml formats like the cURL solution? Also would you have an example of using the execute function to hit a file, then bring back e...
- Thu Mar 06, 2014 1:27 am
- Forum: Scripting
- Topic: Job Hold Script
- Replies: 6
- Views: 3253
Job Hold Script
dkelly, Found your post on the hold job, but im running into the issue that's posted below it (i.e. after running multiple jobs, then if there is a delay, the global variable will not reset, so then the jobs that are coming just sit there, because the global variable is still in "working"....
- Wed Mar 05, 2014 1:38 am
- Forum: Scripting
- Topic: JS Switch Script to Webserver
- Replies: 10
- Views: 4971
JS Switch Script to Webserver
Awesome dkelly, Thank you so much!!!
- Wed Mar 05, 2014 12:50 am
- Forum: Scripting
- Topic: Job Hold Script
- Replies: 6
- Views: 3253
Job Hold Script
Hello everyone! Just wanted to know if anyone has an example of if anyone can help me accomplish this goal. I would like to build a script in switch that if there are multiple jobs that come into the flow at once, it would run them one by one. Once the current job thats being processed reaches a cer...
- Wed Mar 05, 2014 12:42 am
- Forum: Scripting
- Topic: JS Switch Script to Webserver
- Replies: 10
- Views: 4971
JS Switch Script to Webserver
I am sorry but searched for cURL on here and didn't really find anything helpful. would you happen to have an example of using cURL to hit a webpage and bring the object created back? It would be much appreciated. Thank you for the help so far dkelly!
- Tue Mar 04, 2014 9:32 pm
- Forum: Scripting
- Topic: JS Switch Script to Webserver
- Replies: 10
- Views: 4971
JS Switch Script to Webserver
Thank you for the fast response dkelly! So in essences the only way to communicate with a webserver through switch is using their web services? I cannot create a switch script do accomplish this? or even create a database connection to pull information. Thanks in advance! EDIT: what about installing...
- Tue Mar 04, 2014 6:47 pm
- Forum: Scripting
- Topic: JS Switch Script to Webserver
- Replies: 10
- Views: 4971
JS Switch Script to Webserver
Hello!, Just wondering if I'm able create a switch script in javascript that sends a request to a webserver.(i.e. xmlhttp.open("GET / POST","myurl.com/something.php",true)); if not is there any way for a script to interact with a webserver (i.e. Database connection, pull back obj...