Calling SeleniumBasic from a server

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
MHalbauer
Posts: 1
Joined: 15 Jan 2019, 05:14

Calling SeleniumBasic from a server

15 Jan 2019, 05:42

Hi all,

The problem
I wonder how I change the settings (the path/folder) at with a ComObj is called in AHK?
Please see the problem below.
Any further suggestions to my problem are greatly appreciated!

Background
I am using SeleniumBasic to automate web browser tasks.
SeleniumBasic is currently installed in a local folder:
C:\Users\hm\AppData\Local\SeleniumBasic

In my AHK-script, I call on the different Selenium webdrivers by using the ComObjCreate-method in AHK, for instance:
driver := ComObjCreate("Selenium.Chromedriver")

This however causes problems when exporting the compiled AHK-script to other computers,
since SeleniumBasic is locally installed.

I want to be able to use the script on several computers connected to a server.
In order to be able to call the compiled script on another computer,
I want to change the directory of the SeleniumBasic-folder to a directory on a server connected to the other computer:
G:\Macros\SeleniumBasic

However, when calling ComObjCreate("Selenium.Chromedriver"), it does not find the ComObj.
So basically, I want to change the settings on how ComObjCreate("Selenium.Chromedriver") finds SeleniumBasic to find it in the server-folder.

I am completely new to this forum, so please bear with me!
Thanks for all your help.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: No registered users and 290 guests