Open safari and enter username and password into opening login page

I have managed to alter pictures in iphoto and photoshop but I am struggling to sort this one out. Initially it seems simple but I just cannit figure it out.
Can anyone help?
Mark

Hey Prion- Glad It works. I promise that its really not too technical. It may seem like a lot of code but it just insures that it runs properly every time. I don't know if you're interested, but here's a description of what each part does...
tell application "Safari"
activate
---Tell safari to open...
make new document
set URL of document 1 to "https://email.ntwsha.co.uk"
--- Make a new window with the above address...
end tell
if page_loaded(10) then
---This line says "If the action 'page_loaded' is complete and true then con't this section." See the "On page_loaded" below to see what it does...
tell application "System Events"
---Send an action to the system (this could be any type of GUI scripting)...
keystroke "account"
delay 1
keystroke tab
delay 1
keystroke "password"
delay 1
keystroke return
---Self-explanatory- I put in the delay to allow the page to react after tab is pressed...
end tell
else
---if page_loaded has not completed within the timeout period or returns false then...
display alert "The URL Has Not Loaded."
end if
on pageloaded(timeoutvalue)
---when page_loaded is called upon do the rest below...
delay 2
repeat with i from 1 to the timeout_value
---Repeat the following command until the time reaches the timeout_value (10)...
tell application "Safari"
if (do JavaScript "document.readyState" in document 1) is "complete" then
return true
---Tells safari to check if the page has finished loading. If yes, return true, if no-repeat...
else if i is the timeout_value then
return false
If the timeout_value is reached (10 secs) and the page has still not finished, then return false...
end if
delay 1
end tell
end repeat
end page_loaded
So its really not that technical of a language. In fact, its one of the closest to english as far as computer languages go. Its a pretty good asset to learn, because pretty much everything you could want to do in automator, would be possible in applescript. And if you aren't real interested, no big deal. Just thought you want to know how the script worked. Good Luck!
--Justin S.

