Reload all chrome tabs of a certain page with AppleScriptApplescript - Google Chrome activate a certain windowi need an applescript to open safari in full screen an to hide the toolbar on mavericksApplescript “Expected end of line but found property.” error when using google chromeFilling form in Chrome using Applescript and JavascriptApplescript command encountering error after closing chrome windowApplescript: Unable to set miniaturized property of the window when application is a variableApplescript/Bashscript to activate incognito google chrome running in backgroundJavascript within AppleScript 'cannot make script into type specifier' (for clicking button in Chrome)Mapping shortcut to publish WP page, open tab and reloadPerform actions on a certain window of the application with AppleScript

How can a class have multiple methods without breaking the single responsibility principle

What is the reason behind water not falling from a bucket at the top of loop?

Feedback diagram

Gold Battle KoTH

Matrix condition number and reordering

Protect a 6 inch air hose from physical damage

δόλος = deceit in John 1:47

What do the screens say after you are set free?

Word to describe someone doing something even though told not to

Backpacking with incontinence

HackerRank Implement Queue using two stacks Solution

Is there a general term for the items in a directory?

Why are prop blades not shaped like household fan blades?

Export economy of Mars

What's the proper way of indicating that a car has reached its destination during a dialogue?

Can Otiluke's Freezing Spheres be stockpiled?

How to avoid a lengthy conversation with someone from the neighborhood I don't share interests with

Applying for mortgage when living together but only one will be on the mortgage

How to power down external drive safely

Can an alphabet for a Turing machine contain subsets of other alphabets?

Why do player start with fighting for the corners in go?

Being told my "network" isn't PCI compliant. I don't even have a server! Do I have to comply?

How to trick a fairly simplistic kill-counter?

How to structure presentation to avoid getting questions that will be answered later in the presentation?



Reload all chrome tabs of a certain page with AppleScript


Applescript - Google Chrome activate a certain windowi need an applescript to open safari in full screen an to hide the toolbar on mavericksApplescript “Expected end of line but found property.” error when using google chromeFilling form in Chrome using Applescript and JavascriptApplescript command encountering error after closing chrome windowApplescript: Unable to set miniaturized property of the window when application is a variableApplescript/Bashscript to activate incognito google chrome running in backgroundJavascript within AppleScript 'cannot make script into type specifier' (for clicking button in Chrome)Mapping shortcut to publish WP page, open tab and reloadPerform actions on a certain window of the application with AppleScript






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I'm trying to reload all tabs of Chrome (i could have many windows open) of a certain page. This is what I did:



tell application "Google Chrome"
set ids to every window
repeat with id in ids
reload (tabs of window id whose URL contains "mypage.com")
end repeat
end tell


But I get Google Chrome got an error: Can’t make item 1 of window id 1 into type integer.



How do I do this?










