Jump to content
Sign in to follow this  
USMCGalloway

Kiosk Question

Recommended Posts

USMCGalloway

I am wondering if I set up a Kiosk on a machine, most likely Chrome and restrict a user to a specific web app,  can auto it still work, such as DirCopy() and FileOpen(). 

Also would it be able to access .exe files and run the program in the background behind the kiosk window without them being in focus? 

Right now everything is on Ubuntu, but I could remove some rest calls to the windows VM if any of this can work, and just use a windows environment for the front end as well. 

Thank you again for any help . 

Share this post


Link to post
Share on other sites
Neutro

A kiosk mode on a web browser prevents a user to do anything else than browsing a specified web page.

But nothing prevents you from running an autoit script while the kiosk mode is launched, by any way that you would like to.

Share this post


Link to post
Share on other sites
USMCGalloway

Thanks! Time to get coding, I am sure I will be back with some help on this, so far the past few weeks have only been clicking, sending, and array configuration stuff, time to get down and dirty or do a lot of this ...   :mad2:

Share this post


Link to post
Share on other sites
Neutro
USMCGalloway

someFunc()

Func someFunc()
   Local $var1, $var2, $var3 , $string

   While 1
      Sleep(1000)
      If ControlClick("Program", "", "[CLASS:Button;INSTANCE:4]", "IsEnabled", "") = 1 Then ExitLoop
   WEnd
   ControlClick("Program", "", "[CLASS:Button;INSTANCE:6]")
   $fName = ControlGetText("ID Data", "", "Edit3")
   $lName = ControlGetText("ID Data", "", "Edit29")
   $dob = ControlGetText("ID Data", "", "Edit10")
   $string = "foo===" & $var1 &  "&&&" & "fooFoo===" &  $var2 & "&&&" & "fooBar" & $var3
   WinClose("Program1.1")
   WinClose("Program")
   ConsoleWrite($string) 
EndFunc

Here is some of the code I have, is there any way to get the tasks done without the windows being pulled to the front. I have not tried it with the Kiosk yet, but is there any way for the actions above to happen without being set behind a Kiosk, or off screen  ;) , yeah tried the off screen approach, and though it was a fix, it was not the answer. 

Or is the browser Kiosk mode going to fix all of these problems ? 

As always thanks for future help ! 

Edited by USMCGalloway

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  

×