Similar Messages

  • Username and password with new login page

    i have created an application where in which in login page i have created
    3 items username and password confirm password . where does the
    data entered in the items fall . how can i retrieve the data .

    Just some information :
    - The problem with LOGIN page exists. I don't have that problem with for example GMAIL when defined as external application, but with my applications in Oracle Application Server.
    - There is also another thing I don't understand. The link to external application is something like:
    javascript:open_jwindow('../ealogin?ID=76D4766','76');
    and couldn't be executed outside pls/orasso
    in other words we can't give that to our users, can we? They should login to orassso and see that?
    We don't want to involve them in Identity Management...
    Any help is appreciated....
    Regards

  • I created an apple id online on my computer, all is well and it is functional, however when i enter this same id and password into my iphone 5c it continues to ask me to sign in. Any suggestions on what i need to do?

    I created an apple id online on my computer, all is well and it is functional, however when i enter this same id and password into my iphone 5c it continues to ask me to sign in. Any suggestions on what i need to do?

    I created an apple id online on my computer, all is well and it is functional, however when i enter this same id and password into my iphone 5c it continues to ask me to sign in. Any suggestions on what i need to do?

  • How do i send the username and password to yahoo web page through url

    how do i send the username and password to yahoo web page through url i.e as Query string so that my account in yahoo will open...

    If you don't mind using a library, then download and use the Apache HttpClient library. It takes care of all these details for you.

  • Carrying Ids and passwords into iFS

    Users are created on IFS with the same Ids and passwords as on our system. The users log into our system. iFS is called by a menu item. I want to carry the user's login Id and password into iFS so that they don't need to log in twice.
    Any ideas?
    Thanks,
    Jim

    You'll need to create the users with the same username and password in iFS as in your system first. You can then connect with the username and password to iFS. You can specify username/password in connect directly or in the ConnectOption argument of the connect method (method of LibraryService).

  • How to get to see the usernames and passwords for wifi logins on iPad

    How to get to see the usernames and passwords for wifi logins on iPad. 

    You can't access that on an iPad. The iPad does not have a Keychain Access type app like the Mac has. Maybe an application like iExplorer on your Mac will let you see them, but you can't see them on the iPad itself.

  • Keychain won't save password when user name and password are on separate pages

    I Have and iMac,iPhone and iPad. When I go on a site where the username and password are on different pages, Keychain doesn't seem to work. It won't offer a passwot, nor will it save the username and password I enter.
    any suggestions?

    II'd rather not disclose the financial institutions i do business with, but my bank and two mutual fund websites use separate pages for username and password. I chec around, and if you go to the Bank of America website, they do it as well. Keychain does not work on any of the three sites I use.
    Thanks for your help.

  • How to hide user id and password for auto login in Analyzer 6.5?

    Could anyone tell me is it possible to hide the user id and password for auto login in Analyzer version 6.5 and how?Thanks in advance...

    Sainath,
    Referring admin guide as mentioned by Craig is good option.
    Let me give you few steps that I did in one of my projects.
    Open command prompt and navigate to the path "C:\Oracle\Middleware\EPMSystem11R1\products\DataRelationshipManagement\client\batch-client".. here you can see many see other utilities as well.
    drm-batch-client-credentials.exe is the one used to encrypt the userid and password.
    open this in command prompt and then choose the application to which you want to encrypt the password.
    then remove userid and password from batch script then run it... it does what you want

  • How do you copy, for example I work with blue prints and I want to copy a section and copy into another new page?

    How do you copy, for example I work with blue prints and I want to copy a section and copy into another new page?

    Forgot to add that it would be an adjustment layer with some kind of mask on it already. The mask is uncentered when copy and pasted which throws it off.
    I guess the same question would go towards doing the same for an object. How to copy and paste it over to a new doc, keeping its position within the document? is this possible?

  • Unbale to open login page in R12

    Hi,
    unable to open login page
    below is the error in error log
    [Wed Oct  9 06:13:45 2013] [error] [client 10.95.69.73] [ecid: 1381313625:10.95.177.168:8348:0:2,0] File does not exist: /app/ebs/itgsisit02/gsisit02inst/apps/GSISIT02_choleba33t/portal/OA_HTML/AppsLogin
    We did below workarounds:
    1.Reverted CUSTOM.pll in(Compile custom library) from 11i to intial R12 version file,
    2.cleared cache, comple ojspcompile
    3.ran autoconfig with fnd_nodes cleanup
    4.bounced DB
    5. verified APPS_WEB_AGENT,APPS_SERVLET_AGENT,APPS_FRAMEWORK_AGENT
    6.generate jar files with force option.
    but no use

    Hi,
    ---------------------------------+--------------------+---------+---------
    ias-component                    | process-type       |     pid | status
    ---------------------------------+--------------------+---------+---------
    OC4JGroup:default_group          | OC4J:oafm          |   13698 | Alive
    OC4JGroup:default_group          | OC4J:forms         |   13697 | Alive
    OC4JGroup:default_group          | OC4J:oacore        |   13696 | Alive
    HTTP_Server                      | HTTP_Server        |   13695 | Alive
    Error in logfile:
    [Wed Oct  9 06:13:45 2013] [error] [client 10.95.69.73] [ecid: 1381313625:10.95.177.168:8348:0:2,0] File does not exist: /app/ebs/itgsisit02/gsisit02inst/apps/GSISIT02_choleba33t/portal/OA_HTML/AppsLogin
    We did below workarounds:

  • How do I stop Firefox entering my username and password into other fields on pages that are not the log-in page?

    On a website I need for my work, I must log-in with username & password. Firefox remembers my name & password perfectly. However, in another section on that same website, when I am filling in calendar information, it enters my my username in the "Location" field. Unfortunately, that is my work ID which is confidential. When I don't notice, it posts it on the very public calendar. Also, it enters my password into a password field (masked), so that no one can rsvp.
    It doesn't appear that I can edit the Saved Passwords/Exception in Firefox Options, so I am looking for suggestions!
    I want the saved name password at http://workname.com
    but not incorrectly at http://workname.com/info/*.*

    If there is a password field on a web page and you have saved a password then Firefox may try to fill that password and enter the name in the field just above that password field.
    You can look at:
    * Saved Password Editor: https://addons.mozilla.org/firefox/addon/60265
    *Form History Control: https://addons.mozilla.org/firefox/addon/12021
    You may want to disable saved form fill to prevent Firefox from filling the name.
    * [[Form autocomplete]]
    * http://kb.mozillazine.org/Deleting_autocomplete_entries

  • Getting Username and Password into getConnection()

    Hi,
    After my recent encounter with XSQLConnectionManager[Factory] interfaces I seem to have stumbled upon another problem. I'm trying to let the user login from a HTML login page. The user gives the system his/her password and usercode by entering them into two input boxes that are sent to a servlet for handling using the POST method.
    I read a document (XSQLPages Publishing Framework) and it says I should take the following steps: (and I did)
    1: Test that the request type is a servlet
    2: Cast XSQLPageRequest to XSQLServletPageRequest
    3: Call getHttpServletRequest() on the XSQLServletPageRequest object.
    All this I did succesfully. Then I try to retrieve the parameters "usercode" and "wachtwoord" (Dutch for password). By using the following call in my own XSQLConnectionManager's getConnection method (as described in the document):
    System.out.println(servletPageReq.getHttpServletRequest().getParameter("wachtwoord"));
    I expected it to show me the password in JDeveloper's message window but instead I get a the string "null" returned to me in the message window. I tried to get the password using the same call in the servlet and that works fine.
    BTW the servlet calls an XSQL page using the process() method which works fine too.
    I hope someone can help me out on this one.
    Thanks,
    Han Vermolen

    Hi Paul,
    That's sort of what I assumed was happening, but I'm not actually wanting to authenticate for the webservice call it seems.  I'm wanting to capture their username/password via acrobat prompt then push it along to the soap service.  So I guess via script I would want to do:
    1. prompt the user for username/password via acro-prompt (not sure how to do this)
    2. capture their input in variables (again not sure from acro-prompt)
    3. set up soap message (I can do)
    4. send data ("")
    5. receive data on LC side and use the user/password to authenticate in a database table I created ("")
    6. modify a field based on authentication allowed/denied ("")
    It doesn't necessarily have to be an actual authentication box, but I just want a username/password prompt so I can get those values.
    Thanks,
    Alex

  • Can't get username and password into client proxy

    Hello all,
    I am creating a client proxy using class xem_measurementImport (the doMeasurementImport method). I call this from an ABAP program, and it pushes measurement data into the EC (Environmental Compliance) system, which runs in Java.  Everything has been running well, except for one thing.  When I run the program in the foreground, it prompts me for a username and password, and when I run it in the background (it will be run that way in production), it gets a SOAP/authentication fails error message from the method, since username & password could not be supplied.  I tried to recreate my client proxy, but when it is created, the wizard does not prompt me for my name & password, which it should do, so that it can supply it to the calling program via the logical port.  Is this a configuration issue that Basis needs to address?   Thanks for any help you can give.

    gauravjlj wrote:
    because client will install the mysql not me. and I need username and password for the further programming.
    there is any file in mysql installation which can give me the username and password.
    please tell me.
    thanks
    gaurav agrawalNo. If the "client" is installing the DB (and, I assume, administrating it, I.E. removing the large security holes that exist in the default installation), then why don't you simply ask the "client" for this info a dialog?
    Otherwise, you should be providing a script in your installation package that modifies the DB to your needs, and instruct the "client" to install a "default" root password until after the script has run, and then to change the "root" password again. A Java application should definately not be worried about this stuff.

  • HOW DO I MANUALLY ENTER 'USER I.D.' AND 'PASSWORD' INTO "SAVED PASSWORDS" WHEN FIREFOX CANNOT 'SAVE' THEM? THANK YOU!

    (EXCUSE MY ALL CAPS - VISION PROBLEM)
    PASSWORD CAPTURE IS A GREAT FEATURE! BUT - ON SOME FEW SITES, FIREFOX CANNOT CAPTURE USER I.D. AND PASSWORD - SO - HOW CAN I MANUALLY ENTER THIS INFO INTO 'SAVED PASSWORD' UNDER TOOLS/OPTIONS?
    THANK YOU: JNR

    Be aware that if Firefox doesn't offer to store a password then Firefox probably won't fill the password as well if you visit that website and sign on.<br />
    In that case you can try to type the first letter of the name and/or double click the name field or press the cursor Down arrow.
    Make sure that you do not run Firefox in permanent Private Browsing mode.
    *https://support.mozilla.com/kb/Private+Browsing
    *You enter Private Browsing mode if you select: Tools > Options > Privacy > History: Firefox will: "Never Remember History"
    *To see all History and Cookie settings, choose: Tools > Options > Privacy, choose the setting <b>Firefox will: Use custom settings for history</b>
    * Deselect: [ ] "Permanent Private Browsing mode"
    The website may be using autocomplete=off to prevent Firefox from saving the name and password.<br />
    If that is the case then you can remove autocomplete=off with a bookmarklet to make Firefox save the name and password.
    *http://kb.mozillazine.org/User_name_and_password_not_remembered

  • HT201441 please help me. i buy iphone 4s (used) and the seller not give icloud password n username. i upgrade the iphone to ios 7. Now for activated iphone, i must enter username n password icloud but i dont have it. any body can help me?

    i have iphone 4s (used).
    but the seller not give icloud username & password.
    after i reset and upgarde ios to ios7. iphone cant activated because i dont have icloud password (as information, find my iphone is activated).
    i already go to iphone service center in indonesia, but they cant help me. its so complicated.
    any body help me?

    The only person that can help you is the prior owner with Apple ID and password.
    Without that it is completely worthless.
    If you can't get the Apple ID and password then return for a refund of your money.
    Allan

  • ICloud Keychain: username and password form on separate pages

    Hello,
    I really like using iCloud Keychain. I am, however, unable to store a username and password for two web sites. Both sites use a separate page for username and password. It appears that Safari does not see the web form on each page. I have attempted to manually add the usernames and passwords to Keychain Access on my iMac, however, it had no effect. Note that I have also enabled the Safari options "Autofill usernames and passwords" and "Allow Autofill even for websites that request passwords not be saved."
    Has anyone experienced Safari not showing a prompt to save usernames/passwords and found a solution?
    Thanks,
    Bryan

    II'd rather not disclose the financial institutions i do business with, but my bank and two mutual fund websites use separate pages for username and password. I chec around, and if you go to the Bank of America website, they do it as well. Keychain does not work on any of the three sites I use.
    Thanks for your help.

Maybe you are looking for

  • HT201210 How do I backup iphone on a different hard drive?

    Hi! I want to update my iphone but I need to back it up before updating. Fine.  But it keeps backing up to my C drive and I don't have room for it.  My preference is set for a drive other than C.  So, I'm not sure why it keeps trying to backing up in

  • Please help- Itunes wont start up

    Can anyone help? I installed itunes from the web and when I click the icon, it tells me that the "itunes folder could not be created and that the default location should be in My music". Itunes does not start up. I am on a PC using windows XP. Please

  • Regarding problem in posting date after opening new year

    Hi SAP Gururs, I have just opened the new fiscal year thrugh OB52 and also made a new number range by copying the previuos year number range thrugh OBH2. Now when i m posting the entries for G/l, Customer & vendors, everything is going fine but vendo

  • Problem starting SAP: disp+work.EXE Running but bad dialog queue time

    Hello, I have been trying to start my SAP test instance on a local computer, but it does not work. I can see "Running but bad dialog queue time: 12.00 sec". This was working a few weeks ago, but  now it doesn't anymore. My initial assumption was the

  • Backup doesn't work for the day my iphone was stolen

    My iPhone 5 was stolen and backup on iphone 5s works only for the previous days but there's no photos from the day it was stolen.