- Posts: 339
- Thank you received: 28
Language
- andrew
- Offline
- User
-
Less
More
2 years 5 months ago #1139
by andrew
Replied by andrew on topic Language
I've made a start but I'm not an expert at defining NP++ UDLs and I don't know if the system will be able to cope with myServer macros unusual structure.
The .xml file goes in C:\Users\[username]\AppData\Roaming\Notepad++
Andrew
The .xml file goes in C:\Users\[username]\AppData\Roaming\Notepad++
Andrew
Please Log in to join the conversation.
- Sat32
- Topic Author
- Offline
- User
-
Less
More
- Posts: 133
- Thank you received: 5
2 years 5 months ago - 2 years 5 months ago #1141
by Sat32
AV|49~Power~On!AV|54~Power~On!
it only highlights the first command in the line
I started looking at doing this myself but like you not an expert with udl's and still struggling with myserver commands
was hoping one of the Dave's would be familiar with this and it seems like they can write this code in there sleep.
On a side note I'm starting to like the syntax of the commands
Thanks
Replied by Sat32 on topic Language
Thanks seems to be a good start a few things not working like if you haveI've made a start but I'm not an expert at defining NP++ UDLs and I don't know if the system will be able to cope with myServer macros unusual structure.
The .xml file goes in C:\Users\[username]\AppData\Roaming\Notepad++
Andrew
AV|49~Power~On!AV|54~Power~On!
it only highlights the first command in the line
I started looking at doing this myself but like you not an expert with udl's and still struggling with myserver commands
was hoping one of the Dave's would be familiar with this and it seems like they can write this code in there sleep.
On a side note I'm starting to like the syntax of the commands
Thanks
Last edit: 2 years 5 months ago by Sat32.
Please Log in to join the conversation.
- andrew
- Offline
- User
-
Less
More
- Posts: 339
- Thank you received: 28
- Sat32
- Topic Author
- Offline
- User
-
Less
More
- Posts: 133
- Thank you received: 5
- David Li
- Offline
- Admin
-
Less
More
- Posts: 1019
- Thank you received: 99
- Sat32
- Topic Author
- Offline
- User
-
Less
More
- Posts: 133
- Thank you received: 5
2 years 5 months ago #1158
by Sat32
Replied by Sat32 on topic Language
Here is the macro code I've been working on it's still work in beta and needs tweaking. But the basic idea is a harmony like activitys so when
I start a source it turns everything I need on and turn off what don't need and switches the inputs around only doing what is needed. I'm hoping to be able to copy and paste this into what ever scenes I want and then just edit the varables to match the activty
What do you guy think??
I start a source it turns everything I need on and turn off what don't need and switches the inputs around only doing what is needed. I'm hoping to be able to copy and paste this into what ever scenes I want and then just edit the varables to match the activty
Code:
//Power Commands!
//!
//conditionaly turns on TV and Sets varable that the TV is on!
if|IsNE##{{IR-SamsungTV_Power}}##OFF##SetVariable|IR-SamsungTVPower~ON!Control|2~SendIR~Samsung-Most Models~POWER ON!
//conditionaly turns on av reciver if not on!
if|IsNE##{{av_47_power}}##1##AV|47~Power~On!
//conditionaly turns on av reciver!
if|IsNE##{{av_49_power}}##off##AV|49~Power~On!
//conditionaly turns on shield if not on!
if|IsNE##{{IR-Xbox1_Power}}##OFF##SetVariable|IR-Xbox1_Power~OFF!2~SendIR~Microsoft-Xbox One~POWER OFF!
// inputs commands!
//!
//conditionaly changes Tv input and sets varable!
if|IsNE##{{IR-SamsungTV_Input}}##HDMI3##SetVariable|IR-SamsungTV_Input~HDMI3!Control|2~SendIR~Samsung-Most Models~INPUT HDMI 3!
//conditionaly changes av reciever input!
if|IsNE##{{av_47_input}}##AUX2##AV|47~Source~Aux2!
What do you guy think??
Please Log in to join the conversation.
Time to create page: 0.180 seconds