SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Studio
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-22-2008, 10:16 AM
kricker's Avatar
kricker kricker is offline
Sage Icon
 
Join Date: Jan 2005
Location: Knoxville, TN
Posts: 1,137
Send a message via AIM to kricker Send a message via MSN to kricker
ExecuteProcess forcing called app to "unhide"

I am wanting to use ExecuteProcess() to send a command to EventGhost. The command has EvenGhost find an application and bring it to the front. The problem is when I send the command from Sage using ExecuteProcess(), it makes EventGhost unhide from the tray. If I send EventGhost the same command from a batch file ths does not happen. How can I do the same from Sage?

The command I am sending is:
Code:
EventGhost.exe -e findxbmc
In Sage the command I am using is:
Code:
ExecuteProcess("C:\\Program Files\\EventGhost\\EventGhost.exe","-e findxbmc", null, null)
Reply With Quote
  #2  
Old 07-24-2008, 12:24 PM
kricker's Avatar
kricker kricker is offline
Sage Icon
 
Join Date: Jan 2005
Location: Knoxville, TN
Posts: 1,137
Send a message via AIM to kricker Send a message via MSN to kricker
Looks like my error was trying to send 2 arguments in that code. Using
Code:
ExecuteProcess("C:\\Program Files\\EventGhost\\EventGhost.exe", java_lang_String_split("-e,findxbmc", ","), null, null)
does the trick.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless MVP Failling to load app Cynder207 SageTV Media Extender 0 05-14-2008 10:10 AM
Tables, Java - Java Not being Called for each TableComponent Cell stuckless SageTV Studio 3 04-02-2008 03:03 PM
Dropped favorite recording -- with debug logs Surtr SageTV Software 4 02-19-2008 10:48 AM
Forcing S3 Standby After SageTV Intiated Recording Completes DCKJR SageTV Software 0 08-06-2007 08:51 PM
executeprocess arguments evilpenguin SageTV Studio 4 04-27-2006 08:41 AM


All times are GMT -6. The time now is 02:30 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.