Sign in to follow this  
Followers 0
Madman

Run script from web

4 posts in this topic

I have a script that i wish to run on my web server, problem is, when i click on the link to it, it opens the gui on the server, not on pc that is wiseting the page.

If it's posibole to make the client pc open the script, I indted to use the GUI to editi an file on the server.

The script i have now

#include <GUIConstants.au3>

$gui = GUICreate("MoF Plannering",640, 480)
GUICtrlCreateEdit("test",10,10,100,100)
;$in = GUICtrlCreateInput("",10,10,100,20)
GUISetState(@SW_SHOW)

While 1
    $msg = GUIGetMsg()
    Select
        Case $msg = $GUI_EVENT_CLOSE
            Exit
    EndSelect
WEnd

Share this post


Link to post
Share on other sites



I have a script that i wish to run on my web server, problem is, when i click on the link to it, it opens the gui on the server, not on pc that is wiseting the page.

If it's posibole to make the client pc open the script, I indted to use the GUI to editi an file on the server.

The script i have now

#include <GUIConstants.au3>

$gui = GUICreate("MoF Plannering",640, 480)
GUICtrlCreateEdit("test",10,10,100,100)
;$in = GUICtrlCreateInput("",10,10,100,20)
GUISetState(@SW_SHOW)

While 1
    $msg = GUIGetMsg()
    Select
        Case $msg = $GUI_EVENT_CLOSE
            Exit
    EndSelect
WEnd
you're going to have to write in some code to handle connecting to the server w/ login credentials etc to have a client side that affects the server. it's probably going to be more work than it's worth though, not to mention the security hole you'd be creating. i would suggest going with server side scripting like .php, .asp etc, and create a form to modify your file that way.

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

Share this post


Link to post
Share on other sites

@cameronsdad

Creating a COM object from your AU3 and include it in an ASP page, will do what you want.

see here how to :

Creating COM objects without a need of DLL's

Enjoy !!

regards

ptrex

@Me eh? @ME?!

kidding, sorry. I'm not the OP but good suggestion man.


1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0