How to exchange STD set-top for an HD Set-Top Box ?
I am currently a Verizon FIOS customer. Since there are no local offices in Southeastern, PA how do I go about both requesting a secondary HD set-top box, and also set-up a return of the one I'd like to exchange (a non-HD set-top). Will there be a pre-paid postage sticker for the one box I plan to return ? How do I go about formally cancelling the old set-top box so the charges stop appearing on my bill ?
Verizon will send you the new box with a return label for the one you no longer want. Simply place the on you're returning into the box that the new one came in, apply the label to the box, drop off at a UPS store or call for a pick-up. Once received by Verizon, billing will stop and the box will be removed from your account.
Similar Messages
-
Exchange 2013 CU2, Alert for OWA Health set unhealthy from SCOM 2012
I am facing issue in Exchange 2013 CU2, I got this alert from SCOM 2012 atleast 5-6 times a day, OWA health set is unhealthy, I have done all the steps mentioned in this web link. Authentication type for OWA Virtual directory is integrated windows and Basic.
I have 2 CAS servers, and this alert generated from both of them.
http://technet.microsoft.com/en-us/library/ms.exch.scom.OWA(EXCHG.150).aspx?v=15.0.712.24
Alert: Health Set unhealthy
Source: EX-CAS - OWA
Path: EX-CAS;EX-CAS
Last modified by: System
Last modified time: 1/5/2014 8:15:08 PM
Alert description: Outlook Web Access logon is failing on ClientAccess server EX-CAS.
Availability has dropped to 0%. You can find protocol level traces for the failures on C:\Program Files\Microsoft\Exchange Server\V15\Logging\Monitoring\OWA\ClientAccessProbe.
Incident start time: 1/6/2014 4:05:08 AM
Last failed result:
Failing Component - Owa
Failure Reason - CafeFailure
Exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.Exchange.Net.MonitoringWebClient.ScenarioException:
Microsoft.Exchange.Net.MonitoringWebClient.ScenarioException:
Failure source: Owa
Failure reason: CafeFailure
Failing component:Owa
Exception hint: CafeErrorPage: CafeFailure Unauthorized Inner exception: Microsoft.Exchange.Net.MonitoringWebClient.CafeErrorPageException
ErrorPageFailureReason: CafeFailure, RequestFailureContext: FailurePoint=FrontEnd, HttpStatusCode=401, Error=Unauthorized, Details=, HttpProxySubErrorCode=, WebExceptionStatus=
Microsoft.Exchange.Net.MonitoringWebClient.CafeErrorPageException: An error occurred on the Client Access server while processing the request
WebExceptionStatus: Success
GET https://localhost/owa/ HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 9.0; Windows NT 6.1; MSEXCHMON; ACTIVEMONITORING; OWACTP)
Accept: */*
Cache-Control: no-cache
X-OWA-ActionName: Monitoring
Cookie:
HTTP/1.1 401 Unauthorized
request-id: 211474d2-a43e-4fab-8038-3aab35353568
X-FailureContext: FrontEnd;401;VW5hdXRob3JpemVk;;;
Server: Microsoft-IIS/7.5
WWW-Authenticate: Negotiate,NTLM,Basic realm="localhost"
X-Powered-By: ASP.NET
X-FEServer: EX-CAS
Date: Mon, 06 Jan 2014 04:14:47 GMT
Content-Length: 0
Response time: 0s
---> Microsoft.Exchange.Net.MonitoringWebClient.CafeErrorPageException: Microsoft.Exchange.Net.MonitoringWebClient.CafeErrorPageException
ErrorPageFailureReason: CafeFailure, RequestFailureContext: FailurePoint=FrontEnd, HttpStatusCode=401, Error=Unauthorized, Details=, HttpProxySubErrorCode=, WebExceptionStatus=
Microsoft.Exchange.Net.MonitoringWebClient.CafeErrorPageException: An error occurred on the Client Access server while processing the request
WebExceptionStatus: Success
GET https://localhost/owa/ HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 9.0; Windows NT 6.1; MSEXCHMON; ACTIVEMONITORING; OWACTP)
Accept: */*
Cache-Control: no-cache
X-OWA-ActionName: Monitoring
Cookie:
HTTP/1.1 401 Unauthorized
request-id: 211474d2-a43e-4fab-8038-3aab35353568
X-FailureContext: FrontEnd;401;VW5hdXRob3JpemVk;;;
Server: Microsoft-IIS/7.5
WWW-Authenticate: Negotiate,NTLM,Basic realm="localhost"
X-Powered-By: ASP.NET
X-FEServer: EX-CAS
Date: Mon, 06 Jan 2014 04:14:47 GMT
Content-Length: 0
Response time: 0s
--- End of inner exception stack trace ---
at Microsoft.Exchange.Net.MonitoringWebClient.BaseExceptionAnalyzer.Analyze(TestId currentTestStep, HttpWebRequestWrapper request, HttpWebResponseWrapper response, Exception exception, Action`1 trackingDelegate)
at Microsoft.Exchange.Net.MonitoringWebClient.HttpSession.AnalyzeResponse[T](HttpWebRequestWrapper request, HttpWebResponseWrapper response, Exception exception, HttpStatusCode[] expectedStatusCodes, Func`2 processResponse)
at Microsoft.Exchange.Net.MonitoringWebClient.HttpSession.EndSend[T](IAsyncResult result, HttpStatusCode[] expectedStatusCodes, Func`2 processResponse, Boolean fireResponseReceivedEvent)
at Microsoft.Exchange.Net.MonitoringWebClient.HttpSession.EndGet[T](IAsyncResult result, HttpStatusCode[] expectedStatusCodes, Func`2 processResponse)
at Microsoft.Exchange.Net.MonitoringWebClient.Authenticate.AuthenticationResponseReceived(IAsyncResult result)
--- End of inner exception stack trace ---
at Microsoft.Exchange.Net.MonitoringWebClient.BaseTestStep.EndExecute(IAsyncResult result)
at Microsoft.Exchange.Net.MonitoringWebClient.Owa.OwaLogin.AuthenticationCompleted(IAsyncResult result)
--- End of inner exception stack trace ---
at Microsoft.Exchange.Net.MonitoringWebClient.BaseTestStep.EndExecute(IAsyncResult result)
at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Bool
States of all monitors within the health set:
Note: Data may be stale. To get current data, run: Get-ServerHealth -Identity 'EX-CAS' -HealthSet 'OWA'
State
Name
TargetResource HealthSet
AlertValue ServerComponent
NotApplicable OwaCtpMonitor
OWA
Unhealthy None
States of all health sets:
Note: Data may be stale. To get current data, run: Get-HealthReport -Identity 'EX-CAS'
State
HealthSet
AlertValue LastTransitionTime
MonitorCount
NotApplicable ActiveSync
Healthy 1/3/2014 5:21:13 AM
2
NotApplicable AD
Healthy 11/24/2013 6:54:18 AM
10
NotApplicable ECP
Healthy 1/5/2014 3:03:05 AM
1
Online
Autodiscover.Proxy
Healthy 11/20/2013 10:06:37 AM
1
NotApplicable Autodiscover
Healthy 1/3/2014 10:18:17 PM
2
Online
ActiveSync.Proxy
Healthy 11/20/2013 10:06:37 AM
1
Online
ECP.Proxy
Healthy
11/21/2013 6:16:08 PM 4
Online
EWS.Proxy
Healthy 11/20/2013 10:06:37 AM
1
Online
OutlookMapi.Proxy
Healthy 11/24/2013 6:54:28 AM
4
Online
OAB.Proxy
Healthy 11/19/2013 7:14:34 PM
1
Online
OWA.Proxy
Healthy 11/20/2013 10:06:37 AM
2
NotApplicable EDS
Healthy 1/3/2014 5:19:56 AM
10
Online
RPS.Proxy
Healthy 1/3/2014 5:21:27 AM
13
Online
RWS.Proxy Healthy
1/3/2014 5:20:09 AM 10
Online
Outlook.Proxy
Healthy 1/3/2014 5:21:12 AM
4
NotApplicable EWS
Healthy 1/3/2014 10:18:17 PM
2
Online
FrontendTransport
Healthy 1/5/2014 3:47:09 AM
11
Online
HubTransport
Healthy 1/5/2014 3:47:09 AM
29
NotApplicable Monitoring
Unhealthy 1/5/2014 4:05:57 AM
9
NotApplicable DataProtection
Healthy 1/3/2014 5:25:42 AM
1
NotApplicable Network Healthy
1/4/2014 1:51:16 PM 1
NotApplicable OWA
Unhealthy 1/5/2014 8:05:08 PM
1
NotApplicable FIPS
Healthy 1/3/2014 5:21:12 AM
3
Online
Transport
Healthy 1/5/2014 4:11:00 AM
9
NotApplicable RPS
Healthy 11/20/2013 10:07:12 AM
2
NotApplicable Compliance
Healthy 11/20/2013 10:08:10 AM
2
NotApplicable Outlook
Healthy 11/21/2013 6:12:54 PM
2
Online
UM.CallRouter
Healthy 1/5/2014 3:47:10 AM
7
NotApplicable UserThrottling
Healthy 1/5/2014 4:16:42 AM
7
NotApplicable Search
Healthy
11/24/2013 6:55:06 AM 9
NotApplicable AntiSpam
Healthy 1/3/2014 5:16:43 AM
3
NotApplicable Security
Healthy 1/3/2014 5:19:28 AM
3
NotApplicable IMAP.Protocol
Healthy 1/3/2014 5:21:14 AM
3
NotApplicable Datamining
Healthy 1/3/2014 5:18:34 AM
3
NotApplicable Provisioning
Healthy 1/3/2014 5:19:56 AM
3
NotApplicable POP.Protocol
Healthy 1/3/2014 5:20:44 AM
3
NotApplicable Outlook.Protocol
Healthy 1/3/2014 5:19:46 AM
3
NotApplicable ProcessIsolation
Healthy 1/3/2014 5:19:26 AM
9
NotApplicable Store
Healthy 1/3/2014 5:20:38 AM
6
NotApplicable TransportSync
Healthy 11/24/2013 6:53:09 AM
3
NotApplicable MailboxTransport
Healthy 1/3/2014 5:21:11 AM
6
NotApplicable EventAssistants
Healthy 11/21/2013 6:22:01 PM
2
NotApplicable MRS
Healthy 1/3/2014 5:20:29 AM
3
NotApplicable MessageTracing
Healthy 1/3/2014 5:18:15 AM
3
NotApplicable CentralAdmin
Healthy 1/3/2014 5:17:25 AM
3
NotApplicable UM.Protocol
Healthy 1/3/2014 5:17:08 AM
3
NotApplicable Autodiscover.Protocol
Healthy 1/3/2014 5:17:13 AM
3
NotApplicable OAB
Healthy 1/3/2014 5:20:51 AM
3
NotApplicable OWA.Protocol
Healthy 1/3/2014 5:20:52 AM
3
NotApplicable Calendaring
Healthy 11/24/2013 6:56:59 AM
3
NotApplicable PushNotifications.Protocol
Healthy 11/21/2013 6:16:05 PM
3
NotApplicable EWS.Protocol
Healthy 1/3/2014 5:19:07 AM
3
NotApplicable ActiveSync.Protocol
Healthy
1/3/2014 5:20:16 AM 3
NotApplicable RemoteMonitoring
Healthy 1/5/2014 3:47:09 AM
3
Any solution for this alert, how to rectify it, but OWA is running perfect for all users.Hi,
Sorry for the late reply.
Do we have Exchange 2010 coexistence?
If it is the case, I know the following known issue:
Release Notes for Exchange 2013
http://technet.microsoft.com/en-us/library/jj150489%28v=exchg.150%29.aspx
Please note the "Exchange 2010 coexistence" session.
If it is not related to our problem, please check the IIS log.
If there is any detailed error code, like 401.1, 401.2, please let me know.
Hope it is helpful
Thanks
Mavis
If you have feedback for TechNet Subscriber Support, contact
[email protected]
Mavis Huang
TechNet Community Support -
How can I create a filter for an exact set of characters?
Hello! I am setting up a filter to catch messages with GG in the subject. Sometimes this will be at the beginning of the subject (no space at the front) and other times it will be somewhere in the middle. The problem I'm having is that this filter catches any word with "gg" in it, like "logged" or "baggage" (one of my customers has baggage in their name, but their messages should not be caught by this filter). How can I make this work? Thank you for your time!
I think FiltaQuilla might be useful. It adds so-called Regular Expressions to the filter system, where you could use a construction like:
"subject regex" "matches" "/\bgg\b/i"
\b means a word boundary
gg is your two letters
\b is the trailing word boundary
/ and /i mean ignore the case, so it'll find gg, GG, Gg and gG.
There lots of ways of doing this. You could have
[ ]GG[ ]
where it would require a space (explicitly; nothing else!) before and after, and capital letters. \b is usually superior as it matches at the beginning and end of the line, and recognizes regular punctuation in addition to spaces. -
How can i display units only for the result set
hi
i do not want to display units (example: $ or %) for my key figure columns but i want to display units to the result.
how can i do thatHi Surya,
I don't think it is possible to have both non-unit and unit in the same kf.
One potential workaround to do this is to create a calculated key figure/ formula that use the NODIM function for single values. Example: NODIM(0AMOUNT). Then, create a calculated key figure/formula that computes overall result on the same kf and supresses individual values but does not use NODIM....perhaps this can help you work out a solution.
Hope this helps.
Regards,
Petter
Message was edited by: M Petter -
How do I retain Jbutton text for action event & set img icon on Jbutton
I need to retain the text on my button as I use this to identify the action event in actionPerformed method when the button is pressed.
Hoe do I add an image icon to the Jbutton without effecting this?
[/b]
class CalcPanel extends JPanel
implements ActionListener, CurrencyVals
//currency panel data members
JButton[] cb = new JButton[4];
JPanel cbkeys = new JPanel(new GridLayout(4,1));
//Toolkit tk = Toolkit.getDefaultToolkit();
//Image img = tk.getImage("D:/temp/ausflag.jpg");
public CalcPanel(){
ImageIcon b = new ImageIcon("D:/temp/ausflag.jpg","AUS");
cb[AUS]= new JButton(b); //cb[AUS]= new JButton("AUS");
cbkeys.add(cb[AUS]);
cb[AUS].addActionListener(this);
setLayout(new BorderLayout());
add(display, BorderLayout.NORTH);
add(keys, BorderLayout.CENTER);
add(cbkeys, BorderLayout.EAST);
add(label, BorderLayout.SOUTH);
public void actionPerformed(ActionEvent evt){
Object source = evt.getSource();
int id;
if (keyBoard) {
if (source instanceof JButton) {
String s = ((JButton)source).getText();
[/b]Regards
Synfieldif(keyBoard) { ??! [/b]... do have cause to feel flattered?
Copy and paste this and save a small eg;- 25px high x 50px wide Jpeg image in the same file and call it "new.jpg", then study it, this posted program (again?) to see where your code went astray.
THEN, figure out what you want to do with your code ...keep at it!
Sue x
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class ButtonIcon extends JFrame implements ActionListener {
String []str ={"abc","def","ghi","jkl","mno","pqr","st","uvw"};
JButton b[] = new JButton[str.length];
JButton on = new JButton("ON");
JButton off = new JButton("OFF");
JButton picture;
JPanel panel;
String str2="";
Font font = new Font("Comic Sans MS" ,0, 14);
boolean keyBoard;
ImageIcon icon = new ImageIcon("new.jpg");
public ButtonIcon(){
Container c = getContentPane();
panel = new JPanel();
panel.setLayout(new FlowLayout());
picture = new JButton(icon);
for (int j=0; j<=str.length-1; j++){
b[j]= new JButton(str[j]);
b[j].setFont(font);
panel.add(b[j]);
b[j].addActionListener(this);
on.addActionListener(this);
off.addActionListener(this);
panel.add(on);
panel.add(off);
panel.add(picture);
c.add(panel);
public void paint (Graphics g) {
super.paint (g);
Graphics2D G = (Graphics2D) g;
G.setColor(Color.red);
G.setFont(font);
G.drawString(str2, 25, 150);
public void actionPerformed(ActionEvent evt){
String command = evt.getActionCommand();
if (keyBoard) {
if (evt.getSource() instanceof JButton ) {
str2 += command;
if (evt.getActionCommand().equals("OFF")) str2 = "";
if(command.equals("ON")) keyBoard = true;
if(command.equals("OFF")) keyBoard = false;
repaint();
public static void main (String []args){
ButtonIcon boo = new ButtonIcon();
boo.setSize(300,200);
boo.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE );
boo.setVisible(true); -
Setting tracks for a dj set recorded in logic
Hi im a DJ and I record my sets in logic. My problem I dont know how to set track markers in my mix so when I burn it and play it on a cd player my mix is one long track. How would I go about putting the correct markers in my mix so when you play it you can navigate through it track 1,2,3 etc? Can anyone please help me with this problem because its making my mix tapes come out very unprofessional.
use Waveburner
http://documentation.apple.com/en/waveburner/usermanual/#chapter=1%26section=0
A -
Renaming Set Code and Stage Code for a refresh set in Concurrent Manager
Hi,
We're using Oracle Applications 11.5.10.2 on a 10.2.0.4 Database:
Would anyone know how to rename the Set Code for the Refresh Set and Stage Code for the Stage for a Refresh Set in Concurrent Manager? I’ve seen it done in the two Report Sets but when I try to so it in the Report Set I’m creating, those fields are grayed out. How do I get around that?
Thanks!950950 wrote:
Hello folks.
There is a request set that has three stages. I've got to remove the final stage but I don't seem to be able to do this.
I'm logged in with a System Administrator role and I believe we're on 11.5.10.2.
I'll keep poking around but I'm hoping one of you gurus has the information at the tip of your fingers, or could at least point me in the right direction.
Thanks,
GeorgeWhat is the error you get?
Please make sure you remove the link stages for this particulare stage (from "Link Stages" window) before you delete it from the "Define Stages" window.
Thanks,
Hussein -
How to create PMCO table entries for few PM Order
Hi Experts
By a lack of Customizing we have used for few day a PM order type without the flelds AFKO-KLVARP and AFKO-KLVARI set.
For this missing setting no entris had been created during Creation and Confirmation in PMCO and PMCOQT tables.
Now I've filled teh fields with a Zreport on AFKO table, but now I need to create the PMCO* data using RIPMCO00 report.
Unfortunately it doesn't work. Is there a way to re-build this missing datas ???
Thanks for your help.
Claudio
Edited by: Claudio Carrara on Feb 15, 2012 3:48 PMRun the program RIPMCO00, has no effect because tables PMCO and PMCOQT are empty for these order.
This hapepns becuase when the Order was confirmed, teh fields AFKO-KLVARP and AFKO-KLVARI was null.
Now I've fixed these fiels, and I need to rebuild PMCO datas, burt report doesn't work because PMCO and PMCOQT tables are empty.
I need to create PMCO and PMCOQT entries in advance.
How I can proceed ???
Thanks
Claudio -
Can someone help me in easy steps on how to use the home sharing for music on itunes.
Hi can someone give me easy to follow instructions on how to use the home sharing for itunes.
iTunes- Setting up Home Sharing on your computer
Setting up Home Sharing for Apple TV (2nd generation)
Troubleshooting Home Sharing -
Transport request for admin cockpit set-up
Hi Experts,
i have to do technical content installation (admin cockpit set up),for this i should create one transport request
can any one tell me or share the docs how to create a Transport request for admin cockpot set up.
Regards
MrudulaThe process of creating TR is same for cockpit too
go to se09, create, select customizing or workbench request
Enter the description, project name if any, and Save
A transport request number is created automatically with the provided details
Thanks
Regards -
Setting values for items other than default value
How can I set the value of Items (hidden item, display item etc) without using any of navigational control such as list, select list or tree?
I have a two report region on a page and no navigation control. the requirement is only one region should be displayed at one point of time.
Condition that drives this are passed from other page through links.
The code is like this
For Region A
select * from table a where cola = :P_VALUE_FROM_OTHER_PAGE; //value passed is JOE
For Region B
select * from table a where cola = :P_VALUE_FROM_OTHER_PAGE; //value passed is JOHNnow there is the hidden item :P_HIDDEN that i am comparing in expression1 = expression2 conditions for each region
for e.g.
for region A
value in expression1 = expression2
P_HIDDEN = 1
for region B
P_HIDDEN = 2my issue is, where can I set values for P_HIDDEN item (set to 1 and set to 2) without any navigational control on the page.
Thanks,
R
now there is the hidden item :P_HIDDEN that i am comparing in expression1 = expression2 conditions for each region
for e.g.
for region A
value in expression1 = expression2
P_HIDDEN = 1
for region B
P_HIDDEN = 2
my issue is, where can I set values for P_HIDDEN item (set to 1 and set to 2) without any navigational control on the page.
Thanks,
R
Edited by: Rich V on May 21, 2010 10:41 PMThe question I would ask is:
How are you determining which region you want to be displayed by default?
Either way, you could potentially use a 'before header' computation to calculate the value of your hidden item, although you'd also need to include some sort of conditional means of preventing the computation from running everytime to run the page (otherwise you'd never see your other region) e.g. you might only want it to run if the hidden item is null. -
How can I register an EVENT for ALV-GRID?????
Hi,
i have create Events for my ALV-Grid Table (cl_gui_alv_grid).
But there is one Problem!!!!
Which Event must i create, if users write something in the ALV row and press to key "enter" ???
With kind regards
ErsinDid you set the handler for one of forementioned events? If no, please suplement your code with the following
"create handler class
CLASS lcl_gui_alv_event_receiver DEFINITION.
PUBLIC SECTION.
METHODS:
" Controlling data changes when ALV Grid is editable
handle_data_changed FOR EVENT data_changed OF cl_gui_alv_grid
IMPORTING er_data_changed e_onf4 e_onf4_before e_onf4_after,
" To be triggered after data changing is finished
handle_data_changed_finished FOR EVENT data_changed_finished OF cl_gui_alv_grid
IMPORTING e_modified ,
ENDCLASS.
"implement you handler methods
CLASS lcl_gui_alv_event_receiver IMPLEMENTATION.
METHOD handle_data_changed .
MESSAGE 'Data changed' TYPE 'I'.
ENDMETHOD.
METHOD handle_data_changed_finished .
MESSAGE 'Data changed finished' TYPE 'I'.
ENDMETHOD .
ENDCLASS.
data: g_alv_event_ref TYPE REF TO lcl_gui_alv_event_receiver.
CREATE OBJECT g_alv_event_ref.
"set handlers for these events
SET HANDLER:
g_alv_event_ref->handle_data_changed FOR g_alv_grid_ref,
g_alv_event_ref->handle_data_changed_finished FOR g_alv_grid_ref,
"register the events after pressing enter
CALL METHOD g_alv_grid_ref->register_edit_event
EXPORTING
i_event_id = cl_gui_alv_grid=>mc_evt_enter.
Regards
Marcin -
Select a set of integer from another set
I have a set of integers from 1 to 7.
I want to select the integers which not exist in this set.
For example: the set contains (1,3,6,7)
The result should be (2.5)
how to do it in SQLHi,
First, construct a Counter Table with 7 rows, containing the values 1, 2, 3, ..., 7. (Don't be thrown off by the term "table"; it's usually not a real table, but rather a result set that acts like a table.)
See thie following thread for ways of creating a Counter Table:
Counter Table
Use the NOT IN operator to get all the rows from that counter table except the rows numbered 1, 3, 6 or 7.
If you get stuck, post your best attempt, as Alex suggested. -
How to use Powershell to set delegate for user mailbox in Exchange 2010 and Office 365
Hello,
Can you please tell me if I can set delegate for user mailbox in Exchange 2010 or Office 365 using Powershell?
If I can, then how can I do that? (which Powershell commands for setting the delegate?)
Many thanks, and have a good day!Hi,
If you wanted to add a delegate to possiblly a large number of users or you do this during mailbox provisioning. So the following script will use
impersonation to access another users mailbox and add a delegate.
$mbtoDelegate = "[email protected]"
$delegatetoAdd = "[email protected]"
$dllpath = "C:\Program Files\Microsoft\Exchange\Web Services\1.0\Microsoft.Exchange.WebServices.dll"
[void][Reflection.Assembly]::LoadFile($dllpath)
$service = new-object Microsoft.Exchange.WebServices.Data.ExchangeService([Microsoft.Exchange.WebServices.Data.ExchangeVersion]::Exchange2007_SP1)
$windowsIdentity = [System.Security.Principal.WindowsIdentity]::GetCurrent()
$sidbind = "LDAP://<SID=" + $windowsIdentity.user.Value.ToString() + ">"
$aceuser = [ADSI]$sidbind
$service.AutodiscoverUrl($aceuser.mail.ToString())
$service.ImpersonatedUserId = new-object Microsoft.Exchange.WebServices.Data.ImpersonatedUserId([Microsoft.Exchange.WebServices.Data.ConnectingIdType]::SmtpAddress,
$mbtoDelegate);
$mbMailbox = new-object Microsoft.Exchange.WebServices.Data.Mailbox($mbtoDelegate)
$dgUser = new-object Microsoft.Exchange.WebServices.Data.DelegateUser($delegatetoAdd)
$dgUser.ViewPrivateItems = $false
$dgUser.ReceiveCopiesOfMeetingMessages = $false
$dgUser.Permissions.CalendarFolderPermissionLevel = [Microsoft.Exchange.WebServices.Data.DelegateFolderPermissionLevel]::Editor
$dgUser.Permissions.InboxFolderPermissionLevel = [Microsoft.Exchange.WebServices.Data.DelegateFolderPermissionLevel]::Reviewer
$dgArray = new-object Microsoft.Exchange.WebServices.Data.DelegateUser[] 1
$dgArray[0] = $dgUser
$service.AddDelegates($mbMailbox, [Microsoft.Exchange.WebServices.Data.MeetingRequestsDeliveryScope]::DelegatesAndMe, $dgArray);
Hope this helps. -
HOW TO: set anchoredObjectSettings for .palce() object?
Hi, I'm currently working on interesting script for GREP placing, and I'm wondering how I can set anchoredObjectSettings for .palce() object?
for(i=0; i < found.length; i++)
foundElem = new File (myFolder + "/" + found[i].contents);
found[i].place(foundElem); // Placing Ancored Object
// HERE IS WHERE I NEED SOME HELP: how to set "anchoredObjectSettings" for just placed Ancored Object
//anchoredObjectSettings.anchoredPosition = AnchorPosition.ABOVE_LINE;
//anchoredObjectSettings.horizontalAlignment = HorizontalAlignment.TEXT_ALIGN;
Here you can download example files - script, InDesign file and images, that should be placed into InDesign file with script
Dropbox - GREP placing.zip
PS: I believe this script will be very useful, so if anybody have any ideas/suggestions, and want to help me with further development - this would be great!Hi Kai, this script is still under development, here is updated version attached (now it can also place files/images by file name only, without extension):
#target indesign;
//#include "! Basic functions.jsx"
GREP place files.
This script will ask to select source folder with files to place,
and then, with dialog box (or prompt) [this is not implemented yet, so I use static GREP value while developing]
will ask to type GREP find expresion to search for text placeholder, that need to be replaced with file from source folder we just selected.
TODO: Check how it works with other than image formats
Also, this might be usefull to make anchored frame with column widh, and fit image proportionally
scriptName = decodeURI(File(app.activeScript).name.slice(0, -4)); // detect name of current script without expression
function Alert(msg) // function for native-looking alerts
w = new Window ("dialog", scriptName, undefined, {closeButton: true});
w.preferredSize = [300,75]; // window width and height
w.margins = 15; // window margins
w.orientation = "column";
w.alignChildren = ["left", "top"];
w.add("statictext", undefined, msg);
close = w.add ("button", [0,0,96,20], "OK", {name: "Ok"});
close.alignment = ["right", "bottom"];
close.onClick = function(){exit();}
w.show();
main();
function main()
app.scriptPreferences.userInteractionLevel = UserInteractionLevels.interactWithAll;
if(app.documents.length == 0)
Alert("No documents are open. Please open a document and try again."); exit();
else
//> START OF doUndoWraper
if (parseFloat(app.version) < 6) // "app.version < 6" if it's running under an earlier version than CS4, as earlier versions don't support "Undo" in scripts
doUndoWrapper();
else
app.doScript(doUndoWrapper, ScriptLanguage.JAVASCRIPT, undefined, UndoModes.ENTIRE_SCRIPT, scriptName);
//< END OF doUnoWraper
function doUndoWrapper() // this is the wraper function UNDO everything script made by single undo
{// START OF doUndoWrapper
defaultGREPexpression = "(?i)^[a-z0-9 _-]+\\.\\w{2,4}$"; // Paragraph that starts with upper or lower case latin character, digits, spaces, hyphen or underscore, and ends with .extension
var myFilteredFiles;
var myExtensions = []; // initialize array
myExtensions.push(".jpg", ".jpeg", ".png", ".gif"); // raster images
myExtensions.push(".psd", ".tif", ".tiff", ".pdf"); // raster images (layered)
myExtensions.push(".ai", ".eps", ".svg", ".cdr"); // vector graphics
myExtensions.push(".mp3"); // audio files
myExtensions.push(".mp4"); // video files
myExtensions.push(".swf"); // flash files
myExtensions.push(".doc", ".docx", ".rtf", ".txt"); // text documents
myExtensions.push(".xls", ".xlsx"); // table documents
//Display the folder browser.
if(app.activeDocument.saved) // our document was saved before - we suggest to start search for source folder from were InDesign file saved
var myFolder = Folder(app.activeDocument.filePath).selectDlg("Select the source folder with files for placing", "");
else // file was not saved before, so we don't know where to search > suggest to start from Desktop
var myFolder = Folder.selectDialog("Select the source folder with files for placing", "");
if(myFolder) // if folder was selected
//Get the path to the folder containing the files you want to place.
var files = new Object(); // This will assoc array with FILE_NAME => FILE_EXTENSION
if(File.fs == "Macintosh")
myFilteredFiles = myMacOSFileFilter(myFolder);
else
myFilteredFiles = myWinOSFileFilter(myFolder);
if(myFilteredFiles.length != 0) // success: we have found supported files to place
for(i = 0; i < myFilteredFiles.length; i++)
var filename = myFilteredFiles[i].fsName.toString().replace(/^.*[\\\/]/, ""); // now we get only file names with extenstions
var file = [];
file = filename.split("."); // separate file name from file extension
files[file[0]] = file[1]; // write FILE_NAME => FILE_EXTENSION as assoc array
else // error: There is no supported files for placing in specified folder
Alert("ERROR: There is no supported files for placing in specified folder.");
exit();
else // ERROR: we have not choose source folder
Alert("Folder with source files was not specified"); exit();
//Windows version of the file filter.
function myWinOSFileFilter(myFolder)
var myFiles = new Array;
var myFilteredFiles = new Array;
for(myExtensionCounter = 0; myExtensionCounter < myExtensions.length; myExtensionCounter++)
myExtension = myExtensions[myExtensionCounter];
myFiles = myFolder.getFiles("*"+ myExtension);
if(myFiles.length != 0)
for(var myFileCounter = 0; myFileCounter < myFiles.length; myFileCounter++)
myFilteredFiles.push(myFiles[myFileCounter]);
return myFilteredFiles;
function myMacOSFileFilter(myFolder)
var myFilteredFiles = myFolder.getFiles(myFileFilter);
return myFilteredFiles;
//Mac OS version of file filter
//Have to provide a separate version because not all Mac OS users use file extensions and/or file extensions are sometimes hidden by the Finder.
function myFileFilter(myFile)
var myFileType = myFile.type;
switch (myFileType)
case "JPEG":
case "EPSF":
case "PICT":
case "TIFF":
case "8BPS":
case "GIFf":
case "PDF ":
return true;
break;
default:
for(var myCounter = 0; myCounter<myExtensions.length; myCounter++)
var myExtension = myExtensions[myCounter];
if(myFile.name.indexOf(myExtension)>-1)
return true;
break;
return false;
//> START OF GREP expression dialog
w = new Window ("dialog", scriptName+": specify expression", undefined, {closeButton: true});
w.preferredSize = [300,75]; // window width and height
w.margins = 15; // window margins
w.orientation = "column";
w.alignChildren = ["left", "top"];
panel = w.add("panel", undefined, "Find what: (GREP expression)");
if(app.findGrepPreferences.findWhat != "")
grepExpression = app.findGrepPreferences.findWhat;
clearFindWhat = false;
else
grepExpression = defaultGREPexpression; // use default GREP expression
//fgrepExpression = "\\[.+\\]"; // \\< means "begining of the world", and \\> means end of the world;
clearFindWhat = true;
var grepExpression = panel.add ("edittext", [0,0,270,20], grepExpression);
grepExpression.active = true;
panel.add("statictext", undefined, "GREP expression no need for for double \\\\ escaping");
ok = w.add ("button", [0,0,96,20], "Continue", {name: "Ok"});
ok.alignment = ["right", "bottom"];
ok.onClick = function()
findWhat = grepExpression.text;
w.hide();
w.show();
//< END OF GREP expression dialog
if(typeof findWhat !== "undefined") // check we have not left GREP expression field empy
app.findGrepPreferences.findWhat = findWhat; // our GREP that search for image placeholder text;
found = app.activeDocument.findGrep();
for(i=0; i < found.length; i++)
if(found[i].contents.indexOf(".") > -1) // we wroking with file name with extension
foundElem = new File (myFolder + "/" + found[i].contents);
else // we work with file name only, so we need to add file extension manually
found[i].contents = found[i].contents.replace(/[^a-z0-9 _-]/gi, ""); // remove all unwanted characters from file name: only letters, numbers, spcaces, minus and underscores allowed
foundElem = new File (myFolder + "/" + found[i].contents + "." + files[found[i].contents]);
try
placedObj = found[i].place(foundElem)[0].parent; // THANKS TO: Jump_Over for help @ https://forums.adobe.com/message/6912489#6912489
placedObj.anchoredObjectSettings.anchoredPosition = AnchorPosition.ABOVE_LINE;
placedObj.anchoredObjectSettings.horizontalAlignment = HorizontalAlignment.TEXT_ALIGN;
placedObj.frameFittingOptions.autoFit = true;
placedObj.frameFittingOptions.fittingOnEmptyFrame = EmptyFrameFittingOptions.FILL_PROPORTIONALLY;
placedObj.frameFittingOptions.fittingAlignment = AnchorPoint.CENTER_ANCHOR;
catch(e)
Alert(e);
app.changeGrepPreferences.changeTo = "";
app.activeDocument.changeGrep();
if(clearFindWhat) // clearing only if typed GREP expression manually
app.findGrepPreferences = app.changeGrepPreferences = null; // clear Find/Change preferences once we finished
else
Alert("Find what GREP expression was not specified"); exit();
}// END OF doUndoWrapper
Top part with Windows/Mac filtering was copy-pasted from default InDeign script "ImageCatalog.jsx" as example and modified - I'm not sure if all this stuff is needed, I haven't test if it works the same without those filtering on both OS - if that's not needed - then thanks for tip!
PS: in your findWhat \l{3,4} will not catch .ai files
and what means .source at the end? is that doing necessary escaping, so with it it's posible to write \l instead of \\l
Maybe you are looking for
-
Closing Illustrator CS5 in Windows 7
I recently installed my copy of Illustrator from the Web Premium Package on a new computer on which Windows 7 Pro 64bit is the OS. I have no problen with the program until I exit it. I close the proigram by going to File > Exit, as one would normal
-
we have tried print diagnostics that sais no connection, so we tried the network diagnostic that said its fine? We also installed recent software and updates etc.. It was working fine yesterday when I used it then it came up flashing saying no connec
-
I have created a Windows Embedded 8 Standard 64 bit image. I added Adobe Flash Player 11 Support application support feature module (there are no settings for this module) to the image and IE 10. When the system runs and IE is executing Flash player
-
LiveCycle ES4 Database Initialization
Hello,,, I am in the process of installing LiveCycle ES4 on an Oracle Linux box with version 6.4. I am using Weblogic version 11g (10.3.6).. All the weblogic domains and machines are setup and running fine when I start them manually or through instal
-
Observations on using Rf for app prototype
Been working with Rf for about 2 months on prototyping a web app. I've been able to create a responsive prototype that shows the developers -exactly- how it should look on different screens, which is great! However, the most frustrating thing is for