Opens the default home page of an address or, if it does not exist, searches the company name directly in Google
Product line
Standard
|Expert
Operating mode
CLOUD ABO
|ON-PREMISES
Modules
Services & CRM
Budget & Phases
Purchases
Resource Planning
Business Intelligence
This script can be registered to address. It will then appear in the listing menu or right-click menu and will open the default home page of an address or, if it does not exist, search the company name directly in Google.
On individual addresses. Please use the script that fits your current Vertec version.
Vertec version | description | Scripting |
---|---|---|
from Vertec 6.0 |
Uses the Python function executeurl. |
Homepage_Open60.py |
# coding: windows-1252 # #---Description: Open homepage # Class: Address Entry # CondExpression: # ObjectScript: Y # ContainerScript: N # EventType: None # EventClass: # EventMembers: # ExtendedRights: N #---Open the homepage of the address or, if it does not exist, search for it in Google. #---2013-12-18, Vertec AG: created. #---2016-03-29, SR: Changed to executeurl (runs from version 6.0) def main(): URL = argobject.standardhomepage if not URL: URL = “https://www.google.de/search?q=” + argobject.name.replace(“ “, “+”) vtcapp.executeurl(URL) main()