share|improve this question






























    1















    I'm trying to reload all tabs of Chrome (i could have many windows open) of a certain page. This is what I did:



    tell application "Google Chrome"
    set ids to every window
    repeat with id in ids
    reload (tabs of window id whose URL contains "mypage.com")
    end repeat
    end tell


    But I get Google Chrome got an error: Can’t make item 1 of window id 1 into type integer.



    How do I do this?










    share|improve this question


























      1












      1








      1


      1






      I'm trying to reload all tabs of Chrome (i could have many windows open) of a certain page. This is what I did:



      tell application "Google Chrome"
      set ids to every window
      repeat with id in ids
      reload (tabs of window id whose URL contains "mypage.com")
      end repeat
      end tell


      But I get Google Chrome got an error: Can’t make item 1 of window id 1 into type integer.



      How do I do this?










      share|improve this question














      I'm trying to reload all tabs of Chrome (i could have many windows open) of a certain page. This is what I did:



      tell application "Google Chrome"
      set ids to every window
      repeat with id in ids
      reload (tabs of window id whose URL contains "mypage.com")
      end repeat
      end tell


      But I get Google Chrome got an error: Can’t make item 1 of window id 1 into type integer.



      How do I do this?







      applescript






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 27 at 0:32









      KoushaKousha

      8,33417 gold badges83 silver badges173 bronze badges




      8,33417 gold badges83 silver badges173 bronze badges

























          2 Answers
          2






          active

          oldest

          votes


















          0














          This works for me using the latest version of macOS Mojave and Chrome.



          tell application "Google Chrome" to set allTabs to a reference to (tabs of windows whose URL contains "mypage.com") 
          tell application "Google Chrome" to reload allTabs





          share|improve this answer

























          • Or just tell application "Google Chrome" to reload (tabs of windows whose URL contains "mypage.com")

            – CJK
            Mar 28 at 2:03


















          0














          The answer submitted by @wch1zpink won't work if there are any Chrome windows open that don't contain at least one tab with a mypage.com URL. Unfortunately, you need to iterate through the windows:



          tell application "Google Chrome" to repeat with W in windows
          reload (every tab in W whose URL contains "mypage.com")
          end repeat





          share|improve this answer



























            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55368117%2freload-all-chrome-tabs-of-a-certain-page-with-applescript%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            This works for me using the latest version of macOS Mojave and Chrome.



            tell application "Google Chrome" to set allTabs to a reference to (tabs of windows whose URL contains "mypage.com") 
            tell application "Google Chrome" to reload allTabs





            share|improve this answer

























            • Or just tell application "Google Chrome" to reload (tabs of windows whose URL contains "mypage.com")

              – CJK
              Mar 28 at 2:03















            0














            This works for me using the latest version of macOS Mojave and Chrome.



            tell application "Google Chrome" to set allTabs to a reference to (tabs of windows whose URL contains "mypage.com") 
            tell application "Google Chrome" to reload allTabs





            share|improve this answer

























            • Or just tell application "Google Chrome" to reload (tabs of windows whose URL contains "mypage.com")

              – CJK
              Mar 28 at 2:03













            0












            0








            0







            This works for me using the latest version of macOS Mojave and Chrome.



            tell application "Google Chrome" to set allTabs to a reference to (tabs of windows whose URL contains "mypage.com") 
            tell application "Google Chrome" to reload allTabs





            share|improve this answer













            This works for me using the latest version of macOS Mojave and Chrome.



            tell application "Google Chrome" to set allTabs to a reference to (tabs of windows whose URL contains "mypage.com") 
            tell application "Google Chrome" to reload allTabs






            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Mar 27 at 3:08









            wch1zpinkwch1zpink

            1,5781 gold badge4 silver badges15 bronze badges




            1,5781 gold badge4 silver badges15 bronze badges















            • Or just tell application "Google Chrome" to reload (tabs of windows whose URL contains "mypage.com")

              – CJK
              Mar 28 at 2:03

















            • Or just tell application "Google Chrome" to reload (tabs of windows whose URL contains "mypage.com")

              – CJK
              Mar 28 at 2:03
















            Or just tell application "Google Chrome" to reload (tabs of windows whose URL contains "mypage.com")

            – CJK
            Mar 28 at 2:03





            Or just tell application "Google Chrome" to reload (tabs of windows whose URL contains "mypage.com")

            – CJK
            Mar 28 at 2:03













            0














            The answer submitted by @wch1zpink won't work if there are any Chrome windows open that don't contain at least one tab with a mypage.com URL. Unfortunately, you need to iterate through the windows:



            tell application "Google Chrome" to repeat with W in windows
            reload (every tab in W whose URL contains "mypage.com")
            end repeat





            share|improve this answer





























              0














              The answer submitted by @wch1zpink won't work if there are any Chrome windows open that don't contain at least one tab with a mypage.com URL. Unfortunately, you need to iterate through the windows:



              tell application "Google Chrome" to repeat with W in windows
              reload (every tab in W whose URL contains "mypage.com")
              end repeat





              share|improve this answer



























                0












                0








                0







                The answer submitted by @wch1zpink won't work if there are any Chrome windows open that don't contain at least one tab with a mypage.com URL. Unfortunately, you need to iterate through the windows:



                tell application "Google Chrome" to repeat with W in windows
                reload (every tab in W whose URL contains "mypage.com")
                end repeat





                share|improve this answer













                The answer submitted by @wch1zpink won't work if there are any Chrome windows open that don't contain at least one tab with a mypage.com URL. Unfortunately, you need to iterate through the windows:



                tell application "Google Chrome" to repeat with W in windows
                reload (every tab in W whose URL contains "mypage.com")
                end repeat






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 28 at 2:07









                CJKCJK

                3,1261 gold badge2 silver badges17 bronze badges




                3,1261 gold badge2 silver badges17 bronze badges






























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55368117%2freload-all-chrome-tabs-of-a-certain-page-with-applescript%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                    SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

                    은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현