lulu Posted August 14, 2009 Share Posted August 14, 2009 Is it possible to construct a hyperlink on my Intranet web page that calls my AutoIt exe AND passes my AutoIt script a variable? I've written a script that reads input from a CSV file. My script is called from a web page. I'd like to have multiple hyperlinks that call this script, where each different link provides for different input file. So, I'm trying to do two things:1. Provide a file name (or any unique variable) in the web page hyper link.2. And then have access to that variable from within my script.Is this possible in AutoIt? Link to comment Share on other sites More sharing options...
DW1 Posted August 14, 2009 Share Posted August 14, 2009 Yes I believe this is possible. I have written some really similar things using AU3CGI (AutoIt for Web). Do search in the forums for either AU3CGI or autoit for web. AutoIt3 Online Help Link to comment Share on other sites More sharing options...
KaFu Posted August 14, 2009 Share Posted August 14, 2009 (edited) Funny that you ask this question , just thought about this one yesterday! One way that came to my mind was to create a new protocol handle in the registry, something like http://... in this case of course more something like au3:// >_<... Look at HKEY_Classes_Root/http for a registry sample. Parsing that to a running app would need some tweaking, I'm not sure but I guess that would invoke a new instance of your app. Maybe let the app check at start if another instance is running and if so parse the input data via a freq. checked ini-file to the running instance? Just some thoughts ... Edited August 14, 2009 by KaFu OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2022-Nov-26) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Feb-16) HMW - Hide my Windows (2018-Sep-16) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2023-Jun-03) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now