So all you need a "click button "Connect" of window "System Preferences"?
On May 15, 2011, at 9:11 AM, Gabriele Kahlout wrote:
On Sun, May 15, 2011 at 3:06 PM, Joel Esler <email@hidden> wrote:
That would involve GUIScripting and System Events.
...and I don't have the time right now do write one. However, if you use the Dictionary that comes inside of "Script Editor" on your mac, and figure it out like that. But I'll give you a start, just enough code to make you want to figure out the rest and learn on your own. This code will open System Preferences and click on Network for you.
I'm already there (and there I give up)[ 1]. Thank you anyway.
tell application "System Preferences" activate tell application "System Events"
tell process "System Preferences" click menu item "Network" of menu "View" of menu bar 1
end tell end tell
J
On May 15, 2011, at 8:32 AM, Gabriele Kahlout wrote:
Joel thank you!
I cannot believe how difficult it's to explain my problem!
Here's a screencat of what I want to be automated: http://screencast.com/t/RFUmqXbPJ1YB
Do you have a script for that? I failed writing one.
On Sun, May 15, 2011 at 2:19 PM, Joel Esler <email@hidden> wrote:
on open these_items try
set the user_name to "<your_name>" set this_password to "<your_password>"
set this_disk to (mount volume (" smb://path/to/your/share/" & user_name & "/") as user name user_name with password this_password as alias
on error error_message display dialog error_message buttons {"OK"} default button 1 end try
end open
Now all you need to do is fill in the blanks.
On May 15, 2011, at 2:01 AM, Gabriele Kahlout wrote:
please use "reply to all" On Sun, May 15, 2011 at 8:00 AM, Gabriele Kahlout <email@hidden> wrote:
no, see https://discussions.apple.com/message/15190017#15190017
I'not willing to pay > $10 for this though. I'm changing home in a few months anyway.
On Thu, May 12, 2011 at 11:13 PM, Jan R. Butler <email@hidden> wrote:
Is this what you are looking for?
On May 12, 2011, at 11:20 AM, Gabriele Kahlout wrote: what I'm trying to do is connect to my ethernet network with my saved credentials. For some reason this doesn't happen automatically so i have to manually do it myself everytime. An applescript would probably be best, but I don't know how to script it.
On Thu, May 12, 2011 at 6:11 PM, Bakari Chavanu <email@hidden> wrote:
K, I’m not sure exactly what you trying to do with Automator, but another alternative to the program is QuicKeys 4.0. You can down a trial version of it. I records mouse clicks much better than Automator. But again, I’m not quite sure what you’re trying to do.
Bakari
On May 12, 2011, at 8:58 AM, Deivy Petrescu wrote:
> Gabriele,
> got the problem you are having.
> I don't have the time out problem but I feel Automator is not the best app for your particular problem.
> I haven't check scripting via GUI, but you may try to use sikuli.
>
> sikuli is made exactly for what you want.
> My trials with Automator have been disappointing, it always click the wrong menu item.
>
> Now mind you, sikuli is better for that but not 100% right.
>
> Get sikuli and some information here:
>
> < http://sikuli.org/>
>
> HTH
>
> On May 12, 2011, at 11:43 , Gabriele Kahlout wrote:
>
>> Can you similate clicking on the connect button in the Ethernet option in your network prereferences?
>>
>> http://screencast.com/t/fTj6GWvRGUd0
>>
>> On Thu, May 12, 2011 at 5:39 PM, Deivy Petrescu < email@hidden> wrote:
>> Can you be a bit more explicit about your problems.
>> Name of network, whatever.
>> I don't quite understand what you mean.
>>
>>
>> On May 11, 2011, at 00:14 , Gabriele Kahlout wrote:
>>
>>> Hello,
>>>
>>> I recall that buying a mac i was all excited about automator. Now, I try to automate the login to my ethernet network; I create a new workflow, click on record but by the time I select the ethernet connection the record little window disappears. I save the workflow (I cannot see automator window anymore) and then restarting automator I can see to where it got, but I still don't get what I want (the complete workflow).
>>>
>>> I also tried to automate the clickin on Nokia Multimedia Transfer overtray icon to select Start Transfers, but clicking on the icon does nothing. I guess then that automator works only with supported software, and as mentioned above not even.
>>>
>>> Is it possible to achieve what I want with Automator?
>>>
>>> P.S. automator crashed (and I submitted a report) several times.
>>>
>>> --
>>> Regards,
>>> K. Gabriele
>>>
>> Deivy Petrescu
>> email@hidden
>>
>>
>> --
>> Regards,
>> K. Gabriele
>
> Deivy Petrescu
> email@hidden
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Automator-users mailing list ( email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
-- Regards, K. Gabriele
--- unchanged since 20/9/10 --- P.S. If the subject contains "[LON]" or the addressee acknowledges the receipt within 48 hours then I don't resend the email.
subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this) ∧ time(x) < Now + 48h) ⇒ ¬resend(I, this).
If an email is sent by a sender that is not a trusted contact or the email does not contain a valid code then the email is not received. A valid code starts with a hyphen and ends with "X".
∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x) ∧ y ∈ L(-[a-z]+[0-9]X)).
_______________________________________________ Do not post admin requests to the list. They will be ignored. Automator-users mailing list (email@hidden)
This email sent to email@hidden
-- Regards, K. Gabriele --- unchanged since 20/9/10 ---
P.S. If the subject contains "[LON]" or the addressee acknowledges the receipt within 48 hours then I don't resend the email. subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this) ∧ time(x) < Now + 48h) ⇒ ¬resend(I, this).
If an email is sent by a sender that is not a trusted contact or the email does not contain a valid code then the email is not received. A valid code starts with a hyphen and ends with "X". ∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x) ∧ y ∈ L(-[a-z]+[0-9]X)).
-- Regards, K. Gabriele --- unchanged since 20/9/10 --- P.S. If the subject contains "[LON]" or the addressee acknowledges the receipt within 48 hours then I don't resend the email.
subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this) ∧ time(x) < Now + 48h) ⇒ ¬resend(I, this). If an email is sent by a sender that is not a trusted contact or the email does not contain a valid code then the email is not received. A valid code starts with a hyphen and ends with "X".
∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x) ∧ y ∈ L(-[a-z]+[0-9]X)).
_______________________________________________ Do not post admin requests to the list. They will be ignored. Automator-users mailing list ( email@hidden)
This email sent to email@hidden -- Regards, K. Gabriele --- unchanged since 20/9/10 ---
P.S. If the subject contains "[LON]" or the addressee acknowledges the receipt within 48 hours then I don't resend the email. subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this) ∧ time(x) < Now + 48h) ⇒ ¬resend(I, this).
If an email is sent by a sender that is not a trusted contact or the email does not contain a valid code then the email is not received. A valid code starts with a hyphen and ends with "X". ∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x) ∧ y ∈ L(-[a-z]+[0-9]X)).
-- Regards, K. Gabriele --- unchanged since 20/9/10 --- P.S. If the subject contains "[LON]" or the addressee acknowledges the receipt within 48 hours then I don't resend the email.
subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this) ∧ time(x) < Now + 48h) ⇒ ¬resend(I, this). If an email is sent by a sender that is not a trusted contact or the email does not contain a valid code then the email is not received. A valid code starts with a hyphen and ends with "X".
∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x) ∧ y ∈ L(-[a-z]+[0-9]X)).
|