Search found 12 matches

by Sarah
Wed Aug 07, 2013 7:53 pm
Forum: Scripting
Topic: Scheduled Emails with Data Loggers Attachments
Replies: 9
Views: 17429

Re: Scheduled Emails with Data Loggers Attachments

Sorry Mark, it appears my question was too vague and was therefore misinterpreted. But I have managed to get the email to add a specific attachment, so that's one step forward. In screen 1, I used the following (modifications shown in bold): void SendButton_Click(System.Object sender, System.EventAr...
by Sarah
Tue Aug 06, 2013 8:06 pm
Forum: Scripting
Topic: Scheduled Emails with Data Loggers Attachments
Replies: 9
Views: 17429

Re: Scheduled Emails with Data Loggers Attachments

No worries Mark.

I'll need some help with a few basics and then hopefully I can work my way through this.

To add an attachment and specify its path, what syntax would I use?
by Sarah
Tue Aug 06, 2013 1:48 am
Forum: Scripting
Topic: Scheduled Emails with Data Loggers Attachments
Replies: 9
Views: 17429

Scheduled Emails with Data Loggers Attachments

Hi, I am fairly new to scripting and would really appreciate all the help I can get to tackle this challenge. I have a scheduler set up to export a range of data log and alarm server files daily to 'project files folder' in the panel. The exported files do not overwrite. After the scheduler exports ...
by Sarah
Sun May 12, 2013 6:20 pm
Forum: Scripting
Topic: Multiple conditions using IF statement
Replies: 2
Views: 6413

Re: Multiple conditions using IF statement

Thanks Edmund for your help.
by Sarah
Thu May 09, 2013 7:23 pm
Forum: Scripting
Topic: Multiple conditions using IF statement
Replies: 2
Views: 6413

Multiple conditions using IF statement

Hi,

I would like to know how you would go about scripting for the following scenarios:
1. setting tag3 to '1' if tag1 = 0 and tag2 = 0
2. setting tag3 to '1' if tag1 = 0 or tag2 = 0

I attempted scenario #2 by using ValueChange for tag1 and tag2 separately but it did not work.

Thanks
by Sarah
Tue Apr 23, 2013 9:00 pm
Forum: Scripting
Topic: Setting tag if user is logged in.
Replies: 14
Views: 22908

Re: Setting tag if user is logged in.

Hi, I would like a script that changes to 'screen 2' after a user is logged in. My (failed) scripting attempts are as follows: void SystemTagCurrentUser_ValueChange(System.Object sender, Neo.ApplicationFramework.Interfaces.Events.ValueChangedEventArgs e) { if(Globals.Tags.SystemTagCurrentUser.Value ...
by Sarah
Tue Jan 08, 2013 9:28 pm
Forum: Scripting
Topic: Tag to Open File in PDF Viewer
Replies: 5
Views: 10146

Re: Tag to Open File in PDF Viewer

Thanks Mark! Just in case, is it also possible to specify a page number with it?
by Sarah
Tue Jan 08, 2013 7:39 pm
Forum: Application Development
Topic: Problem with the title bar
Replies: 5
Views: 12661

Re: Problem with the title bar

I copied & pasted the following from the Beijer website in the 'Support' section (it worked for me): iX - Scripting - Remove Frame and titlebar on popup A popup is always displayed with a frame and titlebar field. But with a little bit of script code, you can make it disappear. CE \ terminals Put th...
by Sarah
Tue Jan 08, 2013 7:16 pm
Forum: Application Development
Topic: Emailing via SSL server
Replies: 3
Views: 7168

Emailing via SSL server

Hi,

Is it possible for the alarm distributor to email using a SSL server? If so, how may I go about doing this?
by Sarah
Sun Jan 06, 2013 6:40 pm
Forum: Scripting
Topic: Tag to Open File in PDF Viewer
Replies: 5
Views: 10146

Tag to Open File in PDF Viewer

Hi,

Is it possible with scripting to open up specific files in THE PDF viewer based a on a tag value? If so, how should I go about doing this?

Thanks for your hlep.