|
SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI. |
|
Thread Tools | Search this Thread | Display Modes |
#41
|
||||
|
||||
Girder 4 Script to Send Msg
Hi,
Dunno if this is of interest, but I thought I would provide it anyway. I have made a simple Girder 4 function to use with this popup, so you can send msgs etc to Sage. You can call the function using the following.. Code:
SagePopUpMsg ("You Text Here") Code:
function SagePopUpMsg (MsgText) local master = socket.tcp(); if master == nil then print ("Error Trying to create TCP Socket!"); end; if master then local err = master:connect("192.168.0.4", 10629); if err == nil then print ("Error Trying to connect!"); else err = master:send(MsgText); if err == nil then print ("Failed to send"); else err = master:close(); if err == nil then print ("Failed to close connection") end; end; end; end; end; Cheers Niel for this plugin. Thanks Dan |
#42
|
|||
|
|||
This would be a nice option to add when you make the 3.0o version Nielm.
The dialog is just too darn big with the close button.. And if you have it auto-close anyway, you really don't need the CLOSE button. Jason Quote:
|
#43
|
||||
|
||||
Niel,
Would there be any chance of increaseing or allowing the user to set the transparency? Thanks Dan |
#44
|
||||
|
||||
Quote:
Quote:
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#45
|
||||
|
||||
Thanks
|
#46
|
|||
|
|||
Any chance I can get a peek at the source code for the YAC listener bit? I'm using a different CallerID program (Ascendis CallerID). The CallerID server is on another PC, and I'd like to get this module running on a Sage Client box, listening to Ascendis rather than YAC. I have the format of the Ascendis output, as well as the port info.
|
#47
|
||||
|
||||
There is no source code -- it is part of the STV, which is not editable...
The documentation on the wiki describes the reccognised format, the code just checks for @CALL Java-ish Pseudocode follows: 'message' is the entire message string read from the TCP socket: Code:
if ( startsWith(message,"@CALL") && indexOf(message,"~",4)!=-1) { DebugLog("Got YAC message") message=Substring(message, 5, -1) person=Substring(message,0,indexOf(message,"~")) number=Substring(message,indexOf(message,"~")+1,-1) message="Incoming Call:\r\n"+person+"\r\n"+number }
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#48
|
||||
|
||||
From a quick look at the Ascendis forums, the easiest way to intercace would be to write a quick program that Ascendis can run when there is an incomming call.
Ascendis would give the name/number on the command line, and this new program would connect to the infopopup TCP port, send the correct YAC-style message and then quit. This would be a lot easier than modifying the infopopup to pretend to be an Ascendis client...
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#49
|
|||
|
|||
The even easier thing to do would be to run YAC on the server as well as the Ascendis software. A tiny bit annoying, but I don't think the coding is worth the trouble.
Is it possible to run the listener module on a Sage box running the Cayars v17 STV, or is this a totally different STV? |
#50
|
||||
|
||||
I don't know whether Yac and Ascendis can co-exist...
Infopopup can be imported into my modified Cayars v17 with imports enabled I have created a quick+dirty app to send YAC format caller ID messages with name+number specified as command line parameters... See the Testing section of the wiki for the infopopup: http://www.sage-community.org/index....oduleInfoPopup You should be able to get Ascendis to run this.
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#51
|
|||
|
|||
Does this work with the v3 beta?
|
#52
|
||||
|
||||
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#53
|
|||
|
|||
Thanks.
|
#54
|
|||
|
|||
YAK popup
Quote:
YAK Readme.txt: Q: Can I control how long the YAC call notification window stays up? A: Sure, as long as you're using the YAC user interface and not the old-style balloon option available in Win2K and XP. Open the registry key HKEY_LOCAL_MACHINE\Software\YAC, and set: DisplayTime = [time in milliseconds]. The default is 20000 (20 seconds). But changin this value to 0 does not appear to work. Is there something else that can be done to disable the YAK popup? |
#55
|
||||
|
||||
maclayer...
I was not able to get a custom version of YAC compiled... You could try changing the registry value to 1 so that the popup dissappears 1ms after it appears.
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#56
|
|||
|
|||
I tried out the setting of 1 and also 10 but it didn't work. After downloading and reviewing the source for YAK, I noticed that the minimum setting for the YAK notification is 1000 (1 second), so setting the DisplayTime to 1000 is the minimum seting that works.
For other trying to change the YAK notification time, note the following: The registry key "DisplayTime" is not there by default, you will need to add it by right clicking YAK (in HKEY_LOCAL_MACHINE, SOFTWARE), then selecting 'Expandable String Value'. Enter the Value Name "DisplayTime". After you create the entry, double-click it and enter the Value Data of "1000" to change the YAK notification setting to 1 second. |
#57
|
|||
|
|||
Ok... I assume the D/L link on the wiki is the 1.5 version - doesn't really say.
In any case... How do you remove the buttons? I see no reference to the new 1.5 features on the wiki... Jason Quote:
|
#58
|
||||
|
||||
the versions for the 3.0 beta are accessible from the 3.0 beta imports thread
Wiki links to 1.4 Direct download link for v1.5: http://www.sage-community.org/~nielm...opopup_1_5.zip
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#59
|
|||
|
|||
Oh, I didn't realize that!!! Thanks!
Why wouldn't you have them all on the wiki page? EDIT: The version 1.5 seems to work fine. However, I do NOT get an options menu under the Setup -> Enhancements cetegory. The enhancements category is there after importing, but there is nothing in the right pane to select. So I shut down, and edited from the properties file. Working fine, it appears. Jason Last edited by JasonJoel; 10-02-2005 at 07:43 PM. |
#60
|
|||
|
|||
cpopups and cayers 18 test e
Just wondering if this feature can be used with Nielm's cayers 18teste with imports enabled? Cool feature, but I don't want to go back to using version 17. If not is there another option to get a similar feature?
Thanks in advance for any help. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|