Help and Support (Using VoxCommando) > Command Builder Reference

Using the Scrape action to control web-enabled device

(1/2) > >>

Simeon Tuitt:
Hey James and Kalle or any others savvy with vox, how would I get this command to run using the Launch.CMD in vox so it launches a hidden window and runs it and then closes but I think that happens automatically after running commands right?

I need to have this run when added as the parameter for Launch.CMD but placing just the full link below doesn't make it run so is there something I am missing out?

http://190.160.0.12:7979/?cmd=%7B%22api_id%22:1004,%22command%22:%22send_code%22,%22mac%22:%22b4:43:0d:30:a7:ee%22,%22data%22:%2226008c009494133713371237131213121312121312131237133713371212131213121312121312371337131213371213121213121312131213121237131213371238123713371300060395931337133712371312131213121312121312371337123812121312131213121312123713371312133712131212131213121312121313361312133713371237133713000d05000000000000000000000000%22%7D

Cheers.
Sim  8)

jitterjames:
You can't use Launch.Cmd with an URL.

 Launch is for running programs. I think you want to use the Scrape action.

Launch.openurl can be used but then you are opening a browser first and there is no option to hide it.

Simeon Tuitt:
Cheers james, I had to ask since part of the link had cmd in and thought it was for the command prompt, there is a url I can use that does the action but loading a web page compared to a command would be quicker and would help when the net is down.

I did use Robo Browser for opening up the url but each time I use a browser it runs the command for me by opening a url but it is sending some form of Json file when running the command and so keeps asking me to open it or save it.

I just want the web link to open for say 4 seconds and then close the robo browser window or I will end up with loads of different windows open.

Is there someway for vox to process the .json file that keeps getting downloaded each time I load the url?

 8)

jitterjames:
I'm not really following you at all.

Maybe it would help if we knew what you were trying to do.  I see that you have some kind of URL you want to use somehow.  That's about all I know.  What is this URL for? What it is supposed to do.  How is it normally used?

Is there some reason that you cannot use the Scrape action as suggested?

Simeon Tuitt:
Hi James, I have figured out a way to control one of my electronic devices by loading a url with a command for each action, when the link has loaded and the command has ran which is instant I am getting a .json file (its simply a confirmation message of success) attempt to download which I need to either have auto save and download so its off the screen or just open and close (since it has ran the command by the time it appears), other versions of Internet Explorer allowed an option to click and save downloads automatically but latest IE doesn't and I am getting the same prompt with chrome.

I am using a windows 8.1 PC and I have gone through the active x controls and internet security options but can't find a setting that lets the file just save and download. I did try disabling downloads on trusted sites for the url but then I get a prompt telling me downloads are disabled each time it trys to download the .json file, so I just end up replacing one window with another.

I've been searching for 2 days for a solution to it and the closest I have got is this article which basically says create a registry file to just accept the file type (.json in my case from my own trusted domain) automatically but it might as well be in another language to me since I am not a coder.

Surely there has to be an easier way to just get that prompt off the screen. I am using vox to load the command urls through a payload list, but each one gets that prompt I am trying to remove and asks if I want to save or open the .json file.


http://9to5it.com/internet-explorer-disable-do-you-want-to-open-or-save-this-file-prompt/

If you can give any suggestions for disabling the 'Do you want to open or save this file' box they are appreciated.  8)

Attached is an example of the .json file I get prompted to download after each url has loaded and ran a command.

Navigation

[0] Message Index

[#] Next page

Go to full version